Total Passed Failed Ignored Filtered Duration
53 49 4 0 0 753.370230228s

Git: https://github.com/drogue-iot/drogue-cloud @ refs/heads/feature/admin-console

Commit: c17492c3f40b2eebf1ab0b7abb97ea2ee206ba22
Author: jbtrystram <jbtrystram@redhat.com>
Date: Fri, 22 Oct 2021 07:43:21 -0200

    add a button to accept ownership transfer

Job: https://github.com/drogue-iot/drogue-cloud-testing/actions/runs/1380168064

Index

Name Result Duration
init::web::test::test_web_destroy 3.590595532s
init::web::test::test_web_test 5.498300848s
tests::api::test_create_api_key_web 38.418111297s
tests::coap::command::test_command::version_1 16.816729682s
tests::coap::command::test_command::version_2 14.362399153s
tests::coap::command::test_command::version_3 16.61676007s
tests::coap::telemetry::test_send_telemetry_pass::version_1 17.024721828s
tests::coap::telemetry::test_send_telemetry_pass::version_2 14.273173352s
tests::coap::telemetry::test_send_telemetry_pass::version_3 14.119183499s
tests::coap::telemetry::test_send_telemetry_user::version_1 14.998460885s
tests::coap::telemetry::test_send_telemetry_user::version_2 15.559628767s
tests::coap::telemetry::test_send_telemetry_user::version_3 14.475261974s
tests::coap::telemetry::test_send_telemetry_user_alias::version_1 13.770911216s
tests::coap::telemetry::test_send_telemetry_user_alias::version_2 16.27110521s
tests::coap::telemetry::test_send_telemetry_user_alias::version_3 15.905404035s
tests::coap::telemetry::test_send_telemetry_user_only::version_1 15.128400979s
tests::coap::telemetry::test_send_telemetry_user_only::version_2 13.903111338s
tests::coap::telemetry::test_send_telemetry_user_only::version_3 14.154141313s
tests::drg::test_drg_version 6.886875314s
tests::http::command::test_command::version_1 15.000322292s
tests::http::command::test_command::version_2 15.285753877s
tests::http::command::test_command::version_3 14.667698762s
tests::http::telemetry::test_send_telemetry_pass::version_1 13.093339297s
tests::http::telemetry::test_send_telemetry_pass::version_2 15.27952313s
tests::http::telemetry::test_send_telemetry_pass::version_3 14.700587775s
tests::http::telemetry::test_send_telemetry_user::version_1 14.062496078s
tests::http::telemetry::test_send_telemetry_user::version_2 14.021442025s
tests::http::telemetry::test_send_telemetry_user::version_3 18.017800882s
tests::http::telemetry::test_send_telemetry_user_alias::version_1 18.918281952s
tests::http::telemetry::test_send_telemetry_user_alias::version_2 15.366517208s
tests::http::telemetry::test_send_telemetry_user_alias::version_3 14.640710986s
tests::http::telemetry::test_send_telemetry_user_only::version_1 14.409429375s
tests::http::telemetry::test_send_telemetry_user_only::version_2 13.881471601s
tests::http::telemetry::test_send_telemetry_user_only::version_3 15.119843698s
tests::mqtt::command::test_command::version_1 8.678756757s
tests::mqtt::command::test_command::version_2 8.882124516s
tests::mqtt::command::test_command::version_3 9.114723716s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::integration_version_1 14.587234269s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::integration_version_2 15.031498888s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::integration_version_3 14.772140303s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::integration_version_1 14.308663192s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::integration_version_2 15.028703808s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::integration_version_3 13.958698082s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::integration_version_1 15.754975902s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::integration_version_2 15.02656489s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::integration_version_3 14.037694181s
tests::registry::api::test_registry_create_app 37.565248788s
tests::registry::drg::test_registry_create_and_delete 8.107919117s
tests::registry::drg::test_registry_create_app 7.953076818s
tests::registry::drg::test_registry_create_app_and_device 7.914449244s
tests::registry::drg::test_registry_create_app_and_device_twice 8.121273745s
tests::registry::drg::test_registry_create_app_twice 8.228338825s
tests::registry::drg::test_registry_device_create_and_delete 8.047095597s

Details

✅ init::web::test::test_web_destroy

Duration: 3.590595532s

✅ init::web::test::test_web_test

Duration: 5.498300848s

❌ tests::api::test_create_api_key_web

Duration: 38.418111297s

Test output
[2021-10-25T08:55:48Z INFO  drogue_cloud_tests::init::config] Endpoints: Object({
        "api": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "console": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
    })
thread 'main' panicked at 'Get API key: Failed to wait for API key value control

Caused by:
    timeout waiting on condition: ', src/tests/api/mod.rs:13:6

✅ tests::coap::command::test_command::version_1

Duration: 16.816729682s

✅ tests::coap::command::test_command::version_2

Duration: 14.362399153s

✅ tests::coap::command::test_command::version_3

Duration: 16.61676007s

✅ tests::coap::telemetry::test_send_telemetry_pass::version_1

Duration: 17.024721828s

✅ tests::coap::telemetry::test_send_telemetry_pass::version_2

Duration: 14.273173352s

✅ tests::coap::telemetry::test_send_telemetry_pass::version_3

Duration: 14.119183499s

✅ tests::coap::telemetry::test_send_telemetry_user::version_1

Duration: 14.998460885s

✅ tests::coap::telemetry::test_send_telemetry_user::version_2

Duration: 15.559628767s

✅ tests::coap::telemetry::test_send_telemetry_user::version_3

Duration: 14.475261974s

✅ tests::coap::telemetry::test_send_telemetry_user_alias::version_1

Duration: 13.770911216s

✅ tests::coap::telemetry::test_send_telemetry_user_alias::version_2

Duration: 16.27110521s

✅ tests::coap::telemetry::test_send_telemetry_user_alias::version_3

Duration: 15.905404035s

✅ tests::coap::telemetry::test_send_telemetry_user_only::version_1

Duration: 15.128400979s

✅ tests::coap::telemetry::test_send_telemetry_user_only::version_2

Duration: 13.903111338s

✅ tests::coap::telemetry::test_send_telemetry_user_only::version_3

Duration: 14.154141313s

✅ tests::drg::test_drg_version

Duration: 6.886875314s

✅ tests::http::command::test_command::version_1

Duration: 15.000322292s

✅ tests::http::command::test_command::version_2

Duration: 15.285753877s

✅ tests::http::command::test_command::version_3

Duration: 14.667698762s

✅ tests::http::telemetry::test_send_telemetry_pass::version_1

Duration: 13.093339297s

✅ tests::http::telemetry::test_send_telemetry_pass::version_2

Duration: 15.27952313s

✅ tests::http::telemetry::test_send_telemetry_pass::version_3

Duration: 14.700587775s

✅ tests::http::telemetry::test_send_telemetry_user::version_1

Duration: 14.062496078s

✅ tests::http::telemetry::test_send_telemetry_user::version_2

Duration: 14.021442025s

❌ tests::http::telemetry::test_send_telemetry_user::version_3

Duration: 18.017800882s

Test output
-------------- TEST START --------------
[2021-10-25T09:02:16Z INFO  drogue_cloud_tests::init::config] Endpoints: Object({
        "api": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "console": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
    })
[2021-10-25T09:02:19Z INFO  drogue_cloud_tests::init::config] Endpoints: Object({
        "api": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "console": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
    })
[2021-10-25T09:02:20Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI5YzAxNWM0Yi0xZjcyLTQyMzktYmRjZC1lNmYwMDRhNjI2MTIifQ.eyJleHAiOjE2MzUxNTQzNDAsImlhdCI6MTYzNTE1MjU0MCwianRpIjoiZjE1NDBkMzItODg5Ni00YzcxLWIxN2ItYzQ3NmUxZjQzMThhIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjJjYzU4OTZkLWZiMjYtNDEwYS04YWNmLWRiYWIzNDAzNjJlYSIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJzZXNzaW9uX3N0YXRlIjoiOWE5YjY2MzAtNjNhYi00MzgyLTk5MzktM2EwYjg1ZTIyMmVjIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjlhOWI2NjMwLTYzYWItNDM4Mi05OTM5LTNhMGI4NWUyMjJlYyJ9.aM7P8Clbwc80Z-4GWDXT05g6OlbJNQmZQIK1-5kHVi8
[2021-10-25T09:02:20Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2021-10-25T09:02:20Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(ExitStatus(0)), stdout: "", stderr: "" })
[2021-10-25T09:02:20Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI5YzAxNWM0Yi0xZjcyLTQyMzktYmRjZC1lNmYwMDRhNjI2MTIifQ.eyJleHAiOjE2MzUxNTQzNDAsImlhdCI6MTYzNTE1MjU0MCwianRpIjoiZjE1NDBkMzItODg5Ni00YzcxLWIxN2ItYzQ3NmUxZjQzMThhIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjJjYzU4OTZkLWZiMjYtNDEwYS04YWNmLWRiYWIzNDAzNjJlYSIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJzZXNzaW9uX3N0YXRlIjoiOWE5YjY2MzAtNjNhYi00MzgyLTk5MzktM2EwYjg1ZTIyMmVjIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjlhOWI2NjMwLTYzYWItNDM4Mi05OTM5LTNhMGI4NWUyMjJlYyJ9.aM7P8Clbwc80Z-4GWDXT05g6OlbJNQmZQIK1-5kHVi8" "--context" "system-tests"
[2021-10-25T09:02:21Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(ExitStatus(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2021-10-25T09:02:21Z INFO  drogue_cloud_tests::context] Adding root certificate
[2021-10-25T09:02:21Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2021-10-25T09:02:21Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(ExitStatus(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJnWFRxZXlmZTJNNXp5OThvZ3BFQjB6NVlkc2s0ZmdqZDk3UU9ST1M1SlhJIn0.eyJleHAiOjE2MzUxNTI4NDEsImlhdCI6MTYzNTE1MjU0MSwiYXV0aF90aW1lIjoxNjM1MTUyNTM4LCJqdGkiOiJjZDFjNTNhMy0xNTFhLTQyYzktODBkOS1kYjYyNzQ3MDA2ZTkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiMmNjNTg5NmQtZmIyNi00MTBhLThhY2YtZGJhYjM0MDM2MmVhIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3Vl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V13yddDfNZLewvFwWewa-sqTmj5WNFbyMrNpgNWL971vSFyW5SVFiZH6F13S4iacJ9kyoiRegncfNoTtkG80l4Ih-sbMqWRKRroJYbw\n", stderr: "" })
[2021-10-25T09:02:21Z INFO  drogue_cloud_tests::resources::apps] Create application: b8f78692-de5e-4e02-a282-b0590694f62d
[2021-10-25T09:02:21Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "b8f78692-de5e-4e02-a282-b0590694f62d"
[2021-10-25T09:02:21Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(ExitStatus(0)), stdout: "App b8f78692-de5e-4e02-a282-b0590694f62d created.\n", stderr: "" })
[2021-10-25T09:02:21Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "b8f78692-de5e-4e02-a282-b0590694f62d"
[2021-10-25T09:02:21Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(ExitStatus(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2021-10-25T09:02:21.704698Z\",\n    \"generation\": 1,\n    \"name\": \"b8f78692-de5e-4e02-a282-b0590694f62d\",\n    \"resourceVersion\": \"48a0b340-78e7-41f9-80e9-7635f1ee748b\",\n    \"uid\": \"5ec32404-8259-41ac-9edf-45dfe17d3eff\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2021-10-25T09:02:21.723313109Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2021-10-25T09:02:22Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "b8f78692-de5e-4e02-a282-b0590694f62d"
[2021-10-25T09:02:22Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(ExitStatus(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2021-10-25T09:02:21.704698Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"b8f78692-de5e-4e02-a282-b0590694f62d\",\n    \"resourceVersion\": \"cc868ca1-e5f8-49b6-ae7c-4a9bdb96664b\",\n    \"uid\": \"5ec32404-8259-41ac-9edf-45dfe17d3eff\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2021-10-25T09:02:22.003411131Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2021-10-25T09:02:22.003361668Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2021-10-25T09:02:21.772694031Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2021-10-25T09:02:21.780661663Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2021-10-25T09:02:21.879165074Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2021-10-25T09:02:21.885865707Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2021-10-25T09:02:22.003331903Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2021-10-25T09:02:22.003333756Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"UxoBi56Vi381\",\n        \"username\": \"user-b8f78692-de5e-4e02-a282-b0590694f62d\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2021-10-25T09:02:22Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "b8f78692-de5e-4e02-a282-b0590694f62d"
[2021-10-25T09:02:22Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(ExitStatus(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2021-10-25T09:02:21.704698Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"b8f78692-de5e-4e02-a282-b0590694f62d\",\n    \"resourceVersion\": \"cc868ca1-e5f8-49b6-ae7c-4a9bdb96664b\",\n    \"uid\": \"5ec32404-8259-41ac-9edf-45dfe17d3eff\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2021-10-25T09:02:22.003411131Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2021-10-25T09:02:22.003361668Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2021-10-25T09:02:21.772694031Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2021-10-25T09:02:21.780661663Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2021-10-25T09:02:21.879165074Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2021-10-25T09:02:21.885865707Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2021-10-25T09:02:22.003331903Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2021-10-25T09:02:22.003333756Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"UxoBi56Vi381\",\n        \"username\": \"user-b8f78692-de5e-4e02-a282-b0590694f62d\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2021-10-25T09:02:22Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2021-10-25T09:02:22Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "b8f78692-de5e-4e02-a282-b0590694f62d" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"user\":{\"username\":\"foo\",\"password\":\"bar\"}}]}}"
[2021-10-25T09:02:22Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(ExitStatus(0)), stdout: "Device device1 created.\n", stderr: "" })
[2021-10-25T09:02:22Z INFO  drogue_cloud_tests::tests::http] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2021-10-25T09:02:22Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2021-10-25T09:02:22Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(ExitStatus(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJnWFRxZXlmZTJNNXp5OThvZ3BFQjB6NVlkc2s0ZmdqZDk3UU9ST1M1SlhJIn0.eyJleHAiOjE2MzUxNTI4NDEsImlhdCI6MTYzNTE1MjU0MSwiYXV0aF90aW1lIjoxNjM1MTUyNTM4LCJqdGkiOiJjZDFjNTNhMy0xNTFhLTQyYzktODBkOS1kYjYyNzQ3MDA2ZTkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiMmNjNTg5NmQtZmIyNi00MTBhLThhY2YtZGJhYjM0MDM2MmVhIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwic2Vzc2lvbl9zdGF0ZSI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NFbyMrNpgNWL971vSFyW5SVFiZH6F13S4iacJ9kyoiRegncfNoTtkG80l4Ih-sbMqWRKRroJYbw\n", stderr: "" })
[2021-10-25T09:02:22Z INFO  drogue_cloud_tests::tests::http] Receiver created
[2021-10-25T09:02:22Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2021-10-25T09:02:22Z INFO  drogue_cloud_tests::context] Adding root certificate
[2021-10-25T09:02:22Z INFO  drogue_cloud_tests::tools::http] Sending payload
[2021-10-25T09:02:24Z INFO  drogue_cloud_tests::context] Adding root certificate
[2021-10-25T09:02:24Z INFO  drogue_cloud_tests::tools::http] Sending payload
[2021-10-25T09:02:25Z INFO  drogue_cloud_tests::context] Adding root certificate
[2021-10-25T09:02:25Z INFO  drogue_cloud_tests::tools::http] Sending payload
[2021-10-25T09:02:26Z INFO  drogue_cloud_tests::context] Adding root certificate
[2021-10-25T09:02:26Z INFO  drogue_cloud_tests::tools::http] Sending payload
[2021-10-25T09:02:26Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 11, payload: 0x7fec9c015fa0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 11, max_count: 20, length: 400, array: 0x55b80e3aecd0 } }, data: MessageData { topic: "app/b8f78692-de5e-4e02-a282-b0590694f62d", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 11, max_count: 20, length: 400, array: 0x55b80e3aecd0 } } } }
[2021-10-25T09:02:26Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/b8f78692-de5e-4e02-a282-b0590694f62d", content_type: Some("application/json"), user_properties: {"specversion": "1.0", "partitionkey": "b8f78692%2Dde5e%2D4e02%2Da282%2Db0590694f62d/device1", "time": "2021-10-25T09:02:26.445499481+00:00", "source": "drogue://b8f78692%2Dde5e%2D4e02%2Da282%2Db0590694f62d/device1", "subject": "warmup", "instance": "drogue", "type": "io.drogue.event.v1", "application": "b8f78692-de5e-4e02-a282-b0590694f62d", "id": "f05925f1-be72-4ed8-8747-24d5da384121", "device": "device1"}, payload: "{\"index\":3}" }
[2021-10-25T09:02:27Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2021-10-25T09:02:27Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2021-10-25T09:02:27Z INFO  drogue_cloud_tests::tests::http] Sending payload
[2021-10-25T09:02:27Z INFO  drogue_cloud_tests::context] Adding root certificate
[2021-10-25T09:02:27Z INFO  drogue_cloud_tests::tools::http] Sending payload
[2021-10-25T09:02:27Z INFO  drogue_cloud_tests::tests::http] Payload sent, waiting for messages
thread 'main' panicked at 'No timeout: Time elapsed', src/tests/http/mod.rs:117:10
[2021-10-25T09:02:32Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2021-10-25T09:02:32Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
[2021-10-25T09:02:32Z INFO  drogue_cloud_tests::resources::devices] Destroy application 'device1'
[2021-10-25T09:02:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "b8f78692-de5e-4e02-a282-b0590694f62d" "device1"
[2021-10-25T09:02:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(ExitStatus(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2021-10-25T09:02:32Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'b8f78692-de5e-4e02-a282-b0590694f62d'
[2021-10-25T09:02:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "b8f78692-de5e-4e02-a282-b0590694f62d"
[2021-10-25T09:02:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(ExitStatus(0)), stdout: "App b8f78692-de5e-4e02-a282-b0590694f62d deleted.\n", stderr: "" })

❌ tests::http::telemetry::test_send_telemetry_user_alias::version_1

Duration: 18.918281952s

Test output
-------------- TEST START --------------
[2021-10-25T09:02:35Z INFO  drogue_cloud_tests::init::config] Endpoints: Object({
        "api": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "console": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
    })
[2021-10-25T09:02:37Z INFO  drogue_cloud_tests::init::config] Endpoints: Object({
        "api": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "console": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
    })
[2021-10-25T09:02:39Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI5YzAxNWM0Yi0xZjcyLTQyMzktYmRjZC1lNmYwMDRhNjI2MTIifQ.eyJleHAiOjE2MzUxNTQzNTksImlhdCI6MTYzNTE1MjU1OSwianRpIjoiYjZlMzhkYWEtMTEwZC00MDY2LWIyYTMtMjkxMGExOTZhMDM3IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjJjYzU4OTZkLWZiMjYtNDEwYS04YWNmLWRiYWIzNDAzNjJlYSIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJzZXNzaW9uX3N0YXRlIjoiZmUxZjJiMzQtZjY3ZC00NzY0LThkNTgtMzMxNDkwNDNiMWM1Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImZlMWYyYjM0LWY2N2QtNDc2NC04ZDU4LTMzMTQ5MDQzYjFjNSJ9.xXykSWUoGhlmQVmco5uGv4beqHo3VyD7GvkmVJ8S85s
[2021-10-25T09:02:39Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2021-10-25T09:02:39Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(ExitStatus(0)), stdout: "", stderr: "" })
[2021-10-25T09:02:39Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI5YzAxNWM0Yi0xZjcyLTQyMzktYmRjZC1lNmYwMDRhNjI2MTIifQ.eyJleHAiOjE2MzUxNTQzNTksImlhdCI6MTYzNTE1MjU1OSwianRpIjoiYjZlMzhkYWEtMTEwZC00MDY2LWIyYTMtMjkxMGExOTZhMDM3IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjJjYzU4OTZkLWZiMjYtNDEwYS04YWNmLWRiYWIzNDAzNjJlYSIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJzZXNzaW9uX3N0YXRlIjoiZmUxZjJiMzQtZjY3ZC00NzY0LThkNTgtMzMxNDkwNDNiMWM1Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImZlMWYyYjM0LWY2N2QtNDc2NC04ZDU4LTMzMTQ5MDQzYjFjNSJ9.xXykSWUoGhlmQVmco5uGv4beqHo3VyD7GvkmVJ8S85s" "--context" "system-tests"
[2021-10-25T09:02:39Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(ExitStatus(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2021-10-25T09:02:39Z INFO  drogue_cloud_tests::context] Adding root certificate
[2021-10-25T09:02:39Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2021-10-25T09:02:39Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(ExitStatus(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJnWFRxZXlmZTJNNXp5OThvZ3BFQjB6NVlkc2s0ZmdqZDk3UU9ST1M1SlhJIn0.eyJleHAiOjE2MzUxNTI4NTksImlhdCI6MTYzNTE1MjU1OSwiYXV0aF90aW1lIjoxNjM1MTUyNTU2LCJqdGkiOiIzMzYzM2QxMS1iNWNiLTRkYzItYTM5ZS03MWY1OTY5OGYxZWUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiMmNjNTg5NmQtZmIyNi00MTBhLThhY2YtZGJhYjM0MDM2MmVhIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwic2Vzc2lvbl9zdGF0ZSI6ImZlMWYyYjM0LWY2N2QtNDc2NC04ZDU4LTMzMTQ5MDQzYjFjNSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2NvbnNvbGUuMTcyLjE4LjAuMi5uaXAuaW8iLCJodHRwOi8vbG9jYWxob3N0OioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiXX0sInJlc291cmNlX2FjY2VzcyI6eyJyZWFsbS1tYW5hZ2VtZW50Ijp7InJvbGVzIjpbIm1hbmFnZS11c2VycyJdfSwiZ3JhZmFuYSI6eyJyb2xlcyI6WyJncmFmYW5hLWVkaXRvciIsImdyYWZhbmEtYWRtaW4iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJzaWQiOiJmZTFmMmIzNC1mNjdkLTQ3NjQtOGQ1OC0zMzE0OTA0M2IxYzUiLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsIm5hbWUiOiJTeXN0ZW0gQWRtaW4iLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJhZG1pbiIsImdpdmVuX25hbWUiOiJTeXN0ZW0iLCJmYW1pbHlfbmFtZSI6IkFkbWluIiwiZW1haWwiOiJ1c2VyQGV4YW1wbGUuY29tIn0.irAwgrMk1un0b83mxIAzJBqjB5HFZJ-ZZlKHsXnMhS5VDYsoPu_ANAk35rxFwUCzG3EZWiL_wrWhwcWmCiYbxMQBb9TW3Q3KkC98Su2HzC3Rw9bHQ_HYtitIQfUZuojxGMySSfP3sf4VU_19HU8tJclyCBAReXHqROliJValuGTaImAS65z6Mc9ZNsL15ayVjwMOCI4xCA0a6ffARZxvNz-o5YgwW07zWyBjfKD7ifqFZszFGDzaR8zhCwLdJLa3m6TLYCFiTTcKlBMCBd3Hnf59Yy5cVsnkyVS8GI7MtumQ3vcv6ToaDnNz0BUdXooiUysxtBrC7McWwz9OxByZXQ\n", stderr: "" })
[2021-10-25T09:02:39Z INFO  drogue_cloud_tests::resources::apps] Create application: cf82bcb1-9e18-451e-9b25-38c403bf75c9
[2021-10-25T09:02:39Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "cf82bcb1-9e18-451e-9b25-38c403bf75c9"
[2021-10-25T09:02:39Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(ExitStatus(0)), stdout: "App cf82bcb1-9e18-451e-9b25-38c403bf75c9 created.\n", stderr: "" })
[2021-10-25T09:02:39Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "cf82bcb1-9e18-451e-9b25-38c403bf75c9"
[2021-10-25T09:02:39Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(ExitStatus(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2021-10-25T09:02:39.879768Z\",\n    \"generation\": 1,\n    \"name\": \"cf82bcb1-9e18-451e-9b25-38c403bf75c9\",\n    \"resourceVersion\": \"e3ffac06-51b9-4759-be86-21aa00620030\",\n    \"uid\": \"423459ec-b1bf-4f19-83f3-289b05ae49fa\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2021-10-25T09:02:39.891733652Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2021-10-25T09:02:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "cf82bcb1-9e18-451e-9b25-38c403bf75c9"
[2021-10-25T09:02:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(ExitStatus(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2021-10-25T09:02:39.879768Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"cf82bcb1-9e18-451e-9b25-38c403bf75c9\",\n    \"resourceVersion\": \"70f9d127-e47e-4bf6-9b6f-73d9dddec551\",\n    \"uid\": \"423459ec-b1bf-4f19-83f3-289b05ae49fa\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2021-10-25T09:02:40.227021503Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2021-10-25T09:02:40.226972231Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2021-10-25T09:02:39.933312200Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2021-10-25T09:02:39.938852009Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2021-10-25T09:02:40.033044520Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2021-10-25T09:02:40.040357998Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2021-10-25T09:02:40.226942384Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2021-10-25T09:02:40.226944508Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"MBB0HHolK3Kv\",\n        \"username\": \"user-cf82bcb1-9e18-451e-9b25-38c403bf75c9\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2021-10-25T09:02:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "cf82bcb1-9e18-451e-9b25-38c403bf75c9"
[2021-10-25T09:02:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(ExitStatus(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2021-10-25T09:02:39.879768Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"cf82bcb1-9e18-451e-9b25-38c403bf75c9\",\n    \"resourceVersion\": \"70f9d127-e47e-4bf6-9b6f-73d9dddec551\",\n    \"uid\": \"423459ec-b1bf-4f19-83f3-289b05ae49fa\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2021-10-25T09:02:40.227021503Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2021-10-25T09:02:40.226972231Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2021-10-25T09:02:39.933312200Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2021-10-25T09:02:39.938852009Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2021-10-25T09:02:40.033044520Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2021-10-25T09:02:40.040357998Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2021-10-25T09:02:40.226942384Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2021-10-25T09:02:40.226944508Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"MBB0HHolK3Kv\",\n        \"username\": \"user-cf82bcb1-9e18-451e-9b25-38c403bf75c9\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2021-10-25T09:02:40Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2021-10-25T09:02:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "cf82bcb1-9e18-451e-9b25-38c403bf75c9" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"user\":{\"username\":\"foo\",\"password\":\"bar\",\"unique\":true}}]}}"
[2021-10-25T09:02:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(ExitStatus(0)), stdout: "Device device1 created.\n", stderr: "" })
[2021-10-25T09:02:40Z INFO  drogue_cloud_tests::tests::http] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2021-10-25T09:02:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2021-10-25T09:02:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(ExitStatus(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJnWFRxZXlmZTJNNXp5OThvZ3BFQjB6NVlkc2s0ZmdqZDk3UU9ST1M1SlhJIn0.eyJleHAiOjE2MzUxNTI4NTksImlhdCI6MTYzNTE1MjU1OSwiYXV0aF90aW1lIjoxNjM1MTUyNTU2LCJqdGkiOiIzMzYzM2QxMS1iNWNiLTRkYzItYTM5ZS03MWY1OTY5OGYxZWUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiMmNjNTg5NmQtZmIyNi00MTBhLThhY2YtZGJhYjM0MDM2MmVhIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwic2Vzc2lvbl9zdGF0ZSI6ImZlMWYyYjM0LWY2N2QtNDc2NC04ZDU4LTMzMTQ5MDQzYjFjNSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2NvbnNvbGUuMTcyLjE4LjAuMi5uaXAuaW8iLCJodHRwOi8vbG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z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2021-10-25T09:02:41Z INFO  drogue_cloud_tests::context] Adding root certificate
[2021-10-25T09:02:41Z INFO  drogue_cloud_tests::tools::http] Sending payload
[2021-10-25T09:02:42Z INFO  drogue_cloud_tests::context] Adding root certificate
[2021-10-25T09:02:42Z INFO  drogue_cloud_tests::tools::http] Sending payload
[2021-10-25T09:02:43Z INFO  drogue_cloud_tests::context] Adding root certificate
[2021-10-25T09:02:43Z INFO  drogue_cloud_tests::tools::http] Sending payload
[2021-10-25T09:02:44Z INFO  drogue_cloud_tests::context] Adding root certificate
[2021-10-25T09:02:44Z INFO  drogue_cloud_tests::tools::http] Sending payload
[2021-10-25T09:02:45Z INFO  drogue_cloud_tests::context] Adding root certificate
[2021-10-25T09:02:45Z INFO  drogue_cloud_tests::tools::http] Sending payload
[2021-10-25T09:02:45Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 443, payload: 0x7fec90015cc0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/cf82bcb1-9e18-451e-9b25-38c403bf75c9", payload: [123, 34, 115, 112, 101, 99, 118, 101, 114, 115, 105, 111, 110, 34, 58, 34, 49, 46, 48, 34, 44, 34, 105, 100, 34, 58, 34, 56, 54, 101, 50, 54, 54, 102, 51, 45, 50, 56, 56, 101, 45, 52, 50, 56, 56, 45, 56, 57, 50, 100, 45, 48, 100, 49, 53, 51, 98, 51, 55, 97, 50, 51, 53, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 101, 118, 101, 110, 116, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 99, 102, 56, 50, 98, 99, 98, 49, 37, 50, 68, 57, 101, 49, 56, 37, 50, 68, 52, 53, 49, 101, 37, 50, 68, 57, 98, 50, 53, 37, 50, 68, 51, 56, 99, 52, 48, 51, 98, 102, 55, 53, 99, 57, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 97, 116, 97, 99, 111, 110, 116, 101, 110, 116, 116, 121, 112, 101, 34, 58, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 119, 97, 114, 109, 117, 112, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 49, 45, 49, 48, 45, 50, 53, 84, 48, 57, 58, 48, 50, 58, 52, 53, 46, 52, 55, 48, 49, 50, 57, 52, 49, 50, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 52, 125, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 99, 102, 56, 50, 98, 99, 98, 49, 37, 50, 68, 57, 101, 49, 56, 37, 50, 68, 52, 53, 49, 101, 37, 50, 68, 57, 98, 50, 53, 37, 50, 68, 51, 56, 99, 52, 48, 51, 98, 102, 55, 53, 99, 57, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 99, 102, 56, 50, 98, 99, 98, 49, 45, 57, 101, 49, 56, 45, 52, 53, 49, 101, 45, 57, 98, 50, 53, 45, 51, 56, 99, 52, 48, 51, 98, 102, 55, 53, 99, 57, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2021-10-25T09:02:45Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/cf82bcb1-9e18-451e-9b25-38c403bf75c9", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"86e266f3-288e-4288-892d-0d153b37a235\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://cf82bcb1%2D9e18%2D451e%2D9b25%2D38c403bf75c9/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2021-10-25T09:02:45.470129412Z\",\"data\":{\"index\":4},\"instance\":\"drogue\",\"partitionkey\":\"cf82bcb1%2D9e18%2D451e%2D9b25%2D38c403bf75c9/device1\",\"application\":\"cf82bcb1-9e18-451e-9b25-38c403bf75c9\",\"device\":\"device1\"}" }
[2021-10-25T09:02:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 4 attempts
[2021-10-25T09:02:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2021-10-25T09:02:46Z INFO  drogue_cloud_tests::tests::http] Sending payload
[2021-10-25T09:02:46Z INFO  drogue_cloud_tests::context] Adding root certificate
[2021-10-25T09:02:46Z INFO  drogue_cloud_tests::tools::http] Sending payload
[2021-10-25T09:02:46Z INFO  drogue_cloud_tests::tests::http] Payload sent, waiting for messages
thread 'main' panicked at 'No timeout: Time elapsed', src/tests/http/mod.rs:117:10
[2021-10-25T09:02:51Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2021-10-25T09:02:51Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
[2021-10-25T09:02:51Z INFO  drogue_cloud_tests::resources::devices] Destroy application 'device1'
[2021-10-25T09:02:51Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "cf82bcb1-9e18-451e-9b25-38c403bf75c9" "device1"
[2021-10-25T09:02:51Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(ExitStatus(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2021-10-25T09:02:51Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'cf82bcb1-9e18-451e-9b25-38c403bf75c9'
[2021-10-25T09:02:51Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "cf82bcb1-9e18-451e-9b25-38c403bf75c9"
[2021-10-25T09:02:51Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(ExitStatus(0)), stdout: "App cf82bcb1-9e18-451e-9b25-38c403bf75c9 deleted.\n", stderr: "" })

✅ tests::http::telemetry::test_send_telemetry_user_alias::version_2

Duration: 15.366517208s

✅ tests::http::telemetry::test_send_telemetry_user_alias::version_3

Duration: 14.640710986s

✅ tests::http::telemetry::test_send_telemetry_user_only::version_1

Duration: 14.409429375s

✅ tests::http::telemetry::test_send_telemetry_user_only::version_2

Duration: 13.881471601s

✅ tests::http::telemetry::test_send_telemetry_user_only::version_3

Duration: 15.119843698s

✅ tests::mqtt::command::test_command::version_1

Duration: 8.678756757s

✅ tests::mqtt::command::test_command::version_2

Duration: 8.882124516s

✅ tests::mqtt::command::test_command::version_3

Duration: 9.114723716s

✅ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::integration_version_1

Duration: 14.587234269s

✅ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::integration_version_2

Duration: 15.031498888s

✅ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::integration_version_3

Duration: 14.772140303s

✅ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::integration_version_1

Duration: 14.308663192s

✅ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::integration_version_2

Duration: 15.028703808s

✅ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::integration_version_3

Duration: 13.958698082s

✅ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::integration_version_1

Duration: 15.754975902s

✅ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::integration_version_2

Duration: 15.02656489s

✅ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::integration_version_3

Duration: 14.037694181s

❌ tests::registry::api::test_registry_create_app

Duration: 37.565248788s

Test output
[2021-10-25T09:06:46Z INFO  drogue_cloud_tests::init::config] Endpoints: Object({
        "api": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "console": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
    })
[2021-10-25T09:06:50Z INFO  drogue_cloud_tests::context] Adding root certificate
[2021-10-25T09:06:50Z INFO  drogue_cloud_tests::init::config] Endpoints: Object({
        "api": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "console": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
    })
thread 'main' panicked at 'Get registry client: timeout waiting on condition: ', src/tests/registry/api.rs:19:10

✅ tests::registry::drg::test_registry_create_and_delete

Duration: 8.107919117s

✅ tests::registry::drg::test_registry_create_app

Duration: 7.953076818s

✅ tests::registry::drg::test_registry_create_app_and_device

Duration: 7.914449244s

✅ tests::registry::drg::test_registry_create_app_and_device_twice

Duration: 8.121273745s

✅ tests::registry::drg::test_registry_create_app_twice

Duration: 8.228338825s

✅ tests::registry::drg::test_registry_device_create_and_delete

Duration: 8.047095597s