Total Passed Failed Ignored Filtered Duration
147 102 45 0 0 32m 16s

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

Commit: c195b71513c7ee658e405652db2acc41f271e745
Author: Jens Reimann <jreimann@redhat.com>
Date: Fri, 06 May 2022 12:38:48 -0200

    test: fix tests after API changes

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

Index

Name Result Duration
init::web::test::test_web_destroy 3s
init::web::test::test_web_test 5s
tests::api::test_create_access_token_web 13s
tests::coap::command::test_command::version_1 39s
tests::coap::command::test_command::version_2 14s
tests::coap::command::test_command::version_3 15s
tests::coap::telemetry::test_send_telemetry_pass::version_1 15s
tests::coap::telemetry::test_send_telemetry_pass::version_2 15s
tests::coap::telemetry::test_send_telemetry_pass::version_3 15s
tests::coap::telemetry::test_send_telemetry_user::version_1 15s
tests::coap::telemetry::test_send_telemetry_user::version_2 14s
tests::coap::telemetry::test_send_telemetry_user::version_3 14s
tests::coap::telemetry::test_send_telemetry_user_alias::version_1 14s
tests::coap::telemetry::test_send_telemetry_user_alias::version_2 15s
tests::coap::telemetry::test_send_telemetry_user_alias::version_3 15s
tests::coap::telemetry::test_send_telemetry_user_only::version_1 14s
tests::coap::telemetry::test_send_telemetry_user_only::version_2 14s
tests::coap::telemetry::test_send_telemetry_user_only::version_3 14s
tests::drg::test_drg_version 7s
tests::http::command::test_command::version_1 14s
tests::http::command::test_command::version_2 13s
tests::http::command::test_command::version_3 13s
tests::http::telemetry::test_send_telemetry_pass::version_1 13s
tests::http::telemetry::test_send_telemetry_pass::version_2 14s
tests::http::telemetry::test_send_telemetry_pass::version_3 14s
tests::http::telemetry::test_send_telemetry_user::version_1 13s
tests::http::telemetry::test_send_telemetry_user::version_2 14s
tests::http::telemetry::test_send_telemetry_user::version_3 14s
tests::http::telemetry::test_send_telemetry_user_alias::version_1 13s
tests::http::telemetry::test_send_telemetry_user_alias::version_2 14s
tests::http::telemetry::test_send_telemetry_user_alias::version_3 14s
tests::http::telemetry::test_send_telemetry_user_only::version_1 14s
tests::http::telemetry::test_send_telemetry_user_only::version_2 14s
tests::http::telemetry::test_send_telemetry_user_only::version_3 13s
tests::mqtt::command::gateway::version_1::ws_1 8s
tests::mqtt::command::gateway::version_1::ws_2 8s
tests::mqtt::command::gateway::version_2::ws_1 9s
tests::mqtt::command::gateway::version_2::ws_2 8s
tests::mqtt::command::gateway::version_3::ws_1 9s
tests::mqtt::command::gateway::version_3::ws_2 8s
tests::mqtt::command::gateway_direct::version_1::ws_1 9s
tests::mqtt::command::gateway_direct::version_1::ws_2 8s
tests::mqtt::command::gateway_direct::version_2::ws_1 9s
tests::mqtt::command::gateway_direct::version_2::ws_2 12s
tests::mqtt::command::gateway_direct::version_3::ws_1 8s
tests::mqtt::command::gateway_direct::version_3::ws_2 9s
tests::mqtt::command::simple::version_1::ws_1 8s
tests::mqtt::command::simple::version_1::ws_2 9s
tests::mqtt::command::simple::version_2::ws_1 9s
tests::mqtt::command::simple::version_2::ws_2 9s
tests::mqtt::command::simple::version_3::ws_1 8s
tests::mqtt::command::simple::version_3::ws_2 9s
tests::mqtt::command::simple_direct::version_1::ws_1 8s
tests::mqtt::command::simple_direct::version_1::ws_2 9s
tests::mqtt::command::simple_direct::version_2::ws_1 8s
tests::mqtt::command::simple_direct::version_2::ws_2 8s
tests::mqtt::command::simple_direct::version_3::ws_1 10s
tests::mqtt::command::simple_direct::version_3::ws_2 8s
tests::mqtt::command::simple_me::version_1::ws_1 9s
tests::mqtt::command::simple_me::version_1::ws_2 8s
tests::mqtt::command::simple_me::version_2::ws_1 9s
tests::mqtt::command::simple_me::version_2::ws_2 8s
tests::mqtt::command::simple_me::version_3::ws_1 8s
tests::mqtt::command::simple_me::version_3::ws_2 9s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_1::integration_version_1::integration_ws_1 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_1::integration_version_1::integration_ws_2 13s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_1::integration_version_2::integration_ws_1 13s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_1::integration_version_2::integration_ws_2 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_1::integration_version_3::integration_ws_1 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_1::integration_version_3::integration_ws_2 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_2::integration_version_1::integration_ws_1 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_2::integration_version_1::integration_ws_2 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_2::integration_version_2::integration_ws_1 15s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_2::integration_version_2::integration_ws_2 15s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_2::integration_version_3::integration_ws_1 15s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_2::integration_version_3::integration_ws_2 15s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_1::integration_version_1::integration_ws_1 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_1::integration_version_1::integration_ws_2 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_1::integration_version_2::integration_ws_1 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_1::integration_version_2::integration_ws_2 13s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_1::integration_version_3::integration_ws_1 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_1::integration_version_3::integration_ws_2 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_2::integration_version_1::integration_ws_1 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_2::integration_version_1::integration_ws_2 15s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_2::integration_version_2::integration_ws_1 15s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_2::integration_version_2::integration_ws_2 15s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_2::integration_version_3::integration_ws_1 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_2::integration_version_3::integration_ws_2 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_1::integration_version_1::integration_ws_1 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_1::integration_version_1::integration_ws_2 13s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_1::integration_version_2::integration_ws_1 13s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_1::integration_version_2::integration_ws_2 15s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_1::integration_version_3::integration_ws_1 15s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_1::integration_version_3::integration_ws_2 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_2::integration_version_1::integration_ws_1 15s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_2::integration_version_1::integration_ws_2 15s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_2::integration_version_2::integration_ws_1 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_2::integration_version_2::integration_ws_2 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_2::integration_version_3::integration_ws_1 15s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_2::integration_version_3::integration_ws_2 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::endpoint_ws_1::integration_version_1::integration_ws_1 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::endpoint_ws_1::integration_version_1::integration_ws_2 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::endpoint_ws_1::integration_version_2::integration_ws_1 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::endpoint_ws_1::integration_version_2::integration_ws_2 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::endpoint_ws_1::integration_version_3::integration_ws_1 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::endpoint_ws_1::integration_version_3::integration_ws_2 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::endpoint_ws_2::integration_version_1::integration_ws_1 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::endpoint_ws_2::integration_version_1::integration_ws_2 15s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::endpoint_ws_2::integration_version_2::integration_ws_1 16s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::endpoint_ws_2::integration_version_2::integration_ws_2 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::endpoint_ws_2::integration_version_3::integration_ws_1 15s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::endpoint_ws_2::integration_version_3::integration_ws_2 15s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::endpoint_ws_1::integration_version_1::integration_ws_1 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::endpoint_ws_1::integration_version_1::integration_ws_2 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::endpoint_ws_1::integration_version_2::integration_ws_1 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::endpoint_ws_1::integration_version_2::integration_ws_2 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::endpoint_ws_1::integration_version_3::integration_ws_1 16s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::endpoint_ws_1::integration_version_3::integration_ws_2 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::endpoint_ws_2::integration_version_1::integration_ws_1 15s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::endpoint_ws_2::integration_version_1::integration_ws_2 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::endpoint_ws_2::integration_version_2::integration_ws_1 15s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::endpoint_ws_2::integration_version_2::integration_ws_2 15s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::endpoint_ws_2::integration_version_3::integration_ws_1 15s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::endpoint_ws_2::integration_version_3::integration_ws_2 15s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_1::integration_version_1::integration_ws_1 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_1::integration_version_1::integration_ws_2 15s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_1::integration_version_2::integration_ws_1 15s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_1::integration_version_2::integration_ws_2 15s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_1::integration_version_3::integration_ws_1 15s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_1::integration_version_3::integration_ws_2 15s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_2::integration_version_1::integration_ws_1 15s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_2::integration_version_1::integration_ws_2 15s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_2::integration_version_2::integration_ws_1 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_2::integration_version_2::integration_ws_2 15s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_2::integration_version_3::integration_ws_1 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_2::integration_version_3::integration_ws_2 13s
tests::registry::api::test_registry_create_app 16s
tests::registry::drg::test_registry_create_and_delete 8s
tests::registry::drg::test_registry_create_app 8s
tests::registry::drg::test_registry_create_app_and_device 8s
tests::registry::drg::test_registry_create_app_and_device_twice 8s
tests::registry::drg::test_registry_create_app_twice 8s
tests::registry::drg::test_registry_device_create_and_delete 8s
tests::websocket::telemetry::test_send_telemetry_pass 12s
tests::websocket::telemetry::test_send_telemetry_user 13s
tests::websocket::telemetry::test_send_telemetry_user_alias 13s
tests::websocket::telemetry::test_send_telemetry_user_only 13s

Details

✅ init::web::test::test_web_destroy

Duration: 3s

✅ init::web::test::test_web_test

Duration: 5s

✅ tests::api::test_create_access_token_web

Duration: 13s

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

Duration: 39s

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

Duration: 14s

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

Duration: 15s

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

Duration: 15s

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

Duration: 15s

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

Duration: 15s

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

Duration: 15s

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

Duration: 14s

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

Duration: 14s

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

Duration: 14s

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

Duration: 15s

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

Duration: 15s

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

Duration: 14s

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

Duration: 14s

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

Duration: 14s

✅ tests::drg::test_drg_version

Duration: 7s

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

Duration: 14s

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

Duration: 13s

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

Duration: 13s

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

Duration: 13s

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

Duration: 14s

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

Duration: 14s

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

Duration: 13s

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

Duration: 14s

✅ tests::http::telemetry::test_send_telemetry_user::version_3

Duration: 14s

✅ tests::http::telemetry::test_send_telemetry_user_alias::version_1

Duration: 13s

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

Duration: 14s

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

Duration: 14s

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

Duration: 14s

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

Duration: 14s

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

Duration: 13s

✅ tests::mqtt::command::gateway::version_1::ws_1

Duration: 8s

✅ tests::mqtt::command::gateway::version_1::ws_2

Duration: 8s

✅ tests::mqtt::command::gateway::version_2::ws_1

Duration: 9s

✅ tests::mqtt::command::gateway::version_2::ws_2

Duration: 8s

✅ tests::mqtt::command::gateway::version_3::ws_1

Duration: 9s

✅ tests::mqtt::command::gateway::version_3::ws_2

Duration: 8s

✅ tests::mqtt::command::gateway_direct::version_1::ws_1

Duration: 9s

✅ tests::mqtt::command::gateway_direct::version_1::ws_2

Duration: 8s

✅ tests::mqtt::command::gateway_direct::version_2::ws_1

Duration: 9s

✅ tests::mqtt::command::gateway_direct::version_2::ws_2

Duration: 12s

✅ tests::mqtt::command::gateway_direct::version_3::ws_1

Duration: 8s

✅ tests::mqtt::command::gateway_direct::version_3::ws_2

Duration: 9s

✅ tests::mqtt::command::simple::version_1::ws_1

Duration: 8s

✅ tests::mqtt::command::simple::version_1::ws_2

Duration: 9s

✅ tests::mqtt::command::simple::version_2::ws_1

Duration: 9s

✅ tests::mqtt::command::simple::version_2::ws_2

Duration: 9s

✅ tests::mqtt::command::simple::version_3::ws_1

Duration: 8s

✅ tests::mqtt::command::simple::version_3::ws_2

Duration: 9s

✅ tests::mqtt::command::simple_direct::version_1::ws_1

Duration: 8s

✅ tests::mqtt::command::simple_direct::version_1::ws_2

Duration: 9s

✅ tests::mqtt::command::simple_direct::version_2::ws_1

Duration: 8s

✅ tests::mqtt::command::simple_direct::version_2::ws_2

Duration: 8s

✅ tests::mqtt::command::simple_direct::version_3::ws_1

Duration: 10s

✅ tests::mqtt::command::simple_direct::version_3::ws_2

Duration: 8s

✅ tests::mqtt::command::simple_me::version_1::ws_1

Duration: 9s

✅ tests::mqtt::command::simple_me::version_1::ws_2

Duration: 8s

✅ tests::mqtt::command::simple_me::version_2::ws_1

Duration: 9s

✅ tests::mqtt::command::simple_me::version_2::ws_2

Duration: 8s

✅ tests::mqtt::command::simple_me::version_3::ws_1

Duration: 8s

✅ tests::mqtt::command::simple_me::version_3::ws_2

Duration: 9s

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_1::integration_version_1::integration_ws_1

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T12:20:18Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:20:18Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:20:18Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:20:18Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:20:18Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:20:19Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:20:20Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:20:20Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:20:20Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:20:20Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:20:22Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA2MjIsImlhdCI6MTY1MjA5ODgyMiwianRpIjoiNDFkMGFhMzAtZDkyNi00ZjIxLWIwYzEtNzEwNDIxOWMxZWE2IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ik1Td1dDTjlBMG8tcU01c1dRbmhiNUEiLCJzZXNzaW9uX3N0YXRlIjoiNjcyNWQwMmUtNzhjYy00ZWVlLTkzOTYtYTc3ZjA0MWJkYzBjIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjY3MjVkMDJlLTc4Y2MtNGVlZS05Mzk2LWE3N2YwNDFiZGMwYyJ9.7hcAF9gfdhgup_0rqzP6G2X8n6ciza-YB4Z8Xu7GkMI
[2022-05-09T12:20:22Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:20:22Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:20:22Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA2MjIsImlhdCI6MTY1MjA5ODgyMiwianRpIjoiNDFkMGFhMzAtZDkyNi00ZjIxLWIwYzEtNzEwNDIxOWMxZWE2IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ik1Td1dDTjlBMG8tcU01c1dRbmhiNUEiLCJzZXNzaW9uX3N0YXRlIjoiNjcyNWQwMmUtNzhjYy00ZWVlLTkzOTYtYTc3ZjA0MWJkYzBjIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjY3MjVkMDJlLTc4Y2MtNGVlZS05Mzk2LWE3N2YwNDFiZGMwYyJ9.7hcAF9gfdhgup_0rqzP6G2X8n6ciza-YB4Z8Xu7GkMI" "--context" "system-tests"
[2022-05-09T12:20:22Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:20:23Z INFO  drogue_cloud_tests::resources::apps] Create application: be7189ac-9e54-4795-859e-c81f9811e724
[2022-05-09T12:20:23Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "be7189ac-9e54-4795-859e-c81f9811e724"
[2022-05-09T12:20:23Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App be7189ac-9e54-4795-859e-c81f9811e724 created.\n", stderr: "" })
[2022-05-09T12:20:23Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "be7189ac-9e54-4795-859e-c81f9811e724"
[2022-05-09T12:20:23Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:20:23.445719Z\",\n    \"generation\": 1,\n    \"name\": \"be7189ac-9e54-4795-859e-c81f9811e724\",\n    \"resourceVersion\": \"3952134e-2dc8-45bd-87e9-40f7318b7d70\",\n    \"uid\": \"c202ee1e-7e54-4064-af9a-6aef5fd521ef\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:20:23.457636543Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2022-05-09T12:20:23Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:20:23.445719Z"), "generation": Number(1), "name": String("be7189ac-9e54-4795-859e-c81f9811e724"), "resourceVersion": String("3952134e-2dc8-45bd-87e9-40f7318b7d70"), "uid": String("c202ee1e-7e54-4064-af9a-6aef5fd521ef")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:20:23.457636543Z"), "status": String("True"), "type": String("Ready")})])})})
[2022-05-09T12:20:23Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:20:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "be7189ac-9e54-4795-859e-c81f9811e724"
[2022-05-09T12:20:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:20:23.445719Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"be7189ac-9e54-4795-859e-c81f9811e724\",\n    \"resourceVersion\": \"83523015-0693-4e07-8f2f-8e8c45b934a9\",\n    \"uid\": \"c202ee1e-7e54-4064-af9a-6aef5fd521ef\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:20:23.784768513Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:20:23.784731434Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:23.498482515Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:23.504730980Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:23.621184304Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:23.627675716Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:23.784683454Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:23.784702990Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"lfA1aj9JeCiw\",\n        \"username\": \"user-be7189ac-9e54-4795-859e-c81f9811e724\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:20:24Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:20:23.445719Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("be7189ac-9e54-4795-859e-c81f9811e724"), "resourceVersion": String("83523015-0693-4e07-8f2f-8e8c45b934a9"), "uid": String("c202ee1e-7e54-4064-af9a-6aef5fd521ef")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:20:23.784768513Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:20:23.784731434Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:20:23.498482515Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:20:23.504730980Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:20:23.621184304Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:20:23.627675716Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:20:23.784683454Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:20:23.784702990Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("lfA1aj9JeCiw"), "username": String("user-be7189ac-9e54-4795-859e-c81f9811e724")})})})})
[2022-05-09T12:20:24Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:20:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "be7189ac-9e54-4795-859e-c81f9811e724"
[2022-05-09T12:20:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:20:23.445719Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"be7189ac-9e54-4795-859e-c81f9811e724\",\n    \"resourceVersion\": \"83523015-0693-4e07-8f2f-8e8c45b934a9\",\n    \"uid\": \"c202ee1e-7e54-4064-af9a-6aef5fd521ef\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:20:23.784768513Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:20:23.784731434Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:23.498482515Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:23.504730980Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:23.621184304Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:23.627675716Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:23.784683454Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:23.784702990Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"lfA1aj9JeCiw\",\n        \"username\": \"user-be7189ac-9e54-4795-859e-c81f9811e724\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:20:24Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:20:23.445719Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("be7189ac-9e54-4795-859e-c81f9811e724"), "resourceVersion": String("83523015-0693-4e07-8f2f-8e8c45b934a9"), "uid": String("c202ee1e-7e54-4064-af9a-6aef5fd521ef")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:20:23.784768513Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:20:23.784731434Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:20:23.498482515Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:20:23.504730980Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:20:23.621184304Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:20:23.627675716Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:20:23.784683454Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:20:23.784702990Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("lfA1aj9JeCiw"), "username": String("user-be7189ac-9e54-4795-859e-c81f9811e724")})})})})
[2022-05-09T12:20:24Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:20:24Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:20:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "be7189ac-9e54-4795-859e-c81f9811e724" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:20:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:20:24Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:20:24Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:20:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:20:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkxMjIsImlhdCI6MTY1MjA5ODgyMiwiYXV0aF90aW1lIjoxNjUyMDk4ODE5LCJqdGkiOiIzNDc1NzRkMi04NDcyLTRlM2UtODgyNi1mY2UyYTE2NTZiYmUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJNU3dXQ045QTBvLXFNNXNXUW5oYjVBIiwic2Vzc2lvbl9zdGF0ZSI6IjY3MjVkMDJlLTc4Y2MtNGVlZS05Mzk2LWE3N2YwNDFiZGMwYyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjY3MjVkMDJlLTc4Y2MtNGVlZS05Mzk2LWE3N2YwNDFiZGMwYyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.dMWz3TZ2CzL3Sfa-CPlWTXQY5oVEsosJAjlC7qhVY7yVwWtvbeqxbQ_kDe8-3TBVkcCIBMf0gAGHnfkH9idpgBL4RbVS0OP7BrXVVVfT2uq4T1DGW1cKgcKC2fzdicGH5sJ2I8OPDTHiT3o4E0KdPwyZIqgPcnTz6i_dC1r6KCdzpXD09m6lMbFQGt7oStua4SQmf2hZYbCoZNvQmzjES70CChyx4MA7AxyUBuRvNWvVtWhR0ok9E0fhfHaoygnjzrvTaZXCAstLj7NHtzHNj1-HTbyY7BIB9K0dd-y94BpUB4Zr6-pp03sw1Yy8YdJq5lLDfqsLtK_5yJ49WWBnJw\n", stderr: "" })
[2022-05-09T12:20:24Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:20:24Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:20:24Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:20:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "be7189ac-9e54-4795-859e-c81f9811e724" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:20:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:20:24Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T12:20:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:20:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkxMjIsImlhdCI6MTY1MjA5ODgyMiwiYXV0aF90aW1lIjoxNjUyMDk4ODE5LCJqdGkiOiIzNDc1NzRkMi04NDcyLTRlM2UtODgyNi1mY2UyYTE2NTZiYmUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJNU3dXQ045QTBvLXFNNXNXUW5oYjVBIiwic2Vzc2lvbl9zdGF0ZSI6IjY3MjVkMDJlLTc4Y2MtNGVlZS05Mzk2LWE3N2YwNDFiZGMwYyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjY3MjVkMDJlLTc4Y2MtNGVlZS05Mzk2LWE3N2YwNDFiZGMwYyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.dMWz3TZ2CzL3Sfa-CPlWTXQY5oVEsosJAjlC7qhVY7yVwWtvbeqxbQ_kDe8-3TBVkcCIBMf0gAGHnfkH9idpgBL4RbVS0OP7BrXVVVfT2uq4T1DGW1cKgcKC2fzdicGH5sJ2I8OPDTHiT3o4E0KdPwyZIqgPcnTz6i_dC1r6KCdzpXD09m6lMbFQGt7oStua4SQmf2hZYbCoZNvQmzjES70CChyx4MA7AxyUBuRvNWvVtWhR0ok9E0fhfHaoygnjzrvTaZXCAstLj7NHtzHNj1-HTbyY7BIB9K0dd-y94BpUB4Zr6-pp03sw1Yy8YdJq5lLDfqsLtK_5yJ49WWBnJw\n", stderr: "" })
[2022-05-09T12:20:24Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "0311b37d-fc8d-402c-864a-79a3d338377c", persistence: None, user_data: None }
[2022-05-09T12:20:24Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:20:24Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717a559b0
[2022-05-09T12:20:24Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717a559b0
[2022-05-09T12:20:24Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717b40390, connectTimeout: 30, retryInterval: 0, ssl: 0x561717a560e0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717b42700, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkxMjIsImlhdCI6MTY1MjA5ODgyMiwiYXV0aF90aW1lIjoxNjUyMDk4ODE5LCJqdGkiOiIzNDc1NzRkMi04NDcyLTRlM2UtODgyNi1mY2UyYTE2NTZiYmUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJNU3dXQ045QTBvLXFNNXNXUW5oYjVBIiwic2Vzc2lvbl9zdGF0ZSI6IjY3MjVkMDJlLTc4Y2MtNGVlZS05Mzk2LWE3N2YwNDFiZGMwYyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjY3MjVkMDJlLTc4Y2MtNGVlZS05Mzk2LWE3N2YwNDFiZGMwYyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.dMWz3TZ2CzL3Sfa-CPlWTXQY5oVEsosJAjlC7qhVY7yVwWtvbeqxbQ_kDe8-3TBVkcCIBMf0gAGHnfkH9idpgBL4RbVS0OP7BrXVVVfT2uq4T1DGW1cKgcKC2fzdicGH5sJ2I8OPDTHiT3o4E0KdPwyZIqgPcnTz6i_dC1r6KCdzpXD09m6lMbFQGt7oStua4SQmf2hZYbCoZNvQmzjES70CChyx4MA7AxyUBuRvNWvVtWhR0ok9E0fhfHaoygnjzrvTaZXCAstLj7NHtzHNj1-HTbyY7BIB9K0dd-y94BpUB4Zr6-pp03sw1Yy8YdJq5lLDfqsLtK_5yJ49WWBnJw"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:20:24Z DEBUG paho_mqtt::async_client] Subscribe to '"app/be7189ac-9e54-4795-859e-c81f9811e724"' @ QOS 0
[2022-05-09T12:20:24Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:20:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:20:24Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:20:24Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:20:24Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:20:25Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:20:26Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:20:26Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:20:26Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:20:26Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:20:27Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:20:27Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:20:27Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:20:27Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:20:28Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:20:28Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:20:28Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:20:28Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:20:28Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 621, payload: 0x7f4b1c01b520, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/be7189ac-9e54-4795-859e-c81f9811e724", 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, 54, 99, 55, 54, 51, 56, 99, 53, 45, 51, 53, 99, 101, 45, 52, 49, 51, 51, 45, 57, 52, 51, 99, 45, 101, 52, 50, 99, 55, 56, 101, 98, 102, 54, 50, 52, 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, 98, 101, 55, 49, 56, 57, 97, 99, 37, 50, 68, 57, 101, 53, 52, 37, 50, 68, 52, 55, 57, 53, 37, 50, 68, 56, 53, 57, 101, 37, 50, 68, 99, 56, 49, 102, 57, 56, 49, 49, 101, 55, 50, 52, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 48, 58, 50, 56, 46, 53, 48, 57, 55, 51, 52, 53, 55, 57, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 98, 101, 55, 49, 56, 57, 97, 99, 37, 50, 68, 57, 101, 53, 52, 37, 50, 68, 52, 55, 57, 53, 37, 50, 68, 56, 53, 57, 101, 37, 50, 68, 99, 56, 49, 102, 57, 56, 49, 49, 101, 55, 50, 52, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 98, 97, 50, 57, 54, 102, 57, 52, 45, 98, 50, 101, 51, 45, 52, 57, 49, 102, 45, 56, 97, 57, 97, 45, 100, 52, 98, 50, 57, 98, 99, 97, 56, 55, 98, 54, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 99, 50, 48, 50, 101, 101, 49, 101, 45, 55, 101, 53, 52, 45, 52, 48, 54, 52, 45, 97, 102, 57, 97, 45, 54, 97, 101, 102, 53, 102, 100, 53, 50, 49, 101, 102, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 98, 101, 55, 49, 56, 57, 97, 99, 45, 57, 101, 53, 52, 45, 52, 55, 57, 53, 45, 56, 53, 57, 101, 45, 99, 56, 49, 102, 57, 56, 49, 49, 101, 55, 50, 52, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 101, 98, 54, 98, 55, 97, 51, 50, 45, 99, 51, 57, 98, 45, 52, 99, 50, 101, 45, 97, 49, 102, 53, 45, 98, 56, 51, 100, 48, 51, 51, 49, 54, 101, 55, 51, 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 } } } }
[2022-05-09T12:20:28Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/be7189ac-9e54-4795-859e-c81f9811e724", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"6c7638c5-35ce-4133-943c-e42c78ebf624\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://be7189ac%2D9e54%2D4795%2D859e%2Dc81f9811e724/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:20:28.509734579Z\",\"data\":{\"index\":3},\"partitionkey\":\"be7189ac%2D9e54%2D4795%2D859e%2Dc81f9811e724/device1\",\"sender\":\"gateway1\",\"senderuid\":\"ba296f94-b2e3-491f-8a9a-d4b29bca87b6\",\"applicationuid\":\"c202ee1e-7e54-4064-af9a-6aef5fd521ef\",\"application\":\"be7189ac-9e54-4795-859e-c81f9811e724\",\"instance\":\"drogue\",\"deviceuid\":\"eb6b7a32-c39b-4c2e-a1f5-b83d03316e73\",\"device\":\"device1\"}" }
[2022-05-09T12:20:29Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:20:29Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:20:29Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:20:29Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:20:29Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "703e18dc-55a8-4fe8-a58d-19bc5cc14f28", persistence: None, user_data: None }
[2022-05-09T12:20:29Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:20:29Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717c6bde0
[2022-05-09T12:20:29Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717c6bde0
[2022-05-09T12:20:29Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x561717cec0e0, password: 0x56171790e760, connectTimeout: 30, retryInterval: 0, ssl: 0x56171794c850, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717cebf50, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@be7189ac-9e54-4795-859e-c81f9811e724"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:20:30Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717cb8040 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717cb8040 } } } }
[2022-05-09T12:20:30Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:20:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 640, payload: 0x7f4b1c003870, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/be7189ac-9e54-4795-859e-c81f9811e724", 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, 48, 100, 49, 102, 55, 56, 48, 102, 45, 52, 51, 54, 101, 45, 52, 98, 53, 52, 45, 98, 100, 52, 101, 45, 102, 56, 98, 56, 98, 100, 101, 99, 100, 99, 50, 53, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 98, 101, 55, 49, 56, 57, 97, 99, 37, 50, 68, 57, 101, 53, 52, 37, 50, 68, 52, 55, 57, 53, 37, 50, 68, 56, 53, 57, 101, 37, 50, 68, 99, 56, 49, 102, 57, 56, 49, 49, 101, 55, 50, 52, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 48, 58, 50, 57, 46, 54, 50, 56, 52, 55, 56, 54, 49, 50, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 99, 50, 48, 50, 101, 101, 49, 101, 45, 55, 101, 53, 52, 45, 52, 48, 54, 52, 45, 97, 102, 57, 97, 45, 54, 97, 101, 102, 53, 102, 100, 53, 50, 49, 101, 102, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 98, 101, 55, 49, 56, 57, 97, 99, 37, 50, 68, 57, 101, 53, 52, 37, 50, 68, 52, 55, 57, 53, 37, 50, 68, 56, 53, 57, 101, 37, 50, 68, 99, 56, 49, 102, 57, 56, 49, 49, 101, 55, 50, 52, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 98, 97, 50, 57, 54, 102, 57, 52, 45, 98, 50, 101, 51, 45, 52, 57, 49, 102, 45, 56, 97, 57, 97, 45, 100, 52, 98, 50, 57, 98, 99, 97, 56, 55, 98, 54, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 98, 97, 50, 57, 54, 102, 57, 52, 45, 98, 50, 101, 51, 45, 52, 57, 49, 102, 45, 56, 97, 57, 97, 45, 100, 52, 98, 50, 57, 98, 99, 97, 56, 55, 98, 54, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 98, 101, 55, 49, 56, 57, 97, 99, 45, 57, 101, 53, 52, 45, 52, 55, 57, 53, 45, 56, 53, 57, 101, 45, 99, 56, 49, 102, 57, 56, 49, 49, 101, 55, 50, 52, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:20:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/be7189ac-9e54-4795-859e-c81f9811e724", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"0d1f780f-436e-4b54-bd4e-f8b8bdecdc25\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://be7189ac%2D9e54%2D4795%2D859e%2Dc81f9811e724/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:20:29.628478612Z\",\"data\":{\"connected\":true},\"instance\":\"drogue\",\"applicationuid\":\"c202ee1e-7e54-4064-af9a-6aef5fd521ef\",\"partitionkey\":\"be7189ac%2D9e54%2D4795%2D859e%2Dc81f9811e724/gateway1\",\"device\":\"gateway1\",\"deviceuid\":\"ba296f94-b2e3-491f-8a9a-d4b29bca87b6\",\"sender\":\"gateway1\",\"senderuid\":\"ba296f94-b2e3-491f-8a9a-d4b29bca87b6\",\"application\":\"be7189ac-9e54-4795-859e-c81f9811e724\"}" }
[2022-05-09T12:20:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 641, payload: 0x7f4b1c0008d0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/be7189ac-9e54-4795-859e-c81f9811e724", 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, 97, 101, 51, 52, 102, 53, 49, 99, 45, 100, 99, 98, 48, 45, 52, 54, 49, 49, 45, 97, 57, 48, 48, 45, 51, 99, 49, 49, 56, 56, 55, 101, 53, 102, 57, 101, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 98, 101, 55, 49, 56, 57, 97, 99, 37, 50, 68, 57, 101, 53, 52, 37, 50, 68, 52, 55, 57, 53, 37, 50, 68, 56, 53, 57, 101, 37, 50, 68, 99, 56, 49, 102, 57, 56, 49, 49, 101, 55, 50, 52, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 48, 58, 51, 48, 46, 49, 51, 51, 52, 57, 55, 50, 49, 49, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 98, 97, 50, 57, 54, 102, 57, 52, 45, 98, 50, 101, 51, 45, 52, 57, 49, 102, 45, 56, 97, 57, 97, 45, 100, 52, 98, 50, 57, 98, 99, 97, 56, 55, 98, 54, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 98, 101, 55, 49, 56, 57, 97, 99, 37, 50, 68, 57, 101, 53, 52, 37, 50, 68, 52, 55, 57, 53, 37, 50, 68, 56, 53, 57, 101, 37, 50, 68, 99, 56, 49, 102, 57, 56, 49, 49, 101, 55, 50, 52, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 98, 97, 50, 57, 54, 102, 57, 52, 45, 98, 50, 101, 51, 45, 52, 57, 49, 102, 45, 56, 97, 57, 97, 45, 100, 52, 98, 50, 57, 98, 99, 97, 56, 55, 98, 54, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 99, 50, 48, 50, 101, 101, 49, 101, 45, 55, 101, 53, 52, 45, 52, 48, 54, 52, 45, 97, 102, 57, 97, 45, 54, 97, 101, 102, 53, 102, 100, 53, 50, 49, 101, 102, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 98, 101, 55, 49, 56, 57, 97, 99, 45, 57, 101, 53, 52, 45, 52, 55, 57, 53, 45, 56, 53, 57, 101, 45, 99, 56, 49, 102, 57, 56, 49, 49, 101, 55, 50, 52, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:20:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/be7189ac-9e54-4795-859e-c81f9811e724", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"ae34f51c-dcb0-4611-a900-3c11887e5f9e\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://be7189ac%2D9e54%2D4795%2D859e%2Dc81f9811e724/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:20:30.133497211Z\",\"data\":{\"connected\":false},\"deviceuid\":\"ba296f94-b2e3-491f-8a9a-d4b29bca87b6\",\"partitionkey\":\"be7189ac%2D9e54%2D4795%2D859e%2Dc81f9811e724/gateway1\",\"device\":\"gateway1\",\"sender\":\"gateway1\",\"senderuid\":\"ba296f94-b2e3-491f-8a9a-d4b29bca87b6\",\"instance\":\"drogue\",\"applicationuid\":\"c202ee1e-7e54-4064-af9a-6aef5fd521ef\",\"application\":\"be7189ac-9e54-4795-859e-c81f9811e724\"}" }
[2022-05-09T12:20:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 630, payload: 0x7f4b1c000b60, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/be7189ac-9e54-4795-859e-c81f9811e724", 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, 101, 56, 50, 49, 55, 97, 51, 98, 45, 56, 102, 49, 98, 45, 52, 98, 55, 102, 45, 56, 56, 98, 99, 45, 98, 97, 50, 53, 49, 49, 54, 50, 56, 49, 100, 54, 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, 98, 101, 55, 49, 56, 57, 97, 99, 37, 50, 68, 57, 101, 53, 52, 37, 50, 68, 52, 55, 57, 53, 37, 50, 68, 56, 53, 57, 101, 37, 50, 68, 99, 56, 49, 102, 57, 56, 49, 49, 101, 55, 50, 52, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 48, 58, 51, 48, 46, 49, 51, 49, 55, 49, 53, 53, 49, 57, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 98, 101, 55, 49, 56, 57, 97, 99, 45, 57, 101, 53, 52, 45, 52, 55, 57, 53, 45, 56, 53, 57, 101, 45, 99, 56, 49, 102, 57, 56, 49, 49, 101, 55, 50, 52, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 99, 50, 48, 50, 101, 101, 49, 101, 45, 55, 101, 53, 52, 45, 52, 48, 54, 52, 45, 97, 102, 57, 97, 45, 54, 97, 101, 102, 53, 102, 100, 53, 50, 49, 101, 102, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 101, 98, 54, 98, 55, 97, 51, 50, 45, 99, 51, 57, 98, 45, 52, 99, 50, 101, 45, 97, 49, 102, 53, 45, 98, 56, 51, 100, 48, 51, 51, 49, 54, 101, 55, 51, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 98, 97, 50, 57, 54, 102, 57, 52, 45, 98, 50, 101, 51, 45, 52, 57, 49, 102, 45, 56, 97, 57, 97, 45, 100, 52, 98, 50, 57, 98, 99, 97, 56, 55, 98, 54, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 98, 101, 55, 49, 56, 57, 97, 99, 37, 50, 68, 57, 101, 53, 52, 37, 50, 68, 52, 55, 57, 53, 37, 50, 68, 56, 53, 57, 101, 37, 50, 68, 99, 56, 49, 102, 57, 56, 49, 49, 101, 55, 50, 52, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:20:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/be7189ac-9e54-4795-859e-c81f9811e724", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"e8217a3b-8f1b-4b7f-88bc-ba25116281d6\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://be7189ac%2D9e54%2D4795%2D859e%2Dc81f9811e724/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:20:30.131715519Z\",\"data_base64\":\"\",\"device\":\"device1\",\"application\":\"be7189ac-9e54-4795-859e-c81f9811e724\",\"applicationuid\":\"c202ee1e-7e54-4064-af9a-6aef5fd521ef\",\"instance\":\"drogue\",\"deviceuid\":\"eb6b7a32-c39b-4c2e-a1f5-b83d03316e73\",\"senderuid\":\"ba296f94-b2e3-491f-8a9a-d4b29bca87b6\",\"partitionkey\":\"be7189ac%2D9e54%2D4795%2D859e%2Dc81f9811e724/device1\",\"sender\":\"gateway1\"}" }
[2022-05-09T12:20:30Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:20:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:20:30Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:20:30Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "be7189ac-9e54-4795-859e-c81f9811e724", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "be7189ac-9e54-4795-859e-c81f9811e724", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:20:30Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:20:30Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "be7189ac-9e54-4795-859e-c81f9811e724" "device1"
[2022-05-09T12:20:30Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:20:30Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:20:30Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "be7189ac-9e54-4795-859e-c81f9811e724" "gateway1"
[2022-05-09T12:20:30Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:20:30Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'be7189ac-9e54-4795-859e-c81f9811e724'
[2022-05-09T12:20:30Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "be7189ac-9e54-4795-859e-c81f9811e724"
[2022-05-09T12:20:30Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App be7189ac-9e54-4795-859e-c81f9811e724 deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_1::integration_version_1::integration_ws_2

Duration: 13s

Test output
-------------- TEST START --------------
[2022-05-09T12:20:32Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:20:32Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:20:32Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:20:32Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:20:32Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:20:33Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:20:35Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:20:35Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:20:35Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:20: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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:20:37Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA2MzcsImlhdCI6MTY1MjA5ODgzNywianRpIjoiNzAzODA5NmUtOWIwOC00NTBhLWJiZTAtNzYxYTc0ZWE4NGFkIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjBfdGJJOHBrSGNaUmZYcU5IRmxnZVEiLCJzZXNzaW9uX3N0YXRlIjoiMzJjMmZjNWItMDRlNi00YjFhLThhZjEtZGFiZjhjZGNiNzJjIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjMyYzJmYzViLTA0ZTYtNGIxYS04YWYxLWRhYmY4Y2RjYjcyYyJ9.3oLaQ_pLjOJiuQTAAu66bJRg8JqC_Z2kYcP2d-CW5hA
[2022-05-09T12:20:37Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:20:37Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:20:37Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA2MzcsImlhdCI6MTY1MjA5ODgzNywianRpIjoiNzAzODA5NmUtOWIwOC00NTBhLWJiZTAtNzYxYTc0ZWE4NGFkIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjBfdGJJOHBrSGNaUmZYcU5IRmxnZVEiLCJzZXNzaW9uX3N0YXRlIjoiMzJjMmZjNWItMDRlNi00YjFhLThhZjEtZGFiZjhjZGNiNzJjIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjMyYzJmYzViLTA0ZTYtNGIxYS04YWYxLWRhYmY4Y2RjYjcyYyJ9.3oLaQ_pLjOJiuQTAAu66bJRg8JqC_Z2kYcP2d-CW5hA" "--context" "system-tests"
[2022-05-09T12:20:37Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:20:37Z INFO  drogue_cloud_tests::resources::apps] Create application: 3f74ce35-0e64-48ee-a905-4dedf376d3f8
[2022-05-09T12:20:37Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "3f74ce35-0e64-48ee-a905-4dedf376d3f8"
[2022-05-09T12:20:37Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 3f74ce35-0e64-48ee-a905-4dedf376d3f8 created.\n", stderr: "" })
[2022-05-09T12:20:37Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "3f74ce35-0e64-48ee-a905-4dedf376d3f8"
[2022-05-09T12:20:37Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:20:37.865362Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"3f74ce35-0e64-48ee-a905-4dedf376d3f8\",\n    \"resourceVersion\": \"f70c360b-0db0-461f-b3b8-ba129afcaea7\",\n    \"uid\": \"3ed77876-3083-4132-9cd0-bd7c84851eac\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:20:37.883971116Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:20:37.883953352Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:37.883925430Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:37.883926372Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:37.883926763Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:37.883927284Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:37.883927805Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:37.883931592Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:20:37Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:20:37.865362Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("3f74ce35-0e64-48ee-a905-4dedf376d3f8"), "resourceVersion": String("f70c360b-0db0-461f-b3b8-ba129afcaea7"), "uid": String("3ed77876-3083-4132-9cd0-bd7c84851eac")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:20:37.883971116Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:20:37.883953352Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:20:37.883925430Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:20:37.883926372Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:20:37.883926763Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:20:37.883927284Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:20:37.883927805Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:20:37.883931592Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T12:20:37Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:20:38Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "3f74ce35-0e64-48ee-a905-4dedf376d3f8"
[2022-05-09T12:20:38Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:20:37.865362Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"3f74ce35-0e64-48ee-a905-4dedf376d3f8\",\n    \"resourceVersion\": \"c8a2d323-04d6-43c0-ab00-be8909e618a6\",\n    \"uid\": \"3ed77876-3083-4132-9cd0-bd7c84851eac\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:20:38.157152222Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:20:38.157118198Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:37.910851389Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:37.918606701Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:37.984822073Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:37.991892300Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:38.157071560Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:38.157090025Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"JnlflsoWlI0z\",\n        \"username\": \"user-3f74ce35-0e64-48ee-a905-4dedf376d3f8\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:20:38Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:20:37.865362Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("3f74ce35-0e64-48ee-a905-4dedf376d3f8"), "resourceVersion": String("c8a2d323-04d6-43c0-ab00-be8909e618a6"), "uid": String("3ed77876-3083-4132-9cd0-bd7c84851eac")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:20:38.157152222Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:20:38.157118198Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:20:37.910851389Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:20:37.918606701Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:20:37.984822073Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:20:37.991892300Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:20:38.157071560Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:20:38.157090025Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("JnlflsoWlI0z"), "username": String("user-3f74ce35-0e64-48ee-a905-4dedf376d3f8")})})})})
[2022-05-09T12:20:38Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:20:38Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "3f74ce35-0e64-48ee-a905-4dedf376d3f8"
[2022-05-09T12:20:38Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:20:37.865362Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"3f74ce35-0e64-48ee-a905-4dedf376d3f8\",\n    \"resourceVersion\": \"c8a2d323-04d6-43c0-ab00-be8909e618a6\",\n    \"uid\": \"3ed77876-3083-4132-9cd0-bd7c84851eac\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:20:38.157152222Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:20:38.157118198Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:37.910851389Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:37.918606701Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:37.984822073Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:37.991892300Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:38.157071560Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:38.157090025Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"JnlflsoWlI0z\",\n        \"username\": \"user-3f74ce35-0e64-48ee-a905-4dedf376d3f8\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:20:38Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:20:37.865362Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("3f74ce35-0e64-48ee-a905-4dedf376d3f8"), "resourceVersion": String("c8a2d323-04d6-43c0-ab00-be8909e618a6"), "uid": String("3ed77876-3083-4132-9cd0-bd7c84851eac")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:20:38.157152222Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:20:38.157118198Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:20:37.910851389Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:20:37.918606701Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:20:37.984822073Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:20:37.991892300Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:20:38.157071560Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:20:38.157090025Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("JnlflsoWlI0z"), "username": String("user-3f74ce35-0e64-48ee-a905-4dedf376d3f8")})})})})
[2022-05-09T12:20:38Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:20:38Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:20:38Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "3f74ce35-0e64-48ee-a905-4dedf376d3f8" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:20:38Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:20:38Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:20:38Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:20:38Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:20:38Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkxMzcsImlhdCI6MTY1MjA5ODgzNywiYXV0aF90aW1lIjoxNjUyMDk4ODM0LCJqdGkiOiI3YWFkMGY2My1lZmY0LTQ3ODAtODQyNC1jZmQ3YmU2ZjEyNWYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiIwX3RiSThwa0hjWlJmWHFOSEZsZ2VRIiwic2Vzc2lvbl9zdGF0ZSI6IjMyYzJmYzViLTA0ZTYtNGIxYS04YWYxLWRhYmY4Y2RjYjcyYyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjMyYzJmYzViLTA0ZTYtNGIxYS04YWYxLWRhYmY4Y2RjYjcyYyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.BkNsMK-yeZ3DFfDhzlru7OEmEmSO_lEnpM5BkzaFVWMxvqacV9GK8bhZozAPsllBJjw_Cl-PAylY3_nE5X5xNUkmQU7EI-4Q_63P7f7IES6xtrICAPTQy9JHFlszNxdJZfxFGd5ltvd35nLtWEIj2QmSbYRj84gkB2pe07MIpzLh1dFBfG2NKS9uLqP9vUlKb2cnkp3VAmSe4Zs0aR7hEMDZBaxOm7yTskJ47PUp-UJtx97oL7Xr5SvvNMopVxSa-YaUzN4d_YDKm1eH8i0hYTSRw8kDfOZfwaPITEGZc3y1-PjbXQPiPTleIsxG7SYYLDyq1iaF8hdJEnpZ8TbY4g\n", stderr: "" })
[2022-05-09T12:20:38Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:20:38Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:20:38Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:20:38Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "3f74ce35-0e64-48ee-a905-4dedf376d3f8" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:20:39Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:20:39Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T12:20:39Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:20:39Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkxMzcsImlhdCI6MTY1MjA5ODgzNywiYXV0aF90aW1lIjoxNjUyMDk4ODM0LCJqdGkiOiI3YWFkMGY2My1lZmY0LTQ3ODAtODQyNC1jZmQ3YmU2ZjEyNWYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiIwX3RiSThwa0hjWlJmWHFOSEZsZ2VRIiwic2Vzc2lvbl9zdGF0ZSI6IjMyYzJmYzViLTA0ZTYtNGIxYS04YWYxLWRhYmY4Y2RjYjcyYyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjMyYzJmYzViLTA0ZTYtNGIxYS04YWYxLWRhYmY4Y2RjYjcyYyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.BkNsMK-yeZ3DFfDhzlru7OEmEmSO_lEnpM5BkzaFVWMxvqacV9GK8bhZozAPsllBJjw_Cl-PAylY3_nE5X5xNUkmQU7EI-4Q_63P7f7IES6xtrICAPTQy9JHFlszNxdJZfxFGd5ltvd35nLtWEIj2QmSbYRj84gkB2pe07MIpzLh1dFBfG2NKS9uLqP9vUlKb2cnkp3VAmSe4Zs0aR7hEMDZBaxOm7yTskJ47PUp-UJtx97oL7Xr5SvvNMopVxSa-YaUzN4d_YDKm1eH8i0hYTSRw8kDfOZfwaPITEGZc3y1-PjbXQPiPTleIsxG7SYYLDyq1iaF8hdJEnpZ8TbY4g\n", stderr: "" })
[2022-05-09T12:20:39Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "4e94014e-6dfd-4737-b60e-632191196602", persistence: None, user_data: None }
[2022-05-09T12:20:39Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:20:39Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x5617179f3000
[2022-05-09T12:20:39Z DEBUG paho_mqtt::async_client] Connecting handle: 0x5617179f3000
[2022-05-09T12:20:39Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x5617179e68a0, connectTimeout: 30, retryInterval: 0, ssl: 0x561717a05690, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717c83970, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkxMzcsImlhdCI6MTY1MjA5ODgzNywiYXV0aF90aW1lIjoxNjUyMDk4ODM0LCJqdGkiOiI3YWFkMGY2My1lZmY0LTQ3ODAtODQyNC1jZmQ3YmU2ZjEyNWYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiIwX3RiSThwa0hjWlJmWHFOSEZsZ2VRIiwic2Vzc2lvbl9zdGF0ZSI6IjMyYzJmYzViLTA0ZTYtNGIxYS04YWYxLWRhYmY4Y2RjYjcyYyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjMyYzJmYzViLTA0ZTYtNGIxYS04YWYxLWRhYmY4Y2RjYjcyYyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.BkNsMK-yeZ3DFfDhzlru7OEmEmSO_lEnpM5BkzaFVWMxvqacV9GK8bhZozAPsllBJjw_Cl-PAylY3_nE5X5xNUkmQU7EI-4Q_63P7f7IES6xtrICAPTQy9JHFlszNxdJZfxFGd5ltvd35nLtWEIj2QmSbYRj84gkB2pe07MIpzLh1dFBfG2NKS9uLqP9vUlKb2cnkp3VAmSe4Zs0aR7hEMDZBaxOm7yTskJ47PUp-UJtx97oL7Xr5SvvNMopVxSa-YaUzN4d_YDKm1eH8i0hYTSRw8kDfOZfwaPITEGZc3y1-PjbXQPiPTleIsxG7SYYLDyq1iaF8hdJEnpZ8TbY4g"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:20:39Z DEBUG paho_mqtt::async_client] Subscribe to '"app/3f74ce35-0e64-48ee-a905-4dedf376d3f8"' @ QOS 0
[2022-05-09T12:20:39Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:20:39Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:20:39Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:20:39Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:20:39Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:20:39Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:20:40Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:20:40Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:20:40Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:20:40Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:20:41Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:20:41Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:20:41Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:20:41Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:20:42Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:20:42Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:20:42Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:20:42Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:20:42Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 621, payload: 0x7f4b1801c100, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/3f74ce35-0e64-48ee-a905-4dedf376d3f8", 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, 98, 55, 54, 53, 102, 57, 55, 52, 45, 56, 57, 99, 53, 45, 52, 57, 48, 101, 45, 56, 50, 56, 49, 45, 98, 53, 56, 102, 101, 98, 101, 48, 101, 97, 97, 57, 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, 51, 102, 55, 52, 99, 101, 51, 53, 37, 50, 68, 48, 101, 54, 52, 37, 50, 68, 52, 56, 101, 101, 37, 50, 68, 97, 57, 48, 53, 37, 50, 68, 52, 100, 101, 100, 102, 51, 55, 54, 100, 51, 102, 56, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 48, 58, 52, 50, 46, 53, 50, 53, 48, 52, 56, 50, 51, 54, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 55, 53, 55, 101, 54, 49, 98, 56, 45, 48, 48, 54, 54, 45, 52, 54, 49, 98, 45, 56, 97, 48, 55, 45, 48, 50, 57, 53, 57, 52, 52, 49, 98, 98, 98, 98, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 51, 102, 55, 52, 99, 101, 51, 53, 45, 48, 101, 54, 52, 45, 52, 56, 101, 101, 45, 97, 57, 48, 53, 45, 52, 100, 101, 100, 102, 51, 55, 54, 100, 51, 102, 56, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 51, 102, 55, 52, 99, 101, 51, 53, 37, 50, 68, 48, 101, 54, 52, 37, 50, 68, 52, 56, 101, 101, 37, 50, 68, 97, 57, 48, 53, 37, 50, 68, 52, 100, 101, 100, 102, 51, 55, 54, 100, 51, 102, 56, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 50, 52, 57, 53, 50, 57, 99, 52, 45, 53, 99, 54, 52, 45, 52, 52, 55, 49, 45, 56, 100, 52, 51, 45, 97, 52, 97, 50, 52, 102, 56, 53, 48, 48, 55, 48, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 51, 101, 100, 55, 55, 56, 55, 54, 45, 51, 48, 56, 51, 45, 52, 49, 51, 50, 45, 57, 99, 100, 48, 45, 98, 100, 55, 99, 56, 52, 56, 53, 49, 101, 97, 99, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:20:42Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/3f74ce35-0e64-48ee-a905-4dedf376d3f8", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"b765f974-89c5-490e-8281-b58febe0eaa9\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://3f74ce35%2D0e64%2D48ee%2Da905%2D4dedf376d3f8/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:20:42.525048236Z\",\"data\":{\"index\":3},\"sender\":\"gateway1\",\"deviceuid\":\"757e61b8-0066-461b-8a07-02959441bbbb\",\"device\":\"device1\",\"instance\":\"drogue\",\"application\":\"3f74ce35-0e64-48ee-a905-4dedf376d3f8\",\"partitionkey\":\"3f74ce35%2D0e64%2D48ee%2Da905%2D4dedf376d3f8/device1\",\"senderuid\":\"249529c4-5c64-4471-8d43-a4a24f850070\",\"applicationuid\":\"3ed77876-3083-4132-9cd0-bd7c84851eac\"}" }
[2022-05-09T12:20:43Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:20:43Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:20:43Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:20:43Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:20:43Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "193e3ee1-e81d-4bd3-9beb-1715454088ba", persistence: None, user_data: None }
[2022-05-09T12:20:43Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:20:43Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717af2380
[2022-05-09T12:20:43Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717af2380
[2022-05-09T12:20:43Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x561717879360, password: 0x561717a59090, connectTimeout: 30, retryInterval: 0, ssl: 0x5617179e22a0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x5617178790d0, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@3f74ce35-0e64-48ee-a905-4dedf376d3f8"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:20:44Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 640, payload: 0x7f4b180101b0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/3f74ce35-0e64-48ee-a905-4dedf376d3f8", 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, 49, 54, 52, 101, 55, 52, 48, 50, 45, 57, 99, 52, 49, 45, 52, 102, 52, 49, 45, 98, 53, 98, 53, 45, 48, 52, 101, 102, 102, 99, 52, 97, 51, 99, 48, 52, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 51, 102, 55, 52, 99, 101, 51, 53, 37, 50, 68, 48, 101, 54, 52, 37, 50, 68, 52, 56, 101, 101, 37, 50, 68, 97, 57, 48, 53, 37, 50, 68, 52, 100, 101, 100, 102, 51, 55, 54, 100, 51, 102, 56, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 48, 58, 52, 51, 46, 56, 48, 49, 51, 53, 56, 51, 57, 53, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 51, 101, 100, 55, 55, 56, 55, 54, 45, 51, 48, 56, 51, 45, 52, 49, 51, 50, 45, 57, 99, 100, 48, 45, 98, 100, 55, 99, 56, 52, 56, 53, 49, 101, 97, 99, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 51, 102, 55, 52, 99, 101, 51, 53, 37, 50, 68, 48, 101, 54, 52, 37, 50, 68, 52, 56, 101, 101, 37, 50, 68, 97, 57, 48, 53, 37, 50, 68, 52, 100, 101, 100, 102, 51, 55, 54, 100, 51, 102, 56, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 51, 102, 55, 52, 99, 101, 51, 53, 45, 48, 101, 54, 52, 45, 52, 56, 101, 101, 45, 97, 57, 48, 53, 45, 52, 100, 101, 100, 102, 51, 55, 54, 100, 51, 102, 56, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 50, 52, 57, 53, 50, 57, 99, 52, 45, 53, 99, 54, 52, 45, 52, 52, 55, 49, 45, 56, 100, 52, 51, 45, 97, 52, 97, 50, 52, 102, 56, 53, 48, 48, 55, 48, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 50, 52, 57, 53, 50, 57, 99, 52, 45, 53, 99, 54, 52, 45, 52, 52, 55, 49, 45, 56, 100, 52, 51, 45, 97, 52, 97, 50, 52, 102, 56, 53, 48, 48, 55, 48, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:20:44Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/3f74ce35-0e64-48ee-a905-4dedf376d3f8", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"164e7402-9c41-4f41-b5b5-04effc4a3c04\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://3f74ce35%2D0e64%2D48ee%2Da905%2D4dedf376d3f8/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:20:43.801358395Z\",\"data\":{\"connected\":true},\"applicationuid\":\"3ed77876-3083-4132-9cd0-bd7c84851eac\",\"partitionkey\":\"3f74ce35%2D0e64%2D48ee%2Da905%2D4dedf376d3f8/gateway1\",\"application\":\"3f74ce35-0e64-48ee-a905-4dedf376d3f8\",\"sender\":\"gateway1\",\"device\":\"gateway1\",\"senderuid\":\"249529c4-5c64-4471-8d43-a4a24f850070\",\"deviceuid\":\"249529c4-5c64-4471-8d43-a4a24f850070\",\"instance\":\"drogue\"}" }
[2022-05-09T12:20:44Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717cb31e0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717cb31e0 } } } }
[2022-05-09T12:20:44Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:20:44Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 630, payload: 0x7f4b18010440, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/3f74ce35-0e64-48ee-a905-4dedf376d3f8", 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, 101, 102, 97, 52, 55, 102, 56, 48, 45, 53, 54, 100, 102, 45, 52, 100, 100, 100, 45, 56, 53, 57, 57, 45, 50, 98, 101, 100, 53, 54, 54, 100, 53, 97, 50, 49, 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, 51, 102, 55, 52, 99, 101, 51, 53, 37, 50, 68, 48, 101, 54, 52, 37, 50, 68, 52, 56, 101, 101, 37, 50, 68, 97, 57, 48, 53, 37, 50, 68, 52, 100, 101, 100, 102, 51, 55, 54, 100, 51, 102, 56, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 48, 58, 52, 52, 46, 49, 51, 53, 49, 54, 48, 51, 55, 51, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 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, 51, 102, 55, 52, 99, 101, 51, 53, 37, 50, 68, 48, 101, 54, 52, 37, 50, 68, 52, 56, 101, 101, 37, 50, 68, 97, 57, 48, 53, 37, 50, 68, 52, 100, 101, 100, 102, 51, 55, 54, 100, 51, 102, 56, 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, 51, 102, 55, 52, 99, 101, 51, 53, 45, 48, 101, 54, 52, 45, 52, 56, 101, 101, 45, 97, 57, 48, 53, 45, 52, 100, 101, 100, 102, 51, 55, 54, 100, 51, 102, 56, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 55, 53, 55, 101, 54, 49, 98, 56, 45, 48, 48, 54, 54, 45, 52, 54, 49, 98, 45, 56, 97, 48, 55, 45, 48, 50, 57, 53, 57, 52, 52, 49, 98, 98, 98, 98, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 51, 101, 100, 55, 55, 56, 55, 54, 45, 51, 48, 56, 51, 45, 52, 49, 51, 50, 45, 57, 99, 100, 48, 45, 98, 100, 55, 99, 56, 52, 56, 53, 49, 101, 97, 99, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 50, 52, 57, 53, 50, 57, 99, 52, 45, 53, 99, 54, 52, 45, 52, 52, 55, 49, 45, 56, 100, 52, 51, 45, 97, 52, 97, 50, 52, 102, 56, 53, 48, 48, 55, 48, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:20:44Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/3f74ce35-0e64-48ee-a905-4dedf376d3f8", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"efa47f80-56df-4ddd-8599-2bed566d5a21\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://3f74ce35%2D0e64%2D48ee%2Da905%2D4dedf376d3f8/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:20:44.135160373Z\",\"data_base64\":\"\",\"device\":\"device1\",\"instance\":\"drogue\",\"partitionkey\":\"3f74ce35%2D0e64%2D48ee%2Da905%2D4dedf376d3f8/device1\",\"application\":\"3f74ce35-0e64-48ee-a905-4dedf376d3f8\",\"deviceuid\":\"757e61b8-0066-461b-8a07-02959441bbbb\",\"sender\":\"gateway1\",\"applicationuid\":\"3ed77876-3083-4132-9cd0-bd7c84851eac\",\"senderuid\":\"249529c4-5c64-4471-8d43-a4a24f850070\"}" }
[2022-05-09T12:20:44Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 641, payload: 0x7f4b1800dfa0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/3f74ce35-0e64-48ee-a905-4dedf376d3f8", 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, 48, 98, 54, 55, 49, 52, 99, 97, 45, 55, 53, 56, 51, 45, 52, 55, 56, 54, 45, 98, 98, 57, 101, 45, 53, 55, 102, 51, 50, 52, 102, 53, 55, 101, 99, 99, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 51, 102, 55, 52, 99, 101, 51, 53, 37, 50, 68, 48, 101, 54, 52, 37, 50, 68, 52, 56, 101, 101, 37, 50, 68, 97, 57, 48, 53, 37, 50, 68, 52, 100, 101, 100, 102, 51, 55, 54, 100, 51, 102, 56, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 48, 58, 52, 52, 46, 50, 51, 53, 48, 53, 52, 54, 56, 54, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 51, 101, 100, 55, 55, 56, 55, 54, 45, 51, 48, 56, 51, 45, 52, 49, 51, 50, 45, 57, 99, 100, 48, 45, 98, 100, 55, 99, 56, 52, 56, 53, 49, 101, 97, 99, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 51, 102, 55, 52, 99, 101, 51, 53, 45, 48, 101, 54, 52, 45, 52, 56, 101, 101, 45, 97, 57, 48, 53, 45, 52, 100, 101, 100, 102, 51, 55, 54, 100, 51, 102, 56, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 50, 52, 57, 53, 50, 57, 99, 52, 45, 53, 99, 54, 52, 45, 52, 52, 55, 49, 45, 56, 100, 52, 51, 45, 97, 52, 97, 50, 52, 102, 56, 53, 48, 48, 55, 48, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 50, 52, 57, 53, 50, 57, 99, 52, 45, 53, 99, 54, 52, 45, 52, 52, 55, 49, 45, 56, 100, 52, 51, 45, 97, 52, 97, 50, 52, 102, 56, 53, 48, 48, 55, 48, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 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, 51, 102, 55, 52, 99, 101, 51, 53, 37, 50, 68, 48, 101, 54, 52, 37, 50, 68, 52, 56, 101, 101, 37, 50, 68, 97, 57, 48, 53, 37, 50, 68, 52, 100, 101, 100, 102, 51, 55, 54, 100, 51, 102, 56, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:20:44Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/3f74ce35-0e64-48ee-a905-4dedf376d3f8", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"0b6714ca-7583-4786-bb9e-57f324f57ecc\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://3f74ce35%2D0e64%2D48ee%2Da905%2D4dedf376d3f8/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:20:44.235054686Z\",\"data\":{\"connected\":false},\"applicationuid\":\"3ed77876-3083-4132-9cd0-bd7c84851eac\",\"application\":\"3f74ce35-0e64-48ee-a905-4dedf376d3f8\",\"senderuid\":\"249529c4-5c64-4471-8d43-a4a24f850070\",\"sender\":\"gateway1\",\"deviceuid\":\"249529c4-5c64-4471-8d43-a4a24f850070\",\"device\":\"gateway1\",\"instance\":\"drogue\",\"partitionkey\":\"3f74ce35%2D0e64%2D48ee%2Da905%2D4dedf376d3f8/gateway1\"}" }
[2022-05-09T12:20:44Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:20:44Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:20:44Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:20:44Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "3f74ce35-0e64-48ee-a905-4dedf376d3f8", device: "device1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "3f74ce35-0e64-48ee-a905-4dedf376d3f8", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:20:44Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:20:44Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "3f74ce35-0e64-48ee-a905-4dedf376d3f8" "device1"
[2022-05-09T12:20:44Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:20:44Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:20:44Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "3f74ce35-0e64-48ee-a905-4dedf376d3f8" "gateway1"
[2022-05-09T12:20:44Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:20:44Z INFO  drogue_cloud_tests::resources::apps] Destroy application '3f74ce35-0e64-48ee-a905-4dedf376d3f8'
[2022-05-09T12:20:44Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "3f74ce35-0e64-48ee-a905-4dedf376d3f8"
[2022-05-09T12:20:44Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 3f74ce35-0e64-48ee-a905-4dedf376d3f8 deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_1::integration_version_2::integration_ws_1

Duration: 13s

Test output
-------------- TEST START --------------
[2022-05-09T12:20:46Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:20:46Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:20:46Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:20:46Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:20: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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:20:47Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:20:49Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:20:49Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:20:49Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:20:49Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:20:51Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA2NTEsImlhdCI6MTY1MjA5ODg1MSwianRpIjoiZjhkZWQ5MTYtYjIwYy00YTk5LTg2Y2UtNWJjNjFkMWMzYzRlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjZNS3RCVm1ld0FSVzBPRGR6OTRLSVEiLCJzZXNzaW9uX3N0YXRlIjoiZThjN2JkY2ItN2E0OC00MjJlLWE4Y2MtZmEzMGYxZWYyMTJjIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImU4YzdiZGNiLTdhNDgtNDIyZS1hOGNjLWZhMzBmMWVmMjEyYyJ9._gtoMALrJ7boVdGOuPR3EfAKg2Vzur94GM5zzBXwpUY
[2022-05-09T12:20:51Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:20:51Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:20:51Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA2NTEsImlhdCI6MTY1MjA5ODg1MSwianRpIjoiZjhkZWQ5MTYtYjIwYy00YTk5LTg2Y2UtNWJjNjFkMWMzYzRlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjZNS3RCVm1ld0FSVzBPRGR6OTRLSVEiLCJzZXNzaW9uX3N0YXRlIjoiZThjN2JkY2ItN2E0OC00MjJlLWE4Y2MtZmEzMGYxZWYyMTJjIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImU4YzdiZGNiLTdhNDgtNDIyZS1hOGNjLWZhMzBmMWVmMjEyYyJ9._gtoMALrJ7boVdGOuPR3EfAKg2Vzur94GM5zzBXwpUY" "--context" "system-tests"
[2022-05-09T12:20:51Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:20:51Z INFO  drogue_cloud_tests::resources::apps] Create application: c66e0428-cb58-485e-9f98-d706d484f294
[2022-05-09T12:20:51Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "c66e0428-cb58-485e-9f98-d706d484f294"
[2022-05-09T12:20:51Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App c66e0428-cb58-485e-9f98-d706d484f294 created.\n", stderr: "" })
[2022-05-09T12:20:51Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "c66e0428-cb58-485e-9f98-d706d484f294"
[2022-05-09T12:20:51Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:20:51.749209Z\",\n    \"generation\": 1,\n    \"name\": \"c66e0428-cb58-485e-9f98-d706d484f294\",\n    \"resourceVersion\": \"0c3ef134-3e99-4903-b386-66ebaeb3dc01\",\n    \"uid\": \"b268ff83-9db7-480b-a346-1c924842775e\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:20:51.767596333Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2022-05-09T12:20:51Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:20:51.749209Z"), "generation": Number(1), "name": String("c66e0428-cb58-485e-9f98-d706d484f294"), "resourceVersion": String("0c3ef134-3e99-4903-b386-66ebaeb3dc01"), "uid": String("b268ff83-9db7-480b-a346-1c924842775e")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:20:51.767596333Z"), "status": String("True"), "type": String("Ready")})])})})
[2022-05-09T12:20:51Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:20:52Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "c66e0428-cb58-485e-9f98-d706d484f294"
[2022-05-09T12:20:52Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:20:51.749209Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"c66e0428-cb58-485e-9f98-d706d484f294\",\n    \"resourceVersion\": \"8c066004-9822-40ff-8a1b-55b40bee0703\",\n    \"uid\": \"b268ff83-9db7-480b-a346-1c924842775e\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:20:52.169704945Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:20:52.169516121Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:51.801864460Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:51.809005621Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:51.992774709Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:52.011572468Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:52.169429859Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:52.169446230Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"rhPgpqNHRKdZ\",\n        \"username\": \"user-c66e0428-cb58-485e-9f98-d706d484f294\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:20:52Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:20:51.749209Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("c66e0428-cb58-485e-9f98-d706d484f294"), "resourceVersion": String("8c066004-9822-40ff-8a1b-55b40bee0703"), "uid": String("b268ff83-9db7-480b-a346-1c924842775e")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:20:52.169704945Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:20:52.169516121Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:20:51.801864460Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:20:51.809005621Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:20:51.992774709Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:20:52.011572468Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:20:52.169429859Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:20:52.169446230Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("rhPgpqNHRKdZ"), "username": String("user-c66e0428-cb58-485e-9f98-d706d484f294")})})})})
[2022-05-09T12:20:52Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:20:52Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "c66e0428-cb58-485e-9f98-d706d484f294"
[2022-05-09T12:20:52Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:20:51.749209Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"c66e0428-cb58-485e-9f98-d706d484f294\",\n    \"resourceVersion\": \"8c066004-9822-40ff-8a1b-55b40bee0703\",\n    \"uid\": \"b268ff83-9db7-480b-a346-1c924842775e\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:20:52.169704945Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:20:52.169516121Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:51.801864460Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:51.809005621Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:51.992774709Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:52.011572468Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:52.169429859Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:20:52.169446230Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"rhPgpqNHRKdZ\",\n        \"username\": \"user-c66e0428-cb58-485e-9f98-d706d484f294\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:20:52Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:20:51.749209Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("c66e0428-cb58-485e-9f98-d706d484f294"), "resourceVersion": String("8c066004-9822-40ff-8a1b-55b40bee0703"), "uid": String("b268ff83-9db7-480b-a346-1c924842775e")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:20:52.169704945Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:20:52.169516121Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:20:51.801864460Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:20:51.809005621Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:20:51.992774709Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:20:52.011572468Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:20:52.169429859Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:20:52.169446230Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("rhPgpqNHRKdZ"), "username": String("user-c66e0428-cb58-485e-9f98-d706d484f294")})})})})
[2022-05-09T12:20:52Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:20:52Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:20:52Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "c66e0428-cb58-485e-9f98-d706d484f294" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:20:52Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:20:52Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:20:52Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:20:52Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:20:52Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkxNTEsImlhdCI6MTY1MjA5ODg1MSwiYXV0aF90aW1lIjoxNjUyMDk4ODQ4LCJqdGkiOiI5YzdkOTQ4YS1hZGFkLTRmMmUtOTZmNy0xZjZiYmNlMmFjMjEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI2TUt0QlZtZXdBUlcwT0Rkejk0S0lRIiwic2Vzc2lvbl9zdGF0ZSI6ImU4YzdiZGNiLTdhNDgtNDIyZS1hOGNjLWZhMzBmMWVmMjEyYyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImU4YzdiZGNiLTdhNDgtNDIyZS1hOGNjLWZhMzBmMWVmMjEyYyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.hUv6bGBn1siAgb2W1vC-sKig0fLkFILMKfVuN-pFT8leEuhsyc-rx-mCP91aOuX50zgnDQm-mgNhs0z0G9s3KNf10MVQpEVF90MgT_ZIyU81BuG48vjf1EusE6L-x_VtUS09i2h2bJ8szMiSRFrIUHOxZS5XG4vii4KVZ21B3tbuIEij9ZAnr6RsipRV16H2WIKyzniKeyUhVNJIIxjJ2S2-oAjKJ4g4oPyBAxDjiUX_rk9BJZTlhw9ooSRUo3mD1WxC-qjSO6E2PNRN5A9ptNC0pYv-4Krqq-ceq9M67yN6rhRHLuFryYS7kwdLqfOhoiTSIODWdnKRqzLQdQ7FOg\n", stderr: "" })
[2022-05-09T12:20:52Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:20:52Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:20:52Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:20:52Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "c66e0428-cb58-485e-9f98-d706d484f294" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:20:52Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:20:52Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T12:20:52Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:20:52Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkxNTEsImlhdCI6MTY1MjA5ODg1MSwiYXV0aF90aW1lIjoxNjUyMDk4ODQ4LCJqdGkiOiI5YzdkOTQ4YS1hZGFkLTRmMmUtOTZmNy0xZjZiYmNlMmFjMjEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI2TUt0QlZtZXdBUlcwT0Rkejk0S0lRIiwic2Vzc2lvbl9zdGF0ZSI6ImU4YzdiZGNiLTdhNDgtNDIyZS1hOGNjLWZhMzBmMWVmMjEyYyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImU4YzdiZGNiLTdhNDgtNDIyZS1hOGNjLWZhMzBmMWVmMjEyYyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.hUv6bGBn1siAgb2W1vC-sKig0fLkFILMKfVuN-pFT8leEuhsyc-rx-mCP91aOuX50zgnDQm-mgNhs0z0G9s3KNf10MVQpEVF90MgT_ZIyU81BuG48vjf1EusE6L-x_VtUS09i2h2bJ8szMiSRFrIUHOxZS5XG4vii4KVZ21B3tbuIEij9ZAnr6RsipRV16H2WIKyzniKeyUhVNJIIxjJ2S2-oAjKJ4g4oPyBAxDjiUX_rk9BJZTlhw9ooSRUo3mD1WxC-qjSO6E2PNRN5A9ptNC0pYv-4Krqq-ceq9M67yN6rhRHLuFryYS7kwdLqfOhoiTSIODWdnKRqzLQdQ7FOg\n", stderr: "" })
[2022-05-09T12:20:52Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "be9d2d25-7371-4cf8-a266-f808d6f04e89", persistence: None, user_data: None }
[2022-05-09T12:20:52Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:20:52Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717b8b0f0
[2022-05-09T12:20:52Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717b8b0f0
[2022-05-09T12:20:52Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717af1390, connectTimeout: 30, retryInterval: 0, ssl: 0x5617179e22a0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717af0710, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkxNTEsImlhdCI6MTY1MjA5ODg1MSwiYXV0aF90aW1lIjoxNjUyMDk4ODQ4LCJqdGkiOiI5YzdkOTQ4YS1hZGFkLTRmMmUtOTZmNy0xZjZiYmNlMmFjMjEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI2TUt0QlZtZXdBUlcwT0Rkejk0S0lRIiwic2Vzc2lvbl9zdGF0ZSI6ImU4YzdiZGNiLTdhNDgtNDIyZS1hOGNjLWZhMzBmMWVmMjEyYyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImU4YzdiZGNiLTdhNDgtNDIyZS1hOGNjLWZhMzBmMWVmMjEyYyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.hUv6bGBn1siAgb2W1vC-sKig0fLkFILMKfVuN-pFT8leEuhsyc-rx-mCP91aOuX50zgnDQm-mgNhs0z0G9s3KNf10MVQpEVF90MgT_ZIyU81BuG48vjf1EusE6L-x_VtUS09i2h2bJ8szMiSRFrIUHOxZS5XG4vii4KVZ21B3tbuIEij9ZAnr6RsipRV16H2WIKyzniKeyUhVNJIIxjJ2S2-oAjKJ4g4oPyBAxDjiUX_rk9BJZTlhw9ooSRUo3mD1WxC-qjSO6E2PNRN5A9ptNC0pYv-4Krqq-ceq9M67yN6rhRHLuFryYS7kwdLqfOhoiTSIODWdnKRqzLQdQ7FOg"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:20:52Z DEBUG paho_mqtt::async_client] Subscribe to '"app/c66e0428-cb58-485e-9f98-d706d484f294"' @ QOS 0
[2022-05-09T12:20:52Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:20:52Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:20:52Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:20:52Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:20:52Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:20:53Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:20:54Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:20:54Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:20:54Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:20:54Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:20:55Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:20:55Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:20:55Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:20:55Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:20:56Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:20:56Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:20:56Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:20:56Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:20:56Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 621, payload: 0x7f4b18012980, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b18012c00 } }, data: MessageData { topic: "app/c66e0428-cb58-485e-9f98-d706d484f294", 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, 101, 102, 99, 53, 55, 101, 102, 52, 45, 54, 54, 48, 99, 45, 52, 54, 54, 50, 45, 97, 48, 56, 54, 45, 50, 101, 57, 49, 100, 51, 98, 98, 57, 56, 97, 50, 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, 54, 54, 101, 48, 52, 50, 56, 37, 50, 68, 99, 98, 53, 56, 37, 50, 68, 52, 56, 53, 101, 37, 50, 68, 57, 102, 57, 56, 37, 50, 68, 100, 55, 48, 54, 100, 52, 56, 52, 102, 50, 57, 52, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 48, 58, 53, 54, 46, 53, 51, 51, 55, 54, 49, 53, 56, 52, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 99, 54, 54, 101, 48, 52, 50, 56, 45, 99, 98, 53, 56, 45, 52, 56, 53, 101, 45, 57, 102, 57, 56, 45, 100, 55, 48, 54, 100, 52, 56, 52, 102, 50, 57, 52, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 99, 54, 54, 101, 48, 52, 50, 56, 37, 50, 68, 99, 98, 53, 56, 37, 50, 68, 52, 56, 53, 101, 37, 50, 68, 57, 102, 57, 56, 37, 50, 68, 100, 55, 48, 54, 100, 52, 56, 52, 102, 50, 57, 52, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 53, 100, 52, 56, 55, 97, 97, 54, 45, 98, 101, 99, 57, 45, 52, 48, 50, 48, 45, 97, 57, 100, 48, 45, 51, 100, 100, 50, 99, 98, 51, 56, 57, 54, 48, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 98, 49, 53, 52, 56, 97, 51, 98, 45, 56, 52, 56, 57, 45, 52, 97, 54, 50, 45, 56, 51, 54, 53, 45, 52, 102, 50, 50, 50, 53, 49, 49, 55, 97, 50, 51, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 98, 50, 54, 56, 102, 102, 56, 51, 45, 57, 100, 98, 55, 45, 52, 56, 48, 98, 45, 97, 51, 52, 54, 45, 49, 99, 57, 50, 52, 56, 52, 50, 55, 55, 53, 101, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b18012c00 } } } }
[2022-05-09T12:20:56Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717b3c940
[2022-05-09T12:20:56Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/c66e0428-cb58-485e-9f98-d706d484f294", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"efc57ef4-660c-4662-a086-2e91d3bb98a2\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://c66e0428%2Dcb58%2D485e%2D9f98%2Dd706d484f294/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:20:56.533761584Z\",\"data\":{\"index\":3},\"application\":\"c66e0428-cb58-485e-9f98-d706d484f294\",\"device\":\"device1\",\"partitionkey\":\"c66e0428%2Dcb58%2D485e%2D9f98%2Dd706d484f294/device1\",\"sender\":\"gateway1\",\"deviceuid\":\"5d487aa6-bec9-4020-a9d0-3dd2cb38960e\",\"senderuid\":\"b1548a3b-8489-4a62-8365-4f2225117a23\",\"instance\":\"drogue\",\"applicationuid\":\"b268ff83-9db7-480b-a346-1c924842775e\"}" }
[2022-05-09T12:20:57Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:20:57Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:20:57Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:20:57Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:20:57Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "8162f9da-588e-401d-9c8b-95f3e0f88ae9", persistence: None, user_data: None }
[2022-05-09T12:20:57Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:20:57Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x5617179f2350
[2022-05-09T12:20:57Z DEBUG paho_mqtt::async_client] Connecting handle: 0x5617179f2350
[2022-05-09T12:20:57Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x561717bc3a90, password: 0x561717cb9980, connectTimeout: 30, retryInterval: 0, ssl: 0x561717c9fad0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717ca2630, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@c66e0428-cb58-485e-9f98-d706d484f294"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:20:58Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717ca0480 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717ca0480 } } } }
[2022-05-09T12:20:58Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 640, payload: 0x7f4b18019620, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b180198b0 } }, data: MessageData { topic: "app/c66e0428-cb58-485e-9f98-d706d484f294", 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, 53, 55, 55, 100, 100, 55, 52, 97, 45, 54, 57, 51, 99, 45, 52, 51, 52, 54, 45, 98, 51, 97, 102, 45, 48, 56, 54, 101, 48, 51, 49, 98, 52, 53, 53, 49, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 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, 54, 54, 101, 48, 52, 50, 56, 37, 50, 68, 99, 98, 53, 56, 37, 50, 68, 52, 56, 53, 101, 37, 50, 68, 57, 102, 57, 56, 37, 50, 68, 100, 55, 48, 54, 100, 52, 56, 52, 102, 50, 57, 52, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 48, 58, 53, 55, 46, 54, 52, 57, 57, 49, 49, 49, 55, 53, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 98, 50, 54, 56, 102, 102, 56, 51, 45, 57, 100, 98, 55, 45, 52, 56, 48, 98, 45, 97, 51, 52, 54, 45, 49, 99, 57, 50, 52, 56, 52, 50, 55, 55, 53, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 98, 49, 53, 52, 56, 97, 51, 98, 45, 56, 52, 56, 57, 45, 52, 97, 54, 50, 45, 56, 51, 54, 53, 45, 52, 102, 50, 50, 50, 53, 49, 49, 55, 97, 50, 51, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 99, 54, 54, 101, 48, 52, 50, 56, 37, 50, 68, 99, 98, 53, 56, 37, 50, 68, 52, 56, 53, 101, 37, 50, 68, 57, 102, 57, 56, 37, 50, 68, 100, 55, 48, 54, 100, 52, 56, 52, 102, 50, 57, 52, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 98, 49, 53, 52, 56, 97, 51, 98, 45, 56, 52, 56, 57, 45, 52, 97, 54, 50, 45, 56, 51, 54, 53, 45, 52, 102, 50, 50, 50, 53, 49, 49, 55, 97, 50, 51, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 99, 54, 54, 101, 48, 52, 50, 56, 45, 99, 98, 53, 56, 45, 52, 56, 53, 101, 45, 57, 102, 57, 56, 45, 100, 55, 48, 54, 100, 52, 56, 52, 102, 50, 57, 52, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b180198b0 } } } }
[2022-05-09T12:20:58Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717cd9be0
[2022-05-09T12:20:58Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/c66e0428-cb58-485e-9f98-d706d484f294", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"577dd74a-693c-4346-b3af-086e031b4551\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://c66e0428%2Dcb58%2D485e%2D9f98%2Dd706d484f294/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:20:57.649911175Z\",\"data\":{\"connected\":true},\"applicationuid\":\"b268ff83-9db7-480b-a346-1c924842775e\",\"senderuid\":\"b1548a3b-8489-4a62-8365-4f2225117a23\",\"partitionkey\":\"c66e0428%2Dcb58%2D485e%2D9f98%2Dd706d484f294/gateway1\",\"device\":\"gateway1\",\"deviceuid\":\"b1548a3b-8489-4a62-8365-4f2225117a23\",\"instance\":\"drogue\",\"sender\":\"gateway1\",\"application\":\"c66e0428-cb58-485e-9f98-d706d484f294\"}" }
[2022-05-09T12:20:58Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:20:58Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 630, payload: 0x7f4b1800a1a0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1800a420 } }, data: MessageData { topic: "app/c66e0428-cb58-485e-9f98-d706d484f294", 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, 53, 100, 52, 55, 54, 98, 54, 57, 45, 100, 98, 56, 55, 45, 52, 97, 52, 51, 45, 57, 55, 57, 48, 45, 53, 55, 50, 101, 53, 55, 53, 54, 100, 55, 97, 52, 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, 54, 54, 101, 48, 52, 50, 56, 37, 50, 68, 99, 98, 53, 56, 37, 50, 68, 52, 56, 53, 101, 37, 50, 68, 57, 102, 57, 56, 37, 50, 68, 100, 55, 48, 54, 100, 52, 56, 52, 102, 50, 57, 52, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 48, 58, 53, 56, 46, 49, 51, 56, 56, 51, 48, 52, 50, 55, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 98, 50, 54, 56, 102, 102, 56, 51, 45, 57, 100, 98, 55, 45, 52, 56, 48, 98, 45, 97, 51, 52, 54, 45, 49, 99, 57, 50, 52, 56, 52, 50, 55, 55, 53, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 53, 100, 52, 56, 55, 97, 97, 54, 45, 98, 101, 99, 57, 45, 52, 48, 50, 48, 45, 97, 57, 100, 48, 45, 51, 100, 100, 50, 99, 98, 51, 56, 57, 54, 48, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 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, 54, 54, 101, 48, 52, 50, 56, 37, 50, 68, 99, 98, 53, 56, 37, 50, 68, 52, 56, 53, 101, 37, 50, 68, 57, 102, 57, 56, 37, 50, 68, 100, 55, 48, 54, 100, 52, 56, 52, 102, 50, 57, 52, 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, 54, 54, 101, 48, 52, 50, 56, 45, 99, 98, 53, 56, 45, 52, 56, 53, 101, 45, 57, 102, 57, 56, 45, 100, 55, 48, 54, 100, 52, 56, 52, 102, 50, 57, 52, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 98, 49, 53, 52, 56, 97, 51, 98, 45, 56, 52, 56, 57, 45, 52, 97, 54, 50, 45, 56, 51, 54, 53, 45, 52, 102, 50, 50, 50, 53, 49, 49, 55, 97, 50, 51, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1800a420 } } } }
[2022-05-09T12:20:58Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717cd9be0
[2022-05-09T12:20:58Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/c66e0428-cb58-485e-9f98-d706d484f294", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"5d476b69-db87-4a43-9790-572e5756d7a4\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://c66e0428%2Dcb58%2D485e%2D9f98%2Dd706d484f294/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:20:58.138830427Z\",\"data_base64\":\"\",\"applicationuid\":\"b268ff83-9db7-480b-a346-1c924842775e\",\"deviceuid\":\"5d487aa6-bec9-4020-a9d0-3dd2cb38960e\",\"device\":\"device1\",\"instance\":\"drogue\",\"partitionkey\":\"c66e0428%2Dcb58%2D485e%2D9f98%2Dd706d484f294/device1\",\"application\":\"c66e0428-cb58-485e-9f98-d706d484f294\",\"senderuid\":\"b1548a3b-8489-4a62-8365-4f2225117a23\",\"sender\":\"gateway1\"}" }
[2022-05-09T12:20:58Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 641, payload: 0x7f4b180198b0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1800a420 } }, data: MessageData { topic: "app/c66e0428-cb58-485e-9f98-d706d484f294", 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, 97, 51, 50, 50, 51, 97, 102, 97, 45, 57, 50, 55, 57, 45, 52, 57, 56, 53, 45, 56, 99, 57, 52, 45, 102, 102, 100, 97, 52, 51, 101, 100, 102, 98, 101, 101, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 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, 54, 54, 101, 48, 52, 50, 56, 37, 50, 68, 99, 98, 53, 56, 37, 50, 68, 52, 56, 53, 101, 37, 50, 68, 57, 102, 57, 56, 37, 50, 68, 100, 55, 48, 54, 100, 52, 56, 52, 102, 50, 57, 52, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 48, 58, 53, 56, 46, 50, 52, 50, 49, 53, 49, 53, 48, 54, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 99, 54, 54, 101, 48, 52, 50, 56, 37, 50, 68, 99, 98, 53, 56, 37, 50, 68, 52, 56, 53, 101, 37, 50, 68, 57, 102, 57, 56, 37, 50, 68, 100, 55, 48, 54, 100, 52, 56, 52, 102, 50, 57, 52, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 98, 49, 53, 52, 56, 97, 51, 98, 45, 56, 52, 56, 57, 45, 52, 97, 54, 50, 45, 56, 51, 54, 53, 45, 52, 102, 50, 50, 50, 53, 49, 49, 55, 97, 50, 51, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 98, 49, 53, 52, 56, 97, 51, 98, 45, 56, 52, 56, 57, 45, 52, 97, 54, 50, 45, 56, 51, 54, 53, 45, 52, 102, 50, 50, 50, 53, 49, 49, 55, 97, 50, 51, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 99, 54, 54, 101, 48, 52, 50, 56, 45, 99, 98, 53, 56, 45, 52, 56, 53, 101, 45, 57, 102, 57, 56, 45, 100, 55, 48, 54, 100, 52, 56, 52, 102, 50, 57, 52, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 98, 50, 54, 56, 102, 102, 56, 51, 45, 57, 100, 98, 55, 45, 52, 56, 48, 98, 45, 97, 51, 52, 54, 45, 49, 99, 57, 50, 52, 56, 52, 50, 55, 55, 53, 101, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1800a420 } } } }
[2022-05-09T12:20:58Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b18011f50
[2022-05-09T12:20:58Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/c66e0428-cb58-485e-9f98-d706d484f294", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"a3223afa-9279-4985-8c94-ffda43edfbee\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://c66e0428%2Dcb58%2D485e%2D9f98%2Dd706d484f294/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:20:58.242151506Z\",\"data\":{\"connected\":false},\"partitionkey\":\"c66e0428%2Dcb58%2D485e%2D9f98%2Dd706d484f294/gateway1\",\"senderuid\":\"b1548a3b-8489-4a62-8365-4f2225117a23\",\"instance\":\"drogue\",\"deviceuid\":\"b1548a3b-8489-4a62-8365-4f2225117a23\",\"sender\":\"gateway1\",\"application\":\"c66e0428-cb58-485e-9f98-d706d484f294\",\"device\":\"gateway1\",\"applicationuid\":\"b268ff83-9db7-480b-a346-1c924842775e\"}" }
[2022-05-09T12:20:58Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:20:58Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:20:58Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:20:58Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "c66e0428-cb58-485e-9f98-d706d484f294", device: "device1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "c66e0428-cb58-485e-9f98-d706d484f294", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:20:58Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:20:58Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "c66e0428-cb58-485e-9f98-d706d484f294" "device1"
[2022-05-09T12:20:58Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:20:58Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:20:58Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "c66e0428-cb58-485e-9f98-d706d484f294" "gateway1"
[2022-05-09T12:20:58Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:20:58Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'c66e0428-cb58-485e-9f98-d706d484f294'
[2022-05-09T12:20:58Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "c66e0428-cb58-485e-9f98-d706d484f294"
[2022-05-09T12:20:58Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App c66e0428-cb58-485e-9f98-d706d484f294 deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_1::integration_version_2::integration_ws_2

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T12:21:00Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:21:00Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:21:00Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:21:00Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:21:00Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:21:01Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:21:03Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:21:03Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:21:03Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:21:03Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:21:05Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA2NjQsImlhdCI6MTY1MjA5ODg2NCwianRpIjoiZjNkZWNlNTUtOTg5NS00MzljLTg0MTgtZTJhNjdlOTI1NjI0IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ijg3bHlNdVZpeDZZMWEyYW5qOC1zaGciLCJzZXNzaW9uX3N0YXRlIjoiZGNlYmVhNzEtMjc4Yy00NmQ3LTgyNzQtNWMzZjBhZTY5N2ZlIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImRjZWJlYTcxLTI3OGMtNDZkNy04Mjc0LTVjM2YwYWU2OTdmZSJ9.IY090kMQnV4HJXpVDb-Le-bkCCiGreXbktoBuSz2sA8
[2022-05-09T12:21:05Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:21:05Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:21:05Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA2NjQsImlhdCI6MTY1MjA5ODg2NCwianRpIjoiZjNkZWNlNTUtOTg5NS00MzljLTg0MTgtZTJhNjdlOTI1NjI0IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ijg3bHlNdVZpeDZZMWEyYW5qOC1zaGciLCJzZXNzaW9uX3N0YXRlIjoiZGNlYmVhNzEtMjc4Yy00NmQ3LTgyNzQtNWMzZjBhZTY5N2ZlIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImRjZWJlYTcxLTI3OGMtNDZkNy04Mjc0LTVjM2YwYWU2OTdmZSJ9.IY090kMQnV4HJXpVDb-Le-bkCCiGreXbktoBuSz2sA8" "--context" "system-tests"
[2022-05-09T12:21:05Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:21:05Z INFO  drogue_cloud_tests::resources::apps] Create application: 56c67bc5-928d-45ea-99df-3146fcb75253
[2022-05-09T12:21:05Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "56c67bc5-928d-45ea-99df-3146fcb75253"
[2022-05-09T12:21:05Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 56c67bc5-928d-45ea-99df-3146fcb75253 created.\n", stderr: "" })
[2022-05-09T12:21:05Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "56c67bc5-928d-45ea-99df-3146fcb75253"
[2022-05-09T12:21:05Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:21:05.753802Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"56c67bc5-928d-45ea-99df-3146fcb75253\",\n    \"resourceVersion\": \"0dd10dce-b959-4454-a79d-95969079035c\",\n    \"uid\": \"1df9fd0d-1694-4d5d-b6f2-a56204c8c658\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:21:05.765546472Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:21:05.765573723Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:05.765506327Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:05.765508120Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:05.765508762Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:05.765509512Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:05.765509934Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:05.765521565Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:21:05Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:21:05.753802Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("56c67bc5-928d-45ea-99df-3146fcb75253"), "resourceVersion": String("0dd10dce-b959-4454-a79d-95969079035c"), "uid": String("1df9fd0d-1694-4d5d-b6f2-a56204c8c658")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:21:05.765546472Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:21:05.765573723Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:21:05.765506327Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:21:05.765508120Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:21:05.765508762Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:21:05.765509512Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:21:05.765509934Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:21:05.765521565Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T12:21:05Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:21:06Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "56c67bc5-928d-45ea-99df-3146fcb75253"
[2022-05-09T12:21:06Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:21:05.753802Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"56c67bc5-928d-45ea-99df-3146fcb75253\",\n    \"resourceVersion\": \"5085f080-a714-4035-bd20-73625e3144d1\",\n    \"uid\": \"1df9fd0d-1694-4d5d-b6f2-a56204c8c658\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:21:06.032440630Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:21:06.032532322Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:05.797204676Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:05.803320313Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:05.875560822Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:05.882148965Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:06.032390316Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:06.032412157Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"RGvlvsfNONMZ\",\n        \"username\": \"user-56c67bc5-928d-45ea-99df-3146fcb75253\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:21:06Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:21:05.753802Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("56c67bc5-928d-45ea-99df-3146fcb75253"), "resourceVersion": String("5085f080-a714-4035-bd20-73625e3144d1"), "uid": String("1df9fd0d-1694-4d5d-b6f2-a56204c8c658")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:21:06.032440630Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:21:06.032532322Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:21:05.797204676Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:21:05.803320313Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:21:05.875560822Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:21:05.882148965Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:21:06.032390316Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:21:06.032412157Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("RGvlvsfNONMZ"), "username": String("user-56c67bc5-928d-45ea-99df-3146fcb75253")})})})})
[2022-05-09T12:21:06Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:21:06Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "56c67bc5-928d-45ea-99df-3146fcb75253"
[2022-05-09T12:21:06Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:21:05.753802Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"56c67bc5-928d-45ea-99df-3146fcb75253\",\n    \"resourceVersion\": \"5085f080-a714-4035-bd20-73625e3144d1\",\n    \"uid\": \"1df9fd0d-1694-4d5d-b6f2-a56204c8c658\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:21:06.032440630Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:21:06.032532322Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:05.797204676Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:05.803320313Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:05.875560822Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:05.882148965Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:06.032390316Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:06.032412157Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"RGvlvsfNONMZ\",\n        \"username\": \"user-56c67bc5-928d-45ea-99df-3146fcb75253\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:21:06Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:21:05.753802Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("56c67bc5-928d-45ea-99df-3146fcb75253"), "resourceVersion": String("5085f080-a714-4035-bd20-73625e3144d1"), "uid": String("1df9fd0d-1694-4d5d-b6f2-a56204c8c658")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:21:06.032440630Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:21:06.032532322Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:21:05.797204676Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:21:05.803320313Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:21:05.875560822Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:21:05.882148965Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:21:06.032390316Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:21:06.032412157Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("RGvlvsfNONMZ"), "username": String("user-56c67bc5-928d-45ea-99df-3146fcb75253")})})})})
[2022-05-09T12:21:06Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:21:06Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:21:06Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "56c67bc5-928d-45ea-99df-3146fcb75253" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:21:06Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:21:06Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:21:06Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:21:06Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:21:06Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkxNjUsImlhdCI6MTY1MjA5ODg2NSwiYXV0aF90aW1lIjoxNjUyMDk4ODYyLCJqdGkiOiJjMGExODQyOS05OWUwLTQ5ZjktOTJhOS05MjBjYTk4YzI3ZTkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI4N2x5TXVWaXg2WTFhMmFuajgtc2hnIiwic2Vzc2lvbl9zdGF0ZSI6ImRjZWJlYTcxLTI3OGMtNDZkNy04Mjc0LTVjM2YwYWU2OTdmZSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImRjZWJlYTcxLTI3OGMtNDZkNy04Mjc0LTVjM2YwYWU2OTdmZSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.hM08Teo0vbBCnLo7Llz2kkFNkaz6tQEeg49qpzBJWqAzqBegLpHJ-a6Er9RYqWwT90KEG9VKKkbUo5rpxaMwXKkQqxAinUvZaWRzSBPTw9l9mFsAbm4woNqRAOYDY-Ih0z9UxhtOgAGbSgNZzcmuUp1gLPgwi50Z0nutUa2OJ9r6tjAaaXAJkF3vZ0th0ueAA0tcXCd0FHAG1HDwo2xnFlC51ZcKVlQstUfEsmlWeI9FgCz9vmX62-yfnio8HPdNTcCCriyPyH8P8JCrG_1v1StkHZEZYh-Y8zro8t9nlpccerZMEV1zA1WTu1iTbfw4e4YQKv9EnKyssuFBDIwO9w\n", stderr: "" })
[2022-05-09T12:21:06Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:21:06Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:21:06Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:21:06Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "56c67bc5-928d-45ea-99df-3146fcb75253" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:21:06Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:21:06Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T12:21:06Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:21:06Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkxNjUsImlhdCI6MTY1MjA5ODg2NSwiYXV0aF90aW1lIjoxNjUyMDk4ODYyLCJqdGkiOiJjMGExODQyOS05OWUwLTQ5ZjktOTJhOS05MjBjYTk4YzI3ZTkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI4N2x5TXVWaXg2WTFhMmFuajgtc2hnIiwic2Vzc2lvbl9zdGF0ZSI6ImRjZWJlYTcxLTI3OGMtNDZkNy04Mjc0LTVjM2YwYWU2OTdmZSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImRjZWJlYTcxLTI3OGMtNDZkNy04Mjc0LTVjM2YwYWU2OTdmZSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.hM08Teo0vbBCnLo7Llz2kkFNkaz6tQEeg49qpzBJWqAzqBegLpHJ-a6Er9RYqWwT90KEG9VKKkbUo5rpxaMwXKkQqxAinUvZaWRzSBPTw9l9mFsAbm4woNqRAOYDY-Ih0z9UxhtOgAGbSgNZzcmuUp1gLPgwi50Z0nutUa2OJ9r6tjAaaXAJkF3vZ0th0ueAA0tcXCd0FHAG1HDwo2xnFlC51ZcKVlQstUfEsmlWeI9FgCz9vmX62-yfnio8HPdNTcCCriyPyH8P8JCrG_1v1StkHZEZYh-Y8zro8t9nlpccerZMEV1zA1WTu1iTbfw4e4YQKv9EnKyssuFBDIwO9w\n", stderr: "" })
[2022-05-09T12:21:06Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "38f5ebd9-3d3f-4015-a900-cac015ac3f8d", persistence: None, user_data: None }
[2022-05-09T12:21:06Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:21:06Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x5617179cbae0
[2022-05-09T12:21:06Z DEBUG paho_mqtt::async_client] Connecting handle: 0x5617179cbae0
[2022-05-09T12:21:06Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717aba040, connectTimeout: 30, retryInterval: 0, ssl: 0x5617179e2e90, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x5617179a6b20, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkxNjUsImlhdCI6MTY1MjA5ODg2NSwiYXV0aF90aW1lIjoxNjUyMDk4ODYyLCJqdGkiOiJjMGExODQyOS05OWUwLTQ5ZjktOTJhOS05MjBjYTk4YzI3ZTkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI4N2x5TXVWaXg2WTFhMmFuajgtc2hnIiwic2Vzc2lvbl9zdGF0ZSI6ImRjZWJlYTcxLTI3OGMtNDZkNy04Mjc0LTVjM2YwYWU2OTdmZSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImRjZWJlYTcxLTI3OGMtNDZkNy04Mjc0LTVjM2YwYWU2OTdmZSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.hM08Teo0vbBCnLo7Llz2kkFNkaz6tQEeg49qpzBJWqAzqBegLpHJ-a6Er9RYqWwT90KEG9VKKkbUo5rpxaMwXKkQqxAinUvZaWRzSBPTw9l9mFsAbm4woNqRAOYDY-Ih0z9UxhtOgAGbSgNZzcmuUp1gLPgwi50Z0nutUa2OJ9r6tjAaaXAJkF3vZ0th0ueAA0tcXCd0FHAG1HDwo2xnFlC51ZcKVlQstUfEsmlWeI9FgCz9vmX62-yfnio8HPdNTcCCriyPyH8P8JCrG_1v1StkHZEZYh-Y8zro8t9nlpccerZMEV1zA1WTu1iTbfw4e4YQKv9EnKyssuFBDIwO9w"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:21:06Z DEBUG paho_mqtt::async_client] Subscribe to '"app/56c67bc5-928d-45ea-99df-3146fcb75253"' @ QOS 0
[2022-05-09T12:21:06Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:21:06Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:21:07Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:21:07Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:21:07Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:21:07Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:21:08Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:21:08Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:21:08Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:21:08Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:21:09Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:21:09Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:21:09Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:21:09Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:21:10Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:21:10Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:21:10Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:21:10Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:21:10Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 621, payload: 0x7f4b18015370, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b180155f0 } }, data: MessageData { topic: "app/56c67bc5-928d-45ea-99df-3146fcb75253", 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, 97, 48, 99, 50, 98, 55, 55, 101, 45, 99, 54, 56, 101, 45, 52, 50, 98, 48, 45, 56, 54, 97, 52, 45, 56, 48, 57, 101, 100, 100, 100, 57, 49, 53, 53, 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, 53, 54, 99, 54, 55, 98, 99, 53, 37, 50, 68, 57, 50, 56, 100, 37, 50, 68, 52, 53, 101, 97, 37, 50, 68, 57, 57, 100, 102, 37, 50, 68, 51, 49, 52, 54, 102, 99, 98, 55, 53, 50, 53, 51, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 49, 58, 49, 48, 46, 53, 50, 53, 56, 52, 53, 56, 50, 57, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 57, 55, 57, 54, 57, 57, 53, 45, 97, 52, 53, 52, 45, 52, 48, 50, 54, 45, 97, 56, 57, 52, 45, 97, 49, 99, 56, 98, 97, 55, 51, 53, 50, 48, 48, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 49, 100, 102, 57, 102, 100, 48, 100, 45, 49, 54, 57, 52, 45, 52, 100, 53, 100, 45, 98, 54, 102, 50, 45, 97, 53, 54, 50, 48, 52, 99, 56, 99, 54, 53, 56, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 53, 54, 99, 54, 55, 98, 99, 53, 37, 50, 68, 57, 50, 56, 100, 37, 50, 68, 52, 53, 101, 97, 37, 50, 68, 57, 57, 100, 102, 37, 50, 68, 51, 49, 52, 54, 102, 99, 98, 55, 53, 50, 53, 51, 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, 53, 54, 99, 54, 55, 98, 99, 53, 45, 57, 50, 56, 100, 45, 52, 53, 101, 97, 45, 57, 57, 100, 102, 45, 51, 49, 52, 54, 102, 99, 98, 55, 53, 50, 53, 51, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 57, 100, 53, 54, 56, 52, 99, 48, 45, 57, 55, 49, 97, 45, 52, 99, 57, 100, 45, 98, 48, 55, 98, 45, 50, 55, 49, 53, 97, 54, 102, 98, 49, 101, 101, 99, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b180155f0 } } } }
[2022-05-09T12:21:10Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717a9a140
[2022-05-09T12:21:10Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/56c67bc5-928d-45ea-99df-3146fcb75253", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"a0c2b77e-c68e-42b0-86a4-809eddd91555\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://56c67bc5%2D928d%2D45ea%2D99df%2D3146fcb75253/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:21:10.525845829Z\",\"data\":{\"index\":3},\"device\":\"device1\",\"senderuid\":\"a9796995-a454-4026-a894-a1c8ba735200\",\"instance\":\"drogue\",\"applicationuid\":\"1df9fd0d-1694-4d5d-b6f2-a56204c8c658\",\"partitionkey\":\"56c67bc5%2D928d%2D45ea%2D99df%2D3146fcb75253/device1\",\"application\":\"56c67bc5-928d-45ea-99df-3146fcb75253\",\"deviceuid\":\"9d5684c0-971a-4c9d-b07b-2715a6fb1eec\",\"sender\":\"gateway1\"}" }
[2022-05-09T12:21:11Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:21:11Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:21:11Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:21:11Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:21:11Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "77f82913-1ae4-4aad-81c9-37b512d931a8", persistence: None, user_data: None }
[2022-05-09T12:21:11Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:21:11Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717c83120
[2022-05-09T12:21:11Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717c83120
[2022-05-09T12:21:11Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x561717ccaa90, password: 0x561717a09cc0, connectTimeout: 30, retryInterval: 0, ssl: 0x561717cb83b0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717cc9470, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@56c67bc5-928d-45ea-99df-3146fcb75253"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:21:12Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717bc7570 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717bc7570 } } } }
[2022-05-09T12:21:12Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 640, payload: 0x7f4b1802db00, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1802dd90 } }, data: MessageData { topic: "app/56c67bc5-928d-45ea-99df-3146fcb75253", 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, 101, 56, 97, 99, 52, 48, 55, 99, 45, 97, 102, 97, 53, 45, 52, 49, 48, 51, 45, 57, 97, 52, 57, 45, 99, 53, 101, 50, 51, 54, 48, 52, 53, 102, 98, 49, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 53, 54, 99, 54, 55, 98, 99, 53, 37, 50, 68, 57, 50, 56, 100, 37, 50, 68, 52, 53, 101, 97, 37, 50, 68, 57, 57, 100, 102, 37, 50, 68, 51, 49, 52, 54, 102, 99, 98, 55, 53, 50, 53, 51, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 49, 58, 49, 49, 46, 54, 52, 49, 55, 48, 54, 55, 51, 49, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 57, 55, 57, 54, 57, 57, 53, 45, 97, 52, 53, 52, 45, 52, 48, 50, 54, 45, 97, 56, 57, 52, 45, 97, 49, 99, 56, 98, 97, 55, 51, 53, 50, 48, 48, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 53, 54, 99, 54, 55, 98, 99, 53, 45, 57, 50, 56, 100, 45, 52, 53, 101, 97, 45, 57, 57, 100, 102, 45, 51, 49, 52, 54, 102, 99, 98, 55, 53, 50, 53, 51, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 57, 55, 57, 54, 57, 57, 53, 45, 97, 52, 53, 52, 45, 52, 48, 50, 54, 45, 97, 56, 57, 52, 45, 97, 49, 99, 56, 98, 97, 55, 51, 53, 50, 48, 48, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 49, 100, 102, 57, 102, 100, 48, 100, 45, 49, 54, 57, 52, 45, 52, 100, 53, 100, 45, 98, 54, 102, 50, 45, 97, 53, 54, 50, 48, 52, 99, 56, 99, 54, 53, 56, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 53, 54, 99, 54, 55, 98, 99, 53, 37, 50, 68, 57, 50, 56, 100, 37, 50, 68, 52, 53, 101, 97, 37, 50, 68, 57, 57, 100, 102, 37, 50, 68, 51, 49, 52, 54, 102, 99, 98, 55, 53, 50, 53, 51, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1802dd90 } } } }
[2022-05-09T12:21:12Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717b6a5c0
[2022-05-09T12:21:12Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:21:12Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/56c67bc5-928d-45ea-99df-3146fcb75253", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"e8ac407c-afa5-4103-9a49-c5e236045fb1\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://56c67bc5%2D928d%2D45ea%2D99df%2D3146fcb75253/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:21:11.641706731Z\",\"data\":{\"connected\":true},\"senderuid\":\"a9796995-a454-4026-a894-a1c8ba735200\",\"sender\":\"gateway1\",\"application\":\"56c67bc5-928d-45ea-99df-3146fcb75253\",\"deviceuid\":\"a9796995-a454-4026-a894-a1c8ba735200\",\"instance\":\"drogue\",\"device\":\"gateway1\",\"applicationuid\":\"1df9fd0d-1694-4d5d-b6f2-a56204c8c658\",\"partitionkey\":\"56c67bc5%2D928d%2D45ea%2D99df%2D3146fcb75253/gateway1\"}" }
[2022-05-09T12:21:12Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 641, payload: 0x7f4b1802e090, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1802e320 } }, data: MessageData { topic: "app/56c67bc5-928d-45ea-99df-3146fcb75253", 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, 49, 53, 102, 102, 51, 99, 97, 101, 45, 48, 99, 48, 101, 45, 52, 101, 54, 100, 45, 98, 99, 97, 50, 45, 98, 100, 57, 57, 53, 48, 98, 98, 53, 49, 50, 99, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 53, 54, 99, 54, 55, 98, 99, 53, 37, 50, 68, 57, 50, 56, 100, 37, 50, 68, 52, 53, 101, 97, 37, 50, 68, 57, 57, 100, 102, 37, 50, 68, 51, 49, 52, 54, 102, 99, 98, 55, 53, 50, 53, 51, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 49, 58, 49, 50, 46, 49, 52, 48, 55, 57, 57, 50, 52, 57, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 57, 55, 57, 54, 57, 57, 53, 45, 97, 52, 53, 52, 45, 52, 48, 50, 54, 45, 97, 56, 57, 52, 45, 97, 49, 99, 56, 98, 97, 55, 51, 53, 50, 48, 48, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 57, 55, 57, 54, 57, 57, 53, 45, 97, 52, 53, 52, 45, 52, 48, 50, 54, 45, 97, 56, 57, 52, 45, 97, 49, 99, 56, 98, 97, 55, 51, 53, 50, 48, 48, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 53, 54, 99, 54, 55, 98, 99, 53, 37, 50, 68, 57, 50, 56, 100, 37, 50, 68, 52, 53, 101, 97, 37, 50, 68, 57, 57, 100, 102, 37, 50, 68, 51, 49, 52, 54, 102, 99, 98, 55, 53, 50, 53, 51, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 53, 54, 99, 54, 55, 98, 99, 53, 45, 57, 50, 56, 100, 45, 52, 53, 101, 97, 45, 57, 57, 100, 102, 45, 51, 49, 52, 54, 102, 99, 98, 55, 53, 50, 53, 51, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 49, 100, 102, 57, 102, 100, 48, 100, 45, 49, 54, 57, 52, 45, 52, 100, 53, 100, 45, 98, 54, 102, 50, 45, 97, 53, 54, 50, 48, 52, 99, 56, 99, 54, 53, 56, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1802e320 } } } }
[2022-05-09T12:21:12Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717a9a140
[2022-05-09T12:21:12Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/56c67bc5-928d-45ea-99df-3146fcb75253", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"15ff3cae-0c0e-4e6d-bca2-bd9950bb512c\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://56c67bc5%2D928d%2D45ea%2D99df%2D3146fcb75253/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:21:12.140799249Z\",\"data\":{\"connected\":false},\"device\":\"gateway1\",\"senderuid\":\"a9796995-a454-4026-a894-a1c8ba735200\",\"deviceuid\":\"a9796995-a454-4026-a894-a1c8ba735200\",\"partitionkey\":\"56c67bc5%2D928d%2D45ea%2D99df%2D3146fcb75253/gateway1\",\"sender\":\"gateway1\",\"application\":\"56c67bc5-928d-45ea-99df-3146fcb75253\",\"applicationuid\":\"1df9fd0d-1694-4d5d-b6f2-a56204c8c658\",\"instance\":\"drogue\"}" }
[2022-05-09T12:21:12Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 630, payload: 0x7f4b1800ad70, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1800aff0 } }, data: MessageData { topic: "app/56c67bc5-928d-45ea-99df-3146fcb75253", 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, 101, 52, 55, 55, 54, 57, 55, 50, 45, 99, 48, 53, 55, 45, 52, 100, 101, 56, 45, 97, 48, 56, 48, 45, 50, 48, 54, 99, 53, 56, 57, 48, 98, 51, 51, 48, 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, 53, 54, 99, 54, 55, 98, 99, 53, 37, 50, 68, 57, 50, 56, 100, 37, 50, 68, 52, 53, 101, 97, 37, 50, 68, 57, 57, 100, 102, 37, 50, 68, 51, 49, 52, 54, 102, 99, 98, 55, 53, 50, 53, 51, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 49, 58, 49, 50, 46, 49, 52, 48, 48, 50, 50, 55, 52, 52, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 57, 55, 57, 54, 57, 57, 53, 45, 97, 52, 53, 52, 45, 52, 48, 50, 54, 45, 97, 56, 57, 52, 45, 97, 49, 99, 56, 98, 97, 55, 51, 53, 50, 48, 48, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 53, 54, 99, 54, 55, 98, 99, 53, 45, 57, 50, 56, 100, 45, 52, 53, 101, 97, 45, 57, 57, 100, 102, 45, 51, 49, 52, 54, 102, 99, 98, 55, 53, 50, 53, 51, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 49, 100, 102, 57, 102, 100, 48, 100, 45, 49, 54, 57, 52, 45, 52, 100, 53, 100, 45, 98, 54, 102, 50, 45, 97, 53, 54, 50, 48, 52, 99, 56, 99, 54, 53, 56, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 57, 100, 53, 54, 56, 52, 99, 48, 45, 57, 55, 49, 97, 45, 52, 99, 57, 100, 45, 98, 48, 55, 98, 45, 50, 55, 49, 53, 97, 54, 102, 98, 49, 101, 101, 99, 34, 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, 53, 54, 99, 54, 55, 98, 99, 53, 37, 50, 68, 57, 50, 56, 100, 37, 50, 68, 52, 53, 101, 97, 37, 50, 68, 57, 57, 100, 102, 37, 50, 68, 51, 49, 52, 54, 102, 99, 98, 55, 53, 50, 53, 51, 47, 100, 101, 118, 105, 99, 101, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1800aff0 } } } }
[2022-05-09T12:21:12Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717a9a140
[2022-05-09T12:21:12Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/56c67bc5-928d-45ea-99df-3146fcb75253", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"e4776972-c057-4de8-a080-206c5890b330\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://56c67bc5%2D928d%2D45ea%2D99df%2D3146fcb75253/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:21:12.140022744Z\",\"data_base64\":\"\",\"senderuid\":\"a9796995-a454-4026-a894-a1c8ba735200\",\"device\":\"device1\",\"sender\":\"gateway1\",\"application\":\"56c67bc5-928d-45ea-99df-3146fcb75253\",\"applicationuid\":\"1df9fd0d-1694-4d5d-b6f2-a56204c8c658\",\"deviceuid\":\"9d5684c0-971a-4c9d-b07b-2715a6fb1eec\",\"instance\":\"drogue\",\"partitionkey\":\"56c67bc5%2D928d%2D45ea%2D99df%2D3146fcb75253/device1\"}" }
[2022-05-09T12:21:12Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:21:12Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:21:12Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:21:12Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "56c67bc5-928d-45ea-99df-3146fcb75253", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "56c67bc5-928d-45ea-99df-3146fcb75253", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:21:12Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:21:12Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "56c67bc5-928d-45ea-99df-3146fcb75253" "device1"
[2022-05-09T12:21:12Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:21:12Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:21:12Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "56c67bc5-928d-45ea-99df-3146fcb75253" "gateway1"
[2022-05-09T12:21:12Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:21:12Z INFO  drogue_cloud_tests::resources::apps] Destroy application '56c67bc5-928d-45ea-99df-3146fcb75253'
[2022-05-09T12:21:12Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "56c67bc5-928d-45ea-99df-3146fcb75253"
[2022-05-09T12:21:12Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 56c67bc5-928d-45ea-99df-3146fcb75253 deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_1::integration_version_3::integration_ws_1

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T12:21:14Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:21:14Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:21:14Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:21:14Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:21:14Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:21:15Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:21:17Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:21:17Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:21:17Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:21:17Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:21:19Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA2NzgsImlhdCI6MTY1MjA5ODg3OCwianRpIjoiOGM5OTQ3MzQtNjEzNC00NzhlLWFhNGYtZTA5MzhmZThhMjQ0IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6InhzV09iazVVUTdadDlvSTV0SzlWaUEiLCJzZXNzaW9uX3N0YXRlIjoiZmUxY2Q1MzctODFlYi00NDI2LWIyNWMtM2RiZTg5ODhiM2I0Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImZlMWNkNTM3LTgxZWItNDQyNi1iMjVjLTNkYmU4OTg4YjNiNCJ9.69_O-dxDg8XG8W_BhHHsLe5g54HHoJs59PljjpO2xBY
[2022-05-09T12:21:19Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:21:19Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:21:19Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA2NzgsImlhdCI6MTY1MjA5ODg3OCwianRpIjoiOGM5OTQ3MzQtNjEzNC00NzhlLWFhNGYtZTA5MzhmZThhMjQ0IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6InhzV09iazVVUTdadDlvSTV0SzlWaUEiLCJzZXNzaW9uX3N0YXRlIjoiZmUxY2Q1MzctODFlYi00NDI2LWIyNWMtM2RiZTg5ODhiM2I0Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImZlMWNkNTM3LTgxZWItNDQyNi1iMjVjLTNkYmU4OTg4YjNiNCJ9.69_O-dxDg8XG8W_BhHHsLe5g54HHoJs59PljjpO2xBY" "--context" "system-tests"
[2022-05-09T12:21:19Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:21:19Z INFO  drogue_cloud_tests::resources::apps] Create application: 3b1442e6-14f0-4b4a-9f37-d923420ba2b1
[2022-05-09T12:21:19Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "3b1442e6-14f0-4b4a-9f37-d923420ba2b1"
[2022-05-09T12:21:19Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 3b1442e6-14f0-4b4a-9f37-d923420ba2b1 created.\n", stderr: "" })
[2022-05-09T12:21:19Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "3b1442e6-14f0-4b4a-9f37-d923420ba2b1"
[2022-05-09T12:21:19Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:21:19.925940Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"3b1442e6-14f0-4b4a-9f37-d923420ba2b1\",\n    \"resourceVersion\": \"f5efa905-0ebc-4cc5-8664-83bfcc526312\",\n    \"uid\": \"e00a0908-abc6-40c7-b7ff-7007abdf4f56\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:21:19.942906693Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:21:19.942862019Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:19.942794492Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:19.942796727Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:19.942797669Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:19.942798761Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:19.942799903Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:19.942817415Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:21:19Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:21:19.925940Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("3b1442e6-14f0-4b4a-9f37-d923420ba2b1"), "resourceVersion": String("f5efa905-0ebc-4cc5-8664-83bfcc526312"), "uid": String("e00a0908-abc6-40c7-b7ff-7007abdf4f56")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:21:19.942906693Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:21:19.942862019Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:21:19.942794492Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:21:19.942796727Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:21:19.942797669Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:21:19.942798761Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:21:19.942799903Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:21:19.942817415Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T12:21:19Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:21:20Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "3b1442e6-14f0-4b4a-9f37-d923420ba2b1"
[2022-05-09T12:21:20Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:21:19.925940Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"3b1442e6-14f0-4b4a-9f37-d923420ba2b1\",\n    \"resourceVersion\": \"77379eb6-baf6-4e28-911f-f48a0fe51037\",\n    \"uid\": \"e00a0908-abc6-40c7-b7ff-7007abdf4f56\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:21:20.263297684Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:21:20.263250135Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:19.969006975Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:19.975131719Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:20.071765989Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:20.079118797Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:20.263075107Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:20.263096657Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"BuCtWHNNg9Uo\",\n        \"username\": \"user-3b1442e6-14f0-4b4a-9f37-d923420ba2b1\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:21:20Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:21:19.925940Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("3b1442e6-14f0-4b4a-9f37-d923420ba2b1"), "resourceVersion": String("77379eb6-baf6-4e28-911f-f48a0fe51037"), "uid": String("e00a0908-abc6-40c7-b7ff-7007abdf4f56")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:21:20.263297684Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:21:20.263250135Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:21:19.969006975Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:21:19.975131719Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:21:20.071765989Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:21:20.079118797Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:21:20.263075107Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:21:20.263096657Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("BuCtWHNNg9Uo"), "username": String("user-3b1442e6-14f0-4b4a-9f37-d923420ba2b1")})})})})
[2022-05-09T12:21:20Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:21:20Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "3b1442e6-14f0-4b4a-9f37-d923420ba2b1"
[2022-05-09T12:21:20Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:21:19.925940Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"3b1442e6-14f0-4b4a-9f37-d923420ba2b1\",\n    \"resourceVersion\": \"77379eb6-baf6-4e28-911f-f48a0fe51037\",\n    \"uid\": \"e00a0908-abc6-40c7-b7ff-7007abdf4f56\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:21:20.263297684Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:21:20.263250135Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:19.969006975Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:19.975131719Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:20.071765989Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:20.079118797Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:20.263075107Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:20.263096657Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"BuCtWHNNg9Uo\",\n        \"username\": \"user-3b1442e6-14f0-4b4a-9f37-d923420ba2b1\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:21:20Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:21:19.925940Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("3b1442e6-14f0-4b4a-9f37-d923420ba2b1"), "resourceVersion": String("77379eb6-baf6-4e28-911f-f48a0fe51037"), "uid": String("e00a0908-abc6-40c7-b7ff-7007abdf4f56")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:21:20.263297684Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:21:20.263250135Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:21:19.969006975Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:21:19.975131719Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:21:20.071765989Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:21:20.079118797Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:21:20.263075107Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:21:20.263096657Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("BuCtWHNNg9Uo"), "username": String("user-3b1442e6-14f0-4b4a-9f37-d923420ba2b1")})})})})
[2022-05-09T12:21:20Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:21:20Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:21:20Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "3b1442e6-14f0-4b4a-9f37-d923420ba2b1" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:21:21Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:21:21Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:21:21Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:21:21Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:21:21Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkxNzksImlhdCI6MTY1MjA5ODg3OSwiYXV0aF90aW1lIjoxNjUyMDk4ODc2LCJqdGkiOiJkYmFmOWFmMC0zZWZhLTQ4MWUtYTU0Ny1iN2U0MzIxY2ZhMGEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ4c1dPYms1VVE3WnQ5b0k1dEs5VmlBIiwic2Vzc2lvbl9zdGF0ZSI6ImZlMWNkNTM3LTgxZWItNDQyNi1iMjVjLTNkYmU4OTg4YjNiNCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImZlMWNkNTM3LTgxZWItNDQyNi1iMjVjLTNkYmU4OTg4YjNiNCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.D6fsrkjfCS3WVfSEl9wQ5WNlQmgdOBeT1TxPDGc-hC7GfJqhcCet32KcJy_ZeoH5t7MyiJb2iOYAuha2TBpJXyS0vkDBjGkN01G4fDFY4hUSSfKLkPHKOg2SFGQl5cxexLTMvAuf6POz0tdRmil_CceMVaj9AGSeGeN133r6tI3FQ-ZJv24Z2qjzZhgeQSbhY1HGF4V9_HY7GN3tQwA27EDHSRcj24q43hSJ7_bXcvQKorAQVn4ydzizNMIkaQFeeCsiWvlu8xDIX5rHtOkr0qjodbpXU2ipP1F-50NGEILejcdLY9BKAyubI-J_9CYptPxutiwX6vl7FIcQ52KpRw\n", stderr: "" })
[2022-05-09T12:21:21Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:21:21Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:21:21Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:21:21Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "3b1442e6-14f0-4b4a-9f37-d923420ba2b1" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:21:21Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:21:21Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T12:21:21Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:21:21Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkxNzksImlhdCI6MTY1MjA5ODg3OSwiYXV0aF90aW1lIjoxNjUyMDk4ODc2LCJqdGkiOiJkYmFmOWFmMC0zZWZhLTQ4MWUtYTU0Ny1iN2U0MzIxY2ZhMGEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ4c1dPYms1VVE3WnQ5b0k1dEs5VmlBIiwic2Vzc2lvbl9zdGF0ZSI6ImZlMWNkNTM3LTgxZWItNDQyNi1iMjVjLTNkYmU4OTg4YjNiNCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImZlMWNkNTM3LTgxZWItNDQyNi1iMjVjLTNkYmU4OTg4YjNiNCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.D6fsrkjfCS3WVfSEl9wQ5WNlQmgdOBeT1TxPDGc-hC7GfJqhcCet32KcJy_ZeoH5t7MyiJb2iOYAuha2TBpJXyS0vkDBjGkN01G4fDFY4hUSSfKLkPHKOg2SFGQl5cxexLTMvAuf6POz0tdRmil_CceMVaj9AGSeGeN133r6tI3FQ-ZJv24Z2qjzZhgeQSbhY1HGF4V9_HY7GN3tQwA27EDHSRcj24q43hSJ7_bXcvQKorAQVn4ydzizNMIkaQFeeCsiWvlu8xDIX5rHtOkr0qjodbpXU2ipP1F-50NGEILejcdLY9BKAyubI-J_9CYptPxutiwX6vl7FIcQ52KpRw\n", stderr: "" })
[2022-05-09T12:21:21Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "f0aad176-6ab3-4bb6-b5cf-34330fd6e276", persistence: None, user_data: None }
[2022-05-09T12:21:21Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:21:21Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717b8bbc0
[2022-05-09T12:21:21Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717b8bbc0
[2022-05-09T12:21:21Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x5617178057d0, connectTimeout: 30, retryInterval: 0, ssl: 0x5617179ae6b0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717806470, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkxNzksImlhdCI6MTY1MjA5ODg3OSwiYXV0aF90aW1lIjoxNjUyMDk4ODc2LCJqdGkiOiJkYmFmOWFmMC0zZWZhLTQ4MWUtYTU0Ny1iN2U0MzIxY2ZhMGEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ4c1dPYms1VVE3WnQ5b0k1dEs5VmlBIiwic2Vzc2lvbl9zdGF0ZSI6ImZlMWNkNTM3LTgxZWItNDQyNi1iMjVjLTNkYmU4OTg4YjNiNCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImZlMWNkNTM3LTgxZWItNDQyNi1iMjVjLTNkYmU4OTg4YjNiNCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.D6fsrkjfCS3WVfSEl9wQ5WNlQmgdOBeT1TxPDGc-hC7GfJqhcCet32KcJy_ZeoH5t7MyiJb2iOYAuha2TBpJXyS0vkDBjGkN01G4fDFY4hUSSfKLkPHKOg2SFGQl5cxexLTMvAuf6POz0tdRmil_CceMVaj9AGSeGeN133r6tI3FQ-ZJv24Z2qjzZhgeQSbhY1HGF4V9_HY7GN3tQwA27EDHSRcj24q43hSJ7_bXcvQKorAQVn4ydzizNMIkaQFeeCsiWvlu8xDIX5rHtOkr0qjodbpXU2ipP1F-50NGEILejcdLY9BKAyubI-J_9CYptPxutiwX6vl7FIcQ52KpRw"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:21:21Z DEBUG paho_mqtt::async_client] Subscribe to '"app/3b1442e6-14f0-4b4a-9f37-d923420ba2b1"' @ QOS 0
[2022-05-09T12:21:21Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:21:21Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:21:21Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:21:21Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:21:21Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:21:21Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:21:22Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:21:22Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:21:22Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:21:22Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:21:23Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:21:23Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:21:23Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:21:23Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:21:24Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:21:24Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:21:24Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:21:24Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:21:24Z 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: 0x7f4b1c016830, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x561717c1cd50 } }, data: MessageData { topic: "app/3b1442e6-14f0-4b4a-9f37-d923420ba2b1", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x561717c1cd50 } } } }
[2022-05-09T12:21:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717bbf4e0, 0x561717bfdfd0
[2022-05-09T12:21:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717bfdfd0, 0x561717ccb480
[2022-05-09T12:21:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717bfdfd0, 0x561717caee80
[2022-05-09T12:21:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717caee80, 0x561717a2cc60
[2022-05-09T12:21:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717caee80, 0x7f4b28002b90
[2022-05-09T12:21:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002b90, 0x561717ccb480
[2022-05-09T12:21:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002b90, 0x561717ccb480
[2022-05-09T12:21:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002b90, 0x7f4b28007210
[2022-05-09T12:21:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28007210, 0x561717cc70e0
[2022-05-09T12:21:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28007210, 0x561717ccb480
[2022-05-09T12:21:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28007210, 0x7f4b28004660
[2022-05-09T12:21:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004660, 0x561717ccb480
[2022-05-09T12:21:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004660, 0x561717ccb480
[2022-05-09T12:21:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004660, 0x7f4b28004ff0
[2022-05-09T12:21:24Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28004ff0
[2022-05-09T12:21:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/3b1442e6-14f0-4b4a-9f37-d923420ba2b1", content_type: Some("application/json"), user_properties: {"senderuid": "b2ce92c8-82e4-451b-99b2-40af6f9b4c39", "type": "io.drogue.event.v1", "application": "3b1442e6-14f0-4b4a-9f37-d923420ba2b1", "deviceuid": "02e5d94e-cad5-4338-984b-60281d4a718b", "partitionkey": "3b1442e6%2D14f0%2D4b4a%2D9f37%2Dd923420ba2b1/device1", "subject": "warmup", "device": "device1", "time": "2022-05-09T12:21:24.544741906+00:00", "source": "drogue://3b1442e6%2D14f0%2D4b4a%2D9f37%2Dd923420ba2b1/device1", "applicationuid": "e00a0908-abc6-40c7-b7ff-7007abdf4f56", "sender": "gateway1", "specversion": "1.0", "id": "f5a82e26-bc69-4239-9b40-21d7fd4c5c90", "instance": "drogue"}, payload: "{\"index\":3}" }
[2022-05-09T12:21:25Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:21:25Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:21:25Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:21:25Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:21:25Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "bbdc3cc7-e26f-49a1-a11c-173c411e6a7b", persistence: None, user_data: None }
[2022-05-09T12:21:25Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:21:25Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717bc4950
[2022-05-09T12:21:25Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717bc4950
[2022-05-09T12:21:25Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x561717cc74a0, password: 0x561717a2d9b0, connectTimeout: 30, retryInterval: 0, ssl: 0x5617179a0b90, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717ccbd70, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@3b1442e6-14f0-4b4a-9f37-d923420ba2b1"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:21:26Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 18, payload: 0x7f4b1c00b9a0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717ce9750 } }, data: MessageData { topic: "app/3b1442e6-14f0-4b4a-9f37-d923420ba2b1", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717ce9750 } } } }
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004fa0, 0x7f4b28004640
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004640, 0x7f4b1c016b50
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004640, 0x7f4b28007210
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28007210, 0x7f4b1c01c2b0
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28007210, 0x7f4b28004ff0
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004ff0, 0x7f4b1c016b50
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004ff0, 0x7f4b1c016b50
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004ff0, 0x7f4b1c01c5d0
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004ff0, 0x7f4b28004e30
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004e30, 0x7f4b1c016b50
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004e30, 0x7f4b28002b90
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002b90, 0x7f4b28004e30
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004e30, 0x7f4b1c016b50
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004e30, 0x7f4b1c016b50
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28004e30
[2022-05-09T12:21:26Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/3b1442e6-14f0-4b4a-9f37-d923420ba2b1", content_type: Some("application/json"), user_properties: {"applicationuid": "e00a0908-abc6-40c7-b7ff-7007abdf4f56", "sender": "gateway1", "device": "gateway1", "subject": "connection", "instance": "drogue", "type": "io.drogue.connection.v1", "specversion": "1.0", "id": "c8d8a105-21bb-4629-a42b-f24ea52ca166", "senderuid": "b2ce92c8-82e4-451b-99b2-40af6f9b4c39", "application": "3b1442e6-14f0-4b4a-9f37-d923420ba2b1", "deviceuid": "b2ce92c8-82e4-451b-99b2-40af6f9b4c39", "source": "drogue://3b1442e6%2D14f0%2D4b4a%2D9f37%2Dd923420ba2b1/gateway1", "time": "2022-05-09T12:21:25.837770801+00:00", "partitionkey": "3b1442e6%2D14f0%2D4b4a%2D9f37%2Dd923420ba2b1/gateway1"}, payload: "{\"connected\":true}" }
[2022-05-09T12:21:26Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717bce760 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717bce760 } } } }
[2022-05-09T12:21:26Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:21:26Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x561717a6b910 } }, data: MessageData { topic: "app/3b1442e6-14f0-4b4a-9f37-d923420ba2b1", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x561717a6b910 } } } }
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004740, 0x7f4b28004b10
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004b10, 0x7f4b1c016b50
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004b10, 0x7f4b28004ff0
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004ff0, 0x7f4b1c02f060
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004ff0, 0x7f4b28007250
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28007250, 0x7f4b1c016b50
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28007250, 0x7f4b1c02f380
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28007250, 0x7f4b1c016b50
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28007250, 0x7f4b1c016b50
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28007250, 0x7f4b28004640
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004640, 0x7f4b28007250
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28007250, 0x7f4b1c016b50
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28007250, 0x7f4b28004660
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004660, 0x7f4b1c016b50
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28003390
[2022-05-09T12:21:26Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/3b1442e6-14f0-4b4a-9f37-d923420ba2b1", content_type: Some("application/octet-stream"), user_properties: {"device": "device1", "id": "5f3ec7f0-6dfa-46d8-b5f1-39d8e4f9af50", "source": "drogue://3b1442e6%2D14f0%2D4b4a%2D9f37%2Dd923420ba2b1/device1", "application": "3b1442e6-14f0-4b4a-9f37-d923420ba2b1", "type": "io.drogue.event.v1", "deviceuid": "02e5d94e-cad5-4338-984b-60281d4a718b", "specversion": "1.0", "partitionkey": "3b1442e6%2D14f0%2D4b4a%2D9f37%2Dd923420ba2b1/device1", "subject": "telemetry", "instance": "drogue", "time": "2022-05-09T12:21:26.145982966+00:00", "sender": "gateway1", "senderuid": "b2ce92c8-82e4-451b-99b2-40af6f9b4c39", "applicationuid": "e00a0908-abc6-40c7-b7ff-7007abdf4f56"}, payload: "" }
[2022-05-09T12:21:26Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 19, payload: 0x7f4b1c00b6d0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717a393b0 } }, data: MessageData { topic: "app/3b1442e6-14f0-4b4a-9f37-d923420ba2b1", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717a393b0 } } } }
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717b55470, 0x561717a47d40
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717a47d40, 0x561717be9b10
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717a47d40, 0x7f4b30001b10
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001b10, 0x561717b99040
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001b10, 0x7f4b30000e00
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30000e00, 0x561717be9b10
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30000e00, 0x7f4b30001ce0
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001ce0, 0x561717be9b10
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001ce0, 0x7f4b30005ad0
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30005ad0, 0x561717b55780
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30005ad0, 0x561717be9b10
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30005ad0, 0x7f4b30003990
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30003990, 0x561717be9b10
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30003990, 0x561717be9b10
[2022-05-09T12:21:26Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b30003990
[2022-05-09T12:21:26Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/3b1442e6-14f0-4b4a-9f37-d923420ba2b1", content_type: Some("application/json"), user_properties: {"device": "gateway1", "senderuid": "b2ce92c8-82e4-451b-99b2-40af6f9b4c39", "source": "drogue://3b1442e6%2D14f0%2D4b4a%2D9f37%2Dd923420ba2b1/gateway1", "sender": "gateway1", "applicationuid": "e00a0908-abc6-40c7-b7ff-7007abdf4f56", "application": "3b1442e6-14f0-4b4a-9f37-d923420ba2b1", "time": "2022-05-09T12:21:26.261017239+00:00", "specversion": "1.0", "instance": "drogue", "id": "0adc45b0-c0c3-4ac6-8890-1599971bab76", "partitionkey": "3b1442e6%2D14f0%2D4b4a%2D9f37%2Dd923420ba2b1/gateway1", "subject": "connection", "type": "io.drogue.connection.v1", "deviceuid": "b2ce92c8-82e4-451b-99b2-40af6f9b4c39"}, payload: "{\"connected\":false}" }
[2022-05-09T12:21:26Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:21:26Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:21:26Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:21:26Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "3b1442e6-14f0-4b4a-9f37-d923420ba2b1", device: "device1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "3b1442e6-14f0-4b4a-9f37-d923420ba2b1", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:21:26Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:21:26Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "3b1442e6-14f0-4b4a-9f37-d923420ba2b1" "device1"
[2022-05-09T12:21:26Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:21:26Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:21:26Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "3b1442e6-14f0-4b4a-9f37-d923420ba2b1" "gateway1"
[2022-05-09T12:21:26Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:21:26Z INFO  drogue_cloud_tests::resources::apps] Destroy application '3b1442e6-14f0-4b4a-9f37-d923420ba2b1'
[2022-05-09T12:21:26Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "3b1442e6-14f0-4b4a-9f37-d923420ba2b1"
[2022-05-09T12:21:26Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 3b1442e6-14f0-4b4a-9f37-d923420ba2b1 deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_1::integration_version_3::integration_ws_2

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T12:21:28Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:21:28Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:21:28Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:21:28Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:21:28Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:21:29Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:21:31Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:21:31Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:21:31Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:21:31Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:21:33Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA2OTMsImlhdCI6MTY1MjA5ODg5MywianRpIjoiMzRmMTEyOWYtYmM0NC00MzdhLTlmODYtNWVkOWVjY2U0NGVhIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjVWMFA0a0xkaVdFRnpFQVVPbGtNd3ciLCJzZXNzaW9uX3N0YXRlIjoiMjgzYzJmOWUtMmE5ZC00NjBlLTk1NjQtNmEwNjU1MDFlMWU4Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjI4M2MyZjllLTJhOWQtNDYwZS05NTY0LTZhMDY1NTAxZTFlOCJ9.ZDn9wcQqjWylkQ0nQ244o8xGy4xatW7t94pP-vytpSE
[2022-05-09T12:21:33Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:21:33Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:21:33Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA2OTMsImlhdCI6MTY1MjA5ODg5MywianRpIjoiMzRmMTEyOWYtYmM0NC00MzdhLTlmODYtNWVkOWVjY2U0NGVhIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjVWMFA0a0xkaVdFRnpFQVVPbGtNd3ciLCJzZXNzaW9uX3N0YXRlIjoiMjgzYzJmOWUtMmE5ZC00NjBlLTk1NjQtNmEwNjU1MDFlMWU4Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjI4M2MyZjllLTJhOWQtNDYwZS05NTY0LTZhMDY1NTAxZTFlOCJ9.ZDn9wcQqjWylkQ0nQ244o8xGy4xatW7t94pP-vytpSE" "--context" "system-tests"
[2022-05-09T12:21:33Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:21:33Z INFO  drogue_cloud_tests::resources::apps] Create application: 54b89602-be22-4967-b1b7-a2ae1a0c7222
[2022-05-09T12:21:33Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "54b89602-be22-4967-b1b7-a2ae1a0c7222"
[2022-05-09T12:21:33Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 54b89602-be22-4967-b1b7-a2ae1a0c7222 created.\n", stderr: "" })
[2022-05-09T12:21:33Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "54b89602-be22-4967-b1b7-a2ae1a0c7222"
[2022-05-09T12:21:34Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:21:33.976769Z\",\n    \"generation\": 1,\n    \"name\": \"54b89602-be22-4967-b1b7-a2ae1a0c7222\",\n    \"resourceVersion\": \"cc99b633-ecde-4363-acf8-aa5fb7655f9f\",\n    \"uid\": \"68dbe578-c290-4d60-a0a7-b3d51e0a9e4a\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:21:33.987919673Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2022-05-09T12:21:34Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:21:33.976769Z"), "generation": Number(1), "name": String("54b89602-be22-4967-b1b7-a2ae1a0c7222"), "resourceVersion": String("cc99b633-ecde-4363-acf8-aa5fb7655f9f"), "uid": String("68dbe578-c290-4d60-a0a7-b3d51e0a9e4a")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:21:33.987919673Z"), "status": String("True"), "type": String("Ready")})])})})
[2022-05-09T12:21:34Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:21:35Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "54b89602-be22-4967-b1b7-a2ae1a0c7222"
[2022-05-09T12:21:35Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:21:33.976769Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"54b89602-be22-4967-b1b7-a2ae1a0c7222\",\n    \"resourceVersion\": \"9b51aed1-f39f-48e5-915b-3382d5dd2a2f\",\n    \"uid\": \"68dbe578-c290-4d60-a0a7-b3d51e0a9e4a\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:21:34.293309406Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:21:34.293178981Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:34.031816085Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:34.039349Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:34.111457802Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:34.120709441Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:34.293010706Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:34.293121183Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"g5Wt7xWCyqMM\",\n        \"username\": \"user-54b89602-be22-4967-b1b7-a2ae1a0c7222\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:21:35Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:21:33.976769Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("54b89602-be22-4967-b1b7-a2ae1a0c7222"), "resourceVersion": String("9b51aed1-f39f-48e5-915b-3382d5dd2a2f"), "uid": String("68dbe578-c290-4d60-a0a7-b3d51e0a9e4a")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:21:34.293309406Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:21:34.293178981Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:21:34.031816085Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:21:34.039349Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:21:34.111457802Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:21:34.120709441Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:21:34.293010706Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:21:34.293121183Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("g5Wt7xWCyqMM"), "username": String("user-54b89602-be22-4967-b1b7-a2ae1a0c7222")})})})})
[2022-05-09T12:21:35Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:21:35Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "54b89602-be22-4967-b1b7-a2ae1a0c7222"
[2022-05-09T12:21:35Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:21:33.976769Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"54b89602-be22-4967-b1b7-a2ae1a0c7222\",\n    \"resourceVersion\": \"9b51aed1-f39f-48e5-915b-3382d5dd2a2f\",\n    \"uid\": \"68dbe578-c290-4d60-a0a7-b3d51e0a9e4a\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:21:34.293309406Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:21:34.293178981Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:34.031816085Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:34.039349Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:34.111457802Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:34.120709441Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:34.293010706Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:34.293121183Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"g5Wt7xWCyqMM\",\n        \"username\": \"user-54b89602-be22-4967-b1b7-a2ae1a0c7222\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:21:35Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:21:33.976769Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("54b89602-be22-4967-b1b7-a2ae1a0c7222"), "resourceVersion": String("9b51aed1-f39f-48e5-915b-3382d5dd2a2f"), "uid": String("68dbe578-c290-4d60-a0a7-b3d51e0a9e4a")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:21:34.293309406Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:21:34.293178981Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:21:34.031816085Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:21:34.039349Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:21:34.111457802Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:21:34.120709441Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:21:34.293010706Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:21:34.293121183Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("g5Wt7xWCyqMM"), "username": String("user-54b89602-be22-4967-b1b7-a2ae1a0c7222")})})})})
[2022-05-09T12:21:35Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:21:35Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:21:35Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "54b89602-be22-4967-b1b7-a2ae1a0c7222" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:21:35Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:21:35Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:21:35Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:21:35Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:21:35Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkxOTMsImlhdCI6MTY1MjA5ODg5MywiYXV0aF90aW1lIjoxNjUyMDk4ODkwLCJqdGkiOiJiZGI0MmU0Mi02MWY5LTRiNGMtYjJjNC03Yjk4NDE0MWUyNTYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI1VjBQNGtMZGlXRUZ6RUFVT2xrTXd3Iiwic2Vzc2lvbl9zdGF0ZSI6IjI4M2MyZjllLTJhOWQtNDYwZS05NTY0LTZhMDY1NTAxZTFlOCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjI4M2MyZjllLTJhOWQtNDYwZS05NTY0LTZhMDY1NTAxZTFlOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.EcYa55XpG7hozQ47D50heZyWzSsl7GotBCsPRJFu3ihnnGgS-vitckM9MxHpizzl8INr71i7G6atYX8X7c-T4a_nbZFpttgb5hTrhfyZaqPnvEeZSFhaZqpcUZhpVEBctvh3LWQZ8JGoyFCfsFIDrEyB7mD-Sr0HDCWHOC9MDBMNfkjkyTrqtGjwchlpC8w4_dSvD0MWeA4qsEv6BsBTwiPzox-9gctbyfzwppYR3NoMo29ZmF4kcKAU7SzpZJSD9AyeEyo68dnapQ3TxPJ89zFznlIN5SdLk3eVyfUbYB2cB__AJsgMMR6CzYbuT2gmla4BB5zzfNY-YG-L5IgtsA\n", stderr: "" })
[2022-05-09T12:21:35Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:21:35Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:21:35Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:21:35Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "54b89602-be22-4967-b1b7-a2ae1a0c7222" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:21:35Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:21:35Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T12:21:35Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:21:35Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkxOTMsImlhdCI6MTY1MjA5ODg5MywiYXV0aF90aW1lIjoxNjUyMDk4ODkwLCJqdGkiOiJiZGI0MmU0Mi02MWY5LTRiNGMtYjJjNC03Yjk4NDE0MWUyNTYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI1VjBQNGtMZGlXRUZ6RUFVT2xrTXd3Iiwic2Vzc2lvbl9zdGF0ZSI6IjI4M2MyZjllLTJhOWQtNDYwZS05NTY0LTZhMDY1NTAxZTFlOCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjI4M2MyZjllLTJhOWQtNDYwZS05NTY0LTZhMDY1NTAxZTFlOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.EcYa55XpG7hozQ47D50heZyWzSsl7GotBCsPRJFu3ihnnGgS-vitckM9MxHpizzl8INr71i7G6atYX8X7c-T4a_nbZFpttgb5hTrhfyZaqPnvEeZSFhaZqpcUZhpVEBctvh3LWQZ8JGoyFCfsFIDrEyB7mD-Sr0HDCWHOC9MDBMNfkjkyTrqtGjwchlpC8w4_dSvD0MWeA4qsEv6BsBTwiPzox-9gctbyfzwppYR3NoMo29ZmF4kcKAU7SzpZJSD9AyeEyo68dnapQ3TxPJ89zFznlIN5SdLk3eVyfUbYB2cB__AJsgMMR6CzYbuT2gmla4BB5zzfNY-YG-L5IgtsA\n", stderr: "" })
[2022-05-09T12:21:35Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "f1de017e-9c2c-45bf-9efd-e1127c6cdd6e", persistence: None, user_data: None }
[2022-05-09T12:21:35Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:21:35Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717cae820
[2022-05-09T12:21:35Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717cae820
[2022-05-09T12:21:35Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x5617178e5f00, connectTimeout: 30, retryInterval: 0, ssl: 0x561717b96410, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x5617178e5770, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkxOTMsImlhdCI6MTY1MjA5ODg5MywiYXV0aF90aW1lIjoxNjUyMDk4ODkwLCJqdGkiOiJiZGI0MmU0Mi02MWY5LTRiNGMtYjJjNC03Yjk4NDE0MWUyNTYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI1VjBQNGtMZGlXRUZ6RUFVT2xrTXd3Iiwic2Vzc2lvbl9zdGF0ZSI6IjI4M2MyZjllLTJhOWQtNDYwZS05NTY0LTZhMDY1NTAxZTFlOCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjI4M2MyZjllLTJhOWQtNDYwZS05NTY0LTZhMDY1NTAxZTFlOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.EcYa55XpG7hozQ47D50heZyWzSsl7GotBCsPRJFu3ihnnGgS-vitckM9MxHpizzl8INr71i7G6atYX8X7c-T4a_nbZFpttgb5hTrhfyZaqPnvEeZSFhaZqpcUZhpVEBctvh3LWQZ8JGoyFCfsFIDrEyB7mD-Sr0HDCWHOC9MDBMNfkjkyTrqtGjwchlpC8w4_dSvD0MWeA4qsEv6BsBTwiPzox-9gctbyfzwppYR3NoMo29ZmF4kcKAU7SzpZJSD9AyeEyo68dnapQ3TxPJ89zFznlIN5SdLk3eVyfUbYB2cB__AJsgMMR6CzYbuT2gmla4BB5zzfNY-YG-L5IgtsA"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:21:35Z DEBUG paho_mqtt::async_client] Subscribe to '"app/54b89602-be22-4967-b1b7-a2ae1a0c7222"' @ QOS 0
[2022-05-09T12:21:35Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:21:35Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:21:35Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:21:35Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:21:35Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:21:35Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:21:36Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:21:36Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:21:36Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:21:36Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:21:37Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:21:37Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:21:37Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:21:37Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:21:38Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:21:38Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:21:38Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:21:38Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:21:38Z 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: 0x7f4b18019840, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x561717b147d0 } }, data: MessageData { topic: "app/54b89602-be22-4967-b1b7-a2ae1a0c7222", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x561717b147d0 } } } }
[2022-05-09T12:21:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717cbaa80, 0x561717cb9770
[2022-05-09T12:21:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717cb9770, 0x561717c31720
[2022-05-09T12:21:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717cb9770, 0x7f4b30006170
[2022-05-09T12:21:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30006170, 0x561717a00510
[2022-05-09T12:21:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30006170, 0x7f4b30005910
[2022-05-09T12:21:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30005910, 0x561717c31720
[2022-05-09T12:21:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30005910, 0x561717cbac90
[2022-05-09T12:21:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30005910, 0x7f4b300073b0
[2022-05-09T12:21:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300073b0, 0x561717c31720
[2022-05-09T12:21:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300073b0, 0x561717c31720
[2022-05-09T12:21:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300073b0, 0x561717c31720
[2022-05-09T12:21:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300073b0, 0x561717c31720
[2022-05-09T12:21:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300073b0, 0x7f4b30000cb0
[2022-05-09T12:21:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30000cb0, 0x7f4b300073b0
[2022-05-09T12:21:38Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b300073b0
[2022-05-09T12:21:38Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/54b89602-be22-4967-b1b7-a2ae1a0c7222", content_type: Some("application/json"), user_properties: {"partitionkey": "54b89602%2Dbe22%2D4967%2Db1b7%2Da2ae1a0c7222/device1", "application": "54b89602-be22-4967-b1b7-a2ae1a0c7222", "senderuid": "2af32ae5-fedb-4da4-a280-5e5ecffb167d", "instance": "drogue", "id": "fee38e6d-99db-4276-9ab4-2a942ec0a337", "sender": "gateway1", "applicationuid": "68dbe578-c290-4d60-a0a7-b3d51e0a9e4a", "source": "drogue://54b89602%2Dbe22%2D4967%2Db1b7%2Da2ae1a0c7222/device1", "type": "io.drogue.event.v1", "subject": "warmup", "time": "2022-05-09T12:21:38.551196690+00:00", "specversion": "1.0", "device": "device1", "deviceuid": "a127aebd-85fa-4a21-9323-70e4390ef0cc"}, payload: "{\"index\":3}" }
[2022-05-09T12:21:39Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:21:39Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:21:39Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:21:39Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:21:39Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "0da42b38-c2f5-408a-b89f-2d4fd26d9dce", persistence: None, user_data: None }
[2022-05-09T12:21:39Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:21:39Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717cbf160
[2022-05-09T12:21:39Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717cbf160
[2022-05-09T12:21:39Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x561717898130, password: 0x561717cbef90, connectTimeout: 30, retryInterval: 0, ssl: 0x56171784aaa0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717898cd0, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@54b89602-be22-4967-b1b7-a2ae1a0c7222"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:21:40Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 18, payload: 0x7f4b1800a0f0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x5617179c91b0 } }, data: MessageData { topic: "app/54b89602-be22-4967-b1b7-a2ae1a0c7222", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x5617179c91b0 } } } }
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004620, 0x56171788a910
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x56171788a910, 0x7f4b28000bc0
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x56171788a910, 0x7f4b280079d0
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280079d0, 0x561717c78110
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280079d0, 0x7f4b28004740
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004740, 0x7f4b28000bc0
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004740, 0x7f4b28004f80
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004f80, 0x7f4b28000bc0
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004f80, 0x7f4b28002730
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002730, 0x7f4b28000bc0
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002730, 0x7f4b28001c70
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001c70, 0x7f4b28000bc0
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001c70, 0x7f4b2800a2d0
[2022-05-09T12:21:40Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717aef330 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717aef330 } } } }
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001c70, 0x7f4b28000bc0
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28001c70
[2022-05-09T12:21:40Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/54b89602-be22-4967-b1b7-a2ae1a0c7222", content_type: Some("application/json"), user_properties: {"senderuid": "2af32ae5-fedb-4da4-a280-5e5ecffb167d", "id": "ea25afe0-257a-4e13-a4ff-4b7c47a92a20", "application": "54b89602-be22-4967-b1b7-a2ae1a0c7222", "source": "drogue://54b89602%2Dbe22%2D4967%2Db1b7%2Da2ae1a0c7222/gateway1", "device": "gateway1", "subject": "connection", "applicationuid": "68dbe578-c290-4d60-a0a7-b3d51e0a9e4a", "specversion": "1.0", "type": "io.drogue.connection.v1", "instance": "drogue", "partitionkey": "54b89602%2Dbe22%2D4967%2Db1b7%2Da2ae1a0c7222/gateway1", "time": "2022-05-09T12:21:39.669578292+00:00", "sender": "gateway1", "deviceuid": "2af32ae5-fedb-4da4-a280-5e5ecffb167d"}, payload: "{\"connected\":true}" }
[2022-05-09T12:21:40Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:21:40Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 582, array: 0x561717ce8ea0 } }, data: MessageData { topic: "app/54b89602-be22-4967-b1b7-a2ae1a0c7222", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 582, array: 0x561717ce8ea0 } } } }
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002790, 0x7f4b28001c90
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001c90, 0x7f4b1802b660
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001c90, 0x7f4b28002730
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002730, 0x7f4b1802a780
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002730, 0x7f4b28004740
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004740, 0x7f4b1802b660
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004740, 0x7f4b28002770
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002770, 0x7f4b1802b660
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002770, 0x7f4b1802b660
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002770, 0x7f4b280023e0
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280023e0, 0x7f4b1802b660
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280023e0, 0x7f4b28004b10
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004b10, 0x7f4b1802b660
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004b10, 0x7f4b1800a7f0
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28004d30
[2022-05-09T12:21:40Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/54b89602-be22-4967-b1b7-a2ae1a0c7222", content_type: Some("application/octet-stream"), user_properties: {"id": "13270366-05c4-43b1-8cdc-ed411d35f415", "sender": "gateway1", "device": "device1", "deviceuid": "a127aebd-85fa-4a21-9323-70e4390ef0cc", "subject": "telemetry", "type": "io.drogue.event.v1", "specversion": "1.0", "senderuid": "2af32ae5-fedb-4da4-a280-5e5ecffb167d", "source": "drogue://54b89602%2Dbe22%2D4967%2Db1b7%2Da2ae1a0c7222/device1", "partitionkey": "54b89602%2Dbe22%2D4967%2Db1b7%2Da2ae1a0c7222/device1", "instance": "drogue", "time": "2022-05-09T12:21:40.162356+00:00", "applicationuid": "68dbe578-c290-4d60-a0a7-b3d51e0a9e4a", "application": "54b89602-be22-4967-b1b7-a2ae1a0c7222"}, payload: "" }
[2022-05-09T12:21:40Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 19, payload: 0x7f4b18009ee0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717c34d40 } }, data: MessageData { topic: "app/54b89602-be22-4967-b1b7-a2ae1a0c7222", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717c34d40 } } } }
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b2800a350, 0x7f4b28004640
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004640, 0x7f4b28009a40
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004640, 0x7f4b28002790
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002790, 0x7f4b18015700
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002790, 0x7f4b280023e0
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280023e0, 0x7f4b28009a40
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280023e0, 0x7f4b280040a0
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280040a0, 0x7f4b280023e0
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280023e0, 0x7f4b28009a40
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280023e0, 0x7f4b28009a40
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280023e0, 0x7f4b28002770
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002770, 0x7f4b28009a40
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002770, 0x7f4b28004d30
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002770, 0x7f4b28009a40
[2022-05-09T12:21:40Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28002770
[2022-05-09T12:21:40Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/54b89602-be22-4967-b1b7-a2ae1a0c7222", content_type: Some("application/json"), user_properties: {"application": "54b89602-be22-4967-b1b7-a2ae1a0c7222", "partitionkey": "54b89602%2Dbe22%2D4967%2Db1b7%2Da2ae1a0c7222/gateway1", "type": "io.drogue.connection.v1", "id": "a3c51e8e-73eb-41ee-9fa8-6e991de51db2", "source": "drogue://54b89602%2Dbe22%2D4967%2Db1b7%2Da2ae1a0c7222/gateway1", "subject": "connection", "applicationuid": "68dbe578-c290-4d60-a0a7-b3d51e0a9e4a", "time": "2022-05-09T12:21:40.256424339+00:00", "device": "gateway1", "senderuid": "2af32ae5-fedb-4da4-a280-5e5ecffb167d", "deviceuid": "2af32ae5-fedb-4da4-a280-5e5ecffb167d", "specversion": "1.0", "sender": "gateway1", "instance": "drogue"}, payload: "{\"connected\":false}" }
[2022-05-09T12:21:40Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:21:40Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:21:40Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:21:40Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "54b89602-be22-4967-b1b7-a2ae1a0c7222", device: "device1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "54b89602-be22-4967-b1b7-a2ae1a0c7222", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:21:40Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:21:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "54b89602-be22-4967-b1b7-a2ae1a0c7222" "device1"
[2022-05-09T12:21:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:21:40Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:21:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "54b89602-be22-4967-b1b7-a2ae1a0c7222" "gateway1"
[2022-05-09T12:21:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:21:40Z INFO  drogue_cloud_tests::resources::apps] Destroy application '54b89602-be22-4967-b1b7-a2ae1a0c7222'
[2022-05-09T12:21:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "54b89602-be22-4967-b1b7-a2ae1a0c7222"
[2022-05-09T12:21:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 54b89602-be22-4967-b1b7-a2ae1a0c7222 deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_2::integration_version_1::integration_ws_1

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T12:21:42Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:21:42Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:21:42Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:21:42Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:21:42Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:21:43Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:21:45Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:21:45Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:21:45Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:21:45Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:21:46Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA3MDYsImlhdCI6MTY1MjA5ODkwNiwianRpIjoiNTViODdiNTEtNDhlYi00N2Y1LWI5ZjItZTY1ODY3Y2FkZTRlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlN5c3M1ZWFWN2RnOHhlZThOdUlBaHciLCJzZXNzaW9uX3N0YXRlIjoiZjJlNTEwZWMtMjM0Zi00ZTM2LWJiYTctZGVkNWEyMjYyM2M5Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImYyZTUxMGVjLTIzNGYtNGUzNi1iYmE3LWRlZDVhMjI2MjNjOSJ9.Mj2M56udW6G2lrjWhBCXOvBcj1wsUGRLk7CUpLfpymM
[2022-05-09T12:21:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:21:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:21:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA3MDYsImlhdCI6MTY1MjA5ODkwNiwianRpIjoiNTViODdiNTEtNDhlYi00N2Y1LWI5ZjItZTY1ODY3Y2FkZTRlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlN5c3M1ZWFWN2RnOHhlZThOdUlBaHciLCJzZXNzaW9uX3N0YXRlIjoiZjJlNTEwZWMtMjM0Zi00ZTM2LWJiYTctZGVkNWEyMjYyM2M5Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImYyZTUxMGVjLTIzNGYtNGUzNi1iYmE3LWRlZDVhMjI2MjNjOSJ9.Mj2M56udW6G2lrjWhBCXOvBcj1wsUGRLk7CUpLfpymM" "--context" "system-tests"
[2022-05-09T12:21:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:21:47Z INFO  drogue_cloud_tests::resources::apps] Create application: e4168757-6312-468b-b63f-7e113676b6e0
[2022-05-09T12:21:47Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "e4168757-6312-468b-b63f-7e113676b6e0"
[2022-05-09T12:21:47Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App e4168757-6312-468b-b63f-7e113676b6e0 created.\n", stderr: "" })
[2022-05-09T12:21:47Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "e4168757-6312-468b-b63f-7e113676b6e0"
[2022-05-09T12:21:47Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:21:47.675409Z\",\n    \"generation\": 1,\n    \"name\": \"e4168757-6312-468b-b63f-7e113676b6e0\",\n    \"resourceVersion\": \"348631c1-c40e-489b-942a-968a11d9ed7c\",\n    \"uid\": \"0eeb96cc-aecb-4a0a-b0b4-3aa09425dc5c\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:21:47.689397209Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2022-05-09T12:21:47Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:21:47.675409Z"), "generation": Number(1), "name": String("e4168757-6312-468b-b63f-7e113676b6e0"), "resourceVersion": String("348631c1-c40e-489b-942a-968a11d9ed7c"), "uid": String("0eeb96cc-aecb-4a0a-b0b4-3aa09425dc5c")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:21:47.689397209Z"), "status": String("True"), "type": String("Ready")})])})})
[2022-05-09T12:21:47Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:21:48Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "e4168757-6312-468b-b63f-7e113676b6e0"
[2022-05-09T12:21:48Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:21:47.675409Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"e4168757-6312-468b-b63f-7e113676b6e0\",\n    \"resourceVersion\": \"00bfce58-43e7-4dec-8bbe-046494224196\",\n    \"uid\": \"0eeb96cc-aecb-4a0a-b0b4-3aa09425dc5c\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:21:47.984508979Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:21:47.984464806Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:47.726670901Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:47.731317464Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:47.796029757Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:47.802309854Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:47.984351694Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:47.984370719Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"PbiSyBV65NZy\",\n        \"username\": \"user-e4168757-6312-468b-b63f-7e113676b6e0\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:21:48Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:21:47.675409Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("e4168757-6312-468b-b63f-7e113676b6e0"), "resourceVersion": String("00bfce58-43e7-4dec-8bbe-046494224196"), "uid": String("0eeb96cc-aecb-4a0a-b0b4-3aa09425dc5c")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:21:47.984508979Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:21:47.984464806Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:21:47.726670901Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:21:47.731317464Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:21:47.796029757Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:21:47.802309854Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:21:47.984351694Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:21:47.984370719Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("PbiSyBV65NZy"), "username": String("user-e4168757-6312-468b-b63f-7e113676b6e0")})})})})
[2022-05-09T12:21:48Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:21:48Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "e4168757-6312-468b-b63f-7e113676b6e0"
[2022-05-09T12:21:48Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:21:47.675409Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"e4168757-6312-468b-b63f-7e113676b6e0\",\n    \"resourceVersion\": \"00bfce58-43e7-4dec-8bbe-046494224196\",\n    \"uid\": \"0eeb96cc-aecb-4a0a-b0b4-3aa09425dc5c\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:21:47.984508979Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:21:47.984464806Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:47.726670901Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:47.731317464Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:47.796029757Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:47.802309854Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:47.984351694Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:21:47.984370719Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"PbiSyBV65NZy\",\n        \"username\": \"user-e4168757-6312-468b-b63f-7e113676b6e0\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:21:48Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:21:47.675409Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("e4168757-6312-468b-b63f-7e113676b6e0"), "resourceVersion": String("00bfce58-43e7-4dec-8bbe-046494224196"), "uid": String("0eeb96cc-aecb-4a0a-b0b4-3aa09425dc5c")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:21:47.984508979Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:21:47.984464806Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:21:47.726670901Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:21:47.731317464Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:21:47.796029757Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:21:47.802309854Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:21:47.984351694Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:21:47.984370719Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("PbiSyBV65NZy"), "username": String("user-e4168757-6312-468b-b63f-7e113676b6e0")})})})})
[2022-05-09T12:21:48Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:21:48Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:21:48Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "e4168757-6312-468b-b63f-7e113676b6e0" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:21:48Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:21:48Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:21:48Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:21:48Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:21:48Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkyMDYsImlhdCI6MTY1MjA5ODkwNiwiYXV0aF90aW1lIjoxNjUyMDk4OTA0LCJqdGkiOiIzZjBkZTEzZS00ZGUyLTQxMGQtOWUzNy03ZTFiMGI1ZTVkMDUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJTeXNzNWVhVjdkZzh4ZWU4TnVJQWh3Iiwic2Vzc2lvbl9zdGF0ZSI6ImYyZTUxMGVjLTIzNGYtNGUzNi1iYmE3LWRlZDVhMjI2MjNjOSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImYyZTUxMGVjLTIzNGYtNGUzNi1iYmE3LWRlZDVhMjI2MjNjOSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.PlDzRTVmXC7L95U4fAYwT2AGzNdB3U8tPMhaTsokTz4dW7UXsh-bEclwy5S4b0H3CJR7NmWjl-0THAM6P5iaIEBlc_otRgpPqJjZUQrUCmZ0hd47YQKw62fX19dGd51X6x1EdqtRJVKc61Z3QDJsUmtGTsCil5VJL3Uc4lEUKyFM4UPge7rP-gUVIEZ3DLEKF_th9_OZ7wbqKeHHIU2OyjNhM5aUSdqwi6-gOHRpiPOldzpOxReZncyYZrv8QRzOF6D1nhwtZNilKj-tgWqNd-iX5laZ5Pm6K9mVWdim_Jwg1cajZkJL7JkuNM03Il4gF8_X_zVdM3YdR49K--C7Fw\n", stderr: "" })
[2022-05-09T12:21:48Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:21:48Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:21:48Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:21:48Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "e4168757-6312-468b-b63f-7e113676b6e0" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:21:48Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:21:48Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T12:21:48Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:21:48Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkyMDYsImlhdCI6MTY1MjA5ODkwNiwiYXV0aF90aW1lIjoxNjUyMDk4OTA0LCJqdGkiOiIzZjBkZTEzZS00ZGUyLTQxMGQtOWUzNy03ZTFiMGI1ZTVkMDUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJTeXNzNWVhVjdkZzh4ZWU4TnVJQWh3Iiwic2Vzc2lvbl9zdGF0ZSI6ImYyZTUxMGVjLTIzNGYtNGUzNi1iYmE3LWRlZDVhMjI2MjNjOSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImYyZTUxMGVjLTIzNGYtNGUzNi1iYmE3LWRlZDVhMjI2MjNjOSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.PlDzRTVmXC7L95U4fAYwT2AGzNdB3U8tPMhaTsokTz4dW7UXsh-bEclwy5S4b0H3CJR7NmWjl-0THAM6P5iaIEBlc_otRgpPqJjZUQrUCmZ0hd47YQKw62fX19dGd51X6x1EdqtRJVKc61Z3QDJsUmtGTsCil5VJL3Uc4lEUKyFM4UPge7rP-gUVIEZ3DLEKF_th9_OZ7wbqKeHHIU2OyjNhM5aUSdqwi6-gOHRpiPOldzpOxReZncyYZrv8QRzOF6D1nhwtZNilKj-tgWqNd-iX5laZ5Pm6K9mVWdim_Jwg1cajZkJL7JkuNM03Il4gF8_X_zVdM3YdR49K--C7Fw\n", stderr: "" })
[2022-05-09T12:21:48Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "30980d87-ac39-45b5-a60b-699d523199ac", persistence: None, user_data: None }
[2022-05-09T12:21:48Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:21:48Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717a0b490
[2022-05-09T12:21:48Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717a0b490
[2022-05-09T12:21:48Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x5617178c4440, connectTimeout: 30, retryInterval: 0, ssl: 0x561717cb9d40, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x5617178c37d0, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkyMDYsImlhdCI6MTY1MjA5ODkwNiwiYXV0aF90aW1lIjoxNjUyMDk4OTA0LCJqdGkiOiIzZjBkZTEzZS00ZGUyLTQxMGQtOWUzNy03ZTFiMGI1ZTVkMDUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJTeXNzNWVhVjdkZzh4ZWU4TnVJQWh3Iiwic2Vzc2lvbl9zdGF0ZSI6ImYyZTUxMGVjLTIzNGYtNGUzNi1iYmE3LWRlZDVhMjI2MjNjOSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImYyZTUxMGVjLTIzNGYtNGUzNi1iYmE3LWRlZDVhMjI2MjNjOSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.PlDzRTVmXC7L95U4fAYwT2AGzNdB3U8tPMhaTsokTz4dW7UXsh-bEclwy5S4b0H3CJR7NmWjl-0THAM6P5iaIEBlc_otRgpPqJjZUQrUCmZ0hd47YQKw62fX19dGd51X6x1EdqtRJVKc61Z3QDJsUmtGTsCil5VJL3Uc4lEUKyFM4UPge7rP-gUVIEZ3DLEKF_th9_OZ7wbqKeHHIU2OyjNhM5aUSdqwi6-gOHRpiPOldzpOxReZncyYZrv8QRzOF6D1nhwtZNilKj-tgWqNd-iX5laZ5Pm6K9mVWdim_Jwg1cajZkJL7JkuNM03Il4gF8_X_zVdM3YdR49K--C7Fw"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:21:48Z DEBUG paho_mqtt::async_client] Subscribe to '"app/e4168757-6312-468b-b63f-7e113676b6e0"' @ QOS 0
[2022-05-09T12:21:48Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:21:48Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:21:48Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:21:48Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:21:48Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:21:49Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:21:50Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:21:50Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:21:50Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:21:50Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:21:51Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:21:51Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:21:51Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:21:51Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:21:52Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:21:52Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:21:52Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:21:52Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:21:52Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 621, payload: 0x7f4b180317d0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/e4168757-6312-468b-b63f-7e113676b6e0", 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, 99, 100, 56, 100, 53, 49, 49, 55, 45, 97, 102, 102, 50, 45, 52, 49, 53, 49, 45, 56, 52, 98, 57, 45, 49, 55, 53, 54, 53, 55, 54, 53, 101, 97, 50, 51, 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, 101, 52, 49, 54, 56, 55, 53, 55, 37, 50, 68, 54, 51, 49, 50, 37, 50, 68, 52, 54, 56, 98, 37, 50, 68, 98, 54, 51, 102, 37, 50, 68, 55, 101, 49, 49, 51, 54, 55, 54, 98, 54, 101, 48, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 49, 58, 53, 50, 46, 53, 53, 50, 56, 53, 49, 49, 48, 57, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 101, 52, 49, 54, 56, 55, 53, 55, 45, 54, 51, 49, 50, 45, 52, 54, 56, 98, 45, 98, 54, 51, 102, 45, 55, 101, 49, 49, 51, 54, 55, 54, 98, 54, 101, 48, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 48, 101, 101, 98, 57, 54, 99, 99, 45, 97, 101, 99, 98, 45, 52, 97, 48, 97, 45, 98, 48, 98, 52, 45, 51, 97, 97, 48, 57, 52, 50, 53, 100, 99, 53, 99, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 101, 52, 49, 54, 56, 55, 53, 55, 37, 50, 68, 54, 51, 49, 50, 37, 50, 68, 52, 54, 56, 98, 37, 50, 68, 98, 54, 51, 102, 37, 50, 68, 55, 101, 49, 49, 51, 54, 55, 54, 98, 54, 101, 48, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 57, 54, 99, 101, 53, 56, 54, 53, 45, 102, 55, 51, 48, 45, 52, 50, 100, 53, 45, 98, 102, 100, 53, 45, 101, 56, 55, 50, 55, 102, 51, 100, 99, 54, 100, 102, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 50, 53, 55, 53, 49, 97, 49, 101, 45, 51, 57, 101, 57, 45, 52, 101, 51, 55, 45, 98, 102, 98, 102, 45, 99, 56, 101, 55, 99, 99, 57, 97, 52, 57, 54, 98, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:21:52Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/e4168757-6312-468b-b63f-7e113676b6e0", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"cd8d5117-aff2-4151-84b9-17565765ea23\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://e4168757%2D6312%2D468b%2Db63f%2D7e113676b6e0/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:21:52.552851109Z\",\"data\":{\"index\":3},\"application\":\"e4168757-6312-468b-b63f-7e113676b6e0\",\"applicationuid\":\"0eeb96cc-aecb-4a0a-b0b4-3aa09425dc5c\",\"device\":\"device1\",\"partitionkey\":\"e4168757%2D6312%2D468b%2Db63f%2D7e113676b6e0/device1\",\"instance\":\"drogue\",\"senderuid\":\"96ce5865-f730-42d5-bfd5-e8727f3dc6df\",\"sender\":\"gateway1\",\"deviceuid\":\"25751a1e-39e9-4e37-bfbf-c8e7cc9a496b\"}" }
[2022-05-09T12:21:53Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:21:53Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:21:53Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:21:53Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:21:53Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "3e2a770f-6b3c-461c-ae74-44cc0f4fe69b", persistence: None, user_data: None }
[2022-05-09T12:21:53Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:21:53Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717ad6c30
[2022-05-09T12:21:53Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717ad6c30
[2022-05-09T12:21:53Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x561717ad5a40, password: 0x5617178c5fe0, connectTimeout: 30, retryInterval: 0, ssl: 0x561717a06420, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717d35720, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@e4168757-6312-468b-b63f-7e113676b6e0"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:21:54Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717c2e910 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717c2e910 } } } }
[2022-05-09T12:21:54Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 640, payload: 0x7f4b18010ca0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/e4168757-6312-468b-b63f-7e113676b6e0", 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, 100, 102, 101, 101, 56, 101, 48, 56, 45, 57, 99, 97, 53, 45, 52, 52, 97, 102, 45, 98, 99, 97, 53, 45, 50, 102, 100, 100, 100, 49, 101, 101, 54, 48, 56, 51, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 101, 52, 49, 54, 56, 55, 53, 55, 37, 50, 68, 54, 51, 49, 50, 37, 50, 68, 52, 54, 56, 98, 37, 50, 68, 98, 54, 51, 102, 37, 50, 68, 55, 101, 49, 49, 51, 54, 55, 54, 98, 54, 101, 48, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 49, 58, 53, 51, 46, 54, 55, 57, 49, 49, 50, 56, 55, 57, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 57, 54, 99, 101, 53, 56, 54, 53, 45, 102, 55, 51, 48, 45, 52, 50, 100, 53, 45, 98, 102, 100, 53, 45, 101, 56, 55, 50, 55, 102, 51, 100, 99, 54, 100, 102, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 101, 52, 49, 54, 56, 55, 53, 55, 45, 54, 51, 49, 50, 45, 52, 54, 56, 98, 45, 98, 54, 51, 102, 45, 55, 101, 49, 49, 51, 54, 55, 54, 98, 54, 101, 48, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 57, 54, 99, 101, 53, 56, 54, 53, 45, 102, 55, 51, 48, 45, 52, 50, 100, 53, 45, 98, 102, 100, 53, 45, 101, 56, 55, 50, 55, 102, 51, 100, 99, 54, 100, 102, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 101, 52, 49, 54, 56, 55, 53, 55, 37, 50, 68, 54, 51, 49, 50, 37, 50, 68, 52, 54, 56, 98, 37, 50, 68, 98, 54, 51, 102, 37, 50, 68, 55, 101, 49, 49, 51, 54, 55, 54, 98, 54, 101, 48, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 48, 101, 101, 98, 57, 54, 99, 99, 45, 97, 101, 99, 98, 45, 52, 97, 48, 97, 45, 98, 48, 98, 52, 45, 51, 97, 97, 48, 57, 52, 50, 53, 100, 99, 53, 99, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:21:54Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/e4168757-6312-468b-b63f-7e113676b6e0", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"dfee8e08-9ca5-44af-bca5-2fddd1ee6083\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://e4168757%2D6312%2D468b%2Db63f%2D7e113676b6e0/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:21:53.679112879Z\",\"data\":{\"connected\":true},\"deviceuid\":\"96ce5865-f730-42d5-bfd5-e8727f3dc6df\",\"sender\":\"gateway1\",\"application\":\"e4168757-6312-468b-b63f-7e113676b6e0\",\"senderuid\":\"96ce5865-f730-42d5-bfd5-e8727f3dc6df\",\"partitionkey\":\"e4168757%2D6312%2D468b%2Db63f%2D7e113676b6e0/gateway1\",\"device\":\"gateway1\",\"applicationuid\":\"0eeb96cc-aecb-4a0a-b0b4-3aa09425dc5c\",\"instance\":\"drogue\"}" }
[2022-05-09T12:21:54Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:21:54Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 641, payload: 0x7f4b18011320, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/e4168757-6312-468b-b63f-7e113676b6e0", 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, 53, 49, 49, 102, 98, 51, 101, 97, 45, 48, 51, 57, 97, 45, 52, 102, 52, 53, 45, 56, 49, 100, 57, 45, 101, 52, 57, 98, 48, 48, 101, 57, 99, 54, 50, 51, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 101, 52, 49, 54, 56, 55, 53, 55, 37, 50, 68, 54, 51, 49, 50, 37, 50, 68, 52, 54, 56, 98, 37, 50, 68, 98, 54, 51, 102, 37, 50, 68, 55, 101, 49, 49, 51, 54, 55, 54, 98, 54, 101, 48, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 49, 58, 53, 52, 46, 50, 49, 55, 57, 55, 56, 56, 50, 56, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 101, 52, 49, 54, 56, 55, 53, 55, 37, 50, 68, 54, 51, 49, 50, 37, 50, 68, 52, 54, 56, 98, 37, 50, 68, 98, 54, 51, 102, 37, 50, 68, 55, 101, 49, 49, 51, 54, 55, 54, 98, 54, 101, 48, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 101, 52, 49, 54, 56, 55, 53, 55, 45, 54, 51, 49, 50, 45, 52, 54, 56, 98, 45, 98, 54, 51, 102, 45, 55, 101, 49, 49, 51, 54, 55, 54, 98, 54, 101, 48, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 57, 54, 99, 101, 53, 56, 54, 53, 45, 102, 55, 51, 48, 45, 52, 50, 100, 53, 45, 98, 102, 100, 53, 45, 101, 56, 55, 50, 55, 102, 51, 100, 99, 54, 100, 102, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 57, 54, 99, 101, 53, 56, 54, 53, 45, 102, 55, 51, 48, 45, 52, 50, 100, 53, 45, 98, 102, 100, 53, 45, 101, 56, 55, 50, 55, 102, 51, 100, 99, 54, 100, 102, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 48, 101, 101, 98, 57, 54, 99, 99, 45, 97, 101, 99, 98, 45, 52, 97, 48, 97, 45, 98, 48, 98, 52, 45, 51, 97, 97, 48, 57, 52, 50, 53, 100, 99, 53, 99, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:21:54Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/e4168757-6312-468b-b63f-7e113676b6e0", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"511fb3ea-039a-4f45-81d9-e49b00e9c623\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://e4168757%2D6312%2D468b%2Db63f%2D7e113676b6e0/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:21:54.217978828Z\",\"data\":{\"connected\":false},\"partitionkey\":\"e4168757%2D6312%2D468b%2Db63f%2D7e113676b6e0/gateway1\",\"instance\":\"drogue\",\"application\":\"e4168757-6312-468b-b63f-7e113676b6e0\",\"senderuid\":\"96ce5865-f730-42d5-bfd5-e8727f3dc6df\",\"deviceuid\":\"96ce5865-f730-42d5-bfd5-e8727f3dc6df\",\"sender\":\"gateway1\",\"device\":\"gateway1\",\"applicationuid\":\"0eeb96cc-aecb-4a0a-b0b4-3aa09425dc5c\"}" }
[2022-05-09T12:21:55Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 630, payload: 0x7f4b18010ca0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/e4168757-6312-468b-b63f-7e113676b6e0", 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, 57, 49, 101, 100, 52, 51, 51, 97, 45, 56, 50, 98, 99, 45, 52, 98, 100, 55, 45, 57, 51, 101, 48, 45, 100, 102, 51, 99, 101, 48, 49, 98, 53, 51, 51, 99, 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, 101, 52, 49, 54, 56, 55, 53, 55, 37, 50, 68, 54, 51, 49, 50, 37, 50, 68, 52, 54, 56, 98, 37, 50, 68, 98, 54, 51, 102, 37, 50, 68, 55, 101, 49, 49, 51, 54, 55, 54, 98, 54, 101, 48, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 49, 58, 53, 52, 46, 50, 49, 55, 56, 50, 52, 56, 56, 57, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 57, 54, 99, 101, 53, 56, 54, 53, 45, 102, 55, 51, 48, 45, 52, 50, 100, 53, 45, 98, 102, 100, 53, 45, 101, 56, 55, 50, 55, 102, 51, 100, 99, 54, 100, 102, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 101, 52, 49, 54, 56, 55, 53, 55, 37, 50, 68, 54, 51, 49, 50, 37, 50, 68, 52, 54, 56, 98, 37, 50, 68, 98, 54, 51, 102, 37, 50, 68, 55, 101, 49, 49, 51, 54, 55, 54, 98, 54, 101, 48, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 50, 53, 55, 53, 49, 97, 49, 101, 45, 51, 57, 101, 57, 45, 52, 101, 51, 55, 45, 98, 102, 98, 102, 45, 99, 56, 101, 55, 99, 99, 57, 97, 52, 57, 54, 98, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 48, 101, 101, 98, 57, 54, 99, 99, 45, 97, 101, 99, 98, 45, 52, 97, 48, 97, 45, 98, 48, 98, 52, 45, 51, 97, 97, 48, 57, 52, 50, 53, 100, 99, 53, 99, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 101, 52, 49, 54, 56, 55, 53, 55, 45, 54, 51, 49, 50, 45, 52, 54, 56, 98, 45, 98, 54, 51, 102, 45, 55, 101, 49, 49, 51, 54, 55, 54, 98, 54, 101, 48, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:21:55Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/e4168757-6312-468b-b63f-7e113676b6e0", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"91ed433a-82bc-4bd7-93e0-df3ce01b533c\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://e4168757%2D6312%2D468b%2Db63f%2D7e113676b6e0/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:21:54.217824889Z\",\"data_base64\":\"\",\"senderuid\":\"96ce5865-f730-42d5-bfd5-e8727f3dc6df\",\"device\":\"device1\",\"partitionkey\":\"e4168757%2D6312%2D468b%2Db63f%2D7e113676b6e0/device1\",\"deviceuid\":\"25751a1e-39e9-4e37-bfbf-c8e7cc9a496b\",\"instance\":\"drogue\",\"applicationuid\":\"0eeb96cc-aecb-4a0a-b0b4-3aa09425dc5c\",\"application\":\"e4168757-6312-468b-b63f-7e113676b6e0\",\"sender\":\"gateway1\"}" }
[2022-05-09T12:21:55Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:21:55Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:21:55Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:21:55Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
[2022-05-09T12:21:55Z DEBUG paho_mqtt::token] Token failure! 0x7f4b18012990, 0x7fffdf819270
[2022-05-09T12:21:55Z DEBUG paho_mqtt::token] Token completed with code: -11
[2022-05-09T12:21:55Z DEBUG paho_mqtt::token] Expecting server response for: None
[2022-05-09T12:21:55Z DEBUG paho_mqtt::token] Got response: ServerResponse { rsp: None, props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, reason_code: Success }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "e4168757-6312-468b-b63f-7e113676b6e0", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "e4168757-6312-468b-b63f-7e113676b6e0", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:21:55Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:21:55Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "e4168757-6312-468b-b63f-7e113676b6e0" "device1"
[2022-05-09T12:21:55Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:21:55Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:21:55Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "e4168757-6312-468b-b63f-7e113676b6e0" "gateway1"
[2022-05-09T12:21:55Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:21:55Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'e4168757-6312-468b-b63f-7e113676b6e0'
[2022-05-09T12:21:55Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "e4168757-6312-468b-b63f-7e113676b6e0"
[2022-05-09T12:21:55Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App e4168757-6312-468b-b63f-7e113676b6e0 deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_2::integration_version_1::integration_ws_2

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T12:21:57Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:21:57Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:21:57Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:21:57Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:21:57Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:21:58Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:21:59Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:21:59Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:21:59Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:21:59Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:22:02Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA3MjEsImlhdCI6MTY1MjA5ODkyMSwianRpIjoiMDJhYWM5OWQtMzljMC00YjMxLTgxNDAtZDRmOTkxNGM1MTgzIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlkwbjNINDJUczBwMHZEZGt5NVJ3NEEiLCJzZXNzaW9uX3N0YXRlIjoiMjFhYjE5MmItMWI2ZC00OTIxLTk0MGItMDc1N2QxOTBhZDI2Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjIxYWIxOTJiLTFiNmQtNDkyMS05NDBiLTA3NTdkMTkwYWQyNiJ9.ERLEyWmPhHk7I3D0RcYtHv4WHNSPuU5CigZdJn4I8ok
[2022-05-09T12:22:02Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:22:02Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:22:02Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA3MjEsImlhdCI6MTY1MjA5ODkyMSwianRpIjoiMDJhYWM5OWQtMzljMC00YjMxLTgxNDAtZDRmOTkxNGM1MTgzIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlkwbjNINDJUczBwMHZEZGt5NVJ3NEEiLCJzZXNzaW9uX3N0YXRlIjoiMjFhYjE5MmItMWI2ZC00OTIxLTk0MGItMDc1N2QxOTBhZDI2Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjIxYWIxOTJiLTFiNmQtNDkyMS05NDBiLTA3NTdkMTkwYWQyNiJ9.ERLEyWmPhHk7I3D0RcYtHv4WHNSPuU5CigZdJn4I8ok" "--context" "system-tests"
[2022-05-09T12:22:02Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:22:02Z INFO  drogue_cloud_tests::resources::apps] Create application: 1d0c08e1-6a77-438c-96bc-e9513b72e96c
[2022-05-09T12:22:02Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "1d0c08e1-6a77-438c-96bc-e9513b72e96c"
[2022-05-09T12:22:02Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 1d0c08e1-6a77-438c-96bc-e9513b72e96c created.\n", stderr: "" })
[2022-05-09T12:22:02Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "1d0c08e1-6a77-438c-96bc-e9513b72e96c"
[2022-05-09T12:22:02Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:22:02.796531Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"1d0c08e1-6a77-438c-96bc-e9513b72e96c\",\n    \"resourceVersion\": \"e3c502e3-ea2c-4fd0-b554-2ad2d6fd8bf9\",\n    \"uid\": \"0cf1f3b5-1ab1-4e6f-8af3-07271c68fc3d\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:22:02.815444723Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:22:02.815242645Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:02.815207238Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:02.815208080Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:02.815208541Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:02.815208992Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:02.815209633Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:02.815219231Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:22:02Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:22:02.796531Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("1d0c08e1-6a77-438c-96bc-e9513b72e96c"), "resourceVersion": String("e3c502e3-ea2c-4fd0-b554-2ad2d6fd8bf9"), "uid": String("0cf1f3b5-1ab1-4e6f-8af3-07271c68fc3d")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:22:02.815444723Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:22:02.815242645Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:22:02.815207238Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:22:02.815208080Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:22:02.815208541Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:22:02.815208992Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:22:02.815209633Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:22:02.815219231Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T12:22:02Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:22:03Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "1d0c08e1-6a77-438c-96bc-e9513b72e96c"
[2022-05-09T12:22:03Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:22:02.796531Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"1d0c08e1-6a77-438c-96bc-e9513b72e96c\",\n    \"resourceVersion\": \"3a35b78d-5c83-4054-8640-89eed2ceb387\",\n    \"uid\": \"0cf1f3b5-1ab1-4e6f-8af3-07271c68fc3d\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:22:03.158830734Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:22:03.158779208Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:02.844833501Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:02.878190890Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:02.952801965Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:02.959936503Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:03.158721029Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:03.158748641Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"woIT3U9mAxu1\",\n        \"username\": \"user-1d0c08e1-6a77-438c-96bc-e9513b72e96c\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:22:03Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:22:02.796531Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("1d0c08e1-6a77-438c-96bc-e9513b72e96c"), "resourceVersion": String("3a35b78d-5c83-4054-8640-89eed2ceb387"), "uid": String("0cf1f3b5-1ab1-4e6f-8af3-07271c68fc3d")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:22:03.158830734Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:22:03.158779208Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:22:02.844833501Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:22:02.878190890Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:22:02.952801965Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:22:02.959936503Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:22:03.158721029Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:22:03.158748641Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("woIT3U9mAxu1"), "username": String("user-1d0c08e1-6a77-438c-96bc-e9513b72e96c")})})})})
[2022-05-09T12:22:03Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:22:03Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "1d0c08e1-6a77-438c-96bc-e9513b72e96c"
[2022-05-09T12:22:03Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:22:02.796531Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"1d0c08e1-6a77-438c-96bc-e9513b72e96c\",\n    \"resourceVersion\": \"3a35b78d-5c83-4054-8640-89eed2ceb387\",\n    \"uid\": \"0cf1f3b5-1ab1-4e6f-8af3-07271c68fc3d\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:22:03.158830734Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:22:03.158779208Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:02.844833501Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:02.878190890Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:02.952801965Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:02.959936503Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:03.158721029Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:03.158748641Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"woIT3U9mAxu1\",\n        \"username\": \"user-1d0c08e1-6a77-438c-96bc-e9513b72e96c\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:22:03Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:22:02.796531Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("1d0c08e1-6a77-438c-96bc-e9513b72e96c"), "resourceVersion": String("3a35b78d-5c83-4054-8640-89eed2ceb387"), "uid": String("0cf1f3b5-1ab1-4e6f-8af3-07271c68fc3d")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:22:03.158830734Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:22:03.158779208Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:22:02.844833501Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:22:02.878190890Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:22:02.952801965Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:22:02.959936503Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:22:03.158721029Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:22:03.158748641Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("woIT3U9mAxu1"), "username": String("user-1d0c08e1-6a77-438c-96bc-e9513b72e96c")})})})})
[2022-05-09T12:22:03Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:22:03Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:22:03Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "1d0c08e1-6a77-438c-96bc-e9513b72e96c" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:22:03Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:22:03Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:22:03Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:22:03Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:22:03Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkyMjIsImlhdCI6MTY1MjA5ODkyMiwiYXV0aF90aW1lIjoxNjUyMDk4OTE5LCJqdGkiOiJhZGU3YTFjNC00M2VmLTQ5ZTYtOWQ5Zi1hNzg1Njc3MTViNDEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJZMG4zSDQyVHMwcDB2RGRreTVSdzRBIiwic2Vzc2lvbl9zdGF0ZSI6IjIxYWIxOTJiLTFiNmQtNDkyMS05NDBiLTA3NTdkMTkwYWQyNiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjIxYWIxOTJiLTFiNmQtNDkyMS05NDBiLTA3NTdkMTkwYWQyNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.GTpGf7nPRbzWNgJxFY3aPYxUyK6lYDHO2UdkxPN_41E6j3u6dEi93N6bhOqINWLgk_8Ez4rTKrtbOfrZQfjaweCh5UeiyjENcIt2jaCXV05qlHQHSZ9EorxDXUIZT0rfsIpM7dyGSFOs93cIPJLCpK2eKCmm2HftK43zDsT3yanO4T6qqHWRAcVxG1UsAjbkmzhk0bFe8smirD9w_2OFO2RIS6r2Muuy97aiqftkcNc_9pyVcz7OGNoF3hPRKVBmAdi0CpBP-rnQVcun46S7cqSk6TuN6JFraoSPNM0ewk7cN8oKw4EZ1cphsdjv1nQ3pp5gSEtZL9sL_ZrzoGAO8Q\n", stderr: "" })
[2022-05-09T12:22:03Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:22:03Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:22:03Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:22:03Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "1d0c08e1-6a77-438c-96bc-e9513b72e96c" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:22:03Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:22:03Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T12:22:03Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:22:03Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkyMjIsImlhdCI6MTY1MjA5ODkyMiwiYXV0aF90aW1lIjoxNjUyMDk4OTE5LCJqdGkiOiJhZGU3YTFjNC00M2VmLTQ5ZTYtOWQ5Zi1hNzg1Njc3MTViNDEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJZMG4zSDQyVHMwcDB2RGRreTVSdzRBIiwic2Vzc2lvbl9zdGF0ZSI6IjIxYWIxOTJiLTFiNmQtNDkyMS05NDBiLTA3NTdkMTkwYWQyNiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjIxYWIxOTJiLTFiNmQtNDkyMS05NDBiLTA3NTdkMTkwYWQyNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.GTpGf7nPRbzWNgJxFY3aPYxUyK6lYDHO2UdkxPN_41E6j3u6dEi93N6bhOqINWLgk_8Ez4rTKrtbOfrZQfjaweCh5UeiyjENcIt2jaCXV05qlHQHSZ9EorxDXUIZT0rfsIpM7dyGSFOs93cIPJLCpK2eKCmm2HftK43zDsT3yanO4T6qqHWRAcVxG1UsAjbkmzhk0bFe8smirD9w_2OFO2RIS6r2Muuy97aiqftkcNc_9pyVcz7OGNoF3hPRKVBmAdi0CpBP-rnQVcun46S7cqSk6TuN6JFraoSPNM0ewk7cN8oKw4EZ1cphsdjv1nQ3pp5gSEtZL9sL_ZrzoGAO8Q\n", stderr: "" })
[2022-05-09T12:22:03Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "3ba02797-e421-41e4-bd4c-e4048a0dff19", persistence: None, user_data: None }
[2022-05-09T12:22:03Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:22:03Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717aa8880
[2022-05-09T12:22:03Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717aa8880
[2022-05-09T12:22:03Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717d060b0, connectTimeout: 30, retryInterval: 0, ssl: 0x561717ad4d50, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717d06a40, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkyMjIsImlhdCI6MTY1MjA5ODkyMiwiYXV0aF90aW1lIjoxNjUyMDk4OTE5LCJqdGkiOiJhZGU3YTFjNC00M2VmLTQ5ZTYtOWQ5Zi1hNzg1Njc3MTViNDEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJZMG4zSDQyVHMwcDB2RGRreTVSdzRBIiwic2Vzc2lvbl9zdGF0ZSI6IjIxYWIxOTJiLTFiNmQtNDkyMS05NDBiLTA3NTdkMTkwYWQyNiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjIxYWIxOTJiLTFiNmQtNDkyMS05NDBiLTA3NTdkMTkwYWQyNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.GTpGf7nPRbzWNgJxFY3aPYxUyK6lYDHO2UdkxPN_41E6j3u6dEi93N6bhOqINWLgk_8Ez4rTKrtbOfrZQfjaweCh5UeiyjENcIt2jaCXV05qlHQHSZ9EorxDXUIZT0rfsIpM7dyGSFOs93cIPJLCpK2eKCmm2HftK43zDsT3yanO4T6qqHWRAcVxG1UsAjbkmzhk0bFe8smirD9w_2OFO2RIS6r2Muuy97aiqftkcNc_9pyVcz7OGNoF3hPRKVBmAdi0CpBP-rnQVcun46S7cqSk6TuN6JFraoSPNM0ewk7cN8oKw4EZ1cphsdjv1nQ3pp5gSEtZL9sL_ZrzoGAO8Q"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:22:03Z DEBUG paho_mqtt::async_client] Subscribe to '"app/1d0c08e1-6a77-438c-96bc-e9513b72e96c"' @ QOS 0
[2022-05-09T12:22:03Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:22:03Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:22:03Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:22:03Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:22:03Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:22:04Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:22:05Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:22:05Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:22:05Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:22:05Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:22:06Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:22:06Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:22:06Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:22:06Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:22:07Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:22:07Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:22:07Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:22:07Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:22:07Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 621, payload: 0x7f4b1c015dc0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/1d0c08e1-6a77-438c-96bc-e9513b72e96c", 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, 57, 100, 51, 50, 97, 98, 56, 48, 45, 100, 53, 102, 50, 45, 52, 51, 50, 52, 45, 97, 102, 101, 54, 45, 52, 56, 101, 97, 56, 48, 55, 53, 48, 98, 102, 48, 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, 49, 100, 48, 99, 48, 56, 101, 49, 37, 50, 68, 54, 97, 55, 55, 37, 50, 68, 52, 51, 56, 99, 37, 50, 68, 57, 54, 98, 99, 37, 50, 68, 101, 57, 53, 49, 51, 98, 55, 50, 101, 57, 54, 99, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 50, 58, 48, 55, 46, 53, 55, 57, 49, 51, 53, 51, 56, 50, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 49, 100, 48, 99, 48, 56, 101, 49, 45, 54, 97, 55, 55, 45, 52, 51, 56, 99, 45, 57, 54, 98, 99, 45, 101, 57, 53, 49, 51, 98, 55, 50, 101, 57, 54, 99, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 102, 50, 53, 56, 52, 57, 55, 55, 45, 99, 100, 99, 50, 45, 52, 102, 53, 52, 45, 56, 49, 49, 100, 45, 49, 57, 52, 97, 53, 49, 100, 48, 97, 50, 101, 99, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 49, 100, 48, 99, 48, 56, 101, 49, 37, 50, 68, 54, 97, 55, 55, 37, 50, 68, 52, 51, 56, 99, 37, 50, 68, 57, 54, 98, 99, 37, 50, 68, 101, 57, 53, 49, 51, 98, 55, 50, 101, 57, 54, 99, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 48, 99, 102, 49, 102, 51, 98, 53, 45, 49, 97, 98, 49, 45, 52, 101, 54, 102, 45, 56, 97, 102, 51, 45, 48, 55, 50, 55, 49, 99, 54, 56, 102, 99, 51, 100, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 51, 55, 56, 49, 55, 53, 99, 56, 45, 53, 56, 101, 101, 45, 52, 51, 101, 100, 45, 57, 49, 100, 102, 45, 102, 57, 51, 48, 57, 56, 49, 50, 53, 54, 49, 55, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:22:07Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/1d0c08e1-6a77-438c-96bc-e9513b72e96c", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"9d32ab80-d5f2-4324-afe6-48ea80750bf0\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://1d0c08e1%2D6a77%2D438c%2D96bc%2De9513b72e96c/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:22:07.579135382Z\",\"data\":{\"index\":3},\"application\":\"1d0c08e1-6a77-438c-96bc-e9513b72e96c\",\"deviceuid\":\"f2584977-cdc2-4f54-811d-194a51d0a2ec\",\"sender\":\"gateway1\",\"partitionkey\":\"1d0c08e1%2D6a77%2D438c%2D96bc%2De9513b72e96c/device1\",\"instance\":\"drogue\",\"device\":\"device1\",\"applicationuid\":\"0cf1f3b5-1ab1-4e6f-8af3-07271c68fc3d\",\"senderuid\":\"378175c8-58ee-43ed-91df-f93098125617\"}" }
[2022-05-09T12:22:08Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:22:08Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:22:08Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:22:08Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:22:08Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "d340c161-d74f-4394-b9dd-81b9235d8334", persistence: None, user_data: None }
[2022-05-09T12:22:08Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:22:08Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717ae2db0
[2022-05-09T12:22:08Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717ae2db0
[2022-05-09T12:22:08Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x561717d21250, password: 0x5617179e1d40, connectTimeout: 30, retryInterval: 0, ssl: 0x561717cced00, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717d21290, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@1d0c08e1-6a77-438c-96bc-e9513b72e96c"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:22:09Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717881fe0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717881fe0 } } } }
[2022-05-09T12:22:09Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 640, payload: 0x7f4b1c02b0f0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/1d0c08e1-6a77-438c-96bc-e9513b72e96c", 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, 50, 100, 56, 101, 102, 56, 55, 102, 45, 54, 56, 48, 57, 45, 52, 49, 55, 54, 45, 98, 102, 99, 53, 45, 53, 100, 99, 54, 54, 52, 56, 101, 97, 55, 98, 56, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 49, 100, 48, 99, 48, 56, 101, 49, 37, 50, 68, 54, 97, 55, 55, 37, 50, 68, 52, 51, 56, 99, 37, 50, 68, 57, 54, 98, 99, 37, 50, 68, 101, 57, 53, 49, 51, 98, 55, 50, 101, 57, 54, 99, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 50, 58, 48, 56, 46, 54, 57, 53, 51, 54, 52, 48, 56, 57, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 51, 55, 56, 49, 55, 53, 99, 56, 45, 53, 56, 101, 101, 45, 52, 51, 101, 100, 45, 57, 49, 100, 102, 45, 102, 57, 51, 48, 57, 56, 49, 50, 53, 54, 49, 55, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 49, 100, 48, 99, 48, 56, 101, 49, 45, 54, 97, 55, 55, 45, 52, 51, 56, 99, 45, 57, 54, 98, 99, 45, 101, 57, 53, 49, 51, 98, 55, 50, 101, 57, 54, 99, 34, 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, 49, 100, 48, 99, 48, 56, 101, 49, 37, 50, 68, 54, 97, 55, 55, 37, 50, 68, 52, 51, 56, 99, 37, 50, 68, 57, 54, 98, 99, 37, 50, 68, 101, 57, 53, 49, 51, 98, 55, 50, 101, 57, 54, 99, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 48, 99, 102, 49, 102, 51, 98, 53, 45, 49, 97, 98, 49, 45, 52, 101, 54, 102, 45, 56, 97, 102, 51, 45, 48, 55, 50, 55, 49, 99, 54, 56, 102, 99, 51, 100, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 51, 55, 56, 49, 55, 53, 99, 56, 45, 53, 56, 101, 101, 45, 52, 51, 101, 100, 45, 57, 49, 100, 102, 45, 102, 57, 51, 48, 57, 56, 49, 50, 53, 54, 49, 55, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:22:09Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/1d0c08e1-6a77-438c-96bc-e9513b72e96c", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"2d8ef87f-6809-4176-bfc5-5dc6648ea7b8\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://1d0c08e1%2D6a77%2D438c%2D96bc%2De9513b72e96c/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:22:08.695364089Z\",\"data\":{\"connected\":true},\"device\":\"gateway1\",\"deviceuid\":\"378175c8-58ee-43ed-91df-f93098125617\",\"sender\":\"gateway1\",\"application\":\"1d0c08e1-6a77-438c-96bc-e9513b72e96c\",\"instance\":\"drogue\",\"partitionkey\":\"1d0c08e1%2D6a77%2D438c%2D96bc%2De9513b72e96c/gateway1\",\"applicationuid\":\"0cf1f3b5-1ab1-4e6f-8af3-07271c68fc3d\",\"senderuid\":\"378175c8-58ee-43ed-91df-f93098125617\"}" }
[2022-05-09T12:22:09Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:22:10Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 630, payload: 0x7f4b1c02b380, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/1d0c08e1-6a77-438c-96bc-e9513b72e96c", 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, 57, 55, 101, 56, 102, 101, 57, 101, 45, 99, 52, 101, 53, 45, 52, 52, 54, 99, 45, 98, 56, 101, 100, 45, 98, 50, 56, 50, 50, 49, 55, 99, 51, 97, 51, 48, 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, 49, 100, 48, 99, 48, 56, 101, 49, 37, 50, 68, 54, 97, 55, 55, 37, 50, 68, 52, 51, 56, 99, 37, 50, 68, 57, 54, 98, 99, 37, 50, 68, 101, 57, 53, 49, 51, 98, 55, 50, 101, 57, 54, 99, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 50, 58, 48, 57, 46, 50, 50, 52, 50, 53, 57, 49, 53, 50, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 51, 55, 56, 49, 55, 53, 99, 56, 45, 53, 56, 101, 101, 45, 52, 51, 101, 100, 45, 57, 49, 100, 102, 45, 102, 57, 51, 48, 57, 56, 49, 50, 53, 54, 49, 55, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 102, 50, 53, 56, 52, 57, 55, 55, 45, 99, 100, 99, 50, 45, 52, 102, 53, 52, 45, 56, 49, 49, 100, 45, 49, 57, 52, 97, 53, 49, 100, 48, 97, 50, 101, 99, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 49, 100, 48, 99, 48, 56, 101, 49, 45, 54, 97, 55, 55, 45, 52, 51, 56, 99, 45, 57, 54, 98, 99, 45, 101, 57, 53, 49, 51, 98, 55, 50, 101, 57, 54, 99, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 49, 100, 48, 99, 48, 56, 101, 49, 37, 50, 68, 54, 97, 55, 55, 37, 50, 68, 52, 51, 56, 99, 37, 50, 68, 57, 54, 98, 99, 37, 50, 68, 101, 57, 53, 49, 51, 98, 55, 50, 101, 57, 54, 99, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 48, 99, 102, 49, 102, 51, 98, 53, 45, 49, 97, 98, 49, 45, 52, 101, 54, 102, 45, 56, 97, 102, 51, 45, 48, 55, 50, 55, 49, 99, 54, 56, 102, 99, 51, 100, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:22:10Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/1d0c08e1-6a77-438c-96bc-e9513b72e96c", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"97e8fe9e-c4e5-446c-b8ed-b282217c3a30\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://1d0c08e1%2D6a77%2D438c%2D96bc%2De9513b72e96c/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:22:09.224259152Z\",\"data_base64\":\"\",\"senderuid\":\"378175c8-58ee-43ed-91df-f93098125617\",\"deviceuid\":\"f2584977-cdc2-4f54-811d-194a51d0a2ec\",\"sender\":\"gateway1\",\"device\":\"device1\",\"application\":\"1d0c08e1-6a77-438c-96bc-e9513b72e96c\",\"partitionkey\":\"1d0c08e1%2D6a77%2D438c%2D96bc%2De9513b72e96c/device1\",\"applicationuid\":\"0cf1f3b5-1ab1-4e6f-8af3-07271c68fc3d\",\"instance\":\"drogue\"}" }
[2022-05-09T12:22:10Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 641, payload: 0x7f4b1c02b8c0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/1d0c08e1-6a77-438c-96bc-e9513b72e96c", 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, 49, 97, 55, 98, 52, 101, 48, 100, 45, 56, 52, 52, 56, 45, 52, 48, 52, 56, 45, 98, 100, 54, 52, 45, 48, 99, 54, 102, 48, 49, 48, 54, 56, 52, 100, 101, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 49, 100, 48, 99, 48, 56, 101, 49, 37, 50, 68, 54, 97, 55, 55, 37, 50, 68, 52, 51, 56, 99, 37, 50, 68, 57, 54, 98, 99, 37, 50, 68, 101, 57, 53, 49, 51, 98, 55, 50, 101, 57, 54, 99, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 50, 58, 49, 48, 46, 49, 50, 49, 56, 51, 48, 48, 50, 56, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 51, 55, 56, 49, 55, 53, 99, 56, 45, 53, 56, 101, 101, 45, 52, 51, 101, 100, 45, 57, 49, 100, 102, 45, 102, 57, 51, 48, 57, 56, 49, 50, 53, 54, 49, 55, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 51, 55, 56, 49, 55, 53, 99, 56, 45, 53, 56, 101, 101, 45, 52, 51, 101, 100, 45, 57, 49, 100, 102, 45, 102, 57, 51, 48, 57, 56, 49, 50, 53, 54, 49, 55, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 48, 99, 102, 49, 102, 51, 98, 53, 45, 49, 97, 98, 49, 45, 52, 101, 54, 102, 45, 56, 97, 102, 51, 45, 48, 55, 50, 55, 49, 99, 54, 56, 102, 99, 51, 100, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 49, 100, 48, 99, 48, 56, 101, 49, 37, 50, 68, 54, 97, 55, 55, 37, 50, 68, 52, 51, 56, 99, 37, 50, 68, 57, 54, 98, 99, 37, 50, 68, 101, 57, 53, 49, 51, 98, 55, 50, 101, 57, 54, 99, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 49, 100, 48, 99, 48, 56, 101, 49, 45, 54, 97, 55, 55, 45, 52, 51, 56, 99, 45, 57, 54, 98, 99, 45, 101, 57, 53, 49, 51, 98, 55, 50, 101, 57, 54, 99, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:22:10Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/1d0c08e1-6a77-438c-96bc-e9513b72e96c", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"1a7b4e0d-8448-4048-bd64-0c6f010684de\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://1d0c08e1%2D6a77%2D438c%2D96bc%2De9513b72e96c/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:22:10.121830028Z\",\"data\":{\"connected\":false},\"deviceuid\":\"378175c8-58ee-43ed-91df-f93098125617\",\"senderuid\":\"378175c8-58ee-43ed-91df-f93098125617\",\"instance\":\"drogue\",\"applicationuid\":\"0cf1f3b5-1ab1-4e6f-8af3-07271c68fc3d\",\"partitionkey\":\"1d0c08e1%2D6a77%2D438c%2D96bc%2De9513b72e96c/gateway1\",\"sender\":\"gateway1\",\"application\":\"1d0c08e1-6a77-438c-96bc-e9513b72e96c\",\"device\":\"gateway1\"}" }
[2022-05-09T12:22:10Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:22:10Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:22:10Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:22:10Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "1d0c08e1-6a77-438c-96bc-e9513b72e96c", device: "device1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "1d0c08e1-6a77-438c-96bc-e9513b72e96c", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:22:10Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:22:10Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "1d0c08e1-6a77-438c-96bc-e9513b72e96c" "device1"
[2022-05-09T12:22:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:22:10Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:22:10Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "1d0c08e1-6a77-438c-96bc-e9513b72e96c" "gateway1"
[2022-05-09T12:22:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:22:10Z INFO  drogue_cloud_tests::resources::apps] Destroy application '1d0c08e1-6a77-438c-96bc-e9513b72e96c'
[2022-05-09T12:22:10Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "1d0c08e1-6a77-438c-96bc-e9513b72e96c"
[2022-05-09T12:22:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 1d0c08e1-6a77-438c-96bc-e9513b72e96c deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_2::integration_version_2::integration_ws_1

Duration: 15s

Test output
-------------- TEST START --------------
[2022-05-09T12:22:12Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:22:12Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:22:12Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:22:12Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:22:12Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:22:13Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:22:14Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:22:14Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:22:14Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:22:14Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:22:16Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA3MzYsImlhdCI6MTY1MjA5ODkzNiwianRpIjoiMzI3ZGEwYjgtYjI2My00ZmQ2LWIwMzMtNDc5Nzc2ZWJlYzg0IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ik5zS1lsSk9lcWxJZF82ZTdfejFGRUEiLCJzZXNzaW9uX3N0YXRlIjoiMjAzNDIzY2QtZmJiZi00YjY5LTkwNGItOGJhMjQ2YzkxZmVlIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjIwMzQyM2NkLWZiYmYtNGI2OS05MDRiLThiYTI0NmM5MWZlZSJ9.LskNxHOJcHpuF-MpAyjAZleMtDhQXtq-lbPXVA9g5Xk
[2022-05-09T12:22:16Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:22:16Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:22:16Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA3MzYsImlhdCI6MTY1MjA5ODkzNiwianRpIjoiMzI3ZGEwYjgtYjI2My00ZmQ2LWIwMzMtNDc5Nzc2ZWJlYzg0IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ik5zS1lsSk9lcWxJZF82ZTdfejFGRUEiLCJzZXNzaW9uX3N0YXRlIjoiMjAzNDIzY2QtZmJiZi00YjY5LTkwNGItOGJhMjQ2YzkxZmVlIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjIwMzQyM2NkLWZiYmYtNGI2OS05MDRiLThiYTI0NmM5MWZlZSJ9.LskNxHOJcHpuF-MpAyjAZleMtDhQXtq-lbPXVA9g5Xk" "--context" "system-tests"
[2022-05-09T12:22:16Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:22:17Z INFO  drogue_cloud_tests::resources::apps] Create application: 9548950b-d2ad-46e7-9c6e-87c5cab09efb
[2022-05-09T12:22:17Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "9548950b-d2ad-46e7-9c6e-87c5cab09efb"
[2022-05-09T12:22:17Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 9548950b-d2ad-46e7-9c6e-87c5cab09efb created.\n", stderr: "" })
[2022-05-09T12:22:17Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "9548950b-d2ad-46e7-9c6e-87c5cab09efb"
[2022-05-09T12:22:17Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:22:17.617172Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"9548950b-d2ad-46e7-9c6e-87c5cab09efb\",\n    \"resourceVersion\": \"23a246b8-4eb5-4227-913c-505d5dd9b2ca\",\n    \"uid\": \"19081979-c3d7-45e9-a5a2-d41bd3790926\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:22:17.635387271Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:22:17.635364118Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:17.635310066Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:17.635310767Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:17.635311219Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:17.635311629Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:17.635312210Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:17.635342377Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:22:17Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:22:17.617172Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("9548950b-d2ad-46e7-9c6e-87c5cab09efb"), "resourceVersion": String("23a246b8-4eb5-4227-913c-505d5dd9b2ca"), "uid": String("19081979-c3d7-45e9-a5a2-d41bd3790926")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:22:17.635387271Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:22:17.635364118Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:22:17.635310066Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:22:17.635310767Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:22:17.635311219Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:22:17.635311629Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:22:17.635312210Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:22:17.635342377Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T12:22:17Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:22:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "9548950b-d2ad-46e7-9c6e-87c5cab09efb"
[2022-05-09T12:22:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:22:17.617172Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"9548950b-d2ad-46e7-9c6e-87c5cab09efb\",\n    \"resourceVersion\": \"c323e459-aece-4344-835c-d6be3cb411b8\",\n    \"uid\": \"19081979-c3d7-45e9-a5a2-d41bd3790926\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:22:17.957828388Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:22:17.957675060Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:17.652636546Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:17.659358540Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:17.812177685Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:17.822313941Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:17.957580583Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:17.957630256Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"WPkktffprHcE\",\n        \"username\": \"user-9548950b-d2ad-46e7-9c6e-87c5cab09efb\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:22:18Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:22:17.617172Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("9548950b-d2ad-46e7-9c6e-87c5cab09efb"), "resourceVersion": String("c323e459-aece-4344-835c-d6be3cb411b8"), "uid": String("19081979-c3d7-45e9-a5a2-d41bd3790926")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:22:17.957828388Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:22:17.957675060Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:22:17.652636546Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:22:17.659358540Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:22:17.812177685Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:22:17.822313941Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:22:17.957580583Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:22:17.957630256Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("WPkktffprHcE"), "username": String("user-9548950b-d2ad-46e7-9c6e-87c5cab09efb")})})})})
[2022-05-09T12:22:18Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:22:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "9548950b-d2ad-46e7-9c6e-87c5cab09efb"
[2022-05-09T12:22:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:22:17.617172Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"9548950b-d2ad-46e7-9c6e-87c5cab09efb\",\n    \"resourceVersion\": \"c323e459-aece-4344-835c-d6be3cb411b8\",\n    \"uid\": \"19081979-c3d7-45e9-a5a2-d41bd3790926\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:22:17.957828388Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:22:17.957675060Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:17.652636546Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:17.659358540Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:17.812177685Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:17.822313941Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:17.957580583Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:17.957630256Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"WPkktffprHcE\",\n        \"username\": \"user-9548950b-d2ad-46e7-9c6e-87c5cab09efb\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:22:18Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:22:17.617172Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("9548950b-d2ad-46e7-9c6e-87c5cab09efb"), "resourceVersion": String("c323e459-aece-4344-835c-d6be3cb411b8"), "uid": String("19081979-c3d7-45e9-a5a2-d41bd3790926")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:22:17.957828388Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:22:17.957675060Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:22:17.652636546Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:22:17.659358540Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:22:17.812177685Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:22:17.822313941Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:22:17.957580583Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:22:17.957630256Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("WPkktffprHcE"), "username": String("user-9548950b-d2ad-46e7-9c6e-87c5cab09efb")})})})})
[2022-05-09T12:22:18Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:22:18Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:22:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "9548950b-d2ad-46e7-9c6e-87c5cab09efb" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:22:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:22:18Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:22:18Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:22:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:22:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkyMzYsImlhdCI6MTY1MjA5ODkzNiwiYXV0aF90aW1lIjoxNjUyMDk4OTMzLCJqdGkiOiIxYzUzZWUyYy1jZTQ2LTQwMTUtOTVkNS1kYjQxMzBmOTdiNjEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJOc0tZbEpPZXFsSWRfNmU3X3oxRkVBIiwic2Vzc2lvbl9zdGF0ZSI6IjIwMzQyM2NkLWZiYmYtNGI2OS05MDRiLThiYTI0NmM5MWZlZSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjIwMzQyM2NkLWZiYmYtNGI2OS05MDRiLThiYTI0NmM5MWZlZSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.EY3vl_1llDclntPVgOPIpqS-DJQHUJA1o37FNcGZEicJBUnER3BrOXA17qiwGtSm1cGQm-CV8X1wsxr177d0ItR5Q5PZWdz23rH0F9B-LGaluEvzw0Ef5nKjjEWh6fz58Z9BWY0MimP3bAD8SMrO7sGNAIJvoFHBCU6UaXWUwh14LEg7u38c408WxnvTtOTqLSsLOfL-fUi8QMab7vYdur-96JQb7t9iygdx_xP3T8gpqp6vRgWOiwVJMowMr8g5eL3p7qXhLfZ9dE2bBUipHztio1G-EBopZhlz9BjBi0GmM5PmjX4ihE_RaGsbWcrjvDp0QY64GyypwdeBPHwK3Q\n", stderr: "" })
[2022-05-09T12:22:18Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:22:18Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:22:18Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:22:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "9548950b-d2ad-46e7-9c6e-87c5cab09efb" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:22:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:22:18Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T12:22:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:22:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkyMzYsImlhdCI6MTY1MjA5ODkzNiwiYXV0aF90aW1lIjoxNjUyMDk4OTMzLCJqdGkiOiIxYzUzZWUyYy1jZTQ2LTQwMTUtOTVkNS1kYjQxMzBmOTdiNjEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJOc0tZbEpPZXFsSWRfNmU3X3oxRkVBIiwic2Vzc2lvbl9zdGF0ZSI6IjIwMzQyM2NkLWZiYmYtNGI2OS05MDRiLThiYTI0NmM5MWZlZSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjIwMzQyM2NkLWZiYmYtNGI2OS05MDRiLThiYTI0NmM5MWZlZSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.EY3vl_1llDclntPVgOPIpqS-DJQHUJA1o37FNcGZEicJBUnER3BrOXA17qiwGtSm1cGQm-CV8X1wsxr177d0ItR5Q5PZWdz23rH0F9B-LGaluEvzw0Ef5nKjjEWh6fz58Z9BWY0MimP3bAD8SMrO7sGNAIJvoFHBCU6UaXWUwh14LEg7u38c408WxnvTtOTqLSsLOfL-fUi8QMab7vYdur-96JQb7t9iygdx_xP3T8gpqp6vRgWOiwVJMowMr8g5eL3p7qXhLfZ9dE2bBUipHztio1G-EBopZhlz9BjBi0GmM5PmjX4ihE_RaGsbWcrjvDp0QY64GyypwdeBPHwK3Q\n", stderr: "" })
[2022-05-09T12:22:18Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "03a8a7a6-0e3c-4324-bb61-f3b7fbdd0700", persistence: None, user_data: None }
[2022-05-09T12:22:18Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:22:18Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717d05a60
[2022-05-09T12:22:18Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717d05a60
[2022-05-09T12:22:18Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717d05da0, connectTimeout: 30, retryInterval: 0, ssl: 0x561717a70260, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717ba5f20, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkyMzYsImlhdCI6MTY1MjA5ODkzNiwiYXV0aF90aW1lIjoxNjUyMDk4OTMzLCJqdGkiOiIxYzUzZWUyYy1jZTQ2LTQwMTUtOTVkNS1kYjQxMzBmOTdiNjEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJOc0tZbEpPZXFsSWRfNmU3X3oxRkVBIiwic2Vzc2lvbl9zdGF0ZSI6IjIwMzQyM2NkLWZiYmYtNGI2OS05MDRiLThiYTI0NmM5MWZlZSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjIwMzQyM2NkLWZiYmYtNGI2OS05MDRiLThiYTI0NmM5MWZlZSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.EY3vl_1llDclntPVgOPIpqS-DJQHUJA1o37FNcGZEicJBUnER3BrOXA17qiwGtSm1cGQm-CV8X1wsxr177d0ItR5Q5PZWdz23rH0F9B-LGaluEvzw0Ef5nKjjEWh6fz58Z9BWY0MimP3bAD8SMrO7sGNAIJvoFHBCU6UaXWUwh14LEg7u38c408WxnvTtOTqLSsLOfL-fUi8QMab7vYdur-96JQb7t9iygdx_xP3T8gpqp6vRgWOiwVJMowMr8g5eL3p7qXhLfZ9dE2bBUipHztio1G-EBopZhlz9BjBi0GmM5PmjX4ihE_RaGsbWcrjvDp0QY64GyypwdeBPHwK3Q"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:22:18Z DEBUG paho_mqtt::async_client] Subscribe to '"app/9548950b-d2ad-46e7-9c6e-87c5cab09efb"' @ QOS 0
[2022-05-09T12:22:18Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:22:18Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:22:18Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:22:18Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:22:18Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:22:19Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:22:20Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:22:20Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:22:20Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:22:20Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:22:21Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:22:21Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:22:21Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:22:21Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:22:22Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:22:22Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:22:22Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:22:22Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:22:22Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 621, payload: 0x7f4b1c003500, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c003780 } }, data: MessageData { topic: "app/9548950b-d2ad-46e7-9c6e-87c5cab09efb", 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, 100, 97, 51, 54, 50, 50, 52, 56, 45, 51, 48, 100, 100, 45, 52, 97, 101, 49, 45, 56, 56, 99, 49, 45, 50, 51, 51, 98, 98, 55, 50, 56, 54, 101, 56, 51, 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, 57, 53, 52, 56, 57, 53, 48, 98, 37, 50, 68, 100, 50, 97, 100, 37, 50, 68, 52, 54, 101, 55, 37, 50, 68, 57, 99, 54, 101, 37, 50, 68, 56, 55, 99, 53, 99, 97, 98, 48, 57, 101, 102, 98, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 50, 58, 50, 50, 46, 53, 54, 49, 53, 49, 48, 51, 52, 54, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 57, 53, 52, 56, 57, 53, 48, 98, 37, 50, 68, 100, 50, 97, 100, 37, 50, 68, 52, 54, 101, 55, 37, 50, 68, 57, 99, 54, 101, 37, 50, 68, 56, 55, 99, 53, 99, 97, 98, 48, 57, 101, 102, 98, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 51, 51, 101, 99, 98, 100, 102, 101, 45, 53, 48, 53, 51, 45, 52, 99, 102, 49, 45, 56, 56, 55, 98, 45, 57, 97, 100, 53, 57, 55, 97, 53, 57, 48, 100, 102, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 48, 52, 55, 99, 54, 100, 53, 53, 45, 53, 99, 52, 50, 45, 52, 102, 50, 55, 45, 97, 55, 52, 57, 45, 55, 52, 51, 49, 56, 56, 50, 100, 102, 51, 48, 100, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 57, 53, 52, 56, 57, 53, 48, 98, 45, 100, 50, 97, 100, 45, 52, 54, 101, 55, 45, 57, 99, 54, 101, 45, 56, 55, 99, 53, 99, 97, 98, 48, 57, 101, 102, 98, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 49, 57, 48, 56, 49, 57, 55, 57, 45, 99, 51, 100, 55, 45, 52, 53, 101, 57, 45, 97, 53, 97, 50, 45, 100, 52, 49, 98, 100, 51, 55, 57, 48, 57, 50, 54, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c003780 } } } }
[2022-05-09T12:22:22Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b30003850
[2022-05-09T12:22:22Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/9548950b-d2ad-46e7-9c6e-87c5cab09efb", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"da362248-30dd-4ae1-88c1-233bb7286e83\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://9548950b%2Dd2ad%2D46e7%2D9c6e%2D87c5cab09efb/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:22:22.561510346Z\",\"data\":{\"index\":3},\"partitionkey\":\"9548950b%2Dd2ad%2D46e7%2D9c6e%2D87c5cab09efb/device1\",\"deviceuid\":\"33ecbdfe-5053-4cf1-887b-9ad597a590df\",\"senderuid\":\"047c6d55-5c42-4f27-a749-7431882df30d\",\"instance\":\"drogue\",\"application\":\"9548950b-d2ad-46e7-9c6e-87c5cab09efb\",\"sender\":\"gateway1\",\"device\":\"device1\",\"applicationuid\":\"19081979-c3d7-45e9-a5a2-d41bd3790926\"}" }
[2022-05-09T12:22:23Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:22:23Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:22:23Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:22:23Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:22:23Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "5b3350aa-4478-4905-aa53-1ac2a6af597a", persistence: None, user_data: None }
[2022-05-09T12:22:23Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:22:23Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x5617179e3540
[2022-05-09T12:22:23Z DEBUG paho_mqtt::async_client] Connecting handle: 0x5617179e3540
[2022-05-09T12:22:23Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x561717cc7990, password: 0x5617178d5f50, connectTimeout: 30, retryInterval: 0, ssl: 0x561717b55a60, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717cc6490, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@9548950b-d2ad-46e7-9c6e-87c5cab09efb"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:22:24Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717be7ac0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717be7ac0 } } } }
[2022-05-09T12:22:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 640, payload: 0x7f4b1c01a800, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c01aa90 } }, data: MessageData { topic: "app/9548950b-d2ad-46e7-9c6e-87c5cab09efb", 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, 50, 97, 56, 55, 97, 100, 56, 45, 57, 48, 56, 50, 45, 52, 49, 53, 48, 45, 57, 55, 100, 51, 45, 98, 98, 98, 102, 97, 50, 57, 53, 102, 55, 99, 52, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 57, 53, 52, 56, 57, 53, 48, 98, 37, 50, 68, 100, 50, 97, 100, 37, 50, 68, 52, 54, 101, 55, 37, 50, 68, 57, 99, 54, 101, 37, 50, 68, 56, 55, 99, 53, 99, 97, 98, 48, 57, 101, 102, 98, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 50, 58, 50, 51, 46, 54, 55, 54, 49, 52, 57, 54, 51, 52, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 48, 52, 55, 99, 54, 100, 53, 53, 45, 53, 99, 52, 50, 45, 52, 102, 50, 55, 45, 97, 55, 52, 57, 45, 55, 52, 51, 49, 56, 56, 50, 100, 102, 51, 48, 100, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 48, 52, 55, 99, 54, 100, 53, 53, 45, 53, 99, 52, 50, 45, 52, 102, 50, 55, 45, 97, 55, 52, 57, 45, 55, 52, 51, 49, 56, 56, 50, 100, 102, 51, 48, 100, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 57, 53, 52, 56, 57, 53, 48, 98, 45, 100, 50, 97, 100, 45, 52, 54, 101, 55, 45, 57, 99, 54, 101, 45, 56, 55, 99, 53, 99, 97, 98, 48, 57, 101, 102, 98, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 49, 57, 48, 56, 49, 57, 55, 57, 45, 99, 51, 100, 55, 45, 52, 53, 101, 57, 45, 97, 53, 97, 50, 45, 100, 52, 49, 98, 100, 51, 55, 57, 48, 57, 50, 54, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 57, 53, 52, 56, 57, 53, 48, 98, 37, 50, 68, 100, 50, 97, 100, 37, 50, 68, 52, 54, 101, 55, 37, 50, 68, 57, 99, 54, 101, 37, 50, 68, 56, 55, 99, 53, 99, 97, 98, 48, 57, 101, 102, 98, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c01aa90 } } } }
[2022-05-09T12:22:24Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717831680
[2022-05-09T12:22:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/9548950b-d2ad-46e7-9c6e-87c5cab09efb", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"82a87ad8-9082-4150-97d3-bbbfa295f7c4\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://9548950b%2Dd2ad%2D46e7%2D9c6e%2D87c5cab09efb/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:22:23.676149634Z\",\"data\":{\"connected\":true},\"senderuid\":\"047c6d55-5c42-4f27-a749-7431882df30d\",\"sender\":\"gateway1\",\"device\":\"gateway1\",\"instance\":\"drogue\",\"deviceuid\":\"047c6d55-5c42-4f27-a749-7431882df30d\",\"application\":\"9548950b-d2ad-46e7-9c6e-87c5cab09efb\",\"applicationuid\":\"19081979-c3d7-45e9-a5a2-d41bd3790926\",\"partitionkey\":\"9548950b%2Dd2ad%2D46e7%2D9c6e%2D87c5cab09efb/gateway1\"}" }
[2022-05-09T12:22:24Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:22:25Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 630, payload: 0x7f4b1c01b020, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c004320 } }, data: MessageData { topic: "app/9548950b-d2ad-46e7-9c6e-87c5cab09efb", 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, 97, 97, 53, 57, 50, 52, 54, 101, 45, 51, 102, 54, 100, 45, 52, 53, 50, 100, 45, 57, 101, 53, 56, 45, 100, 57, 52, 49, 97, 52, 48, 54, 101, 99, 101, 102, 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, 57, 53, 52, 56, 57, 53, 48, 98, 37, 50, 68, 100, 50, 97, 100, 37, 50, 68, 52, 54, 101, 55, 37, 50, 68, 57, 99, 54, 101, 37, 50, 68, 56, 55, 99, 53, 99, 97, 98, 48, 57, 101, 102, 98, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 50, 58, 50, 52, 46, 50, 51, 48, 56, 50, 51, 49, 49, 55, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 51, 51, 101, 99, 98, 100, 102, 101, 45, 53, 48, 53, 51, 45, 52, 99, 102, 49, 45, 56, 56, 55, 98, 45, 57, 97, 100, 53, 57, 55, 97, 53, 57, 48, 100, 102, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 57, 53, 52, 56, 57, 53, 48, 98, 37, 50, 68, 100, 50, 97, 100, 37, 50, 68, 52, 54, 101, 55, 37, 50, 68, 57, 99, 54, 101, 37, 50, 68, 56, 55, 99, 53, 99, 97, 98, 48, 57, 101, 102, 98, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 49, 57, 48, 56, 49, 57, 55, 57, 45, 99, 51, 100, 55, 45, 52, 53, 101, 57, 45, 97, 53, 97, 50, 45, 100, 52, 49, 98, 100, 51, 55, 57, 48, 57, 50, 54, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 57, 53, 52, 56, 57, 53, 48, 98, 45, 100, 50, 97, 100, 45, 52, 54, 101, 55, 45, 57, 99, 54, 101, 45, 56, 55, 99, 53, 99, 97, 98, 48, 57, 101, 102, 98, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 48, 52, 55, 99, 54, 100, 53, 53, 45, 53, 99, 52, 50, 45, 52, 102, 50, 55, 45, 97, 55, 52, 57, 45, 55, 52, 51, 49, 56, 56, 50, 100, 102, 51, 48, 100, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c004320 } } } }
[2022-05-09T12:22:25Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717831680
[2022-05-09T12:22:25Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/9548950b-d2ad-46e7-9c6e-87c5cab09efb", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"aa59246e-3f6d-452d-9e58-d941a406ecef\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://9548950b%2Dd2ad%2D46e7%2D9c6e%2D87c5cab09efb/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:22:24.230823117Z\",\"data_base64\":\"\",\"deviceuid\":\"33ecbdfe-5053-4cf1-887b-9ad597a590df\",\"sender\":\"gateway1\",\"partitionkey\":\"9548950b%2Dd2ad%2D46e7%2D9c6e%2D87c5cab09efb/device1\",\"applicationuid\":\"19081979-c3d7-45e9-a5a2-d41bd3790926\",\"device\":\"device1\",\"instance\":\"drogue\",\"application\":\"9548950b-d2ad-46e7-9c6e-87c5cab09efb\",\"senderuid\":\"047c6d55-5c42-4f27-a749-7431882df30d\"}" }
[2022-05-09T12:22:25Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 641, payload: 0x7f4b1c018a00, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c018c90 } }, data: MessageData { topic: "app/9548950b-d2ad-46e7-9c6e-87c5cab09efb", 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, 55, 51, 101, 102, 53, 54, 50, 56, 45, 54, 99, 100, 101, 45, 52, 48, 99, 99, 45, 57, 98, 48, 50, 45, 53, 100, 54, 48, 57, 49, 99, 56, 54, 55, 97, 50, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 57, 53, 52, 56, 57, 53, 48, 98, 37, 50, 68, 100, 50, 97, 100, 37, 50, 68, 52, 54, 101, 55, 37, 50, 68, 57, 99, 54, 101, 37, 50, 68, 56, 55, 99, 53, 99, 97, 98, 48, 57, 101, 102, 98, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 50, 58, 50, 53, 46, 49, 50, 50, 51, 48, 49, 53, 50, 57, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 48, 52, 55, 99, 54, 100, 53, 53, 45, 53, 99, 52, 50, 45, 52, 102, 50, 55, 45, 97, 55, 52, 57, 45, 55, 52, 51, 49, 56, 56, 50, 100, 102, 51, 48, 100, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 57, 53, 52, 56, 57, 53, 48, 98, 45, 100, 50, 97, 100, 45, 52, 54, 101, 55, 45, 57, 99, 54, 101, 45, 56, 55, 99, 53, 99, 97, 98, 48, 57, 101, 102, 98, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 49, 57, 48, 56, 49, 57, 55, 57, 45, 99, 51, 100, 55, 45, 52, 53, 101, 57, 45, 97, 53, 97, 50, 45, 100, 52, 49, 98, 100, 51, 55, 57, 48, 57, 50, 54, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 48, 52, 55, 99, 54, 100, 53, 53, 45, 53, 99, 52, 50, 45, 52, 102, 50, 55, 45, 97, 55, 52, 57, 45, 55, 52, 51, 49, 56, 56, 50, 100, 102, 51, 48, 100, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 57, 53, 52, 56, 57, 53, 48, 98, 37, 50, 68, 100, 50, 97, 100, 37, 50, 68, 52, 54, 101, 55, 37, 50, 68, 57, 99, 54, 101, 37, 50, 68, 56, 55, 99, 53, 99, 97, 98, 48, 57, 101, 102, 98, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c018c90 } } } }
[2022-05-09T12:22:25Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b1c005ca0
[2022-05-09T12:22:25Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/9548950b-d2ad-46e7-9c6e-87c5cab09efb", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"73ef5628-6cde-40cc-9b02-5d6091c867a2\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://9548950b%2Dd2ad%2D46e7%2D9c6e%2D87c5cab09efb/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:22:25.122301529Z\",\"data\":{\"connected\":false},\"deviceuid\":\"047c6d55-5c42-4f27-a749-7431882df30d\",\"sender\":\"gateway1\",\"instance\":\"drogue\",\"application\":\"9548950b-d2ad-46e7-9c6e-87c5cab09efb\",\"device\":\"gateway1\",\"applicationuid\":\"19081979-c3d7-45e9-a5a2-d41bd3790926\",\"senderuid\":\"047c6d55-5c42-4f27-a749-7431882df30d\",\"partitionkey\":\"9548950b%2Dd2ad%2D46e7%2D9c6e%2D87c5cab09efb/gateway1\"}" }
[2022-05-09T12:22:25Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:22:25Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:22:25Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:22:25Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "9548950b-d2ad-46e7-9c6e-87c5cab09efb", device: "device1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "9548950b-d2ad-46e7-9c6e-87c5cab09efb", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:22:25Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:22:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "9548950b-d2ad-46e7-9c6e-87c5cab09efb" "device1"
[2022-05-09T12:22:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:22:25Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:22:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "9548950b-d2ad-46e7-9c6e-87c5cab09efb" "gateway1"
[2022-05-09T12:22:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:22:25Z INFO  drogue_cloud_tests::resources::apps] Destroy application '9548950b-d2ad-46e7-9c6e-87c5cab09efb'
[2022-05-09T12:22:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "9548950b-d2ad-46e7-9c6e-87c5cab09efb"
[2022-05-09T12:22:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 9548950b-d2ad-46e7-9c6e-87c5cab09efb deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_2::integration_version_2::integration_ws_2

Duration: 15s

Test output
-------------- TEST START --------------
[2022-05-09T12:22:27Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:22:27Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:22:27Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:22:27Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:22:27Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:22:28Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:22:29Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:22:29Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:22:29Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:22:29Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:22:31Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA3NTEsImlhdCI6MTY1MjA5ODk1MSwianRpIjoiNjc3NTYwN2MtYjk5ZS00ZTA0LTlmNTUtYjY5NTkwNmVmNzc1IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Inl2MkZFVDdNNHc0Y3VNeWVvNWxRX1EiLCJzZXNzaW9uX3N0YXRlIjoiZDJmMDAyNWUtYTgxYy00NGZmLWE0NTctNWFiNDExZmM3ZjZjIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImQyZjAwMjVlLWE4MWMtNDRmZi1hNDU3LTVhYjQxMWZjN2Y2YyJ9.Z68Cw57iyKQd69SRBqYg2DmO9gw4-kFJ-Ae3Hkc_9dg
[2022-05-09T12:22:31Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:22:31Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:22:31Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA3NTEsImlhdCI6MTY1MjA5ODk1MSwianRpIjoiNjc3NTYwN2MtYjk5ZS00ZTA0LTlmNTUtYjY5NTkwNmVmNzc1IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Inl2MkZFVDdNNHc0Y3VNeWVvNWxRX1EiLCJzZXNzaW9uX3N0YXRlIjoiZDJmMDAyNWUtYTgxYy00NGZmLWE0NTctNWFiNDExZmM3ZjZjIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImQyZjAwMjVlLWE4MWMtNDRmZi1hNDU3LTVhYjQxMWZjN2Y2YyJ9.Z68Cw57iyKQd69SRBqYg2DmO9gw4-kFJ-Ae3Hkc_9dg" "--context" "system-tests"
[2022-05-09T12:22:31Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:22:32Z INFO  drogue_cloud_tests::resources::apps] Create application: 0f0bff57-5351-40e8-b226-7343cefcbe5a
[2022-05-09T12:22:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "0f0bff57-5351-40e8-b226-7343cefcbe5a"
[2022-05-09T12:22:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 0f0bff57-5351-40e8-b226-7343cefcbe5a created.\n", stderr: "" })
[2022-05-09T12:22:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "0f0bff57-5351-40e8-b226-7343cefcbe5a"
[2022-05-09T12:22:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:22:32.408655Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"0f0bff57-5351-40e8-b226-7343cefcbe5a\",\n    \"resourceVersion\": \"451a0aaa-0977-4ad7-9d16-f7351d119e30\",\n    \"uid\": \"fa10b804-e2af-429b-b982-1df4a7864f04\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:22:32.432209763Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:22:32.432180458Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:32.432038402Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:32.432039474Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:32.432040125Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:32.432040726Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:32.432041338Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:32.432092133Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:22:32Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:22:32.408655Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("0f0bff57-5351-40e8-b226-7343cefcbe5a"), "resourceVersion": String("451a0aaa-0977-4ad7-9d16-f7351d119e30"), "uid": String("fa10b804-e2af-429b-b982-1df4a7864f04")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:22:32.432209763Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:22:32.432180458Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:22:32.432038402Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:22:32.432039474Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:22:32.432040125Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:22:32.432040726Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:22:32.432041338Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:22:32.432092133Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T12:22:32Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:22:33Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "0f0bff57-5351-40e8-b226-7343cefcbe5a"
[2022-05-09T12:22:33Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:22:32.408655Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"0f0bff57-5351-40e8-b226-7343cefcbe5a\",\n    \"resourceVersion\": \"f7c296bb-2d46-4b9a-9020-faa67ea81d9d\",\n    \"uid\": \"fa10b804-e2af-429b-b982-1df4a7864f04\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:22:32.720544307Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:22:32.720436504Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:32.454718249Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:32.460738047Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:32.554959986Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:32.564659884Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:32.720278398Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:32.720402431Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"kbIGP2aT81ei\",\n        \"username\": \"user-0f0bff57-5351-40e8-b226-7343cefcbe5a\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:22:33Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:22:32.408655Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("0f0bff57-5351-40e8-b226-7343cefcbe5a"), "resourceVersion": String("f7c296bb-2d46-4b9a-9020-faa67ea81d9d"), "uid": String("fa10b804-e2af-429b-b982-1df4a7864f04")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:22:32.720544307Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:22:32.720436504Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:22:32.454718249Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:22:32.460738047Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:22:32.554959986Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:22:32.564659884Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:22:32.720278398Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:22:32.720402431Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("kbIGP2aT81ei"), "username": String("user-0f0bff57-5351-40e8-b226-7343cefcbe5a")})})})})
[2022-05-09T12:22:33Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:22:33Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "0f0bff57-5351-40e8-b226-7343cefcbe5a"
[2022-05-09T12:22:33Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:22:32.408655Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"0f0bff57-5351-40e8-b226-7343cefcbe5a\",\n    \"resourceVersion\": \"f7c296bb-2d46-4b9a-9020-faa67ea81d9d\",\n    \"uid\": \"fa10b804-e2af-429b-b982-1df4a7864f04\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:22:32.720544307Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:22:32.720436504Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:32.454718249Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:32.460738047Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:32.554959986Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:32.564659884Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:32.720278398Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:32.720402431Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"kbIGP2aT81ei\",\n        \"username\": \"user-0f0bff57-5351-40e8-b226-7343cefcbe5a\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:22:33Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:22:32.408655Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("0f0bff57-5351-40e8-b226-7343cefcbe5a"), "resourceVersion": String("f7c296bb-2d46-4b9a-9020-faa67ea81d9d"), "uid": String("fa10b804-e2af-429b-b982-1df4a7864f04")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:22:32.720544307Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:22:32.720436504Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:22:32.454718249Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:22:32.460738047Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:22:32.554959986Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:22:32.564659884Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:22:32.720278398Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:22:32.720402431Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("kbIGP2aT81ei"), "username": String("user-0f0bff57-5351-40e8-b226-7343cefcbe5a")})})})})
[2022-05-09T12:22:33Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:22:33Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:22:33Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "0f0bff57-5351-40e8-b226-7343cefcbe5a" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:22:33Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:22:33Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:22:33Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:22:33Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:22:33Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkyNTEsImlhdCI6MTY1MjA5ODk1MSwiYXV0aF90aW1lIjoxNjUyMDk4OTQ4LCJqdGkiOiIxNmY4ZTE4OC1kN2Y1LTQ4NWYtODQ0MS1iYjkwZWZiOWQ4OGMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ5djJGRVQ3TTR3NGN1TXllbzVsUV9RIiwic2Vzc2lvbl9zdGF0ZSI6ImQyZjAwMjVlLWE4MWMtNDRmZi1hNDU3LTVhYjQxMWZjN2Y2YyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImQyZjAwMjVlLWE4MWMtNDRmZi1hNDU3LTVhYjQxMWZjN2Y2YyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.CZjEAwQhv6m_DBsEezrkiq3eTzRdHelRlEdWJwklrGukBT3fgRHyb3vADBlc4td51oEaswTUg2QY3DiMX3bUc6zTCUR5qKjMqqYli-yuv8qYn2dff5_wV-LDEjoBbgvGPXz4B1TOOOjpVAofAQtr1Afptqoe8wq0bQc050ITF8m6SADLOt6xdr3bLOJnJO8EAaOATzPh23RdbjGVpW46O5VDxVFzh-nmvoFDDMN6NRZFWjG77CbYnsahJSAzqWtkHHsSGR7AgP3NE5FlZqP4_tYOIXppIIh7_19SaZ5mwg7YFWMY_powPMTSBDARBTDcKR7yKrgKKfn-ZEd_UJeP5Q\n", stderr: "" })
[2022-05-09T12:22:33Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:22:33Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:22:33Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:22:33Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "0f0bff57-5351-40e8-b226-7343cefcbe5a" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:22:33Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:22:33Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T12:22:33Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:22:33Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkyNTEsImlhdCI6MTY1MjA5ODk1MSwiYXV0aF90aW1lIjoxNjUyMDk4OTQ4LCJqdGkiOiIxNmY4ZTE4OC1kN2Y1LTQ4NWYtODQ0MS1iYjkwZWZiOWQ4OGMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ5djJGRVQ3TTR3NGN1TXllbzVsUV9RIiwic2Vzc2lvbl9zdGF0ZSI6ImQyZjAwMjVlLWE4MWMtNDRmZi1hNDU3LTVhYjQxMWZjN2Y2YyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImQyZjAwMjVlLWE4MWMtNDRmZi1hNDU3LTVhYjQxMWZjN2Y2YyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.CZjEAwQhv6m_DBsEezrkiq3eTzRdHelRlEdWJwklrGukBT3fgRHyb3vADBlc4td51oEaswTUg2QY3DiMX3bUc6zTCUR5qKjMqqYli-yuv8qYn2dff5_wV-LDEjoBbgvGPXz4B1TOOOjpVAofAQtr1Afptqoe8wq0bQc050ITF8m6SADLOt6xdr3bLOJnJO8EAaOATzPh23RdbjGVpW46O5VDxVFzh-nmvoFDDMN6NRZFWjG77CbYnsahJSAzqWtkHHsSGR7AgP3NE5FlZqP4_tYOIXppIIh7_19SaZ5mwg7YFWMY_powPMTSBDARBTDcKR7yKrgKKfn-ZEd_UJeP5Q\n", stderr: "" })
[2022-05-09T12:22:33Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "1472984b-6f02-4b72-850d-0b642a536ea4", persistence: None, user_data: None }
[2022-05-09T12:22:33Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:22:33Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717b64580
[2022-05-09T12:22:33Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717b64580
[2022-05-09T12:22:33Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717b628c0, connectTimeout: 30, retryInterval: 0, ssl: 0x561717a08600, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717b64850, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkyNTEsImlhdCI6MTY1MjA5ODk1MSwiYXV0aF90aW1lIjoxNjUyMDk4OTQ4LCJqdGkiOiIxNmY4ZTE4OC1kN2Y1LTQ4NWYtODQ0MS1iYjkwZWZiOWQ4OGMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ5djJGRVQ3TTR3NGN1TXllbzVsUV9RIiwic2Vzc2lvbl9zdGF0ZSI6ImQyZjAwMjVlLWE4MWMtNDRmZi1hNDU3LTVhYjQxMWZjN2Y2YyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImQyZjAwMjVlLWE4MWMtNDRmZi1hNDU3LTVhYjQxMWZjN2Y2YyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.CZjEAwQhv6m_DBsEezrkiq3eTzRdHelRlEdWJwklrGukBT3fgRHyb3vADBlc4td51oEaswTUg2QY3DiMX3bUc6zTCUR5qKjMqqYli-yuv8qYn2dff5_wV-LDEjoBbgvGPXz4B1TOOOjpVAofAQtr1Afptqoe8wq0bQc050ITF8m6SADLOt6xdr3bLOJnJO8EAaOATzPh23RdbjGVpW46O5VDxVFzh-nmvoFDDMN6NRZFWjG77CbYnsahJSAzqWtkHHsSGR7AgP3NE5FlZqP4_tYOIXppIIh7_19SaZ5mwg7YFWMY_powPMTSBDARBTDcKR7yKrgKKfn-ZEd_UJeP5Q"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:22:33Z DEBUG paho_mqtt::async_client] Subscribe to '"app/0f0bff57-5351-40e8-b226-7343cefcbe5a"' @ QOS 0
[2022-05-09T12:22:33Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:22:33Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:22:33Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:22:33Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:22:33Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:22:34Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:22:35Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:22:35Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:22:35Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:22:35Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:22:36Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:22:36Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:22:36Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:22:36Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:22:37Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:22:37Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:22:37Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:22:37Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:22:37Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 621, payload: 0x7f4b18004b40, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b18004dc0 } }, data: MessageData { topic: "app/0f0bff57-5351-40e8-b226-7343cefcbe5a", 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, 54, 50, 53, 98, 52, 102, 51, 52, 45, 99, 98, 102, 57, 45, 52, 50, 49, 53, 45, 56, 102, 53, 98, 45, 57, 56, 56, 55, 49, 102, 101, 54, 49, 51, 99, 48, 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, 48, 102, 48, 98, 102, 102, 53, 55, 37, 50, 68, 53, 51, 53, 49, 37, 50, 68, 52, 48, 101, 56, 37, 50, 68, 98, 50, 50, 54, 37, 50, 68, 55, 51, 52, 51, 99, 101, 102, 99, 98, 101, 53, 97, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 50, 58, 51, 55, 46, 53, 56, 52, 54, 51, 57, 49, 55, 54, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 102, 48, 98, 102, 102, 53, 55, 37, 50, 68, 53, 51, 53, 49, 37, 50, 68, 52, 48, 101, 56, 37, 50, 68, 98, 50, 50, 54, 37, 50, 68, 55, 51, 52, 51, 99, 101, 102, 99, 98, 101, 53, 97, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 50, 97, 97, 52, 102, 49, 55, 101, 45, 49, 102, 48, 100, 45, 52, 48, 54, 100, 45, 56, 97, 100, 101, 45, 102, 100, 49, 100, 51, 53, 53, 97, 56, 99, 52, 100, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 102, 48, 98, 102, 102, 53, 55, 45, 53, 51, 53, 49, 45, 52, 48, 101, 56, 45, 98, 50, 50, 54, 45, 55, 51, 52, 51, 99, 101, 102, 99, 98, 101, 53, 97, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 102, 97, 49, 48, 98, 56, 48, 52, 45, 101, 50, 97, 102, 45, 52, 50, 57, 98, 45, 98, 57, 56, 50, 45, 49, 100, 102, 52, 97, 55, 56, 54, 52, 102, 48, 52, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 102, 51, 57, 54, 49, 54, 97, 102, 45, 98, 97, 100, 56, 45, 52, 51, 97, 97, 45, 57, 55, 49, 48, 45, 52, 56, 49, 97, 49, 50, 99, 50, 102, 98, 57, 57, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b18004dc0 } } } }
[2022-05-09T12:22:37Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717bdb860
[2022-05-09T12:22:37Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/0f0bff57-5351-40e8-b226-7343cefcbe5a", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"625b4f34-cbf9-4215-8f5b-98871fe613c0\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://0f0bff57%2D5351%2D40e8%2Db226%2D7343cefcbe5a/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:22:37.584639176Z\",\"data\":{\"index\":3},\"partitionkey\":\"0f0bff57%2D5351%2D40e8%2Db226%2D7343cefcbe5a/device1\",\"sender\":\"gateway1\",\"instance\":\"drogue\",\"device\":\"device1\",\"deviceuid\":\"2aa4f17e-1f0d-406d-8ade-fd1d355a8c4d\",\"application\":\"0f0bff57-5351-40e8-b226-7343cefcbe5a\",\"applicationuid\":\"fa10b804-e2af-429b-b982-1df4a7864f04\",\"senderuid\":\"f39616af-bad8-43aa-9710-481a12c2fb99\"}" }
[2022-05-09T12:22:38Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:22:38Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:22:38Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:22:38Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:22:38Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "c408325b-b8e9-4bd2-8c8b-145c63d69ded", persistence: None, user_data: None }
[2022-05-09T12:22:38Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:22:38Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717b36db0
[2022-05-09T12:22:38Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717b36db0
[2022-05-09T12:22:38Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x561717cb5410, password: 0x5617179004b0, connectTimeout: 30, retryInterval: 0, ssl: 0x5617179420a0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717ceaec0, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@0f0bff57-5351-40e8-b226-7343cefcbe5a"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:22:39Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 640, payload: 0x7f4b1802b770, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1802ba00 } }, data: MessageData { topic: "app/0f0bff57-5351-40e8-b226-7343cefcbe5a", 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, 102, 52, 101, 50, 51, 55, 102, 45, 99, 51, 53, 55, 45, 52, 100, 101, 102, 45, 57, 102, 52, 53, 45, 102, 97, 56, 54, 55, 56, 102, 100, 52, 57, 56, 98, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 48, 102, 48, 98, 102, 102, 53, 55, 37, 50, 68, 53, 51, 53, 49, 37, 50, 68, 52, 48, 101, 56, 37, 50, 68, 98, 50, 50, 54, 37, 50, 68, 55, 51, 52, 51, 99, 101, 102, 99, 98, 101, 53, 97, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 50, 58, 51, 56, 46, 55, 48, 48, 55, 53, 49, 48, 55, 55, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 102, 48, 98, 102, 102, 53, 55, 37, 50, 68, 53, 51, 53, 49, 37, 50, 68, 52, 48, 101, 56, 37, 50, 68, 98, 50, 50, 54, 37, 50, 68, 55, 51, 52, 51, 99, 101, 102, 99, 98, 101, 53, 97, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 102, 51, 57, 54, 49, 54, 97, 102, 45, 98, 97, 100, 56, 45, 52, 51, 97, 97, 45, 57, 55, 49, 48, 45, 52, 56, 49, 97, 49, 50, 99, 50, 102, 98, 57, 57, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 102, 48, 98, 102, 102, 53, 55, 45, 53, 51, 53, 49, 45, 52, 48, 101, 56, 45, 98, 50, 50, 54, 45, 55, 51, 52, 51, 99, 101, 102, 99, 98, 101, 53, 97, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 102, 51, 57, 54, 49, 54, 97, 102, 45, 98, 97, 100, 56, 45, 52, 51, 97, 97, 45, 57, 55, 49, 48, 45, 52, 56, 49, 97, 49, 50, 99, 50, 102, 98, 57, 57, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 102, 97, 49, 48, 98, 56, 48, 52, 45, 101, 50, 97, 102, 45, 52, 50, 57, 98, 45, 98, 57, 56, 50, 45, 49, 100, 102, 52, 97, 55, 56, 54, 52, 102, 48, 52, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1802ba00 } } } }
[2022-05-09T12:22:39Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717bdb860
[2022-05-09T12:22:39Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/0f0bff57-5351-40e8-b226-7343cefcbe5a", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"8f4e237f-c357-4def-9f45-fa8678fd498b\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://0f0bff57%2D5351%2D40e8%2Db226%2D7343cefcbe5a/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:22:38.700751077Z\",\"data\":{\"connected\":true},\"partitionkey\":\"0f0bff57%2D5351%2D40e8%2Db226%2D7343cefcbe5a/gateway1\",\"senderuid\":\"f39616af-bad8-43aa-9710-481a12c2fb99\",\"sender\":\"gateway1\",\"application\":\"0f0bff57-5351-40e8-b226-7343cefcbe5a\",\"deviceuid\":\"f39616af-bad8-43aa-9710-481a12c2fb99\",\"applicationuid\":\"fa10b804-e2af-429b-b982-1df4a7864f04\",\"instance\":\"drogue\",\"device\":\"gateway1\"}" }
[2022-05-09T12:22:39Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x56171787d1f0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x56171787d1f0 } } } }
[2022-05-09T12:22:39Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:22:40Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 630, payload: 0x7f4b1802bba0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1802be20 } }, data: MessageData { topic: "app/0f0bff57-5351-40e8-b226-7343cefcbe5a", 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, 100, 48, 99, 49, 56, 50, 55, 45, 97, 51, 99, 98, 45, 52, 55, 54, 57, 45, 97, 54, 48, 98, 45, 49, 99, 49, 100, 49, 50, 101, 99, 50, 51, 97, 102, 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, 48, 102, 48, 98, 102, 102, 53, 55, 37, 50, 68, 53, 51, 53, 49, 37, 50, 68, 52, 48, 101, 56, 37, 50, 68, 98, 50, 50, 54, 37, 50, 68, 55, 51, 52, 51, 99, 101, 102, 99, 98, 101, 53, 97, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 50, 58, 51, 57, 46, 50, 51, 54, 56, 57, 48, 49, 52, 53, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 102, 97, 49, 48, 98, 56, 48, 52, 45, 101, 50, 97, 102, 45, 52, 50, 57, 98, 45, 98, 57, 56, 50, 45, 49, 100, 102, 52, 97, 55, 56, 54, 52, 102, 48, 52, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 50, 97, 97, 52, 102, 49, 55, 101, 45, 49, 102, 48, 100, 45, 52, 48, 54, 100, 45, 56, 97, 100, 101, 45, 102, 100, 49, 100, 51, 53, 53, 97, 56, 99, 52, 100, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 102, 48, 98, 102, 102, 53, 55, 37, 50, 68, 53, 51, 53, 49, 37, 50, 68, 52, 48, 101, 56, 37, 50, 68, 98, 50, 50, 54, 37, 50, 68, 55, 51, 52, 51, 99, 101, 102, 99, 98, 101, 53, 97, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 102, 51, 57, 54, 49, 54, 97, 102, 45, 98, 97, 100, 56, 45, 52, 51, 97, 97, 45, 57, 55, 49, 48, 45, 52, 56, 49, 97, 49, 50, 99, 50, 102, 98, 57, 57, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 102, 48, 98, 102, 102, 53, 55, 45, 53, 51, 53, 49, 45, 52, 48, 101, 56, 45, 98, 50, 50, 54, 45, 55, 51, 52, 51, 99, 101, 102, 99, 98, 101, 53, 97, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1802be20 } } } }
[2022-05-09T12:22:40Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717bdb860
[2022-05-09T12:22:40Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/0f0bff57-5351-40e8-b226-7343cefcbe5a", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"8d0c1827-a3cb-4769-a60b-1c1d12ec23af\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://0f0bff57%2D5351%2D40e8%2Db226%2D7343cefcbe5a/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:22:39.236890145Z\",\"data_base64\":\"\",\"device\":\"device1\",\"applicationuid\":\"fa10b804-e2af-429b-b982-1df4a7864f04\",\"deviceuid\":\"2aa4f17e-1f0d-406d-8ade-fd1d355a8c4d\",\"partitionkey\":\"0f0bff57%2D5351%2D40e8%2Db226%2D7343cefcbe5a/device1\",\"senderuid\":\"f39616af-bad8-43aa-9710-481a12c2fb99\",\"application\":\"0f0bff57-5351-40e8-b226-7343cefcbe5a\",\"sender\":\"gateway1\",\"instance\":\"drogue\"}" }
[2022-05-09T12:22:40Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 641, payload: 0x7f4b1802c2b0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1802c540 } }, data: MessageData { topic: "app/0f0bff57-5351-40e8-b226-7343cefcbe5a", 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, 102, 101, 98, 52, 54, 56, 102, 55, 45, 52, 98, 100, 57, 45, 52, 53, 51, 55, 45, 98, 56, 99, 55, 45, 97, 57, 100, 57, 51, 100, 52, 100, 100, 99, 52, 52, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 48, 102, 48, 98, 102, 102, 53, 55, 37, 50, 68, 53, 51, 53, 49, 37, 50, 68, 52, 48, 101, 56, 37, 50, 68, 98, 50, 50, 54, 37, 50, 68, 55, 51, 52, 51, 99, 101, 102, 99, 98, 101, 53, 97, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 50, 58, 52, 48, 46, 49, 51, 51, 48, 48, 56, 49, 51, 57, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 102, 48, 98, 102, 102, 53, 55, 45, 53, 51, 53, 49, 45, 52, 48, 101, 56, 45, 98, 50, 50, 54, 45, 55, 51, 52, 51, 99, 101, 102, 99, 98, 101, 53, 97, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 102, 51, 57, 54, 49, 54, 97, 102, 45, 98, 97, 100, 56, 45, 52, 51, 97, 97, 45, 57, 55, 49, 48, 45, 52, 56, 49, 97, 49, 50, 99, 50, 102, 98, 57, 57, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 102, 48, 98, 102, 102, 53, 55, 37, 50, 68, 53, 51, 53, 49, 37, 50, 68, 52, 48, 101, 56, 37, 50, 68, 98, 50, 50, 54, 37, 50, 68, 55, 51, 52, 51, 99, 101, 102, 99, 98, 101, 53, 97, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 102, 51, 57, 54, 49, 54, 97, 102, 45, 98, 97, 100, 56, 45, 52, 51, 97, 97, 45, 57, 55, 49, 48, 45, 52, 56, 49, 97, 49, 50, 99, 50, 102, 98, 57, 57, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 102, 97, 49, 48, 98, 56, 48, 52, 45, 101, 50, 97, 102, 45, 52, 50, 57, 98, 45, 98, 57, 56, 50, 45, 49, 100, 102, 52, 97, 55, 56, 54, 52, 102, 48, 52, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1802c540 } } } }
[2022-05-09T12:22:40Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b1802e530
[2022-05-09T12:22:40Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/0f0bff57-5351-40e8-b226-7343cefcbe5a", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"feb468f7-4bd9-4537-b8c7-a9d93d4ddc44\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://0f0bff57%2D5351%2D40e8%2Db226%2D7343cefcbe5a/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:22:40.133008139Z\",\"data\":{\"connected\":false},\"application\":\"0f0bff57-5351-40e8-b226-7343cefcbe5a\",\"instance\":\"drogue\",\"senderuid\":\"f39616af-bad8-43aa-9710-481a12c2fb99\",\"device\":\"gateway1\",\"sender\":\"gateway1\",\"partitionkey\":\"0f0bff57%2D5351%2D40e8%2Db226%2D7343cefcbe5a/gateway1\",\"deviceuid\":\"f39616af-bad8-43aa-9710-481a12c2fb99\",\"applicationuid\":\"fa10b804-e2af-429b-b982-1df4a7864f04\"}" }
[2022-05-09T12:22:40Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:22:40Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:22:40Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:22:40Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "0f0bff57-5351-40e8-b226-7343cefcbe5a", device: "device1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "0f0bff57-5351-40e8-b226-7343cefcbe5a", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:22:40Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:22:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "0f0bff57-5351-40e8-b226-7343cefcbe5a" "device1"
[2022-05-09T12:22:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:22:40Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:22:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "0f0bff57-5351-40e8-b226-7343cefcbe5a" "gateway1"
[2022-05-09T12:22:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:22:40Z INFO  drogue_cloud_tests::resources::apps] Destroy application '0f0bff57-5351-40e8-b226-7343cefcbe5a'
[2022-05-09T12:22:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "0f0bff57-5351-40e8-b226-7343cefcbe5a"
[2022-05-09T12:22:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 0f0bff57-5351-40e8-b226-7343cefcbe5a deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_2::integration_version_3::integration_ws_1

Duration: 15s

Test output
-------------- TEST START --------------
[2022-05-09T12:22:42Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:22:42Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:22:42Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:22:42Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:22:42Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:22:43Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:22:45Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:22:45Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:22:45Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:22:45Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:22:47Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA3NjYsImlhdCI6MTY1MjA5ODk2NiwianRpIjoiN2I0ZDRhNmUtODFlNi00YjFmLThmNDItZjg3NTk4ZmZkZTViIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjFza0VqQnRqRGVBX20tb1kyazdYdGciLCJzZXNzaW9uX3N0YXRlIjoiMTM4ZTcwYjItNzhmYy00ZjA4LTllN2MtMTNlMWE5NmM2OWRlIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjEzOGU3MGIyLTc4ZmMtNGYwOC05ZTdjLTEzZTFhOTZjNjlkZSJ9.rjBT0LorNJgsix24sbnKXcwrAMm0BN73JqTyi56-eEs
[2022-05-09T12:22:47Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:22:47Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:22:47Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA3NjYsImlhdCI6MTY1MjA5ODk2NiwianRpIjoiN2I0ZDRhNmUtODFlNi00YjFmLThmNDItZjg3NTk4ZmZkZTViIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjFza0VqQnRqRGVBX20tb1kyazdYdGciLCJzZXNzaW9uX3N0YXRlIjoiMTM4ZTcwYjItNzhmYy00ZjA4LTllN2MtMTNlMWE5NmM2OWRlIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjEzOGU3MGIyLTc4ZmMtNGYwOC05ZTdjLTEzZTFhOTZjNjlkZSJ9.rjBT0LorNJgsix24sbnKXcwrAMm0BN73JqTyi56-eEs" "--context" "system-tests"
[2022-05-09T12:22:47Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:22:47Z INFO  drogue_cloud_tests::resources::apps] Create application: abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b
[2022-05-09T12:22:47Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b"
[2022-05-09T12:22:47Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b created.\n", stderr: "" })
[2022-05-09T12:22:47Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b"
[2022-05-09T12:22:47Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:22:47.761626Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b\",\n    \"resourceVersion\": \"acc8d9a6-31bf-4ebb-bdda-ed14724e1db7\",\n    \"uid\": \"21fd2829-d1d8-4135-8254-a446a350a409\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:22:47.782637931Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:22:47.782620117Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:47.782590161Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:47.782591314Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:47.782591684Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:47.782592285Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:47.782592846Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:47.782597575Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:22:47Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:22:47.761626Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b"), "resourceVersion": String("acc8d9a6-31bf-4ebb-bdda-ed14724e1db7"), "uid": String("21fd2829-d1d8-4135-8254-a446a350a409")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:22:47.782637931Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:22:47.782620117Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:22:47.782590161Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:22:47.782591314Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:22:47.782591684Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:22:47.782592285Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:22:47.782592846Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:22:47.782597575Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T12:22:47Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:22:48Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b"
[2022-05-09T12:22:48Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:22:47.761626Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b\",\n    \"resourceVersion\": \"410594c6-046e-4e1e-921f-cd6332ec923e\",\n    \"uid\": \"21fd2829-d1d8-4135-8254-a446a350a409\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:22:48.053843135Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:22:48.053682614Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:47.800790289Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:47.805943211Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:47.864678096Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:47.870491848Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:48.053560484Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:48.053644582Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"XgbWRQSgm0gz\",\n        \"username\": \"user-abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:22:48Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:22:47.761626Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b"), "resourceVersion": String("410594c6-046e-4e1e-921f-cd6332ec923e"), "uid": String("21fd2829-d1d8-4135-8254-a446a350a409")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:22:48.053843135Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:22:48.053682614Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:22:47.800790289Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:22:47.805943211Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:22:47.864678096Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:22:47.870491848Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:22:48.053560484Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:22:48.053644582Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("XgbWRQSgm0gz"), "username": String("user-abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b")})})})})
[2022-05-09T12:22:48Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:22:48Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b"
[2022-05-09T12:22:48Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:22:47.761626Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b\",\n    \"resourceVersion\": \"410594c6-046e-4e1e-921f-cd6332ec923e\",\n    \"uid\": \"21fd2829-d1d8-4135-8254-a446a350a409\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:22:48.053843135Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:22:48.053682614Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:47.800790289Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:47.805943211Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:47.864678096Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:47.870491848Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:48.053560484Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:22:48.053644582Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"XgbWRQSgm0gz\",\n        \"username\": \"user-abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:22:48Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:22:47.761626Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b"), "resourceVersion": String("410594c6-046e-4e1e-921f-cd6332ec923e"), "uid": String("21fd2829-d1d8-4135-8254-a446a350a409")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:22:48.053843135Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:22:48.053682614Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:22:47.800790289Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:22:47.805943211Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:22:47.864678096Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:22:47.870491848Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:22:48.053560484Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:22:48.053644582Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("XgbWRQSgm0gz"), "username": String("user-abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b")})})})})
[2022-05-09T12:22:48Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:22:48Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:22:48Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:22:48Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:22:48Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:22:48Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:22:48Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:22:48Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkyNjcsImlhdCI6MTY1MjA5ODk2NywiYXV0aF90aW1lIjoxNjUyMDk4OTY0LCJqdGkiOiI4YzkzYzRiZS0zZDYzLTQ2ZTUtOTc4My0yZWVmMjNjNzRhOGYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiIxc2tFakJ0akRlQV9tLW9ZMms3WHRnIiwic2Vzc2lvbl9zdGF0ZSI6IjEzOGU3MGIyLTc4ZmMtNGYwOC05ZTdjLTEzZTFhOTZjNjlkZSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjEzOGU3MGIyLTc4ZmMtNGYwOC05ZTdjLTEzZTFhOTZjNjlkZSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.XXSqJV7YS2hoBx48L9BXbgJtf7TN0VRrhEaeQTzIenmMv-Z2b2kf28ue50fo5ivpfyxg1X5OXpJgOKMx-zjjqNUjKigK_gQHHvmgSwjLyq0bgTXb3WpsOPx1it_rIM-Il9yGKU2WPQn5hT9Q13fbJ0M1yIzWt-5QU3jAdps4LhHgb0AE0cO5x92-ItX5AAKOqXqtZLSiYZluWvNRlN5oNsfJZfMWj1qf0xtS6AtbSP1eWIGAVPCRBMbDVeLeeURaOFX9eoAjKonZbNYskDRTK6ub6_4Pu4Zjzv1T6D0_Oy5sVqEVU-JY7mHO9_PYx-tFlYgDOwHDwBrUQbtBEZb_TA\n", stderr: "" })
[2022-05-09T12:22:48Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:22:48Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:22:48Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:22:48Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:22:48Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:22:48Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T12:22:48Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:22:48Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkyNjcsImlhdCI6MTY1MjA5ODk2NywiYXV0aF90aW1lIjoxNjUyMDk4OTY0LCJqdGkiOiI4YzkzYzRiZS0zZDYzLTQ2ZTUtOTc4My0yZWVmMjNjNzRhOGYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiIxc2tFakJ0akRlQV9tLW9ZMms3WHRnIiwic2Vzc2lvbl9zdGF0ZSI6IjEzOGU3MGIyLTc4ZmMtNGYwOC05ZTdjLTEzZTFhOTZjNjlkZSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjEzOGU3MGIyLTc4ZmMtNGYwOC05ZTdjLTEzZTFhOTZjNjlkZSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.XXSqJV7YS2hoBx48L9BXbgJtf7TN0VRrhEaeQTzIenmMv-Z2b2kf28ue50fo5ivpfyxg1X5OXpJgOKMx-zjjqNUjKigK_gQHHvmgSwjLyq0bgTXb3WpsOPx1it_rIM-Il9yGKU2WPQn5hT9Q13fbJ0M1yIzWt-5QU3jAdps4LhHgb0AE0cO5x92-ItX5AAKOqXqtZLSiYZluWvNRlN5oNsfJZfMWj1qf0xtS6AtbSP1eWIGAVPCRBMbDVeLeeURaOFX9eoAjKonZbNYskDRTK6ub6_4Pu4Zjzv1T6D0_Oy5sVqEVU-JY7mHO9_PYx-tFlYgDOwHDwBrUQbtBEZb_TA\n", stderr: "" })
[2022-05-09T12:22:48Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "282359f7-aa2a-4726-9ef9-6f0d683c5a1d", persistence: None, user_data: None }
[2022-05-09T12:22:48Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:22:48Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717bcfc20
[2022-05-09T12:22:48Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717bcfc20
[2022-05-09T12:22:48Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717d04cf0, connectTimeout: 30, retryInterval: 0, ssl: 0x561717cb46f0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x56171783b090, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkyNjcsImlhdCI6MTY1MjA5ODk2NywiYXV0aF90aW1lIjoxNjUyMDk4OTY0LCJqdGkiOiI4YzkzYzRiZS0zZDYzLTQ2ZTUtOTc4My0yZWVmMjNjNzRhOGYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiIxc2tFakJ0akRlQV9tLW9ZMms3WHRnIiwic2Vzc2lvbl9zdGF0ZSI6IjEzOGU3MGIyLTc4ZmMtNGYwOC05ZTdjLTEzZTFhOTZjNjlkZSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjEzOGU3MGIyLTc4ZmMtNGYwOC05ZTdjLTEzZTFhOTZjNjlkZSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.XXSqJV7YS2hoBx48L9BXbgJtf7TN0VRrhEaeQTzIenmMv-Z2b2kf28ue50fo5ivpfyxg1X5OXpJgOKMx-zjjqNUjKigK_gQHHvmgSwjLyq0bgTXb3WpsOPx1it_rIM-Il9yGKU2WPQn5hT9Q13fbJ0M1yIzWt-5QU3jAdps4LhHgb0AE0cO5x92-ItX5AAKOqXqtZLSiYZluWvNRlN5oNsfJZfMWj1qf0xtS6AtbSP1eWIGAVPCRBMbDVeLeeURaOFX9eoAjKonZbNYskDRTK6ub6_4Pu4Zjzv1T6D0_Oy5sVqEVU-JY7mHO9_PYx-tFlYgDOwHDwBrUQbtBEZb_TA"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:22:49Z DEBUG paho_mqtt::async_client] Subscribe to '"app/abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b"' @ QOS 0
[2022-05-09T12:22:49Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:22:49Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:22:49Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:22:49Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:22:49Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:22:49Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:22:50Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:22:50Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:22:50Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:22:50Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:22:51Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:22:51Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:22:51Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:22:51Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:22:52Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:22:52Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:22:52Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:22:52Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:22:52Z 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: 0x7f4b18001040, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x561717857c80 } }, data: MessageData { topic: "app/abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x561717857c80 } } } }
[2022-05-09T12:22:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717bc8380, 0x7f4b280085f0
[2022-05-09T12:22:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280085f0, 0x5617179c56f0
[2022-05-09T12:22:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280085f0, 0x561717bc0bc0
[2022-05-09T12:22:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717bc0bc0, 0x7f4b30007880
[2022-05-09T12:22:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717bc0bc0, 0x7f4b28004070
[2022-05-09T12:22:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004070, 0x5617179c56f0
[2022-05-09T12:22:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004070, 0x5617179c56f0
[2022-05-09T12:22:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004070, 0x7f4b28003d20
[2022-05-09T12:22:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003d20, 0x5617179c56f0
[2022-05-09T12:22:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003d20, 0x5617178aa9a0
[2022-05-09T12:22:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003d20, 0x5617179c56f0
[2022-05-09T12:22:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003d20, 0x7f4b28000a80
[2022-05-09T12:22:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000a80, 0x5617179c56f0
[2022-05-09T12:22:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000a80, 0x7f4b28008ae0
[2022-05-09T12:22:52Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28008ae0
[2022-05-09T12:22:52Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b", content_type: Some("application/json"), user_properties: {"deviceuid": "49fee8d0-689b-4291-883a-58217f063b6c", "source": "drogue://abfbfeb0%2D3ebe%2D4d44%2Da068%2D9ac2ca926c4b/device1", "id": "06ff8435-75c2-4a61-bfa1-856c4b315400", "application": "abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b", "sender": "gateway1", "time": "2022-05-09T12:22:52.589503225+00:00", "instance": "drogue", "applicationuid": "21fd2829-d1d8-4135-8254-a446a350a409", "device": "device1", "specversion": "1.0", "senderuid": "40a6af8a-2a21-409b-a0f5-8c386dadccb8", "type": "io.drogue.event.v1", "subject": "warmup", "partitionkey": "abfbfeb0%2D3ebe%2D4d44%2Da068%2D9ac2ca926c4b/device1"}, payload: "{\"index\":3}" }
[2022-05-09T12:22:53Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:22:53Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:22:53Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:22:53Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:22:53Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "bd0ecf57-7783-4fc3-a9a2-8dfe63e98558", persistence: None, user_data: None }
[2022-05-09T12:22:53Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:22:53Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717a0de90
[2022-05-09T12:22:53Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717a0de90
[2022-05-09T12:22:53Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x561717a00510, password: 0x561717c204e0, connectTimeout: 30, retryInterval: 0, ssl: 0x5617179441e0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717b37540, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:22:54Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 18, payload: 0x7f4b1802a7a0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717c7c960 } }, data: MessageData { topic: "app/abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717c7c960 } } } }
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004670, 0x7f4b280010e0
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280010e0, 0x7f4b18001370
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280010e0, 0x7f4b28004070
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004070, 0x7f4b18001470
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004070, 0x7f4b28008ae0
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28008ae0, 0x7f4b18001370
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28008ae0, 0x7f4b18001370
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28008ae0, 0x7f4b18001370
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28008ae0, 0x7f4b18001370
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28008ae0, 0x7f4b280010c0
[2022-05-09T12:22:54Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x5617178a4ff0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x5617178a4ff0 } } } }
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280010c0, 0x7f4b1801d900
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280010c0, 0x7f4b28000aa0
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000aa0, 0x7f4b280010c0
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280010c0, 0x7f4b18001370
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b280010c0
[2022-05-09T12:22:54Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b", content_type: Some("application/json"), user_properties: {"id": "a7ab9a44-ab1b-489d-8159-e0a8e1fab72c", "device": "gateway1", "applicationuid": "21fd2829-d1d8-4135-8254-a446a350a409", "source": "drogue://abfbfeb0%2D3ebe%2D4d44%2Da068%2D9ac2ca926c4b/gateway1", "specversion": "1.0", "type": "io.drogue.connection.v1", "subject": "connection", "application": "abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b", "partitionkey": "abfbfeb0%2D3ebe%2D4d44%2Da068%2D9ac2ca926c4b/gateway1", "deviceuid": "40a6af8a-2a21-409b-a0f5-8c386dadccb8", "senderuid": "40a6af8a-2a21-409b-a0f5-8c386dadccb8", "instance": "drogue", "time": "2022-05-09T12:22:53.670247377+00:00", "sender": "gateway1"}, payload: "{\"connected\":true}" }
[2022-05-09T12:22:54Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:22:54Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 19, payload: 0x7f4b1801b8c0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717c33b00 } }, data: MessageData { topic: "app/abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717c33b00 } } } }
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717bc8380, 0x7f4b280010e0
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280010e0, 0x7f4b18001370
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280010e0, 0x7f4b28004670
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004670, 0x7f4b18031c60
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004670, 0x7f4b28003d00
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003d00, 0x7f4b18001370
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003d00, 0x7f4b28004290
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004290, 0x7f4b18001370
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004290, 0x7f4b18001370
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004290, 0x7f4b28004a50
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004a50, 0x7f4b28004290
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004290, 0x7f4b18001370
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004290, 0x7f4b180314f0
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004290, 0x7f4b18001370
[2022-05-09T12:22:54Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28004290
[2022-05-09T12:22:54Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b", content_type: Some("application/json"), user_properties: {"senderuid": "40a6af8a-2a21-409b-a0f5-8c386dadccb8", "sender": "gateway1", "application": "abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b", "applicationuid": "21fd2829-d1d8-4135-8254-a446a350a409", "specversion": "1.0", "device": "gateway1", "instance": "drogue", "id": "b1e2f349-c80d-4c1e-95d0-6a49cf6ecf61", "deviceuid": "40a6af8a-2a21-409b-a0f5-8c386dadccb8", "partitionkey": "abfbfeb0%2D3ebe%2D4d44%2Da068%2D9ac2ca926c4b/gateway1", "type": "io.drogue.connection.v1", "time": "2022-05-09T12:22:54.249969910+00:00", "source": "drogue://abfbfeb0%2D3ebe%2D4d44%2Da068%2D9ac2ca926c4b/gateway1", "subject": "connection"}, payload: "{\"connected\":false}" }
[2022-05-09T12:22:55Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x5617178fdb60 } }, data: MessageData { topic: "app/abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x5617178fdb60 } } } }
[2022-05-09T12:22:55Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003d00, 0x7f4b28004a50
[2022-05-09T12:22:55Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004a50, 0x7f4b1801b6b0
[2022-05-09T12:22:55Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004a50, 0x7f4b28004070
[2022-05-09T12:22:55Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004070, 0x7f4b18009520
[2022-05-09T12:22:55Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004070, 0x7f4b280012c0
[2022-05-09T12:22:55Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280012c0, 0x7f4b1801b6b0
[2022-05-09T12:22:55Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280012c0, 0x7f4b1801b6b0
[2022-05-09T12:22:55Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280012c0, 0x7f4b1801b6b0
[2022-05-09T12:22:55Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280012c0, 0x7f4b28004670
[2022-05-09T12:22:55Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004670, 0x7f4b1801d260
[2022-05-09T12:22:55Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004670, 0x7f4b1801b6b0
[2022-05-09T12:22:55Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004670, 0x7f4b28000aa0
[2022-05-09T12:22:55Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000aa0, 0x7f4b1801b6b0
[2022-05-09T12:22:55Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000aa0, 0x7f4b280012a0
[2022-05-09T12:22:55Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28004750
[2022-05-09T12:22:55Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b", content_type: Some("application/octet-stream"), user_properties: {"deviceuid": "49fee8d0-689b-4291-883a-58217f063b6c", "instance": "drogue", "sender": "gateway1", "senderuid": "40a6af8a-2a21-409b-a0f5-8c386dadccb8", "applicationuid": "21fd2829-d1d8-4135-8254-a446a350a409", "source": "drogue://abfbfeb0%2D3ebe%2D4d44%2Da068%2D9ac2ca926c4b/device1", "type": "io.drogue.event.v1", "specversion": "1.0", "time": "2022-05-09T12:22:54.248171148+00:00", "id": "7695428d-83cf-431c-92ba-601073d2e72a", "subject": "telemetry", "application": "abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b", "device": "device1", "partitionkey": "abfbfeb0%2D3ebe%2D4d44%2Da068%2D9ac2ca926c4b/device1"}, payload: "" }
[2022-05-09T12:22:55Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:22:55Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:22:55Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:22:55Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:22:55Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:22:55Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b" "device1"
[2022-05-09T12:22:55Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:22:55Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:22:55Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b" "gateway1"
[2022-05-09T12:22:55Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:22:55Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b'
[2022-05-09T12:22:55Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b"
[2022-05-09T12:22:55Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App abfbfeb0-3ebe-4d44-a068-9ac2ca926c4b deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_2::integration_version_3::integration_ws_2

Duration: 15s

Test output
-------------- TEST START --------------
[2022-05-09T12:22:57Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:22:57Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:22:57Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:22:57Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:22:57Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:22:58Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:23:00Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:23:00Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:23:00Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:23:00Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:23:01Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA3ODEsImlhdCI6MTY1MjA5ODk4MSwianRpIjoiMDU5YjY4MDktZDllYy00NGNhLWI1YjItMGZlNDhmOTAxNjMxIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlhzSjZrSnV5RnhxZG12dG5OS0gwemciLCJzZXNzaW9uX3N0YXRlIjoiNmY2ODM2YTktZDZkMS00YjFiLWFkMjQtM2YxZjkxODRiZmI2Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjZmNjgzNmE5LWQ2ZDEtNGIxYi1hZDI0LTNmMWY5MTg0YmZiNiJ9.HHIX6DoSh5QgTzz7e1n8qcXoHWc2uU1pnJ0gl2G8Nm8
[2022-05-09T12:23:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:23:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:23:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA3ODEsImlhdCI6MTY1MjA5ODk4MSwianRpIjoiMDU5YjY4MDktZDllYy00NGNhLWI1YjItMGZlNDhmOTAxNjMxIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlhzSjZrSnV5RnhxZG12dG5OS0gwemciLCJzZXNzaW9uX3N0YXRlIjoiNmY2ODM2YTktZDZkMS00YjFiLWFkMjQtM2YxZjkxODRiZmI2Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjZmNjgzNmE5LWQ2ZDEtNGIxYi1hZDI0LTNmMWY5MTg0YmZiNiJ9.HHIX6DoSh5QgTzz7e1n8qcXoHWc2uU1pnJ0gl2G8Nm8" "--context" "system-tests"
[2022-05-09T12:23:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:23:02Z INFO  drogue_cloud_tests::resources::apps] Create application: 5129aa68-8035-41e6-99b3-1dbfcce039c6
[2022-05-09T12:23:02Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "5129aa68-8035-41e6-99b3-1dbfcce039c6"
[2022-05-09T12:23:02Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 5129aa68-8035-41e6-99b3-1dbfcce039c6 created.\n", stderr: "" })
[2022-05-09T12:23:02Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "5129aa68-8035-41e6-99b3-1dbfcce039c6"
[2022-05-09T12:23:02Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:23:02.618994Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"5129aa68-8035-41e6-99b3-1dbfcce039c6\",\n    \"resourceVersion\": \"e3b97e94-7950-4bdc-93a7-75b6eb3ea18b\",\n    \"uid\": \"8d2e0db7-44f2-44be-815d-b81044e1c5ea\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:23:02.641960411Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:23:02.641938340Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:02.641910217Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:02.641911128Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:02.641911630Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:02.641912271Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:02.641912842Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:02.641917430Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:23:02Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:23:02.618994Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("5129aa68-8035-41e6-99b3-1dbfcce039c6"), "resourceVersion": String("e3b97e94-7950-4bdc-93a7-75b6eb3ea18b"), "uid": String("8d2e0db7-44f2-44be-815d-b81044e1c5ea")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:23:02.641960411Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:23:02.641938340Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:23:02.641910217Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:23:02.641911128Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:23:02.641911630Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:23:02.641912271Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:23:02.641912842Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:23:02.641917430Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T12:23:02Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:23:03Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "5129aa68-8035-41e6-99b3-1dbfcce039c6"
[2022-05-09T12:23:03Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:23:02.618994Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"5129aa68-8035-41e6-99b3-1dbfcce039c6\",\n    \"resourceVersion\": \"be04e421-8c37-4f6e-99c3-9e6545b8a2a7\",\n    \"uid\": \"8d2e0db7-44f2-44be-815d-b81044e1c5ea\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:23:02.894080698Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:23:02.894023982Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:02.663088589Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:02.670733595Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:02.729383972Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:02.734409014Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:02.893977995Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:02.893996781Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"b4q9LKX2z4QD\",\n        \"username\": \"user-5129aa68-8035-41e6-99b3-1dbfcce039c6\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:23:03Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:23:02.618994Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("5129aa68-8035-41e6-99b3-1dbfcce039c6"), "resourceVersion": String("be04e421-8c37-4f6e-99c3-9e6545b8a2a7"), "uid": String("8d2e0db7-44f2-44be-815d-b81044e1c5ea")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:23:02.894080698Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:23:02.894023982Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:23:02.663088589Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:23:02.670733595Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:23:02.729383972Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:23:02.734409014Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:23:02.893977995Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:23:02.893996781Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("b4q9LKX2z4QD"), "username": String("user-5129aa68-8035-41e6-99b3-1dbfcce039c6")})})})})
[2022-05-09T12:23:03Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:23:03Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "5129aa68-8035-41e6-99b3-1dbfcce039c6"
[2022-05-09T12:23:03Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:23:02.618994Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"5129aa68-8035-41e6-99b3-1dbfcce039c6\",\n    \"resourceVersion\": \"be04e421-8c37-4f6e-99c3-9e6545b8a2a7\",\n    \"uid\": \"8d2e0db7-44f2-44be-815d-b81044e1c5ea\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:23:02.894080698Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:23:02.894023982Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:02.663088589Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:02.670733595Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:02.729383972Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:02.734409014Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:02.893977995Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:02.893996781Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"b4q9LKX2z4QD\",\n        \"username\": \"user-5129aa68-8035-41e6-99b3-1dbfcce039c6\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:23:03Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:23:02.618994Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("5129aa68-8035-41e6-99b3-1dbfcce039c6"), "resourceVersion": String("be04e421-8c37-4f6e-99c3-9e6545b8a2a7"), "uid": String("8d2e0db7-44f2-44be-815d-b81044e1c5ea")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:23:02.894080698Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:23:02.894023982Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:23:02.663088589Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:23:02.670733595Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:23:02.729383972Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:23:02.734409014Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:23:02.893977995Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:23:02.893996781Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("b4q9LKX2z4QD"), "username": String("user-5129aa68-8035-41e6-99b3-1dbfcce039c6")})})})})
[2022-05-09T12:23:03Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:23:03Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:23:03Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "5129aa68-8035-41e6-99b3-1dbfcce039c6" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:23:03Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:23:03Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:23:03Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:23:03Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:23:03Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkyODEsImlhdCI6MTY1MjA5ODk4MSwiYXV0aF90aW1lIjoxNjUyMDk4OTc5LCJqdGkiOiIxZGE2ZGEyYS0wMmJjLTRjM2EtYmI4MC1hOTJmM2NjMGMyYjQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJYc0o2a0p1eUZ4cWRtdnRuTktIMHpnIiwic2Vzc2lvbl9zdGF0ZSI6IjZmNjgzNmE5LWQ2ZDEtNGIxYi1hZDI0LTNmMWY5MTg0YmZiNiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjZmNjgzNmE5LWQ2ZDEtNGIxYi1hZDI0LTNmMWY5MTg0YmZiNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.EWEZg5Hqzaq99nI9PwK8pIG8vSRZdEoPP3eJfVvsnpWW7FowNDeXkEf0lhvHiuKV90ioST9atORy5OCr0bfSmdL-GwXSt0plpRV_hzkq0131ftLl6671tiBxQRlukSPxLH2xtQtdnhs4qSQpycplxFW_3_sCnV1wix2gDlTTRNKP-_pQE-qq5cwVtcGlXlfES6IfjGw-n_qHUsgZvEjg6heC06tDqrpwbM4JYIiOZgN7ijS3aGlMETYKVtqpnRSZ7OZ3gUtCsVwJ3wFtnlHfpqoKc30Cl4tGomBVFFU3JUvuFi1iCjI3MRCJh6NgXl9cw39MShO64kFuRfZ0EkHmSQ\n", stderr: "" })
[2022-05-09T12:23:03Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:23:03Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:23:03Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:23:03Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "5129aa68-8035-41e6-99b3-1dbfcce039c6" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:23:03Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:23:03Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T12:23:03Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:23:03Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkyODEsImlhdCI6MTY1MjA5ODk4MSwiYXV0aF90aW1lIjoxNjUyMDk4OTc5LCJqdGkiOiIxZGE2ZGEyYS0wMmJjLTRjM2EtYmI4MC1hOTJmM2NjMGMyYjQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJYc0o2a0p1eUZ4cWRtdnRuTktIMHpnIiwic2Vzc2lvbl9zdGF0ZSI6IjZmNjgzNmE5LWQ2ZDEtNGIxYi1hZDI0LTNmMWY5MTg0YmZiNiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjZmNjgzNmE5LWQ2ZDEtNGIxYi1hZDI0LTNmMWY5MTg0YmZiNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.EWEZg5Hqzaq99nI9PwK8pIG8vSRZdEoPP3eJfVvsnpWW7FowNDeXkEf0lhvHiuKV90ioST9atORy5OCr0bfSmdL-GwXSt0plpRV_hzkq0131ftLl6671tiBxQRlukSPxLH2xtQtdnhs4qSQpycplxFW_3_sCnV1wix2gDlTTRNKP-_pQE-qq5cwVtcGlXlfES6IfjGw-n_qHUsgZvEjg6heC06tDqrpwbM4JYIiOZgN7ijS3aGlMETYKVtqpnRSZ7OZ3gUtCsVwJ3wFtnlHfpqoKc30Cl4tGomBVFFU3JUvuFi1iCjI3MRCJh6NgXl9cw39MShO64kFuRfZ0EkHmSQ\n", stderr: "" })
[2022-05-09T12:23:03Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "27d00181-fdab-4b99-b318-f646d18e3b20", persistence: None, user_data: None }
[2022-05-09T12:23:03Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:23:03Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717bf6160
[2022-05-09T12:23:03Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717bf6160
[2022-05-09T12:23:03Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717c7f910, connectTimeout: 30, retryInterval: 0, ssl: 0x561717874fb0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717c7e770, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkyODEsImlhdCI6MTY1MjA5ODk4MSwiYXV0aF90aW1lIjoxNjUyMDk4OTc5LCJqdGkiOiIxZGE2ZGEyYS0wMmJjLTRjM2EtYmI4MC1hOTJmM2NjMGMyYjQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJYc0o2a0p1eUZ4cWRtdnRuTktIMHpnIiwic2Vzc2lvbl9zdGF0ZSI6IjZmNjgzNmE5LWQ2ZDEtNGIxYi1hZDI0LTNmMWY5MTg0YmZiNiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjZmNjgzNmE5LWQ2ZDEtNGIxYi1hZDI0LTNmMWY5MTg0YmZiNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.EWEZg5Hqzaq99nI9PwK8pIG8vSRZdEoPP3eJfVvsnpWW7FowNDeXkEf0lhvHiuKV90ioST9atORy5OCr0bfSmdL-GwXSt0plpRV_hzkq0131ftLl6671tiBxQRlukSPxLH2xtQtdnhs4qSQpycplxFW_3_sCnV1wix2gDlTTRNKP-_pQE-qq5cwVtcGlXlfES6IfjGw-n_qHUsgZvEjg6heC06tDqrpwbM4JYIiOZgN7ijS3aGlMETYKVtqpnRSZ7OZ3gUtCsVwJ3wFtnlHfpqoKc30Cl4tGomBVFFU3JUvuFi1iCjI3MRCJh6NgXl9cw39MShO64kFuRfZ0EkHmSQ"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:23:03Z DEBUG paho_mqtt::async_client] Subscribe to '"app/5129aa68-8035-41e6-99b3-1dbfcce039c6"' @ QOS 0
[2022-05-09T12:23:03Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:23:03Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:23:03Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:23:03Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:23:03Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:23:04Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:23:05Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:23:05Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:23:05Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:23:05Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:23:06Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:23:06Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:23:06Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:23:06Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:23:07Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:23:07Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:23:07Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:23:07Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:23:07Z 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: 0x7f4b18019250, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x561717896ad0 } }, data: MessageData { topic: "app/5129aa68-8035-41e6-99b3-1dbfcce039c6", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x561717896ad0 } } } }
[2022-05-09T12:23:07Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717837120, 0x561717a10180
[2022-05-09T12:23:07Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717a10180, 0x5617179e1500
[2022-05-09T12:23:07Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717a10180, 0x7f4b300074e0
[2022-05-09T12:23:07Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300074e0, 0x56171793f780
[2022-05-09T12:23:07Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300074e0, 0x7f4b30007c20
[2022-05-09T12:23:07Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30007c20, 0x5617179e1500
[2022-05-09T12:23:07Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30007c20, 0x5617179e1500
[2022-05-09T12:23:07Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30007c20, 0x5617179e1500
[2022-05-09T12:23:07Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30007c20, 0x7f4b30008020
[2022-05-09T12:23:07Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30008020, 0x7f4b30007c20
[2022-05-09T12:23:07Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30007c20, 0x7f4b30008020
[2022-05-09T12:23:07Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30008020, 0x7f4b300037f0
[2022-05-09T12:23:07Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30008020, 0x5617179e1500
[2022-05-09T12:23:07Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30008020, 0x5617179e1500
[2022-05-09T12:23:07Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b30008020
[2022-05-09T12:23:07Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/5129aa68-8035-41e6-99b3-1dbfcce039c6", content_type: Some("application/json"), user_properties: {"device": "device1", "senderuid": "a4aeac37-53a3-4301-baef-7d4779228ecf", "id": "55fb6ea9-be35-4a15-b939-8300398e117c", "subject": "warmup", "instance": "drogue", "deviceuid": "9b8b0c7e-3b9d-4e14-815b-0ef4aa30e254", "application": "5129aa68-8035-41e6-99b3-1dbfcce039c6", "partitionkey": "5129aa68%2D8035%2D41e6%2D99b3%2D1dbfcce039c6/device1", "applicationuid": "8d2e0db7-44f2-44be-815d-b81044e1c5ea", "specversion": "1.0", "source": "drogue://5129aa68%2D8035%2D41e6%2D99b3%2D1dbfcce039c6/device1", "sender": "gateway1", "type": "io.drogue.event.v1", "time": "2022-05-09T12:23:07.611788906+00:00"}, payload: "{\"index\":3}" }
[2022-05-09T12:23:08Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:23:08Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:23:08Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:23:08Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:23:08Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "899fa15a-9f83-490e-b07a-57050b61210a", persistence: None, user_data: None }
[2022-05-09T12:23:08Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:23:08Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717c6ace0
[2022-05-09T12:23:08Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717c6ace0
[2022-05-09T12:23:08Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x561717833f60, password: 0x561717c828e0, connectTimeout: 30, retryInterval: 0, ssl: 0x5617178371b0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717ab92f0, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@5129aa68-8035-41e6-99b3-1dbfcce039c6"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:23:09Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 18, payload: 0x7f4b18015750, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717940c60 } }, data: MessageData { topic: "app/5129aa68-8035-41e6-99b3-1dbfcce039c6", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717940c60 } } } }
[2022-05-09T12:23:09Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004e30, 0x7f4b28008ae0
[2022-05-09T12:23:09Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28008ae0, 0x561717a6f6c0
[2022-05-09T12:23:09Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28008ae0, 0x7f4b28003d20
[2022-05-09T12:23:09Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003d20, 0x561717a1cdb0
[2022-05-09T12:23:09Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003d20, 0x7f4b28008160
[2022-05-09T12:23:09Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003d20, 0x7f4b28008160
[2022-05-09T12:23:09Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003d20, 0x7f4b28008160
[2022-05-09T12:23:09Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003d20, 0x7f4b28004a80
[2022-05-09T12:23:09Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004a80, 0x7f4b28008160
[2022-05-09T12:23:09Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004a80, 0x7f4b28008160
[2022-05-09T12:23:09Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004a80, 0x7f4b28008160
[2022-05-09T12:23:09Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004a80, 0x7f4b28001240
[2022-05-09T12:23:09Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001240, 0x561717948490
[2022-05-09T12:23:09Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001240, 0x7f4b28004590
[2022-05-09T12:23:09Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28004590
[2022-05-09T12:23:09Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717ca63f0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717ca63f0 } } } }
[2022-05-09T12:23:09Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/5129aa68-8035-41e6-99b3-1dbfcce039c6", content_type: Some("application/json"), user_properties: {"type": "io.drogue.connection.v1", "specversion": "1.0", "source": "drogue://5129aa68%2D8035%2D41e6%2D99b3%2D1dbfcce039c6/gateway1", "time": "2022-05-09T12:23:08.729152996+00:00", "applicationuid": "8d2e0db7-44f2-44be-815d-b81044e1c5ea", "application": "5129aa68-8035-41e6-99b3-1dbfcce039c6", "senderuid": "a4aeac37-53a3-4301-baef-7d4779228ecf", "subject": "connection", "deviceuid": "a4aeac37-53a3-4301-baef-7d4779228ecf", "instance": "drogue", "partitionkey": "5129aa68%2D8035%2D41e6%2D99b3%2D1dbfcce039c6/gateway1", "sender": "gateway1", "device": "gateway1", "id": "760deff2-5d03-43a8-a53e-165966fd6070"}, payload: "{\"connected\":true}" }
[2022-05-09T12:23:09Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:23:10Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x561717b6b200 } }, data: MessageData { topic: "app/5129aa68-8035-41e6-99b3-1dbfcce039c6", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x561717b6b200 } } } }
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28008ae0, 0x561717a0fee0
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717a0fee0, 0x7f4b18015a10
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717a0fee0, 0x7f4b28000aa0
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000aa0, 0x7f4b18015b30
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000aa0, 0x7f4b28004e30
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004e30, 0x7f4b18015a10
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004e30, 0x7f4b18015a10
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004e30, 0x7f4b18015a10
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004e30, 0x7f4b280045d0
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280045d0, 0x7f4b1802eb40
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280045d0, 0x7f4b18015a10
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280045d0, 0x7f4b18015a10
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280045d0, 0x7f4b28004a60
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004a60, 0x7f4b280045d0
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28008190
[2022-05-09T12:23:10Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/5129aa68-8035-41e6-99b3-1dbfcce039c6", content_type: Some("application/octet-stream"), user_properties: {"specversion": "1.0", "device": "device1", "instance": "drogue", "deviceuid": "9b8b0c7e-3b9d-4e14-815b-0ef4aa30e254", "sender": "gateway1", "partitionkey": "5129aa68%2D8035%2D41e6%2D99b3%2D1dbfcce039c6/device1", "type": "io.drogue.event.v1", "subject": "telemetry", "source": "drogue://5129aa68%2D8035%2D41e6%2D99b3%2D1dbfcce039c6/device1", "time": "2022-05-09T12:23:09.251957501+00:00", "senderuid": "a4aeac37-53a3-4301-baef-7d4779228ecf", "id": "58752589-6950-4e7a-a478-2001ec1b4c74", "applicationuid": "8d2e0db7-44f2-44be-815d-b81044e1c5ea", "application": "5129aa68-8035-41e6-99b3-1dbfcce039c6"}, payload: "" }
[2022-05-09T12:23:10Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 19, payload: 0x7f4b18019410, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717987f40 } }, data: MessageData { topic: "app/5129aa68-8035-41e6-99b3-1dbfcce039c6", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717987f40 } } } }
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280045f0, 0x7f4b28005000
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005000, 0x7f4b28005020
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005000, 0x7f4b28008010
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28008010, 0x7f4b1801a460
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28008010, 0x7f4b28003d20
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003d20, 0x7f4b28005020
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003d20, 0x7f4b28005020
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003d20, 0x7f4b28000aa0
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000aa0, 0x7f4b28005020
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000aa0, 0x7f4b280045b0
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280045b0, 0x7f4b28000aa0
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000aa0, 0x7f4b28005020
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000aa0, 0x7f4b18032d30
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000aa0, 0x7f4b28005020
[2022-05-09T12:23:10Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28000aa0
[2022-05-09T12:23:10Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/5129aa68-8035-41e6-99b3-1dbfcce039c6", content_type: Some("application/json"), user_properties: {"sender": "gateway1", "time": "2022-05-09T12:23:10.143334507+00:00", "id": "c7df3edd-fb60-4042-8ca2-6975b3fa943a", "instance": "drogue", "type": "io.drogue.connection.v1", "application": "5129aa68-8035-41e6-99b3-1dbfcce039c6", "source": "drogue://5129aa68%2D8035%2D41e6%2D99b3%2D1dbfcce039c6/gateway1", "partitionkey": "5129aa68%2D8035%2D41e6%2D99b3%2D1dbfcce039c6/gateway1", "deviceuid": "a4aeac37-53a3-4301-baef-7d4779228ecf", "specversion": "1.0", "device": "gateway1", "subject": "connection", "senderuid": "a4aeac37-53a3-4301-baef-7d4779228ecf", "applicationuid": "8d2e0db7-44f2-44be-815d-b81044e1c5ea"}, payload: "{\"connected\":false}" }
[2022-05-09T12:23:10Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:23:10Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:23:10Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:23:10Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "5129aa68-8035-41e6-99b3-1dbfcce039c6", device: "device1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "5129aa68-8035-41e6-99b3-1dbfcce039c6", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:23:10Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:23:10Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "5129aa68-8035-41e6-99b3-1dbfcce039c6" "device1"
[2022-05-09T12:23:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:23:10Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:23:10Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "5129aa68-8035-41e6-99b3-1dbfcce039c6" "gateway1"
[2022-05-09T12:23:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:23:10Z INFO  drogue_cloud_tests::resources::apps] Destroy application '5129aa68-8035-41e6-99b3-1dbfcce039c6'
[2022-05-09T12:23:10Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "5129aa68-8035-41e6-99b3-1dbfcce039c6"
[2022-05-09T12:23:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 5129aa68-8035-41e6-99b3-1dbfcce039c6 deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_1::integration_version_1::integration_ws_1

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T12:23:12Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:23:12Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:23:12Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:23:12Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:23:12Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:23:13Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:23:15Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:23:15Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:23:15Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:23:15Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:23:17Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA3OTcsImlhdCI6MTY1MjA5ODk5NywianRpIjoiMTUxOTQ1YzctYmIzNC00ZjZjLWI2YzktMjA4MzkyZWMwMGQwIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6InlrQ1RNQ0QwY2NaX0lKR1lxTVl6NmciLCJzZXNzaW9uX3N0YXRlIjoiZDIwOGQ4MGQtZGM2Yi00ZmIxLTliZjQtNTY0YWYzMGNlZWFjIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImQyMDhkODBkLWRjNmItNGZiMS05YmY0LTU2NGFmMzBjZWVhYyJ9.spaRRyJnLXgIPPR8GUrVrt0u9UkCohPPYsqDrZuhiYI
[2022-05-09T12:23:17Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:23:17Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:23:17Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA3OTcsImlhdCI6MTY1MjA5ODk5NywianRpIjoiMTUxOTQ1YzctYmIzNC00ZjZjLWI2YzktMjA4MzkyZWMwMGQwIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6InlrQ1RNQ0QwY2NaX0lKR1lxTVl6NmciLCJzZXNzaW9uX3N0YXRlIjoiZDIwOGQ4MGQtZGM2Yi00ZmIxLTliZjQtNTY0YWYzMGNlZWFjIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImQyMDhkODBkLWRjNmItNGZiMS05YmY0LTU2NGFmMzBjZWVhYyJ9.spaRRyJnLXgIPPR8GUrVrt0u9UkCohPPYsqDrZuhiYI" "--context" "system-tests"
[2022-05-09T12:23:17Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:23:17Z INFO  drogue_cloud_tests::resources::apps] Create application: 6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e
[2022-05-09T12:23:17Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e"
[2022-05-09T12:23:17Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e created.\n", stderr: "" })
[2022-05-09T12:23:17Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e"
[2022-05-09T12:23:17Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:23:17.848863Z\",\n    \"generation\": 1,\n    \"name\": \"6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e\",\n    \"resourceVersion\": \"dfda4041-8f47-4e40-9bd6-14273cc404e6\",\n    \"uid\": \"2caa1dca-a28f-433a-a4ec-b55ee0474046\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:23:17.863459474Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2022-05-09T12:23:17Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:23:17.848863Z"), "generation": Number(1), "name": String("6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e"), "resourceVersion": String("dfda4041-8f47-4e40-9bd6-14273cc404e6"), "uid": String("2caa1dca-a28f-433a-a4ec-b55ee0474046")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:23:17.863459474Z"), "status": String("True"), "type": String("Ready")})])})})
[2022-05-09T12:23:17Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:23:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e"
[2022-05-09T12:23:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:23:17.848863Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e\",\n    \"resourceVersion\": \"4682db67-c604-4092-9358-c89235cff14e\",\n    \"uid\": \"2caa1dca-a28f-433a-a4ec-b55ee0474046\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:23:18.154851712Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:23:18.154769268Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:17.929735590Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:17.937088307Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:17.991567493Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:18.001800722Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:18.154695198Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:18.154715126Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"WRGk03fleqA0\",\n        \"username\": \"user-6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:23:18Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:23:17.848863Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e"), "resourceVersion": String("4682db67-c604-4092-9358-c89235cff14e"), "uid": String("2caa1dca-a28f-433a-a4ec-b55ee0474046")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:23:18.154851712Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:23:18.154769268Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:23:17.929735590Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:23:17.937088307Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:23:17.991567493Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:23:18.001800722Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:23:18.154695198Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:23:18.154715126Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("WRGk03fleqA0"), "username": String("user-6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e")})})})})
[2022-05-09T12:23:18Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:23:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e"
[2022-05-09T12:23:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:23:17.848863Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e\",\n    \"resourceVersion\": \"4682db67-c604-4092-9358-c89235cff14e\",\n    \"uid\": \"2caa1dca-a28f-433a-a4ec-b55ee0474046\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:23:18.154851712Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:23:18.154769268Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:17.929735590Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:17.937088307Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:17.991567493Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:18.001800722Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:18.154695198Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:18.154715126Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"WRGk03fleqA0\",\n        \"username\": \"user-6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:23:18Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:23:17.848863Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e"), "resourceVersion": String("4682db67-c604-4092-9358-c89235cff14e"), "uid": String("2caa1dca-a28f-433a-a4ec-b55ee0474046")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:23:18.154851712Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:23:18.154769268Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:23:17.929735590Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:23:17.937088307Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:23:17.991567493Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:23:18.001800722Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:23:18.154695198Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:23:18.154715126Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("WRGk03fleqA0"), "username": String("user-6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e")})})})})
[2022-05-09T12:23:18Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:23:18Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:23:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:23:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:23:18Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:23:18Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:23:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:23:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkyOTcsImlhdCI6MTY1MjA5ODk5NywiYXV0aF90aW1lIjoxNjUyMDk4OTk0LCJqdGkiOiJiNTViODgxMy0xMGU0LTQ0OTEtYWU1Yy1jYjE4NjAzNTQxOTAiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ5a0NUTUNEMGNjWl9JSkdZcU1ZejZnIiwic2Vzc2lvbl9zdGF0ZSI6ImQyMDhkODBkLWRjNmItNGZiMS05YmY0LTU2NGFmMzBjZWVhYyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImQyMDhkODBkLWRjNmItNGZiMS05YmY0LTU2NGFmMzBjZWVhYyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.CFwudUDPDwBRDC6DPPq_ClE4YFMahswaNjLYrPC0hjxeB54nMzuQnOXdp_vCRN0j0VcG_OVLiOrmNU1wNjLPH3Ioi03931AcAS-ZYntHQu-2xGWd1BrABc084oYxpLdU75ukiNzs16Knjumo42gN_-WyyefcYJTMgQ5IkI0mHKo4UwZY2ieJtj6BcvBwCoiC5wyLZmH2z6X3xGGb7CpEq_L5D5ieSw7jEyb-B1t3HqK2GhO2qjJ5SFautSC5bO2zmtl747-4HIbjvOXpl6y8OiLCPO-fbAtE8vonbfhNwNxJR3R2LU2RCxNszxDSofu4HT8afd_vcWHkn75bSyQKmw\n", stderr: "" })
[2022-05-09T12:23:18Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:23:18Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:23:18Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:23:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:23:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:23:18Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T12:23:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:23:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkyOTcsImlhdCI6MTY1MjA5ODk5NywiYXV0aF90aW1lIjoxNjUyMDk4OTk0LCJqdGkiOiJiNTViODgxMy0xMGU0LTQ0OTEtYWU1Yy1jYjE4NjAzNTQxOTAiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ5a0NUTUNEMGNjWl9JSkdZcU1ZejZnIiwic2Vzc2lvbl9zdGF0ZSI6ImQyMDhkODBkLWRjNmItNGZiMS05YmY0LTU2NGFmMzBjZWVhYyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImQyMDhkODBkLWRjNmItNGZiMS05YmY0LTU2NGFmMzBjZWVhYyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.CFwudUDPDwBRDC6DPPq_ClE4YFMahswaNjLYrPC0hjxeB54nMzuQnOXdp_vCRN0j0VcG_OVLiOrmNU1wNjLPH3Ioi03931AcAS-ZYntHQu-2xGWd1BrABc084oYxpLdU75ukiNzs16Knjumo42gN_-WyyefcYJTMgQ5IkI0mHKo4UwZY2ieJtj6BcvBwCoiC5wyLZmH2z6X3xGGb7CpEq_L5D5ieSw7jEyb-B1t3HqK2GhO2qjJ5SFautSC5bO2zmtl747-4HIbjvOXpl6y8OiLCPO-fbAtE8vonbfhNwNxJR3R2LU2RCxNszxDSofu4HT8afd_vcWHkn75bSyQKmw\n", stderr: "" })
[2022-05-09T12:23:18Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "8079cc0a-9324-4eb1-931b-9a627c26ddaa", persistence: None, user_data: None }
[2022-05-09T12:23:18Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:23:18Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717b40cd0
[2022-05-09T12:23:18Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717b40cd0
[2022-05-09T12:23:18Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x56171799eeb0, connectTimeout: 30, retryInterval: 0, ssl: 0x561717987cf0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717befe90, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkyOTcsImlhdCI6MTY1MjA5ODk5NywiYXV0aF90aW1lIjoxNjUyMDk4OTk0LCJqdGkiOiJiNTViODgxMy0xMGU0LTQ0OTEtYWU1Yy1jYjE4NjAzNTQxOTAiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ5a0NUTUNEMGNjWl9JSkdZcU1ZejZnIiwic2Vzc2lvbl9zdGF0ZSI6ImQyMDhkODBkLWRjNmItNGZiMS05YmY0LTU2NGFmMzBjZWVhYyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImQyMDhkODBkLWRjNmItNGZiMS05YmY0LTU2NGFmMzBjZWVhYyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.CFwudUDPDwBRDC6DPPq_ClE4YFMahswaNjLYrPC0hjxeB54nMzuQnOXdp_vCRN0j0VcG_OVLiOrmNU1wNjLPH3Ioi03931AcAS-ZYntHQu-2xGWd1BrABc084oYxpLdU75ukiNzs16Knjumo42gN_-WyyefcYJTMgQ5IkI0mHKo4UwZY2ieJtj6BcvBwCoiC5wyLZmH2z6X3xGGb7CpEq_L5D5ieSw7jEyb-B1t3HqK2GhO2qjJ5SFautSC5bO2zmtl747-4HIbjvOXpl6y8OiLCPO-fbAtE8vonbfhNwNxJR3R2LU2RCxNszxDSofu4HT8afd_vcWHkn75bSyQKmw"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:23:19Z DEBUG paho_mqtt::async_client] Subscribe to '"app/6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e"' @ QOS 0
[2022-05-09T12:23:19Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:23:19Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:23:19Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:23:19Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:23:19Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:23:19Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:23:20Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:23:20Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:23:20Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:23:20Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:23:21Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:23:21Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:23:21Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:23:21Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:23:22Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:23:22Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:23:22Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:23:22Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:23:22Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 621, payload: 0x7f4b1c016350, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e", 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, 55, 57, 49, 55, 55, 57, 100, 97, 45, 98, 54, 97, 50, 45, 52, 50, 53, 49, 45, 57, 53, 54, 99, 45, 99, 57, 99, 99, 55, 98, 99, 48, 97, 56, 50, 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, 54, 100, 98, 100, 102, 101, 101, 49, 37, 50, 68, 48, 99, 56, 101, 37, 50, 68, 52, 100, 53, 53, 37, 50, 68, 98, 55, 97, 49, 37, 50, 68, 100, 101, 99, 51, 102, 100, 97, 99, 53, 102, 54, 101, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 51, 58, 50, 50, 46, 54, 49, 48, 55, 57, 52, 51, 49, 55, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 99, 48, 50, 50, 48, 48, 54, 99, 45, 55, 98, 57, 55, 45, 52, 49, 53, 54, 45, 57, 53, 51, 97, 45, 97, 53, 99, 53, 52, 52, 102, 55, 51, 99, 98, 52, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 54, 100, 98, 100, 102, 101, 101, 49, 45, 48, 99, 56, 101, 45, 52, 100, 53, 53, 45, 98, 55, 97, 49, 45, 100, 101, 99, 51, 102, 100, 97, 99, 53, 102, 54, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 101, 49, 56, 57, 98, 53, 54, 98, 45, 102, 54, 57, 99, 45, 52, 100, 54, 101, 45, 98, 49, 102, 49, 45, 102, 57, 51, 99, 50, 51, 102, 99, 48, 54, 56, 55, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 50, 99, 97, 97, 49, 100, 99, 97, 45, 97, 50, 56, 102, 45, 52, 51, 51, 97, 45, 97, 52, 101, 99, 45, 98, 53, 53, 101, 101, 48, 52, 55, 52, 48, 52, 54, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 54, 100, 98, 100, 102, 101, 101, 49, 37, 50, 68, 48, 99, 56, 101, 37, 50, 68, 52, 100, 53, 53, 37, 50, 68, 98, 55, 97, 49, 37, 50, 68, 100, 101, 99, 51, 102, 100, 97, 99, 53, 102, 54, 101, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:23:22Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"791779da-b6a2-4251-956c-c9cc7bc0a825\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://6dbdfee1%2D0c8e%2D4d55%2Db7a1%2Ddec3fdac5f6e/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:23:22.610794317Z\",\"data\":{\"index\":3},\"deviceuid\":\"c022006c-7b97-4156-953a-a5c544f73cb4\",\"application\":\"6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e\",\"device\":\"device1\",\"sender\":\"gateway1\",\"senderuid\":\"e189b56b-f69c-4d6e-b1f1-f93c23fc0687\",\"applicationuid\":\"2caa1dca-a28f-433a-a4ec-b55ee0474046\",\"partitionkey\":\"6dbdfee1%2D0c8e%2D4d55%2Db7a1%2Ddec3fdac5f6e/device1\",\"instance\":\"drogue\"}" }
[2022-05-09T12:23:23Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:23:23Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:23:23Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:23:23Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:23:23Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "b6de3190-b689-4249-a38b-41c19d639b8f", persistence: None, user_data: None }
[2022-05-09T12:23:23Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:23:23Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717a9aef0
[2022-05-09T12:23:23Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717a9aef0
[2022-05-09T12:23:23Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717d51e10, password: 0x5617179b1670, connectTimeout: 30, retryInterval: 0, ssl: 0x5617179a0270, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717d506b0, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:23:24Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x56171787ba30 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x56171787ba30 } } } }
[2022-05-09T12:23:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 640, payload: 0x7f4b1c00b750, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e", 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, 48, 51, 102, 57, 56, 57, 97, 48, 45, 51, 97, 97, 48, 45, 52, 52, 98, 56, 45, 98, 49, 101, 57, 45, 98, 100, 52, 56, 99, 51, 98, 56, 50, 56, 49, 101, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 54, 100, 98, 100, 102, 101, 101, 49, 37, 50, 68, 48, 99, 56, 101, 37, 50, 68, 52, 100, 53, 53, 37, 50, 68, 98, 55, 97, 49, 37, 50, 68, 100, 101, 99, 51, 102, 100, 97, 99, 53, 102, 54, 101, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 51, 58, 50, 51, 46, 55, 50, 55, 49, 57, 50, 48, 53, 55, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 54, 100, 98, 100, 102, 101, 101, 49, 45, 48, 99, 56, 101, 45, 52, 100, 53, 53, 45, 98, 55, 97, 49, 45, 100, 101, 99, 51, 102, 100, 97, 99, 53, 102, 54, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 101, 49, 56, 57, 98, 53, 54, 98, 45, 102, 54, 57, 99, 45, 52, 100, 54, 101, 45, 98, 49, 102, 49, 45, 102, 57, 51, 99, 50, 51, 102, 99, 48, 54, 56, 55, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 54, 100, 98, 100, 102, 101, 101, 49, 37, 50, 68, 48, 99, 56, 101, 37, 50, 68, 52, 100, 53, 53, 37, 50, 68, 98, 55, 97, 49, 37, 50, 68, 100, 101, 99, 51, 102, 100, 97, 99, 53, 102, 54, 101, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 50, 99, 97, 97, 49, 100, 99, 97, 45, 97, 50, 56, 102, 45, 52, 51, 51, 97, 45, 97, 52, 101, 99, 45, 98, 53, 53, 101, 101, 48, 52, 55, 52, 48, 52, 54, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 101, 49, 56, 57, 98, 53, 54, 98, 45, 102, 54, 57, 99, 45, 52, 100, 54, 101, 45, 98, 49, 102, 49, 45, 102, 57, 51, 99, 50, 51, 102, 99, 48, 54, 56, 55, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:23:24Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:23:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"03f989a0-3aa0-44b8-b1e9-bd48c3b8281e\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://6dbdfee1%2D0c8e%2D4d55%2Db7a1%2Ddec3fdac5f6e/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:23:23.727192057Z\",\"data\":{\"connected\":true},\"application\":\"6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e\",\"deviceuid\":\"e189b56b-f69c-4d6e-b1f1-f93c23fc0687\",\"instance\":\"drogue\",\"device\":\"gateway1\",\"partitionkey\":\"6dbdfee1%2D0c8e%2D4d55%2Db7a1%2Ddec3fdac5f6e/gateway1\",\"applicationuid\":\"2caa1dca-a28f-433a-a4ec-b55ee0474046\",\"senderuid\":\"e189b56b-f69c-4d6e-b1f1-f93c23fc0687\",\"sender\":\"gateway1\"}" }
[2022-05-09T12:23:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 630, payload: 0x7f4b1c016ca0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e", 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, 99, 55, 102, 54, 56, 51, 55, 101, 45, 48, 57, 102, 56, 45, 52, 99, 56, 99, 45, 57, 49, 97, 48, 45, 56, 99, 57, 48, 54, 101, 55, 51, 56, 100, 52, 52, 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, 54, 100, 98, 100, 102, 101, 101, 49, 37, 50, 68, 48, 99, 56, 101, 37, 50, 68, 52, 100, 53, 53, 37, 50, 68, 98, 55, 97, 49, 37, 50, 68, 100, 101, 99, 51, 102, 100, 97, 99, 53, 102, 54, 101, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 51, 58, 50, 52, 46, 50, 53, 56, 50, 49, 49, 55, 49, 55, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 101, 49, 56, 57, 98, 53, 54, 98, 45, 102, 54, 57, 99, 45, 52, 100, 54, 101, 45, 98, 49, 102, 49, 45, 102, 57, 51, 99, 50, 51, 102, 99, 48, 54, 56, 55, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 54, 100, 98, 100, 102, 101, 101, 49, 37, 50, 68, 48, 99, 56, 101, 37, 50, 68, 52, 100, 53, 53, 37, 50, 68, 98, 55, 97, 49, 37, 50, 68, 100, 101, 99, 51, 102, 100, 97, 99, 53, 102, 54, 101, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 99, 48, 50, 50, 48, 48, 54, 99, 45, 55, 98, 57, 55, 45, 52, 49, 53, 54, 45, 57, 53, 51, 97, 45, 97, 53, 99, 53, 52, 52, 102, 55, 51, 99, 98, 52, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 54, 100, 98, 100, 102, 101, 101, 49, 45, 48, 99, 56, 101, 45, 52, 100, 53, 53, 45, 98, 55, 97, 49, 45, 100, 101, 99, 51, 102, 100, 97, 99, 53, 102, 54, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 50, 99, 97, 97, 49, 100, 99, 97, 45, 97, 50, 56, 102, 45, 52, 51, 51, 97, 45, 97, 52, 101, 99, 45, 98, 53, 53, 101, 101, 48, 52, 55, 52, 48, 52, 54, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:23:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"c7f6837e-09f8-4c8c-91a0-8c906e738d44\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://6dbdfee1%2D0c8e%2D4d55%2Db7a1%2Ddec3fdac5f6e/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:23:24.258211717Z\",\"data_base64\":\"\",\"sender\":\"gateway1\",\"device\":\"device1\",\"instance\":\"drogue\",\"senderuid\":\"e189b56b-f69c-4d6e-b1f1-f93c23fc0687\",\"partitionkey\":\"6dbdfee1%2D0c8e%2D4d55%2Db7a1%2Ddec3fdac5f6e/device1\",\"deviceuid\":\"c022006c-7b97-4156-953a-a5c544f73cb4\",\"application\":\"6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e\",\"applicationuid\":\"2caa1dca-a28f-433a-a4ec-b55ee0474046\"}" }
[2022-05-09T12:23:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 641, payload: 0x7f4b1c008380, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e", 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, 57, 49, 57, 55, 97, 51, 56, 55, 45, 100, 56, 100, 99, 45, 52, 55, 52, 102, 45, 98, 53, 99, 101, 45, 100, 57, 51, 52, 52, 50, 55, 100, 49, 53, 48, 48, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 54, 100, 98, 100, 102, 101, 101, 49, 37, 50, 68, 48, 99, 56, 101, 37, 50, 68, 52, 100, 53, 53, 37, 50, 68, 98, 55, 97, 49, 37, 50, 68, 100, 101, 99, 51, 102, 100, 97, 99, 53, 102, 54, 101, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 51, 58, 50, 52, 46, 51, 48, 48, 50, 53, 48, 55, 48, 54, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 54, 100, 98, 100, 102, 101, 101, 49, 45, 48, 99, 56, 101, 45, 52, 100, 53, 53, 45, 98, 55, 97, 49, 45, 100, 101, 99, 51, 102, 100, 97, 99, 53, 102, 54, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 54, 100, 98, 100, 102, 101, 101, 49, 37, 50, 68, 48, 99, 56, 101, 37, 50, 68, 52, 100, 53, 53, 37, 50, 68, 98, 55, 97, 49, 37, 50, 68, 100, 101, 99, 51, 102, 100, 97, 99, 53, 102, 54, 101, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 50, 99, 97, 97, 49, 100, 99, 97, 45, 97, 50, 56, 102, 45, 52, 51, 51, 97, 45, 97, 52, 101, 99, 45, 98, 53, 53, 101, 101, 48, 52, 55, 52, 48, 52, 54, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 101, 49, 56, 57, 98, 53, 54, 98, 45, 102, 54, 57, 99, 45, 52, 100, 54, 101, 45, 98, 49, 102, 49, 45, 102, 57, 51, 99, 50, 51, 102, 99, 48, 54, 56, 55, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 101, 49, 56, 57, 98, 53, 54, 98, 45, 102, 54, 57, 99, 45, 52, 100, 54, 101, 45, 98, 49, 102, 49, 45, 102, 57, 51, 99, 50, 51, 102, 99, 48, 54, 56, 55, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:23:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"9197a387-d8dc-474f-b5ce-d934427d1500\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://6dbdfee1%2D0c8e%2D4d55%2Db7a1%2Ddec3fdac5f6e/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:23:24.300250706Z\",\"data\":{\"connected\":false},\"sender\":\"gateway1\",\"application\":\"6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e\",\"device\":\"gateway1\",\"partitionkey\":\"6dbdfee1%2D0c8e%2D4d55%2Db7a1%2Ddec3fdac5f6e/gateway1\",\"instance\":\"drogue\",\"applicationuid\":\"2caa1dca-a28f-433a-a4ec-b55ee0474046\",\"deviceuid\":\"e189b56b-f69c-4d6e-b1f1-f93c23fc0687\",\"senderuid\":\"e189b56b-f69c-4d6e-b1f1-f93c23fc0687\"}" }
[2022-05-09T12:23:24Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:23:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:23:24Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:23:24Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e", device: "device1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:23:24Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:23:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e" "device1"
[2022-05-09T12:23:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:23:24Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:23:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e" "gateway1"
[2022-05-09T12:23:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:23:24Z INFO  drogue_cloud_tests::resources::apps] Destroy application '6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e'
[2022-05-09T12:23:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e"
[2022-05-09T12:23:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 6dbdfee1-0c8e-4d55-b7a1-dec3fdac5f6e deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_1::integration_version_1::integration_ws_2

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T12:23:26Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:23:26Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:23:26Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:23:26Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:23:26Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:23:27Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:23:29Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:23:29Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:23:29Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:23:29Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:23:31Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA4MTAsImlhdCI6MTY1MjA5OTAxMCwianRpIjoiZDg0YTE0YWMtMTZiNi00MTIwLTlhYmUtOTc0NTU0MTVmZDYwIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImtFMnNOUWpMeFI1eDVrMk9GUFJBbnciLCJzZXNzaW9uX3N0YXRlIjoiMTZlNWQyMGYtOGI4MS00M2I2LThkOTAtZWExNDYzYTY0YjBmIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjE2ZTVkMjBmLThiODEtNDNiNi04ZDkwLWVhMTQ2M2E2NGIwZiJ9.KY03GOEXgwXzesr4x-_0zSVaBmxl9YGEz7u09hMynBc
[2022-05-09T12:23:31Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:23:31Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:23:31Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA4MTAsImlhdCI6MTY1MjA5OTAxMCwianRpIjoiZDg0YTE0YWMtMTZiNi00MTIwLTlhYmUtOTc0NTU0MTVmZDYwIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImtFMnNOUWpMeFI1eDVrMk9GUFJBbnciLCJzZXNzaW9uX3N0YXRlIjoiMTZlNWQyMGYtOGI4MS00M2I2LThkOTAtZWExNDYzYTY0YjBmIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjE2ZTVkMjBmLThiODEtNDNiNi04ZDkwLWVhMTQ2M2E2NGIwZiJ9.KY03GOEXgwXzesr4x-_0zSVaBmxl9YGEz7u09hMynBc" "--context" "system-tests"
[2022-05-09T12:23:31Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:23:31Z INFO  drogue_cloud_tests::resources::apps] Create application: 7bb7dd1c-c894-4e69-bfc0-111f12faf65b
[2022-05-09T12:23:31Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "7bb7dd1c-c894-4e69-bfc0-111f12faf65b"
[2022-05-09T12:23:31Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 7bb7dd1c-c894-4e69-bfc0-111f12faf65b created.\n", stderr: "" })
[2022-05-09T12:23:31Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "7bb7dd1c-c894-4e69-bfc0-111f12faf65b"
[2022-05-09T12:23:31Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:23:31.796367Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"7bb7dd1c-c894-4e69-bfc0-111f12faf65b\",\n    \"resourceVersion\": \"fd9a79a1-2211-4497-bba2-568b190f5ce1\",\n    \"uid\": \"fbda4b9c-243e-4487-9891-58f1e8e7e229\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:23:31.814037268Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:23:31.813909038Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:31.812903622Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:31.812905255Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:31.812906017Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:31.812907620Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:31.812908161Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:31.813673606Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:23:31Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:23:31.796367Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("7bb7dd1c-c894-4e69-bfc0-111f12faf65b"), "resourceVersion": String("fd9a79a1-2211-4497-bba2-568b190f5ce1"), "uid": String("fbda4b9c-243e-4487-9891-58f1e8e7e229")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:23:31.814037268Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:23:31.813909038Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:23:31.812903622Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:23:31.812905255Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:23:31.812906017Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:23:31.812907620Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:23:31.812908161Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:23:31.813673606Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T12:23:31Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:23:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "7bb7dd1c-c894-4e69-bfc0-111f12faf65b"
[2022-05-09T12:23:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:23:31.796367Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"7bb7dd1c-c894-4e69-bfc0-111f12faf65b\",\n    \"resourceVersion\": \"518d92db-5d49-484e-96bf-04b8e14cdb3c\",\n    \"uid\": \"fbda4b9c-243e-4487-9891-58f1e8e7e229\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:23:32.110999029Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:23:32.110869095Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:31.840692019Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:31.846407185Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:31.922248136Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:31.929115534Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:32.110733972Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:32.110836955Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"tICRqNTMZvqo\",\n        \"username\": \"user-7bb7dd1c-c894-4e69-bfc0-111f12faf65b\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:23:32Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:23:31.796367Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("7bb7dd1c-c894-4e69-bfc0-111f12faf65b"), "resourceVersion": String("518d92db-5d49-484e-96bf-04b8e14cdb3c"), "uid": String("fbda4b9c-243e-4487-9891-58f1e8e7e229")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:23:32.110999029Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:23:32.110869095Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:23:31.840692019Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:23:31.846407185Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:23:31.922248136Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:23:31.929115534Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:23:32.110733972Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:23:32.110836955Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("tICRqNTMZvqo"), "username": String("user-7bb7dd1c-c894-4e69-bfc0-111f12faf65b")})})})})
[2022-05-09T12:23:32Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:23:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "7bb7dd1c-c894-4e69-bfc0-111f12faf65b"
[2022-05-09T12:23:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:23:31.796367Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"7bb7dd1c-c894-4e69-bfc0-111f12faf65b\",\n    \"resourceVersion\": \"518d92db-5d49-484e-96bf-04b8e14cdb3c\",\n    \"uid\": \"fbda4b9c-243e-4487-9891-58f1e8e7e229\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:23:32.110999029Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:23:32.110869095Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:31.840692019Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:31.846407185Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:31.922248136Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:31.929115534Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:32.110733972Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:32.110836955Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"tICRqNTMZvqo\",\n        \"username\": \"user-7bb7dd1c-c894-4e69-bfc0-111f12faf65b\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:23:32Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:23:31.796367Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("7bb7dd1c-c894-4e69-bfc0-111f12faf65b"), "resourceVersion": String("518d92db-5d49-484e-96bf-04b8e14cdb3c"), "uid": String("fbda4b9c-243e-4487-9891-58f1e8e7e229")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:23:32.110999029Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:23:32.110869095Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:23:31.840692019Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:23:31.846407185Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:23:31.922248136Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:23:31.929115534Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:23:32.110733972Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:23:32.110836955Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("tICRqNTMZvqo"), "username": String("user-7bb7dd1c-c894-4e69-bfc0-111f12faf65b")})})})})
[2022-05-09T12:23:32Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:23:32Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:23:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "7bb7dd1c-c894-4e69-bfc0-111f12faf65b" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:23:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:23:32Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:23:32Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:23:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:23:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkzMTEsImlhdCI6MTY1MjA5OTAxMSwiYXV0aF90aW1lIjoxNjUyMDk5MDA4LCJqdGkiOiJiY2MxN2IzNy1jMDlmLTQ1NjYtYTg5OC0xZDk0N2ZhZDhjMDIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJrRTJzTlFqTHhSNXg1azJPRlBSQW53Iiwic2Vzc2lvbl9zdGF0ZSI6IjE2ZTVkMjBmLThiODEtNDNiNi04ZDkwLWVhMTQ2M2E2NGIwZiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjE2ZTVkMjBmLThiODEtNDNiNi04ZDkwLWVhMTQ2M2E2NGIwZiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.JEcWK5e9nDHM80o3mhwzm8mhkzzUvEw3yux-aIoxpfpKF-NdoHHjcY4Q4jZHA_xRsOS6AymxSVdNwA2_HC13NX-m5EcPAydVFTgNDd6dnb0GCrJzeb4QDCogGItOqAD-xVEQf4xQalwas3C-ycR8yBg7K8iEUEAo6zOu82ehR4LC3LxsB50G7N6u1o_bP9l6u41AMI83-Ox0ULlJnc0KzEeZ7KKkWx8zuUiksa3zokONtSlnaGJcPHra_na4IRzxn8IMqXWx-grK1NFFi0ZaIuesMgTgasWg9gBVeP6dmRNnFWSoc0D0tUwNnIuQjrfxztpBfNj9nurSlMAklvqWEQ\n", stderr: "" })
[2022-05-09T12:23:32Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:23:32Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:23:32Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:23:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "7bb7dd1c-c894-4e69-bfc0-111f12faf65b" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:23:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:23:32Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T12:23:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:23:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkzMTEsImlhdCI6MTY1MjA5OTAxMSwiYXV0aF90aW1lIjoxNjUyMDk5MDA4LCJqdGkiOiJiY2MxN2IzNy1jMDlmLTQ1NjYtYTg5OC0xZDk0N2ZhZDhjMDIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJrRTJzTlFqTHhSNXg1azJPRlBSQW53Iiwic2Vzc2lvbl9zdGF0ZSI6IjE2ZTVkMjBmLThiODEtNDNiNi04ZDkwLWVhMTQ2M2E2NGIwZiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjE2ZTVkMjBmLThiODEtNDNiNi04ZDkwLWVhMTQ2M2E2NGIwZiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.JEcWK5e9nDHM80o3mhwzm8mhkzzUvEw3yux-aIoxpfpKF-NdoHHjcY4Q4jZHA_xRsOS6AymxSVdNwA2_HC13NX-m5EcPAydVFTgNDd6dnb0GCrJzeb4QDCogGItOqAD-xVEQf4xQalwas3C-ycR8yBg7K8iEUEAo6zOu82ehR4LC3LxsB50G7N6u1o_bP9l6u41AMI83-Ox0ULlJnc0KzEeZ7KKkWx8zuUiksa3zokONtSlnaGJcPHra_na4IRzxn8IMqXWx-grK1NFFi0ZaIuesMgTgasWg9gBVeP6dmRNnFWSoc0D0tUwNnIuQjrfxztpBfNj9nurSlMAklvqWEQ\n", stderr: "" })
[2022-05-09T12:23:32Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "7f6a0d5a-7b03-4512-8ef3-4406ca8067df", persistence: None, user_data: None }
[2022-05-09T12:23:32Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:23:32Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x5617178ad110
[2022-05-09T12:23:32Z DEBUG paho_mqtt::async_client] Connecting handle: 0x5617178ad110
[2022-05-09T12:23:32Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717b632d0, connectTimeout: 30, retryInterval: 0, ssl: 0x561717a9b650, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717b62940, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkzMTEsImlhdCI6MTY1MjA5OTAxMSwiYXV0aF90aW1lIjoxNjUyMDk5MDA4LCJqdGkiOiJiY2MxN2IzNy1jMDlmLTQ1NjYtYTg5OC0xZDk0N2ZhZDhjMDIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJrRTJzTlFqTHhSNXg1azJPRlBSQW53Iiwic2Vzc2lvbl9zdGF0ZSI6IjE2ZTVkMjBmLThiODEtNDNiNi04ZDkwLWVhMTQ2M2E2NGIwZiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjE2ZTVkMjBmLThiODEtNDNiNi04ZDkwLWVhMTQ2M2E2NGIwZiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.JEcWK5e9nDHM80o3mhwzm8mhkzzUvEw3yux-aIoxpfpKF-NdoHHjcY4Q4jZHA_xRsOS6AymxSVdNwA2_HC13NX-m5EcPAydVFTgNDd6dnb0GCrJzeb4QDCogGItOqAD-xVEQf4xQalwas3C-ycR8yBg7K8iEUEAo6zOu82ehR4LC3LxsB50G7N6u1o_bP9l6u41AMI83-Ox0ULlJnc0KzEeZ7KKkWx8zuUiksa3zokONtSlnaGJcPHra_na4IRzxn8IMqXWx-grK1NFFi0ZaIuesMgTgasWg9gBVeP6dmRNnFWSoc0D0tUwNnIuQjrfxztpBfNj9nurSlMAklvqWEQ"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:23:33Z DEBUG paho_mqtt::async_client] Subscribe to '"app/7bb7dd1c-c894-4e69-bfc0-111f12faf65b"' @ QOS 0
[2022-05-09T12:23:33Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:23:33Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:23:33Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:23:33Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:23:33Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:23:33Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:23:34Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:23:34Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:23:34Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:23:34Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:23:35Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:23:35Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:23:35Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:23:35Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:23:36Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:23:36Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:23:36Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:23:36Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:23:36Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 621, payload: 0x7f4b1c004850, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/7bb7dd1c-c894-4e69-bfc0-111f12faf65b", 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, 51, 53, 54, 50, 57, 97, 51, 50, 45, 98, 99, 98, 55, 45, 52, 97, 55, 50, 45, 57, 98, 55, 57, 45, 53, 49, 57, 101, 55, 102, 100, 50, 55, 49, 53, 101, 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, 55, 98, 98, 55, 100, 100, 49, 99, 37, 50, 68, 99, 56, 57, 52, 37, 50, 68, 52, 101, 54, 57, 37, 50, 68, 98, 102, 99, 48, 37, 50, 68, 49, 49, 49, 102, 49, 50, 102, 97, 102, 54, 53, 98, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 51, 58, 51, 54, 46, 54, 50, 53, 50, 50, 56, 52, 52, 53, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 55, 101, 52, 50, 98, 100, 50, 52, 45, 99, 98, 57, 54, 45, 52, 97, 101, 55, 45, 97, 55, 53, 53, 45, 56, 51, 49, 97, 53, 97, 49, 51, 54, 98, 53, 57, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 98, 52, 54, 56, 56, 102, 98, 101, 45, 48, 48, 53, 98, 45, 52, 57, 56, 53, 45, 56, 98, 99, 101, 45, 101, 101, 54, 50, 51, 102, 51, 52, 48, 54, 50, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 102, 98, 100, 97, 52, 98, 57, 99, 45, 50, 52, 51, 101, 45, 52, 52, 56, 55, 45, 57, 56, 57, 49, 45, 53, 56, 102, 49, 101, 56, 101, 55, 101, 50, 50, 57, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 55, 98, 98, 55, 100, 100, 49, 99, 45, 99, 56, 57, 52, 45, 52, 101, 54, 57, 45, 98, 102, 99, 48, 45, 49, 49, 49, 102, 49, 50, 102, 97, 102, 54, 53, 98, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 55, 98, 98, 55, 100, 100, 49, 99, 37, 50, 68, 99, 56, 57, 52, 37, 50, 68, 52, 101, 54, 57, 37, 50, 68, 98, 102, 99, 48, 37, 50, 68, 49, 49, 49, 102, 49, 50, 102, 97, 102, 54, 53, 98, 47, 100, 101, 118, 105, 99, 101, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:23:36Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/7bb7dd1c-c894-4e69-bfc0-111f12faf65b", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"35629a32-bcb7-4a72-9b79-519e7fd2715e\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://7bb7dd1c%2Dc894%2D4e69%2Dbfc0%2D111f12faf65b/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:23:36.625228445Z\",\"data\":{\"index\":3},\"device\":\"device1\",\"senderuid\":\"7e42bd24-cb96-4ae7-a755-831a5a136b59\",\"deviceuid\":\"b4688fbe-005b-4985-8bce-ee623f34062e\",\"applicationuid\":\"fbda4b9c-243e-4487-9891-58f1e8e7e229\",\"instance\":\"drogue\",\"sender\":\"gateway1\",\"application\":\"7bb7dd1c-c894-4e69-bfc0-111f12faf65b\",\"partitionkey\":\"7bb7dd1c%2Dc894%2D4e69%2Dbfc0%2D111f12faf65b/device1\"}" }
[2022-05-09T12:23:37Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:23:37Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:23:37Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:23:37Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:23:37Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "3dd481ff-1250-4bf9-bd90-c88779f8edc7", persistence: None, user_data: None }
[2022-05-09T12:23:37Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:23:37Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717870060
[2022-05-09T12:23:37Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717870060
[2022-05-09T12:23:37Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717870340, password: 0x5617178dc330, connectTimeout: 30, retryInterval: 0, ssl: 0x561717a46340, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717b182c0, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@7bb7dd1c-c894-4e69-bfc0-111f12faf65b"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:23:38Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 640, payload: 0x7f4b1c02a600, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/7bb7dd1c-c894-4e69-bfc0-111f12faf65b", 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, 51, 53, 51, 97, 99, 53, 101, 50, 45, 51, 102, 55, 50, 45, 52, 54, 48, 48, 45, 98, 53, 48, 100, 45, 54, 98, 49, 50, 50, 55, 100, 100, 98, 56, 97, 99, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 55, 98, 98, 55, 100, 100, 49, 99, 37, 50, 68, 99, 56, 57, 52, 37, 50, 68, 52, 101, 54, 57, 37, 50, 68, 98, 102, 99, 48, 37, 50, 68, 49, 49, 49, 102, 49, 50, 102, 97, 102, 54, 53, 98, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 51, 58, 51, 55, 46, 55, 52, 49, 48, 51, 57, 52, 54, 54, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 55, 101, 52, 50, 98, 100, 50, 52, 45, 99, 98, 57, 54, 45, 52, 97, 101, 55, 45, 97, 55, 53, 53, 45, 56, 51, 49, 97, 53, 97, 49, 51, 54, 98, 53, 57, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 55, 98, 98, 55, 100, 100, 49, 99, 45, 99, 56, 57, 52, 45, 52, 101, 54, 57, 45, 98, 102, 99, 48, 45, 49, 49, 49, 102, 49, 50, 102, 97, 102, 54, 53, 98, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 55, 98, 98, 55, 100, 100, 49, 99, 37, 50, 68, 99, 56, 57, 52, 37, 50, 68, 52, 101, 54, 57, 37, 50, 68, 98, 102, 99, 48, 37, 50, 68, 49, 49, 49, 102, 49, 50, 102, 97, 102, 54, 53, 98, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 55, 101, 52, 50, 98, 100, 50, 52, 45, 99, 98, 57, 54, 45, 52, 97, 101, 55, 45, 97, 55, 53, 53, 45, 56, 51, 49, 97, 53, 97, 49, 51, 54, 98, 53, 57, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 102, 98, 100, 97, 52, 98, 57, 99, 45, 50, 52, 51, 101, 45, 52, 52, 56, 55, 45, 57, 56, 57, 49, 45, 53, 56, 102, 49, 101, 56, 101, 55, 101, 50, 50, 57, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:23:38Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/7bb7dd1c-c894-4e69-bfc0-111f12faf65b", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"353ac5e2-3f72-4600-b50d-6b1227ddb8ac\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://7bb7dd1c%2Dc894%2D4e69%2Dbfc0%2D111f12faf65b/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:23:37.741039466Z\",\"data\":{\"connected\":true},\"deviceuid\":\"7e42bd24-cb96-4ae7-a755-831a5a136b59\",\"application\":\"7bb7dd1c-c894-4e69-bfc0-111f12faf65b\",\"partitionkey\":\"7bb7dd1c%2Dc894%2D4e69%2Dbfc0%2D111f12faf65b/gateway1\",\"device\":\"gateway1\",\"instance\":\"drogue\",\"senderuid\":\"7e42bd24-cb96-4ae7-a755-831a5a136b59\",\"applicationuid\":\"fbda4b9c-243e-4487-9891-58f1e8e7e229\",\"sender\":\"gateway1\"}" }
[2022-05-09T12:23:38Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x5617179434b0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x5617179434b0 } } } }
[2022-05-09T12:23:38Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:23:38Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 630, payload: 0x7f4b1c02a890, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/7bb7dd1c-c894-4e69-bfc0-111f12faf65b", 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, 50, 54, 100, 102, 52, 54, 53, 50, 45, 102, 101, 48, 53, 45, 52, 98, 52, 49, 45, 97, 57, 101, 49, 45, 50, 100, 54, 56, 48, 55, 56, 53, 51, 102, 50, 48, 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, 55, 98, 98, 55, 100, 100, 49, 99, 37, 50, 68, 99, 56, 57, 52, 37, 50, 68, 52, 101, 54, 57, 37, 50, 68, 98, 102, 99, 48, 37, 50, 68, 49, 49, 49, 102, 49, 50, 102, 97, 102, 54, 53, 98, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 51, 58, 51, 56, 46, 50, 54, 48, 57, 51, 53, 56, 51, 56, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 55, 101, 52, 50, 98, 100, 50, 52, 45, 99, 98, 57, 54, 45, 52, 97, 101, 55, 45, 97, 55, 53, 53, 45, 56, 51, 49, 97, 53, 97, 49, 51, 54, 98, 53, 57, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 55, 98, 98, 55, 100, 100, 49, 99, 45, 99, 56, 57, 52, 45, 52, 101, 54, 57, 45, 98, 102, 99, 48, 45, 49, 49, 49, 102, 49, 50, 102, 97, 102, 54, 53, 98, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 98, 52, 54, 56, 56, 102, 98, 101, 45, 48, 48, 53, 98, 45, 52, 57, 56, 53, 45, 56, 98, 99, 101, 45, 101, 101, 54, 50, 51, 102, 51, 52, 48, 54, 50, 101, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 55, 98, 98, 55, 100, 100, 49, 99, 37, 50, 68, 99, 56, 57, 52, 37, 50, 68, 52, 101, 54, 57, 37, 50, 68, 98, 102, 99, 48, 37, 50, 68, 49, 49, 49, 102, 49, 50, 102, 97, 102, 54, 53, 98, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 102, 98, 100, 97, 52, 98, 57, 99, 45, 50, 52, 51, 101, 45, 52, 52, 56, 55, 45, 57, 56, 57, 49, 45, 53, 56, 102, 49, 101, 56, 101, 55, 101, 50, 50, 57, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:23:38Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/7bb7dd1c-c894-4e69-bfc0-111f12faf65b", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"26df4652-fe05-4b41-a9e1-2d6807853f20\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://7bb7dd1c%2Dc894%2D4e69%2Dbfc0%2D111f12faf65b/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:23:38.260935838Z\",\"data_base64\":\"\",\"senderuid\":\"7e42bd24-cb96-4ae7-a755-831a5a136b59\",\"application\":\"7bb7dd1c-c894-4e69-bfc0-111f12faf65b\",\"device\":\"device1\",\"sender\":\"gateway1\",\"deviceuid\":\"b4688fbe-005b-4985-8bce-ee623f34062e\",\"partitionkey\":\"7bb7dd1c%2Dc894%2D4e69%2Dbfc0%2D111f12faf65b/device1\",\"applicationuid\":\"fbda4b9c-243e-4487-9891-58f1e8e7e229\",\"instance\":\"drogue\"}" }
[2022-05-09T12:23:38Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 641, payload: 0x7f4b1c018910, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/7bb7dd1c-c894-4e69-bfc0-111f12faf65b", 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, 51, 102, 48, 50, 49, 56, 56, 50, 45, 101, 53, 100, 49, 45, 52, 97, 101, 55, 45, 57, 55, 97, 49, 45, 97, 56, 52, 97, 100, 57, 49, 97, 48, 49, 99, 56, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 55, 98, 98, 55, 100, 100, 49, 99, 37, 50, 68, 99, 56, 57, 52, 37, 50, 68, 52, 101, 54, 57, 37, 50, 68, 98, 102, 99, 48, 37, 50, 68, 49, 49, 49, 102, 49, 50, 102, 97, 102, 54, 53, 98, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 51, 58, 51, 56, 46, 51, 52, 48, 57, 53, 57, 56, 49, 52, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 55, 101, 52, 50, 98, 100, 50, 52, 45, 99, 98, 57, 54, 45, 52, 97, 101, 55, 45, 97, 55, 53, 53, 45, 56, 51, 49, 97, 53, 97, 49, 51, 54, 98, 53, 57, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 55, 98, 98, 55, 100, 100, 49, 99, 45, 99, 56, 57, 52, 45, 52, 101, 54, 57, 45, 98, 102, 99, 48, 45, 49, 49, 49, 102, 49, 50, 102, 97, 102, 54, 53, 98, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 55, 101, 52, 50, 98, 100, 50, 52, 45, 99, 98, 57, 54, 45, 52, 97, 101, 55, 45, 97, 55, 53, 53, 45, 56, 51, 49, 97, 53, 97, 49, 51, 54, 98, 53, 57, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 55, 98, 98, 55, 100, 100, 49, 99, 37, 50, 68, 99, 56, 57, 52, 37, 50, 68, 52, 101, 54, 57, 37, 50, 68, 98, 102, 99, 48, 37, 50, 68, 49, 49, 49, 102, 49, 50, 102, 97, 102, 54, 53, 98, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 102, 98, 100, 97, 52, 98, 57, 99, 45, 50, 52, 51, 101, 45, 52, 52, 56, 55, 45, 57, 56, 57, 49, 45, 53, 56, 102, 49, 101, 56, 101, 55, 101, 50, 50, 57, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:23:38Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/7bb7dd1c-c894-4e69-bfc0-111f12faf65b", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"3f021882-e5d1-4ae7-97a1-a84ad91a01c8\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://7bb7dd1c%2Dc894%2D4e69%2Dbfc0%2D111f12faf65b/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:23:38.340959814Z\",\"data\":{\"connected\":false},\"senderuid\":\"7e42bd24-cb96-4ae7-a755-831a5a136b59\",\"application\":\"7bb7dd1c-c894-4e69-bfc0-111f12faf65b\",\"deviceuid\":\"7e42bd24-cb96-4ae7-a755-831a5a136b59\",\"partitionkey\":\"7bb7dd1c%2Dc894%2D4e69%2Dbfc0%2D111f12faf65b/gateway1\",\"sender\":\"gateway1\",\"device\":\"gateway1\",\"instance\":\"drogue\",\"applicationuid\":\"fbda4b9c-243e-4487-9891-58f1e8e7e229\"}" }
[2022-05-09T12:23:38Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:23:38Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:23:38Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:23:38Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "7bb7dd1c-c894-4e69-bfc0-111f12faf65b", device: "device1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "7bb7dd1c-c894-4e69-bfc0-111f12faf65b", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:23:38Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:23:38Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "7bb7dd1c-c894-4e69-bfc0-111f12faf65b" "device1"
[2022-05-09T12:23:38Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:23:38Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:23:38Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "7bb7dd1c-c894-4e69-bfc0-111f12faf65b" "gateway1"
[2022-05-09T12:23:38Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:23:38Z INFO  drogue_cloud_tests::resources::apps] Destroy application '7bb7dd1c-c894-4e69-bfc0-111f12faf65b'
[2022-05-09T12:23:38Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "7bb7dd1c-c894-4e69-bfc0-111f12faf65b"
[2022-05-09T12:23:38Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 7bb7dd1c-c894-4e69-bfc0-111f12faf65b deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_1::integration_version_2::integration_ws_1

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T12:23:40Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:23:40Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:23:40Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:23:40Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:23:40Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:23:41Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:23:43Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:23:43Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:23:43Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:23:43Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:23:45Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA4MjQsImlhdCI6MTY1MjA5OTAyNCwianRpIjoiNDJjYTZiNjEtY2RlMC00MDNhLTk4YjMtY2E0NDNmNmU1YjdjIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImpFV05GRF9Ma19RQ1dTQm54TW5YZGciLCJzZXNzaW9uX3N0YXRlIjoiNDY0ZTllNjctNGMyOS00ZDViLTgyN2UtN2FhODQ5MmQ3Y2UxIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjQ2NGU5ZTY3LTRjMjktNGQ1Yi04MjdlLTdhYTg0OTJkN2NlMSJ9.v6zN0BWOp8lM8qozOhmWnuC4fE-Np4i8bQ-zsAp2H_U
[2022-05-09T12:23:45Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:23:45Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:23:45Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA4MjQsImlhdCI6MTY1MjA5OTAyNCwianRpIjoiNDJjYTZiNjEtY2RlMC00MDNhLTk4YjMtY2E0NDNmNmU1YjdjIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImpFV05GRF9Ma19RQ1dTQm54TW5YZGciLCJzZXNzaW9uX3N0YXRlIjoiNDY0ZTllNjctNGMyOS00ZDViLTgyN2UtN2FhODQ5MmQ3Y2UxIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjQ2NGU5ZTY3LTRjMjktNGQ1Yi04MjdlLTdhYTg0OTJkN2NlMSJ9.v6zN0BWOp8lM8qozOhmWnuC4fE-Np4i8bQ-zsAp2H_U" "--context" "system-tests"
[2022-05-09T12:23:45Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:23:45Z INFO  drogue_cloud_tests::resources::apps] Create application: fd4463a3-057c-4082-89cf-2004a5783232
[2022-05-09T12:23:45Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "fd4463a3-057c-4082-89cf-2004a5783232"
[2022-05-09T12:23:45Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App fd4463a3-057c-4082-89cf-2004a5783232 created.\n", stderr: "" })
[2022-05-09T12:23:45Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "fd4463a3-057c-4082-89cf-2004a5783232"
[2022-05-09T12:23:45Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:23:45.777890Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"fd4463a3-057c-4082-89cf-2004a5783232\",\n    \"resourceVersion\": \"1e44c6fa-cec3-4b5e-8af7-8b5a8bfade3f\",\n    \"uid\": \"b4f8c0bf-a107-4829-a647-46a3cc4fc7e2\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:23:45.795047029Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:23:45.795019968Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:45.794989582Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:45.794990583Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:45.794991044Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:45.794991665Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:45.794992036Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:45.794996504Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:23:45Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:23:45.777890Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("fd4463a3-057c-4082-89cf-2004a5783232"), "resourceVersion": String("1e44c6fa-cec3-4b5e-8af7-8b5a8bfade3f"), "uid": String("b4f8c0bf-a107-4829-a647-46a3cc4fc7e2")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:23:45.795047029Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:23:45.795019968Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:23:45.794989582Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:23:45.794990583Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:23:45.794991044Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:23:45.794991665Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:23:45.794992036Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:23:45.794996504Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T12:23:45Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:23:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "fd4463a3-057c-4082-89cf-2004a5783232"
[2022-05-09T12:23:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:23:45.777890Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"fd4463a3-057c-4082-89cf-2004a5783232\",\n    \"resourceVersion\": \"64143073-eeeb-4d15-803f-07bed3b59fc3\",\n    \"uid\": \"b4f8c0bf-a107-4829-a647-46a3cc4fc7e2\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:23:46.104279319Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:23:46.104165626Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:45.815479772Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:45.820635530Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:45.902606537Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:45.908707658Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:46.104028408Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:46.104082189Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"rjOcmyJKOjQq\",\n        \"username\": \"user-fd4463a3-057c-4082-89cf-2004a5783232\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:23:46Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:23:45.777890Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("fd4463a3-057c-4082-89cf-2004a5783232"), "resourceVersion": String("64143073-eeeb-4d15-803f-07bed3b59fc3"), "uid": String("b4f8c0bf-a107-4829-a647-46a3cc4fc7e2")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:23:46.104279319Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:23:46.104165626Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:23:45.815479772Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:23:45.820635530Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:23:45.902606537Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:23:45.908707658Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:23:46.104028408Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:23:46.104082189Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("rjOcmyJKOjQq"), "username": String("user-fd4463a3-057c-4082-89cf-2004a5783232")})})})})
[2022-05-09T12:23:46Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:23:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "fd4463a3-057c-4082-89cf-2004a5783232"
[2022-05-09T12:23:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:23:45.777890Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"fd4463a3-057c-4082-89cf-2004a5783232\",\n    \"resourceVersion\": \"64143073-eeeb-4d15-803f-07bed3b59fc3\",\n    \"uid\": \"b4f8c0bf-a107-4829-a647-46a3cc4fc7e2\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:23:46.104279319Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:23:46.104165626Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:45.815479772Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:45.820635530Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:45.902606537Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:45.908707658Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:46.104028408Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:23:46.104082189Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"rjOcmyJKOjQq\",\n        \"username\": \"user-fd4463a3-057c-4082-89cf-2004a5783232\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:23:46Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:23:45.777890Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("fd4463a3-057c-4082-89cf-2004a5783232"), "resourceVersion": String("64143073-eeeb-4d15-803f-07bed3b59fc3"), "uid": String("b4f8c0bf-a107-4829-a647-46a3cc4fc7e2")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:23:46.104279319Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:23:46.104165626Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:23:45.815479772Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:23:45.820635530Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:23:45.902606537Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:23:45.908707658Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:23:46.104028408Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:23:46.104082189Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("rjOcmyJKOjQq"), "username": String("user-fd4463a3-057c-4082-89cf-2004a5783232")})})})})
[2022-05-09T12:23:46Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:23:46Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:23:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "fd4463a3-057c-4082-89cf-2004a5783232" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:23:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:23:46Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:23:46Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:23:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:23:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkzMjUsImlhdCI6MTY1MjA5OTAyNSwiYXV0aF90aW1lIjoxNjUyMDk5MDIyLCJqdGkiOiIxZjY3Njk5My03ZDYxLTQ3NDEtODYzMC1jMmFjM2NkOTRiNmQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJqRVdORkRfTGtfUUNXU0JueE1uWGRnIiwic2Vzc2lvbl9zdGF0ZSI6IjQ2NGU5ZTY3LTRjMjktNGQ1Yi04MjdlLTdhYTg0OTJkN2NlMSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjQ2NGU5ZTY3LTRjMjktNGQ1Yi04MjdlLTdhYTg0OTJkN2NlMSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.B_c91jplOQDUFAZlm1qP-FY4H2iGs2mN1oSr7LDBGgbKJCmspRGOt2qmEdgouhdwt-052iusQ6I2aPvkSgERrn4UEQsJfA-ju1QjlVq44WhZBdKb_a7dDDARLZdQgjmE9xO3QumZ9G4kP5qJDbfjCdvTDfxlvvSg7IOShxycBoKR42_FdVjEZK3qiDeNw9cEpvI6MX8i2xWJQkjSH58TqR78BsvoF7BHt8TCO_Kf7MYVyTUSb5ayurDeey7YSEfG0jxYSRmSHXfb9PG0UTnU1e-w1f98Q3wvrTbXZJ0u1TW9lL3ZCymPWH369-TmGIRJbLj8GqRcI452smPGWeLUmg\n", stderr: "" })
[2022-05-09T12:23:46Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:23:46Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:23:46Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:23:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "fd4463a3-057c-4082-89cf-2004a5783232" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:23:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:23:46Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T12:23:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:23:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkzMjUsImlhdCI6MTY1MjA5OTAyNSwiYXV0aF90aW1lIjoxNjUyMDk5MDIyLCJqdGkiOiIxZjY3Njk5My03ZDYxLTQ3NDEtODYzMC1jMmFjM2NkOTRiNmQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJqRVdORkRfTGtfUUNXU0JueE1uWGRnIiwic2Vzc2lvbl9zdGF0ZSI6IjQ2NGU5ZTY3LTRjMjktNGQ1Yi04MjdlLTdhYTg0OTJkN2NlMSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjQ2NGU5ZTY3LTRjMjktNGQ1Yi04MjdlLTdhYTg0OTJkN2NlMSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.B_c91jplOQDUFAZlm1qP-FY4H2iGs2mN1oSr7LDBGgbKJCmspRGOt2qmEdgouhdwt-052iusQ6I2aPvkSgERrn4UEQsJfA-ju1QjlVq44WhZBdKb_a7dDDARLZdQgjmE9xO3QumZ9G4kP5qJDbfjCdvTDfxlvvSg7IOShxycBoKR42_FdVjEZK3qiDeNw9cEpvI6MX8i2xWJQkjSH58TqR78BsvoF7BHt8TCO_Kf7MYVyTUSb5ayurDeey7YSEfG0jxYSRmSHXfb9PG0UTnU1e-w1f98Q3wvrTbXZJ0u1TW9lL3ZCymPWH369-TmGIRJbLj8GqRcI452smPGWeLUmg\n", stderr: "" })
[2022-05-09T12:23:46Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "5d1ca088-dada-47a4-996d-35f1d1472769", persistence: None, user_data: None }
[2022-05-09T12:23:46Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:23:46Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717ce9710
[2022-05-09T12:23:46Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717ce9710
[2022-05-09T12:23:46Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717cea470, connectTimeout: 30, retryInterval: 0, ssl: 0x56171793e950, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717ce9f90, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkzMjUsImlhdCI6MTY1MjA5OTAyNSwiYXV0aF90aW1lIjoxNjUyMDk5MDIyLCJqdGkiOiIxZjY3Njk5My03ZDYxLTQ3NDEtODYzMC1jMmFjM2NkOTRiNmQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJqRVdORkRfTGtfUUNXU0JueE1uWGRnIiwic2Vzc2lvbl9zdGF0ZSI6IjQ2NGU5ZTY3LTRjMjktNGQ1Yi04MjdlLTdhYTg0OTJkN2NlMSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjQ2NGU5ZTY3LTRjMjktNGQ1Yi04MjdlLTdhYTg0OTJkN2NlMSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.B_c91jplOQDUFAZlm1qP-FY4H2iGs2mN1oSr7LDBGgbKJCmspRGOt2qmEdgouhdwt-052iusQ6I2aPvkSgERrn4UEQsJfA-ju1QjlVq44WhZBdKb_a7dDDARLZdQgjmE9xO3QumZ9G4kP5qJDbfjCdvTDfxlvvSg7IOShxycBoKR42_FdVjEZK3qiDeNw9cEpvI6MX8i2xWJQkjSH58TqR78BsvoF7BHt8TCO_Kf7MYVyTUSb5ayurDeey7YSEfG0jxYSRmSHXfb9PG0UTnU1e-w1f98Q3wvrTbXZJ0u1TW9lL3ZCymPWH369-TmGIRJbLj8GqRcI452smPGWeLUmg"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:23:47Z DEBUG paho_mqtt::async_client] Subscribe to '"app/fd4463a3-057c-4082-89cf-2004a5783232"' @ QOS 0
[2022-05-09T12:23:47Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:23:47Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:23:47Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:23:47Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:23:47Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:23:47Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:23:48Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:23:48Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:23:48Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:23:48Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:23:49Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:23:49Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:23:49Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:23:49Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:23:50Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:23:50Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:23:50Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:23:50Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:23:50Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 621, payload: 0x7f4b18001390, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b18001610 } }, data: MessageData { topic: "app/fd4463a3-057c-4082-89cf-2004a5783232", 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, 102, 98, 53, 97, 101, 101, 102, 50, 45, 55, 49, 56, 53, 45, 52, 54, 53, 101, 45, 56, 51, 55, 48, 45, 51, 98, 51, 102, 102, 102, 97, 97, 57, 99, 51, 98, 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, 102, 100, 52, 52, 54, 51, 97, 51, 37, 50, 68, 48, 53, 55, 99, 37, 50, 68, 52, 48, 56, 50, 37, 50, 68, 56, 57, 99, 102, 37, 50, 68, 50, 48, 48, 52, 97, 53, 55, 56, 51, 50, 51, 50, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 51, 58, 53, 48, 46, 54, 49, 50, 57, 51, 57, 57, 57, 55, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 98, 52, 102, 56, 99, 48, 98, 102, 45, 97, 49, 48, 55, 45, 52, 56, 50, 57, 45, 97, 54, 52, 55, 45, 52, 54, 97, 51, 99, 99, 52, 102, 99, 55, 101, 50, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 102, 100, 52, 52, 54, 51, 97, 51, 45, 48, 53, 55, 99, 45, 52, 48, 56, 50, 45, 56, 57, 99, 102, 45, 50, 48, 48, 52, 97, 53, 55, 56, 51, 50, 51, 50, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 102, 100, 52, 52, 54, 51, 97, 51, 37, 50, 68, 48, 53, 55, 99, 37, 50, 68, 52, 48, 56, 50, 37, 50, 68, 56, 57, 99, 102, 37, 50, 68, 50, 48, 48, 52, 97, 53, 55, 56, 51, 50, 51, 50, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 54, 99, 52, 99, 53, 101, 54, 54, 45, 54, 57, 98, 101, 45, 52, 57, 50, 48, 45, 97, 98, 99, 52, 45, 48, 54, 49, 98, 102, 48, 53, 52, 50, 101, 53, 97, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 57, 102, 97, 51, 101, 51, 51, 99, 45, 48, 50, 54, 53, 45, 52, 51, 53, 51, 45, 97, 98, 101, 48, 45, 100, 98, 100, 50, 50, 99, 49, 49, 102, 102, 99, 48, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b18001610 } } } }
[2022-05-09T12:23:50Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717ce6640
[2022-05-09T12:23:50Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/fd4463a3-057c-4082-89cf-2004a5783232", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"fb5aeef2-7185-465e-8370-3b3fffaa9c3b\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://fd4463a3%2D057c%2D4082%2D89cf%2D2004a5783232/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:23:50.612939997Z\",\"data\":{\"index\":3},\"sender\":\"gateway1\",\"device\":\"device1\",\"applicationuid\":\"b4f8c0bf-a107-4829-a647-46a3cc4fc7e2\",\"application\":\"fd4463a3-057c-4082-89cf-2004a5783232\",\"partitionkey\":\"fd4463a3%2D057c%2D4082%2D89cf%2D2004a5783232/device1\",\"deviceuid\":\"6c4c5e66-69be-4920-abc4-061bf0542e5a\",\"senderuid\":\"9fa3e33c-0265-4353-abe0-dbd22c11ffc0\",\"instance\":\"drogue\"}" }
[2022-05-09T12:23:51Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:23:51Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:23:51Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:23:51Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:23:51Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "0ec50090-a495-45b9-b1cb-5d209284f756", persistence: None, user_data: None }
[2022-05-09T12:23:51Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:23:51Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717b8ed50
[2022-05-09T12:23:51Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717b8ed50
[2022-05-09T12:23:51Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717d022b0, password: 0x561717872f80, connectTimeout: 30, retryInterval: 0, ssl: 0x561717ccf9d0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717cff9e0, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@fd4463a3-057c-4082-89cf-2004a5783232"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:23:52Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 640, payload: 0x7f4b18023b50, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b18023de0 } }, data: MessageData { topic: "app/fd4463a3-057c-4082-89cf-2004a5783232", 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, 100, 50, 99, 50, 50, 54, 56, 101, 45, 51, 102, 51, 57, 45, 52, 100, 98, 101, 45, 97, 99, 100, 100, 45, 57, 99, 56, 49, 50, 98, 51, 101, 51, 51, 97, 57, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 102, 100, 52, 52, 54, 51, 97, 51, 37, 50, 68, 48, 53, 55, 99, 37, 50, 68, 52, 48, 56, 50, 37, 50, 68, 56, 57, 99, 102, 37, 50, 68, 50, 48, 48, 52, 97, 53, 55, 56, 51, 50, 51, 50, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 51, 58, 53, 49, 46, 54, 55, 51, 51, 54, 53, 57, 48, 54, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 102, 100, 52, 52, 54, 51, 97, 51, 37, 50, 68, 48, 53, 55, 99, 37, 50, 68, 52, 48, 56, 50, 37, 50, 68, 56, 57, 99, 102, 37, 50, 68, 50, 48, 48, 52, 97, 53, 55, 56, 51, 50, 51, 50, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 102, 100, 52, 52, 54, 51, 97, 51, 45, 48, 53, 55, 99, 45, 52, 48, 56, 50, 45, 56, 57, 99, 102, 45, 50, 48, 48, 52, 97, 53, 55, 56, 51, 50, 51, 50, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 57, 102, 97, 51, 101, 51, 51, 99, 45, 48, 50, 54, 53, 45, 52, 51, 53, 51, 45, 97, 98, 101, 48, 45, 100, 98, 100, 50, 50, 99, 49, 49, 102, 102, 99, 48, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 57, 102, 97, 51, 101, 51, 51, 99, 45, 48, 50, 54, 53, 45, 52, 51, 53, 51, 45, 97, 98, 101, 48, 45, 100, 98, 100, 50, 50, 99, 49, 49, 102, 102, 99, 48, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 98, 52, 102, 56, 99, 48, 98, 102, 45, 97, 49, 48, 55, 45, 52, 56, 50, 57, 45, 97, 54, 52, 55, 45, 52, 54, 97, 51, 99, 99, 52, 102, 99, 55, 101, 50, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b18023de0 } } } }
[2022-05-09T12:23:52Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717ce6640
[2022-05-09T12:23:52Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717be9d90 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717be9d90 } } } }
[2022-05-09T12:23:52Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/fd4463a3-057c-4082-89cf-2004a5783232", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"d2c2268e-3f39-4dbe-acdd-9c812b3e33a9\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://fd4463a3%2D057c%2D4082%2D89cf%2D2004a5783232/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:23:51.673365906Z\",\"data\":{\"connected\":true},\"partitionkey\":\"fd4463a3%2D057c%2D4082%2D89cf%2D2004a5783232/gateway1\",\"application\":\"fd4463a3-057c-4082-89cf-2004a5783232\",\"sender\":\"gateway1\",\"deviceuid\":\"9fa3e33c-0265-4353-abe0-dbd22c11ffc0\",\"instance\":\"drogue\",\"device\":\"gateway1\",\"senderuid\":\"9fa3e33c-0265-4353-abe0-dbd22c11ffc0\",\"applicationuid\":\"b4f8c0bf-a107-4829-a647-46a3cc4fc7e2\"}" }
[2022-05-09T12:23:52Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:23:52Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 641, payload: 0x7f4b18020990, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b18001de0 } }, data: MessageData { topic: "app/fd4463a3-057c-4082-89cf-2004a5783232", 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, 100, 54, 54, 102, 102, 51, 102, 54, 45, 52, 51, 54, 53, 45, 52, 55, 49, 54, 45, 97, 52, 101, 99, 45, 48, 97, 50, 53, 57, 100, 99, 49, 51, 101, 50, 55, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 102, 100, 52, 52, 54, 51, 97, 51, 37, 50, 68, 48, 53, 55, 99, 37, 50, 68, 52, 48, 56, 50, 37, 50, 68, 56, 57, 99, 102, 37, 50, 68, 50, 48, 48, 52, 97, 53, 55, 56, 51, 50, 51, 50, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 51, 58, 53, 50, 46, 50, 54, 54, 51, 55, 57, 51, 57, 52, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 57, 102, 97, 51, 101, 51, 51, 99, 45, 48, 50, 54, 53, 45, 52, 51, 53, 51, 45, 97, 98, 101, 48, 45, 100, 98, 100, 50, 50, 99, 49, 49, 102, 102, 99, 48, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 98, 52, 102, 56, 99, 48, 98, 102, 45, 97, 49, 48, 55, 45, 52, 56, 50, 57, 45, 97, 54, 52, 55, 45, 52, 54, 97, 51, 99, 99, 52, 102, 99, 55, 101, 50, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 102, 100, 52, 52, 54, 51, 97, 51, 45, 48, 53, 55, 99, 45, 52, 48, 56, 50, 45, 56, 57, 99, 102, 45, 50, 48, 48, 52, 97, 53, 55, 56, 51, 50, 51, 50, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 102, 100, 52, 52, 54, 51, 97, 51, 37, 50, 68, 48, 53, 55, 99, 37, 50, 68, 52, 48, 56, 50, 37, 50, 68, 56, 57, 99, 102, 37, 50, 68, 50, 48, 48, 52, 97, 53, 55, 56, 51, 50, 51, 50, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 57, 102, 97, 51, 101, 51, 51, 99, 45, 48, 50, 54, 53, 45, 52, 51, 53, 51, 45, 97, 98, 101, 48, 45, 100, 98, 100, 50, 50, 99, 49, 49, 102, 102, 99, 48, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b18001de0 } } } }
[2022-05-09T12:23:52Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717ce6640
[2022-05-09T12:23:52Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/fd4463a3-057c-4082-89cf-2004a5783232", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"d66ff3f6-4365-4716-a4ec-0a259dc13e27\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://fd4463a3%2D057c%2D4082%2D89cf%2D2004a5783232/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:23:52.266379394Z\",\"data\":{\"connected\":false},\"senderuid\":\"9fa3e33c-0265-4353-abe0-dbd22c11ffc0\",\"applicationuid\":\"b4f8c0bf-a107-4829-a647-46a3cc4fc7e2\",\"application\":\"fd4463a3-057c-4082-89cf-2004a5783232\",\"device\":\"gateway1\",\"partitionkey\":\"fd4463a3%2D057c%2D4082%2D89cf%2D2004a5783232/gateway1\",\"sender\":\"gateway1\",\"instance\":\"drogue\",\"deviceuid\":\"9fa3e33c-0265-4353-abe0-dbd22c11ffc0\"}" }
[2022-05-09T12:23:52Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 630, payload: 0x7f4b180222c0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b18022540 } }, data: MessageData { topic: "app/fd4463a3-057c-4082-89cf-2004a5783232", 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, 99, 55, 56, 57, 56, 98, 55, 45, 51, 51, 99, 54, 45, 52, 54, 97, 97, 45, 56, 100, 102, 48, 45, 102, 48, 57, 97, 97, 102, 101, 100, 56, 52, 98, 54, 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, 102, 100, 52, 52, 54, 51, 97, 51, 37, 50, 68, 48, 53, 55, 99, 37, 50, 68, 52, 48, 56, 50, 37, 50, 68, 56, 57, 99, 102, 37, 50, 68, 50, 48, 48, 52, 97, 53, 55, 56, 51, 50, 51, 50, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 51, 58, 53, 50, 46, 50, 54, 52, 53, 50, 53, 56, 55, 56, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 57, 102, 97, 51, 101, 51, 51, 99, 45, 48, 50, 54, 53, 45, 52, 51, 53, 51, 45, 97, 98, 101, 48, 45, 100, 98, 100, 50, 50, 99, 49, 49, 102, 102, 99, 48, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 102, 100, 52, 52, 54, 51, 97, 51, 37, 50, 68, 48, 53, 55, 99, 37, 50, 68, 52, 48, 56, 50, 37, 50, 68, 56, 57, 99, 102, 37, 50, 68, 50, 48, 48, 52, 97, 53, 55, 56, 51, 50, 51, 50, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 54, 99, 52, 99, 53, 101, 54, 54, 45, 54, 57, 98, 101, 45, 52, 57, 50, 48, 45, 97, 98, 99, 52, 45, 48, 54, 49, 98, 102, 48, 53, 52, 50, 101, 53, 97, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 98, 52, 102, 56, 99, 48, 98, 102, 45, 97, 49, 48, 55, 45, 52, 56, 50, 57, 45, 97, 54, 52, 55, 45, 52, 54, 97, 51, 99, 99, 52, 102, 99, 55, 101, 50, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 102, 100, 52, 52, 54, 51, 97, 51, 45, 48, 53, 55, 99, 45, 52, 48, 56, 50, 45, 56, 57, 99, 102, 45, 50, 48, 48, 52, 97, 53, 55, 56, 51, 50, 51, 50, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b18022540 } } } }
[2022-05-09T12:23:52Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717ce6640
[2022-05-09T12:23:52Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/fd4463a3-057c-4082-89cf-2004a5783232", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"8c7898b7-33c6-46aa-8df0-f09aafed84b6\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://fd4463a3%2D057c%2D4082%2D89cf%2D2004a5783232/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:23:52.264525878Z\",\"data_base64\":\"\",\"senderuid\":\"9fa3e33c-0265-4353-abe0-dbd22c11ffc0\",\"partitionkey\":\"fd4463a3%2D057c%2D4082%2D89cf%2D2004a5783232/device1\",\"deviceuid\":\"6c4c5e66-69be-4920-abc4-061bf0542e5a\",\"applicationuid\":\"b4f8c0bf-a107-4829-a647-46a3cc4fc7e2\",\"device\":\"device1\",\"instance\":\"drogue\",\"sender\":\"gateway1\",\"application\":\"fd4463a3-057c-4082-89cf-2004a5783232\"}" }
[2022-05-09T12:23:52Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:23:52Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:23:52Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:23:52Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "fd4463a3-057c-4082-89cf-2004a5783232", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "fd4463a3-057c-4082-89cf-2004a5783232", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:23:52Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:23:52Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "fd4463a3-057c-4082-89cf-2004a5783232" "device1"
[2022-05-09T12:23:52Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:23:52Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:23:52Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "fd4463a3-057c-4082-89cf-2004a5783232" "gateway1"
[2022-05-09T12:23:52Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:23:52Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'fd4463a3-057c-4082-89cf-2004a5783232'
[2022-05-09T12:23:52Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "fd4463a3-057c-4082-89cf-2004a5783232"
[2022-05-09T12:23:52Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App fd4463a3-057c-4082-89cf-2004a5783232 deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_1::integration_version_2::integration_ws_2

Duration: 13s

Test output
-------------- TEST START --------------
[2022-05-09T12:23:54Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:23:54Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:23:54Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:23:54Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:23:54Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:23:55Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:23:57Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:23:57Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:23:57Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:23:57Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:23:59Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA4MzksImlhdCI6MTY1MjA5OTAzOSwianRpIjoiZDA0OGQ2OTgtODVjNi00MjFmLWEzNWQtN2U3MDVlOWZmMmE3IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImtqZmVSalI4NHBEM0R1NUJrMm1NYnciLCJzZXNzaW9uX3N0YXRlIjoiMDUxZTdiNTItMmM1MC00YTM4LTk3MzItODFjMGM2YjFjZWE4Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjA1MWU3YjUyLTJjNTAtNGEzOC05NzMyLTgxYzBjNmIxY2VhOCJ9.uOhf_rrMDk4rRKAcbrfPHiH-Clj7v5uR5c_Nx88TvsY
[2022-05-09T12:23:59Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:23:59Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:23:59Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA4MzksImlhdCI6MTY1MjA5OTAzOSwianRpIjoiZDA0OGQ2OTgtODVjNi00MjFmLWEzNWQtN2U3MDVlOWZmMmE3IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImtqZmVSalI4NHBEM0R1NUJrMm1NYnciLCJzZXNzaW9uX3N0YXRlIjoiMDUxZTdiNTItMmM1MC00YTM4LTk3MzItODFjMGM2YjFjZWE4Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjA1MWU3YjUyLTJjNTAtNGEzOC05NzMyLTgxYzBjNmIxY2VhOCJ9.uOhf_rrMDk4rRKAcbrfPHiH-Clj7v5uR5c_Nx88TvsY" "--context" "system-tests"
[2022-05-09T12:23:59Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:23:59Z INFO  drogue_cloud_tests::resources::apps] Create application: cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86
[2022-05-09T12:23:59Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86"
[2022-05-09T12:23:59Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86 created.\n", stderr: "" })
[2022-05-09T12:23:59Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86"
[2022-05-09T12:24:00Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:23:59.980586Z\",\n    \"generation\": 1,\n    \"name\": \"cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86\",\n    \"resourceVersion\": \"82bf070b-2b7b-4599-8cde-9f89f8a7cca5\",\n    \"uid\": \"29ad9702-5183-4886-be44-43ac46d7ab61\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:23:59.991179717Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2022-05-09T12:24:00Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:23:59.980586Z"), "generation": Number(1), "name": String("cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86"), "resourceVersion": String("82bf070b-2b7b-4599-8cde-9f89f8a7cca5"), "uid": String("29ad9702-5183-4886-be44-43ac46d7ab61")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:23:59.991179717Z"), "status": String("True"), "type": String("Ready")})])})})
[2022-05-09T12:24:00Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:24:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86"
[2022-05-09T12:24:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:23:59.980586Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86\",\n    \"resourceVersion\": \"0e465d74-1b1c-4fc8-a299-5e57c24d2af8\",\n    \"uid\": \"29ad9702-5183-4886-be44-43ac46d7ab61\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:00.351667410Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:00.351623929Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:00.037314127Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:00.044803760Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:00.173299496Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:00.180299253Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:00.351520685Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:00.351542146Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"kKgC0gzkPhpf\",\n        \"username\": \"user-cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:24:01Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:23:59.980586Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86"), "resourceVersion": String("0e465d74-1b1c-4fc8-a299-5e57c24d2af8"), "uid": String("29ad9702-5183-4886-be44-43ac46d7ab61")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:00.351667410Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:24:00.351623929Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:00.037314127Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:24:00.044803760Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:24:00.173299496Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:00.180299253Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:24:00.351520685Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:00.351542146Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("kKgC0gzkPhpf"), "username": String("user-cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86")})})})})
[2022-05-09T12:24:01Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:24:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86"
[2022-05-09T12:24:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:23:59.980586Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86\",\n    \"resourceVersion\": \"0e465d74-1b1c-4fc8-a299-5e57c24d2af8\",\n    \"uid\": \"29ad9702-5183-4886-be44-43ac46d7ab61\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:00.351667410Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:00.351623929Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:00.037314127Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:00.044803760Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:00.173299496Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:00.180299253Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:00.351520685Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:00.351542146Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"kKgC0gzkPhpf\",\n        \"username\": \"user-cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:24:01Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:23:59.980586Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86"), "resourceVersion": String("0e465d74-1b1c-4fc8-a299-5e57c24d2af8"), "uid": String("29ad9702-5183-4886-be44-43ac46d7ab61")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:00.351667410Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:24:00.351623929Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:00.037314127Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:24:00.044803760Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:24:00.173299496Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:00.180299253Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:24:00.351520685Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:00.351542146Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("kKgC0gzkPhpf"), "username": String("user-cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86")})})})})
[2022-05-09T12:24:01Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:24:01Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:24:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:24:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:24:01Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:24:01Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:24:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:24:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkzMzksImlhdCI6MTY1MjA5OTAzOSwiYXV0aF90aW1lIjoxNjUyMDk5MDM2LCJqdGkiOiIyZDllN2NjOC00ZDY0LTQ3NWQtOWVhZS1hMjUzZTYyMzMwMGUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJramZlUmpSODRwRDNEdTVCazJtTWJ3Iiwic2Vzc2lvbl9zdGF0ZSI6IjA1MWU3YjUyLTJjNTAtNGEzOC05NzMyLTgxYzBjNmIxY2VhOCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjA1MWU3YjUyLTJjNTAtNGEzOC05NzMyLTgxYzBjNmIxY2VhOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.XgOaAPxEldm3ngNseF23Ji3ntxf1L5pGb0xlql-4S5kLBUm7Sj1cyiPSY1c4RS10qHN5HiI2REibRORWR-gdOySWsQrOqJY_BntE2-acyodk9BC33lECcVukEmTflTemsSn74hjDddrVEVrxoBs8jTA4T2jNDYz59mmeINq1wHaoOGo3GLd2Q36yETwgjyM9nErNBo8NxMvM4dDbB__ybnrpfX9RbOBo98db8aO9avJf70Q6oWGfj5xiVcOJwL7fXlInh71jvA6IWH1-WlqpW0ygEgX8WMer2k5ywyxqMgguFGrA8xQ2Wj7qC7stCe4CFFiakhFQjKwJR0frJ2VwkA\n", stderr: "" })
[2022-05-09T12:24:01Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:24:01Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:24:01Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:24:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:24:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:24:01Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T12:24:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:24:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkzMzksImlhdCI6MTY1MjA5OTAzOSwiYXV0aF90aW1lIjoxNjUyMDk5MDM2LCJqdGkiOiIyZDllN2NjOC00ZDY0LTQ3NWQtOWVhZS1hMjUzZTYyMzMwMGUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJramZlUmpSODRwRDNEdTVCazJtTWJ3Iiwic2Vzc2lvbl9zdGF0ZSI6IjA1MWU3YjUyLTJjNTAtNGEzOC05NzMyLTgxYzBjNmIxY2VhOCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjA1MWU3YjUyLTJjNTAtNGEzOC05NzMyLTgxYzBjNmIxY2VhOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.XgOaAPxEldm3ngNseF23Ji3ntxf1L5pGb0xlql-4S5kLBUm7Sj1cyiPSY1c4RS10qHN5HiI2REibRORWR-gdOySWsQrOqJY_BntE2-acyodk9BC33lECcVukEmTflTemsSn74hjDddrVEVrxoBs8jTA4T2jNDYz59mmeINq1wHaoOGo3GLd2Q36yETwgjyM9nErNBo8NxMvM4dDbB__ybnrpfX9RbOBo98db8aO9avJf70Q6oWGfj5xiVcOJwL7fXlInh71jvA6IWH1-WlqpW0ygEgX8WMer2k5ywyxqMgguFGrA8xQ2Wj7qC7stCe4CFFiakhFQjKwJR0frJ2VwkA\n", stderr: "" })
[2022-05-09T12:24:01Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "d2b7ac76-44ac-4849-a978-db3144fc7889", persistence: None, user_data: None }
[2022-05-09T12:24:01Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:24:01Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x56171784eac0
[2022-05-09T12:24:01Z DEBUG paho_mqtt::async_client] Connecting handle: 0x56171784eac0
[2022-05-09T12:24:01Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717a43af0, connectTimeout: 30, retryInterval: 0, ssl: 0x56171784dca0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x56171784db20, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkzMzksImlhdCI6MTY1MjA5OTAzOSwiYXV0aF90aW1lIjoxNjUyMDk5MDM2LCJqdGkiOiIyZDllN2NjOC00ZDY0LTQ3NWQtOWVhZS1hMjUzZTYyMzMwMGUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJramZlUmpSODRwRDNEdTVCazJtTWJ3Iiwic2Vzc2lvbl9zdGF0ZSI6IjA1MWU3YjUyLTJjNTAtNGEzOC05NzMyLTgxYzBjNmIxY2VhOCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjA1MWU3YjUyLTJjNTAtNGEzOC05NzMyLTgxYzBjNmIxY2VhOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.XgOaAPxEldm3ngNseF23Ji3ntxf1L5pGb0xlql-4S5kLBUm7Sj1cyiPSY1c4RS10qHN5HiI2REibRORWR-gdOySWsQrOqJY_BntE2-acyodk9BC33lECcVukEmTflTemsSn74hjDddrVEVrxoBs8jTA4T2jNDYz59mmeINq1wHaoOGo3GLd2Q36yETwgjyM9nErNBo8NxMvM4dDbB__ybnrpfX9RbOBo98db8aO9avJf70Q6oWGfj5xiVcOJwL7fXlInh71jvA6IWH1-WlqpW0ygEgX8WMer2k5ywyxqMgguFGrA8xQ2Wj7qC7stCe4CFFiakhFQjKwJR0frJ2VwkA"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:24:01Z DEBUG paho_mqtt::async_client] Subscribe to '"app/cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86"' @ QOS 0
[2022-05-09T12:24:01Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:24:01Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:24:01Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:24:01Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:24:01Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:24:01Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:24:02Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:24:02Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:24:02Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:24:02Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:24:03Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:24:03Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:24:03Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:24:03Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:24:04Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:24:04Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:24:04Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:24:04Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:24:04Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 621, payload: 0x7f4b1c003f80, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c004200 } }, data: MessageData { topic: "app/cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86", 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, 99, 99, 100, 98, 48, 54, 45, 98, 98, 53, 56, 45, 52, 51, 56, 55, 45, 97, 99, 53, 99, 45, 97, 102, 53, 101, 102, 56, 100, 100, 101, 98, 48, 52, 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, 98, 53, 52, 98, 57, 101, 101, 37, 50, 68, 57, 48, 48, 99, 37, 50, 68, 52, 101, 49, 48, 37, 50, 68, 56, 101, 48, 101, 37, 50, 68, 49, 100, 55, 101, 99, 56, 100, 57, 97, 97, 56, 54, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 52, 58, 48, 52, 46, 54, 49, 55, 51, 53, 49, 50, 52, 56, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 50, 57, 97, 100, 57, 55, 48, 50, 45, 53, 49, 56, 51, 45, 52, 56, 56, 54, 45, 98, 101, 52, 52, 45, 52, 51, 97, 99, 52, 54, 100, 55, 97, 98, 54, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 99, 98, 53, 52, 98, 57, 101, 101, 37, 50, 68, 57, 48, 48, 99, 37, 50, 68, 52, 101, 49, 48, 37, 50, 68, 56, 101, 48, 101, 37, 50, 68, 49, 100, 55, 101, 99, 56, 100, 57, 97, 97, 56, 54, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 48, 48, 55, 99, 52, 56, 54, 51, 45, 102, 102, 99, 49, 45, 52, 54, 53, 98, 45, 57, 100, 48, 97, 45, 50, 48, 57, 50, 50, 57, 100, 54, 48, 55, 55, 55, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 57, 99, 50, 102, 55, 98, 100, 54, 45, 97, 51, 54, 99, 45, 52, 101, 101, 48, 45, 57, 100, 50, 99, 45, 52, 50, 48, 102, 102, 101, 97, 100, 52, 57, 57, 55, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 99, 98, 53, 52, 98, 57, 101, 101, 45, 57, 48, 48, 99, 45, 52, 101, 49, 48, 45, 56, 101, 48, 101, 45, 49, 100, 55, 101, 99, 56, 100, 57, 97, 97, 56, 54, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c004200 } } } }
[2022-05-09T12:24:04Z DEBUG paho_mqtt::properties] Dropping string property: 0x5617179ef350
[2022-05-09T12:24:04Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"86ccdb06-bb58-4387-ac5c-af5ef8ddeb04\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://cb54b9ee%2D900c%2D4e10%2D8e0e%2D1d7ec8d9aa86/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:24:04.617351248Z\",\"data\":{\"index\":3},\"device\":\"device1\",\"applicationuid\":\"29ad9702-5183-4886-be44-43ac46d7ab61\",\"partitionkey\":\"cb54b9ee%2D900c%2D4e10%2D8e0e%2D1d7ec8d9aa86/device1\",\"senderuid\":\"007c4863-ffc1-465b-9d0a-209229d60777\",\"sender\":\"gateway1\",\"deviceuid\":\"9c2f7bd6-a36c-4ee0-9d2c-420ffead4997\",\"application\":\"cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86\",\"instance\":\"drogue\"}" }
[2022-05-09T12:24:05Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:24:05Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:24:05Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:24:05Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:24:05Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "89be890f-6ec7-4cc0-bd71-9b230f06ebb5", persistence: None, user_data: None }
[2022-05-09T12:24:05Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:24:05Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717b40240
[2022-05-09T12:24:05Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717b40240
[2022-05-09T12:24:05Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717833f40, password: 0x56171784c320, connectTimeout: 30, retryInterval: 0, ssl: 0x561717cae0b0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x5617178355d0, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:24:06Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x5617179f24e0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x5617179f24e0 } } } }
[2022-05-09T12:24:06Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 640, payload: 0x7f4b1c030270, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c030500 } }, data: MessageData { topic: "app/cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86", 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, 54, 48, 55, 98, 101, 55, 51, 99, 45, 52, 101, 53, 51, 45, 52, 49, 52, 49, 45, 56, 49, 100, 99, 45, 97, 53, 54, 57, 51, 56, 101, 57, 54, 51, 101, 53, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 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, 98, 53, 52, 98, 57, 101, 101, 37, 50, 68, 57, 48, 48, 99, 37, 50, 68, 52, 101, 49, 48, 37, 50, 68, 56, 101, 48, 101, 37, 50, 68, 49, 100, 55, 101, 99, 56, 100, 57, 97, 97, 56, 54, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 52, 58, 48, 53, 46, 56, 56, 51, 55, 56, 54, 57, 54, 49, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 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, 98, 53, 52, 98, 57, 101, 101, 37, 50, 68, 57, 48, 48, 99, 37, 50, 68, 52, 101, 49, 48, 37, 50, 68, 56, 101, 48, 101, 37, 50, 68, 49, 100, 55, 101, 99, 56, 100, 57, 97, 97, 56, 54, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 48, 48, 55, 99, 52, 56, 54, 51, 45, 102, 102, 99, 49, 45, 52, 54, 53, 98, 45, 57, 100, 48, 97, 45, 50, 48, 57, 50, 50, 57, 100, 54, 48, 55, 55, 55, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 50, 57, 97, 100, 57, 55, 48, 50, 45, 53, 49, 56, 51, 45, 52, 56, 56, 54, 45, 98, 101, 52, 52, 45, 52, 51, 97, 99, 52, 54, 100, 55, 97, 98, 54, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 48, 48, 55, 99, 52, 56, 54, 51, 45, 102, 102, 99, 49, 45, 52, 54, 53, 98, 45, 57, 100, 48, 97, 45, 50, 48, 57, 50, 50, 57, 100, 54, 48, 55, 55, 55, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 99, 98, 53, 52, 98, 57, 101, 101, 45, 57, 48, 48, 99, 45, 52, 101, 49, 48, 45, 56, 101, 48, 101, 45, 49, 100, 55, 101, 99, 56, 100, 57, 97, 97, 56, 54, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c030500 } } } }
[2022-05-09T12:24:06Z DEBUG paho_mqtt::properties] Dropping string property: 0x5617179ef350
[2022-05-09T12:24:06Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:24:06Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"607be73c-4e53-4141-81dc-a56938e963e5\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://cb54b9ee%2D900c%2D4e10%2D8e0e%2D1d7ec8d9aa86/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:24:05.883786961Z\",\"data\":{\"connected\":true},\"device\":\"gateway1\",\"instance\":\"drogue\",\"partitionkey\":\"cb54b9ee%2D900c%2D4e10%2D8e0e%2D1d7ec8d9aa86/gateway1\",\"senderuid\":\"007c4863-ffc1-465b-9d0a-209229d60777\",\"applicationuid\":\"29ad9702-5183-4886-be44-43ac46d7ab61\",\"deviceuid\":\"007c4863-ffc1-465b-9d0a-209229d60777\",\"application\":\"cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86\",\"sender\":\"gateway1\"}" }
[2022-05-09T12:24:06Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 630, payload: 0x7f4b1c02bd50, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c02bfd0 } }, data: MessageData { topic: "app/cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86", 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, 49, 51, 100, 56, 101, 55, 101, 101, 45, 53, 101, 56, 51, 45, 52, 53, 48, 55, 45, 56, 101, 55, 50, 45, 50, 53, 50, 100, 53, 52, 50, 100, 51, 57, 57, 50, 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, 98, 53, 52, 98, 57, 101, 101, 37, 50, 68, 57, 48, 48, 99, 37, 50, 68, 52, 101, 49, 48, 37, 50, 68, 56, 101, 48, 101, 37, 50, 68, 49, 100, 55, 101, 99, 56, 100, 57, 97, 97, 56, 54, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 52, 58, 48, 54, 46, 50, 54, 54, 54, 57, 52, 55, 51, 51, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 48, 48, 55, 99, 52, 56, 54, 51, 45, 102, 102, 99, 49, 45, 52, 54, 53, 98, 45, 57, 100, 48, 97, 45, 50, 48, 57, 50, 50, 57, 100, 54, 48, 55, 55, 55, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 99, 98, 53, 52, 98, 57, 101, 101, 45, 57, 48, 48, 99, 45, 52, 101, 49, 48, 45, 56, 101, 48, 101, 45, 49, 100, 55, 101, 99, 56, 100, 57, 97, 97, 56, 54, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 99, 98, 53, 52, 98, 57, 101, 101, 37, 50, 68, 57, 48, 48, 99, 37, 50, 68, 52, 101, 49, 48, 37, 50, 68, 56, 101, 48, 101, 37, 50, 68, 49, 100, 55, 101, 99, 56, 100, 57, 97, 97, 56, 54, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 50, 57, 97, 100, 57, 55, 48, 50, 45, 53, 49, 56, 51, 45, 52, 56, 56, 54, 45, 98, 101, 52, 52, 45, 52, 51, 97, 99, 52, 54, 100, 55, 97, 98, 54, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 57, 99, 50, 102, 55, 98, 100, 54, 45, 97, 51, 54, 99, 45, 52, 101, 101, 48, 45, 57, 100, 50, 99, 45, 52, 50, 48, 102, 102, 101, 97, 100, 52, 57, 57, 55, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 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: 2, max_count: 10, length: 48, array: 0x7f4b1c02bfd0 } } } }
[2022-05-09T12:24:06Z DEBUG paho_mqtt::properties] Dropping string property: 0x5617179ef350
[2022-05-09T12:24:06Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"13d8e7ee-5e83-4507-8e72-252d542d3992\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://cb54b9ee%2D900c%2D4e10%2D8e0e%2D1d7ec8d9aa86/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:24:06.266694733Z\",\"data_base64\":\"\",\"senderuid\":\"007c4863-ffc1-465b-9d0a-209229d60777\",\"application\":\"cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86\",\"partitionkey\":\"cb54b9ee%2D900c%2D4e10%2D8e0e%2D1d7ec8d9aa86/device1\",\"applicationuid\":\"29ad9702-5183-4886-be44-43ac46d7ab61\",\"instance\":\"drogue\",\"deviceuid\":\"9c2f7bd6-a36c-4ee0-9d2c-420ffead4997\",\"sender\":\"gateway1\",\"device\":\"device1\"}" }
[2022-05-09T12:24:06Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 641, payload: 0x7f4b1c02e2f0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c02e580 } }, data: MessageData { topic: "app/cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86", 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, 50, 101, 51, 99, 51, 55, 49, 99, 45, 102, 54, 102, 52, 45, 52, 55, 52, 100, 45, 97, 100, 52, 53, 45, 101, 99, 101, 56, 53, 97, 49, 56, 97, 100, 99, 102, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 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, 98, 53, 52, 98, 57, 101, 101, 37, 50, 68, 57, 48, 48, 99, 37, 50, 68, 52, 101, 49, 48, 37, 50, 68, 56, 101, 48, 101, 37, 50, 68, 49, 100, 55, 101, 99, 56, 100, 57, 97, 97, 56, 54, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 52, 58, 48, 54, 46, 51, 52, 52, 57, 57, 48, 54, 53, 57, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 99, 98, 53, 52, 98, 57, 101, 101, 37, 50, 68, 57, 48, 48, 99, 37, 50, 68, 52, 101, 49, 48, 37, 50, 68, 56, 101, 48, 101, 37, 50, 68, 49, 100, 55, 101, 99, 56, 100, 57, 97, 97, 56, 54, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 48, 48, 55, 99, 52, 56, 54, 51, 45, 102, 102, 99, 49, 45, 52, 54, 53, 98, 45, 57, 100, 48, 97, 45, 50, 48, 57, 50, 50, 57, 100, 54, 48, 55, 55, 55, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 99, 98, 53, 52, 98, 57, 101, 101, 45, 57, 48, 48, 99, 45, 52, 101, 49, 48, 45, 56, 101, 48, 101, 45, 49, 100, 55, 101, 99, 56, 100, 57, 97, 97, 56, 54, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 50, 57, 97, 100, 57, 55, 48, 50, 45, 53, 49, 56, 51, 45, 52, 56, 56, 54, 45, 98, 101, 52, 52, 45, 52, 51, 97, 99, 52, 54, 100, 55, 97, 98, 54, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 48, 48, 55, 99, 52, 56, 54, 51, 45, 102, 102, 99, 49, 45, 52, 54, 53, 98, 45, 57, 100, 48, 97, 45, 50, 48, 57, 50, 50, 57, 100, 54, 48, 55, 55, 55, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c02e580 } } } }
[2022-05-09T12:24:06Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b1c02dba0
[2022-05-09T12:24:06Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"2e3c371c-f6f4-474d-ad45-ece85a18adcf\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://cb54b9ee%2D900c%2D4e10%2D8e0e%2D1d7ec8d9aa86/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:24:06.344990659Z\",\"data\":{\"connected\":false},\"partitionkey\":\"cb54b9ee%2D900c%2D4e10%2D8e0e%2D1d7ec8d9aa86/gateway1\",\"deviceuid\":\"007c4863-ffc1-465b-9d0a-209229d60777\",\"application\":\"cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86\",\"device\":\"gateway1\",\"applicationuid\":\"29ad9702-5183-4886-be44-43ac46d7ab61\",\"sender\":\"gateway1\",\"senderuid\":\"007c4863-ffc1-465b-9d0a-209229d60777\",\"instance\":\"drogue\"}" }
[2022-05-09T12:24:06Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:24:06Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:24:06Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:24:06Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86", device: "device1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:24:06Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:24:06Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86" "device1"
[2022-05-09T12:24:06Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:24:06Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:24:06Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86" "gateway1"
[2022-05-09T12:24:06Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:24:06Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86'
[2022-05-09T12:24:06Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86"
[2022-05-09T12:24:06Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App cb54b9ee-900c-4e10-8e0e-1d7ec8d9aa86 deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_1::integration_version_3::integration_ws_1

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T12:24:08Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:24:08Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:24:08Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:24:08Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:24:08Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:24:09Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:24:11Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:24:11Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:24:11Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:24:11Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:24:13Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA4NTMsImlhdCI6MTY1MjA5OTA1MywianRpIjoiYTBlZTE2NTQtMDQ5Yy00ZjZmLWI0NTItMTk2MTVhYmMyMmQ1IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlkweWsxQ2FSYXVpY0JaVjA0S3liVnciLCJzZXNzaW9uX3N0YXRlIjoiZjUyYzI2MjYtZDlkNC00YWYwLThhMzktY2Y0ODhmNmQyYjI5Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImY1MmMyNjI2LWQ5ZDQtNGFmMC04YTM5LWNmNDg4ZjZkMmIyOSJ9.ECNcwQZ8D1-5qblxTGI7IHACyE_mg2fPjVPVFdmEVK8
[2022-05-09T12:24:13Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:24:13Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:24:13Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA4NTMsImlhdCI6MTY1MjA5OTA1MywianRpIjoiYTBlZTE2NTQtMDQ5Yy00ZjZmLWI0NTItMTk2MTVhYmMyMmQ1IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlkweWsxQ2FSYXVpY0JaVjA0S3liVnciLCJzZXNzaW9uX3N0YXRlIjoiZjUyYzI2MjYtZDlkNC00YWYwLThhMzktY2Y0ODhmNmQyYjI5Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImY1MmMyNjI2LWQ5ZDQtNGFmMC04YTM5LWNmNDg4ZjZkMmIyOSJ9.ECNcwQZ8D1-5qblxTGI7IHACyE_mg2fPjVPVFdmEVK8" "--context" "system-tests"
[2022-05-09T12:24:13Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:24:13Z INFO  drogue_cloud_tests::resources::apps] Create application: 710ddd61-fc0d-4bb0-a0bc-44faa9a2827d
[2022-05-09T12:24:13Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "710ddd61-fc0d-4bb0-a0bc-44faa9a2827d"
[2022-05-09T12:24:13Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 710ddd61-fc0d-4bb0-a0bc-44faa9a2827d created.\n", stderr: "" })
[2022-05-09T12:24:13Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "710ddd61-fc0d-4bb0-a0bc-44faa9a2827d"
[2022-05-09T12:24:13Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:24:13.741259Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"710ddd61-fc0d-4bb0-a0bc-44faa9a2827d\",\n    \"resourceVersion\": \"2566cea0-f31c-4086-8294-790e80387bc9\",\n    \"uid\": \"2c394047-9a33-402b-b240-7b1adbdae03c\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:13.763213005Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:13.763187988Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:13.763118067Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:13.763119279Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:13.763119870Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:13.763120401Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:13.763120811Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:13.763164193Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:24:13Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:24:13.741259Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("710ddd61-fc0d-4bb0-a0bc-44faa9a2827d"), "resourceVersion": String("2566cea0-f31c-4086-8294-790e80387bc9"), "uid": String("2c394047-9a33-402b-b240-7b1adbdae03c")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:13.763213005Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:24:13.763187988Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:13.763118067Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:24:13.763119279Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:24:13.763119870Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:13.763120401Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:24:13.763120811Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:13.763164193Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T12:24:13Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:24:14Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "710ddd61-fc0d-4bb0-a0bc-44faa9a2827d"
[2022-05-09T12:24:14Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:24:13.741259Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"710ddd61-fc0d-4bb0-a0bc-44faa9a2827d\",\n    \"resourceVersion\": \"274eef98-74f5-4b65-94e9-af9d2fd41ea6\",\n    \"uid\": \"2c394047-9a33-402b-b240-7b1adbdae03c\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:14.013351608Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:14.013246490Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:13.778601560Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:13.785557474Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:13.843227994Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:13.849103131Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:14.012948522Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:14.013061313Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"K6gK7Np0romn\",\n        \"username\": \"user-710ddd61-fc0d-4bb0-a0bc-44faa9a2827d\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:24:14Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:24:13.741259Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("710ddd61-fc0d-4bb0-a0bc-44faa9a2827d"), "resourceVersion": String("274eef98-74f5-4b65-94e9-af9d2fd41ea6"), "uid": String("2c394047-9a33-402b-b240-7b1adbdae03c")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:14.013351608Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:24:14.013246490Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:13.778601560Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:24:13.785557474Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:24:13.843227994Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:13.849103131Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:24:14.012948522Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:14.013061313Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("K6gK7Np0romn"), "username": String("user-710ddd61-fc0d-4bb0-a0bc-44faa9a2827d")})})})})
[2022-05-09T12:24:14Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:24:14Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "710ddd61-fc0d-4bb0-a0bc-44faa9a2827d"
[2022-05-09T12:24:14Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:24:13.741259Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"710ddd61-fc0d-4bb0-a0bc-44faa9a2827d\",\n    \"resourceVersion\": \"274eef98-74f5-4b65-94e9-af9d2fd41ea6\",\n    \"uid\": \"2c394047-9a33-402b-b240-7b1adbdae03c\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:14.013351608Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:14.013246490Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:13.778601560Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:13.785557474Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:13.843227994Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:13.849103131Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:14.012948522Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:14.013061313Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"K6gK7Np0romn\",\n        \"username\": \"user-710ddd61-fc0d-4bb0-a0bc-44faa9a2827d\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:24:14Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:24:13.741259Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("710ddd61-fc0d-4bb0-a0bc-44faa9a2827d"), "resourceVersion": String("274eef98-74f5-4b65-94e9-af9d2fd41ea6"), "uid": String("2c394047-9a33-402b-b240-7b1adbdae03c")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:14.013351608Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:24:14.013246490Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:13.778601560Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:24:13.785557474Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:24:13.843227994Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:13.849103131Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:24:14.012948522Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:14.013061313Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("K6gK7Np0romn"), "username": String("user-710ddd61-fc0d-4bb0-a0bc-44faa9a2827d")})})})})
[2022-05-09T12:24:14Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:24:14Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:24:14Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "710ddd61-fc0d-4bb0-a0bc-44faa9a2827d" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:24:14Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:24:14Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:24:14Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:24:14Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:24:14Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkzNTMsImlhdCI6MTY1MjA5OTA1MywiYXV0aF90aW1lIjoxNjUyMDk5MDUwLCJqdGkiOiIwMzFhNjk2NS1jMzljLTRiMGMtOGE3YS01ZjMwZTc0YzI0ZDUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJZMHlrMUNhUmF1aWNCWlYwNEt5YlZ3Iiwic2Vzc2lvbl9zdGF0ZSI6ImY1MmMyNjI2LWQ5ZDQtNGFmMC04YTM5LWNmNDg4ZjZkMmIyOSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImY1MmMyNjI2LWQ5ZDQtNGFmMC04YTM5LWNmNDg4ZjZkMmIyOSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.id4GXSVcCA2wEyTKSz-jDvNplSYtXuFO8ynq17PxoQ6fgdIWg1Z4LcZiw5VgPBYOrakE-bGqjHBziJUGZ6l9qdXkUkdIMIOXrrYmsaWH8YYLk3Md3f_v4btmIqj3LqZBT2GMClUABxprRgMzk3nLsLuQrmdrww4NotxZNDrHoIn1KxfFq3Tl_6m0Tdj48DQHqqZD4Q3wfrYMDeBtviDZ-nwTpS38eEnUS0wb-JIRNrswO5tT9IfxwS-DaHhBX7HMkLzJv1WHyF2UsZ0aRgL86A8z9ry5Hg-ocXj2hKRXS9e3EJx28xzGvH6zgIFBVHE4keBILtmErYID60MQT--gJQ\n", stderr: "" })
[2022-05-09T12:24:14Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:24:14Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:24:14Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:24:14Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "710ddd61-fc0d-4bb0-a0bc-44faa9a2827d" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:24:14Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:24:14Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T12:24:14Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:24:14Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkzNTMsImlhdCI6MTY1MjA5OTA1MywiYXV0aF90aW1lIjoxNjUyMDk5MDUwLCJqdGkiOiIwMzFhNjk2NS1jMzljLTRiMGMtOGE3YS01ZjMwZTc0YzI0ZDUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJZMHlrMUNhUmF1aWNCWlYwNEt5YlZ3Iiwic2Vzc2lvbl9zdGF0ZSI6ImY1MmMyNjI2LWQ5ZDQtNGFmMC04YTM5LWNmNDg4ZjZkMmIyOSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImY1MmMyNjI2LWQ5ZDQtNGFmMC04YTM5LWNmNDg4ZjZkMmIyOSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.id4GXSVcCA2wEyTKSz-jDvNplSYtXuFO8ynq17PxoQ6fgdIWg1Z4LcZiw5VgPBYOrakE-bGqjHBziJUGZ6l9qdXkUkdIMIOXrrYmsaWH8YYLk3Md3f_v4btmIqj3LqZBT2GMClUABxprRgMzk3nLsLuQrmdrww4NotxZNDrHoIn1KxfFq3Tl_6m0Tdj48DQHqqZD4Q3wfrYMDeBtviDZ-nwTpS38eEnUS0wb-JIRNrswO5tT9IfxwS-DaHhBX7HMkLzJv1WHyF2UsZ0aRgL86A8z9ry5Hg-ocXj2hKRXS9e3EJx28xzGvH6zgIFBVHE4keBILtmErYID60MQT--gJQ\n", stderr: "" })
[2022-05-09T12:24:14Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "9bab6152-660c-4a89-a498-f69098787e54", persistence: None, user_data: None }
[2022-05-09T12:24:14Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:24:14Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x56171783fec0
[2022-05-09T12:24:14Z DEBUG paho_mqtt::async_client] Connecting handle: 0x56171783fec0
[2022-05-09T12:24:14Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x5617178377e0, connectTimeout: 30, retryInterval: 0, ssl: 0x561717af0c80, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717c6fe50, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkzNTMsImlhdCI6MTY1MjA5OTA1MywiYXV0aF90aW1lIjoxNjUyMDk5MDUwLCJqdGkiOiIwMzFhNjk2NS1jMzljLTRiMGMtOGE3YS01ZjMwZTc0YzI0ZDUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJZMHlrMUNhUmF1aWNCWlYwNEt5YlZ3Iiwic2Vzc2lvbl9zdGF0ZSI6ImY1MmMyNjI2LWQ5ZDQtNGFmMC04YTM5LWNmNDg4ZjZkMmIyOSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImY1MmMyNjI2LWQ5ZDQtNGFmMC04YTM5LWNmNDg4ZjZkMmIyOSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.id4GXSVcCA2wEyTKSz-jDvNplSYtXuFO8ynq17PxoQ6fgdIWg1Z4LcZiw5VgPBYOrakE-bGqjHBziJUGZ6l9qdXkUkdIMIOXrrYmsaWH8YYLk3Md3f_v4btmIqj3LqZBT2GMClUABxprRgMzk3nLsLuQrmdrww4NotxZNDrHoIn1KxfFq3Tl_6m0Tdj48DQHqqZD4Q3wfrYMDeBtviDZ-nwTpS38eEnUS0wb-JIRNrswO5tT9IfxwS-DaHhBX7HMkLzJv1WHyF2UsZ0aRgL86A8z9ry5Hg-ocXj2hKRXS9e3EJx28xzGvH6zgIFBVHE4keBILtmErYID60MQT--gJQ"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:24:14Z DEBUG paho_mqtt::async_client] Subscribe to '"app/710ddd61-fc0d-4bb0-a0bc-44faa9a2827d"' @ QOS 0
[2022-05-09T12:24:15Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:24:15Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:24:15Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:24:15Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:24:15Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:24:15Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:24:16Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:24:16Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:24:16Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:24:16Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:24:17Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:24:17Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:24:17Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:24:17Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:24:18Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:24:18Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:24:18Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:24:18Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:24:18Z 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: 0x7f4b1c004a30, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x561717d82980 } }, data: MessageData { topic: "app/710ddd61-fc0d-4bb0-a0bc-44faa9a2827d", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x561717d82980 } } } }
[2022-05-09T12:24:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717b8b8d0, 0x56171784b080
[2022-05-09T12:24:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x56171784b080, 0x7f4b28000b90
[2022-05-09T12:24:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x56171784b080, 0x7f4b28000c70
[2022-05-09T12:24:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000c70, 0x561717b8cf10
[2022-05-09T12:24:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000c70, 0x7f4b28000c20
[2022-05-09T12:24:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000c20, 0x7f4b28000b90
[2022-05-09T12:24:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000c20, 0x7f4b28000b90
[2022-05-09T12:24:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000c20, 0x7f4b28000b90
[2022-05-09T12:24:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000c20, 0x7f4b280017f0
[2022-05-09T12:24:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280017f0, 0x7f4b28000c20
[2022-05-09T12:24:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000c20, 0x7f4b280017f0
[2022-05-09T12:24:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280017f0, 0x7f4b28000b90
[2022-05-09T12:24:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280017f0, 0x561717874f50
[2022-05-09T12:24:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280017f0, 0x7f4b28000b90
[2022-05-09T12:24:18Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b280017f0
[2022-05-09T12:24:18Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/710ddd61-fc0d-4bb0-a0bc-44faa9a2827d", content_type: Some("application/json"), user_properties: {"subject": "warmup", "type": "io.drogue.event.v1", "id": "2b3e4be4-99ef-422f-b887-1d61fdb72a9a", "application": "710ddd61-fc0d-4bb0-a0bc-44faa9a2827d", "device": "device1", "applicationuid": "2c394047-9a33-402b-b240-7b1adbdae03c", "senderuid": "9d25acbc-e2bc-4b21-afdb-5a1796bbe386", "source": "drogue://710ddd61%2Dfc0d%2D4bb0%2Da0bc%2D44faa9a2827d/device1", "time": "2022-05-09T12:24:18.647276520+00:00", "sender": "gateway1", "instance": "drogue", "partitionkey": "710ddd61%2Dfc0d%2D4bb0%2Da0bc%2D44faa9a2827d/device1", "deviceuid": "51394e0d-75ef-469b-9421-59839211a0d0", "specversion": "1.0"}, payload: "{\"index\":3}" }
[2022-05-09T12:24:19Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:24:19Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:24:19Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:24:19Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:24:19Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "ed9772f8-1cf0-4a57-b609-dd6072d5d08e", persistence: None, user_data: None }
[2022-05-09T12:24:19Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:24:19Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x5617178c52f0
[2022-05-09T12:24:19Z DEBUG paho_mqtt::async_client] Connecting handle: 0x5617178c52f0
[2022-05-09T12:24:19Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717bee370, password: 0x561717bce910, connectTimeout: 30, retryInterval: 0, ssl: 0x5617179ce390, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717bee0e0, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@710ddd61-fc0d-4bb0-a0bc-44faa9a2827d"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:24:20Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717cbcd30 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717cbcd30 } } } }
[2022-05-09T12:24:20Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:24:20Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 18, payload: 0x7f4b1c001ed0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717bc1d10 } }, data: MessageData { topic: "app/710ddd61-fc0d-4bb0-a0bc-44faa9a2827d", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717bc1d10 } } } }
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717a3fbe0, 0x561717a3e8d0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717a3e8d0, 0x5617179a68a0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717a3e8d0, 0x7f4b28002410
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002410, 0x561717d033d0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002410, 0x7f4b30000e00
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30000e00, 0x5617179a68a0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30000e00, 0x5617179a68a0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30000e00, 0x5617179a68a0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30000e00, 0x7f4b300040d0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300040d0, 0x5617179a68a0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300040d0, 0x7f4b300074c0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300074c0, 0x5617179a68a0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300074c0, 0x561717a3ee10
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300074c0, 0x7f4b3000a770
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b3000a770
[2022-05-09T12:24:20Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/710ddd61-fc0d-4bb0-a0bc-44faa9a2827d", content_type: Some("application/json"), user_properties: {"device": "gateway1", "deviceuid": "9d25acbc-e2bc-4b21-afdb-5a1796bbe386", "time": "2022-05-09T12:24:19.764523075+00:00", "source": "drogue://710ddd61%2Dfc0d%2D4bb0%2Da0bc%2D44faa9a2827d/gateway1", "senderuid": "9d25acbc-e2bc-4b21-afdb-5a1796bbe386", "partitionkey": "710ddd61%2Dfc0d%2D4bb0%2Da0bc%2D44faa9a2827d/gateway1", "id": "cc5408b6-d48d-4983-8ffe-05575361a290", "application": "710ddd61-fc0d-4bb0-a0bc-44faa9a2827d", "instance": "drogue", "applicationuid": "2c394047-9a33-402b-b240-7b1adbdae03c", "type": "io.drogue.connection.v1", "specversion": "1.0", "subject": "connection", "sender": "gateway1"}, payload: "{\"connected\":true}" }
[2022-05-09T12:24:20Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 19, payload: 0x7f4b1c0064c0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x56171787c920 } }, data: MessageData { topic: "app/710ddd61-fc0d-4bb0-a0bc-44faa9a2827d", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x56171787c920 } } } }
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717a3e8d0, 0x7f4b28002410
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002410, 0x7f4b1c0063e0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002410, 0x7f4b300074e0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300074e0, 0x7f4b1c029690
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300074e0, 0x7f4b300074a0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300074a0, 0x7f4b1c0063e0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300074a0, 0x7f4b1c0063e0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300074a0, 0x7f4b1c0063e0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300074a0, 0x7f4b30001eb0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001eb0, 0x7f4b1c0063e0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001eb0, 0x7f4b1c0063e0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001eb0, 0x7f4b3000a7d0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b3000a7d0, 0x7f4b30001eb0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001eb0, 0x7f4b1c0312a0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b30001eb0
[2022-05-09T12:24:20Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/710ddd61-fc0d-4bb0-a0bc-44faa9a2827d", content_type: Some("application/json"), user_properties: {"senderuid": "9d25acbc-e2bc-4b21-afdb-5a1796bbe386", "time": "2022-05-09T12:24:20.279238274+00:00", "deviceuid": "9d25acbc-e2bc-4b21-afdb-5a1796bbe386", "source": "drogue://710ddd61%2Dfc0d%2D4bb0%2Da0bc%2D44faa9a2827d/gateway1", "application": "710ddd61-fc0d-4bb0-a0bc-44faa9a2827d", "device": "gateway1", "specversion": "1.0", "applicationuid": "2c394047-9a33-402b-b240-7b1adbdae03c", "id": "a00e8c91-09a0-4b82-9da9-8a0e5e85b1db", "type": "io.drogue.connection.v1", "subject": "connection", "partitionkey": "710ddd61%2Dfc0d%2D4bb0%2Da0bc%2D44faa9a2827d/gateway1", "instance": "drogue", "sender": "gateway1"}, payload: "{\"connected\":false}" }
[2022-05-09T12:24:20Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x56171790fc50 } }, data: MessageData { topic: "app/710ddd61-fc0d-4bb0-a0bc-44faa9a2827d", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x56171790fc50 } } } }
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300074a0, 0x7f4b28002410
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002410, 0x7f4b1c0306a0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002410, 0x7f4b3000a7b0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b3000a7b0, 0x7f4b1c0068a0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b3000a7b0, 0x7f4b30001e20
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001e20, 0x7f4b1c0306a0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001e20, 0x7f4b1c025af0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001e20, 0x7f4b1c0306a0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001e20, 0x7f4b1c0306a0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001e20, 0x7f4b3000a810
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b3000a810, 0x7f4b1c0306a0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b3000a810, 0x7f4b3000a830
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b3000a830, 0x7f4b3000a810
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b3000a810, 0x7f4b1c0306a0
[2022-05-09T12:24:20Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b3000a8d0
[2022-05-09T12:24:20Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/710ddd61-fc0d-4bb0-a0bc-44faa9a2827d", content_type: Some("application/octet-stream"), user_properties: {"sender": "gateway1", "deviceuid": "51394e0d-75ef-469b-9421-59839211a0d0", "id": "172b9d01-a588-4879-915a-d0269ba26f20", "applicationuid": "2c394047-9a33-402b-b240-7b1adbdae03c", "application": "710ddd61-fc0d-4bb0-a0bc-44faa9a2827d", "device": "device1", "subject": "telemetry", "source": "drogue://710ddd61%2Dfc0d%2D4bb0%2Da0bc%2D44faa9a2827d/device1", "senderuid": "9d25acbc-e2bc-4b21-afdb-5a1796bbe386", "instance": "drogue", "time": "2022-05-09T12:24:20.278250622+00:00", "partitionkey": "710ddd61%2Dfc0d%2D4bb0%2Da0bc%2D44faa9a2827d/device1", "type": "io.drogue.event.v1", "specversion": "1.0"}, payload: "" }
[2022-05-09T12:24:20Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:24:20Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:24:20Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:24:20Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "710ddd61-fc0d-4bb0-a0bc-44faa9a2827d", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "710ddd61-fc0d-4bb0-a0bc-44faa9a2827d", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:24:20Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:24:20Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "710ddd61-fc0d-4bb0-a0bc-44faa9a2827d" "device1"
[2022-05-09T12:24:20Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:24:20Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:24:20Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "710ddd61-fc0d-4bb0-a0bc-44faa9a2827d" "gateway1"
[2022-05-09T12:24:20Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:24:20Z INFO  drogue_cloud_tests::resources::apps] Destroy application '710ddd61-fc0d-4bb0-a0bc-44faa9a2827d'
[2022-05-09T12:24:20Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "710ddd61-fc0d-4bb0-a0bc-44faa9a2827d"
[2022-05-09T12:24:20Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 710ddd61-fc0d-4bb0-a0bc-44faa9a2827d deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_1::integration_version_3::integration_ws_2

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T12:24:22Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:24:22Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:24:22Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:24:22Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:24:22Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:24:23Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:24:25Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:24:25Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:24:25Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:24:25Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:24:27Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA4NjYsImlhdCI6MTY1MjA5OTA2NiwianRpIjoiNjEwMDQwOGMtZTQ5ZC00ZDJmLTkzYTItZjZkYTU5YWFmMDQyIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjJaZHV4NDdiYThRdDhMbzhEV3JLV2ciLCJzZXNzaW9uX3N0YXRlIjoiZWFlM2MyZDMtYTkyZC00ZDhjLThjOTgtZjBhYWEwNzU1ZTBiIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImVhZTNjMmQzLWE5MmQtNGQ4Yy04Yzk4LWYwYWFhMDc1NWUwYiJ9.spCR9GGwvHSQkTfauUxWnZatqXBxGIdLOz59W7ueQTk
[2022-05-09T12:24:27Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:24:27Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:24:27Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA4NjYsImlhdCI6MTY1MjA5OTA2NiwianRpIjoiNjEwMDQwOGMtZTQ5ZC00ZDJmLTkzYTItZjZkYTU5YWFmMDQyIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjJaZHV4NDdiYThRdDhMbzhEV3JLV2ciLCJzZXNzaW9uX3N0YXRlIjoiZWFlM2MyZDMtYTkyZC00ZDhjLThjOTgtZjBhYWEwNzU1ZTBiIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImVhZTNjMmQzLWE5MmQtNGQ4Yy04Yzk4LWYwYWFhMDc1NWUwYiJ9.spCR9GGwvHSQkTfauUxWnZatqXBxGIdLOz59W7ueQTk" "--context" "system-tests"
[2022-05-09T12:24:27Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:24:27Z INFO  drogue_cloud_tests::resources::apps] Create application: a7d3e9dd-347f-401e-8edc-5871eb1769eb
[2022-05-09T12:24:27Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "a7d3e9dd-347f-401e-8edc-5871eb1769eb"
[2022-05-09T12:24:27Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App a7d3e9dd-347f-401e-8edc-5871eb1769eb created.\n", stderr: "" })
[2022-05-09T12:24:27Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "a7d3e9dd-347f-401e-8edc-5871eb1769eb"
[2022-05-09T12:24:27Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:24:27.769992Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"a7d3e9dd-347f-401e-8edc-5871eb1769eb\",\n    \"resourceVersion\": \"a4050b71-ffcc-4b0a-9d66-bcb6e2633bd5\",\n    \"uid\": \"1c1c9ba4-b180-4980-b8d8-9f85ce86cab3\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:27.788939862Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:27.789094652Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:27.788781736Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:27.788783289Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:27.788783960Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:27.788785613Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:27.788786004Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:27.788914645Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:24:27Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:24:27.769992Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("a7d3e9dd-347f-401e-8edc-5871eb1769eb"), "resourceVersion": String("a4050b71-ffcc-4b0a-9d66-bcb6e2633bd5"), "uid": String("1c1c9ba4-b180-4980-b8d8-9f85ce86cab3")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:27.788939862Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:27.789094652Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:27.788781736Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:24:27.788783289Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:24:27.788783960Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:27.788785613Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:24:27.788786004Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:27.788914645Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T12:24:27Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:24:28Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "a7d3e9dd-347f-401e-8edc-5871eb1769eb"
[2022-05-09T12:24:28Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:24:27.769992Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"a7d3e9dd-347f-401e-8edc-5871eb1769eb\",\n    \"resourceVersion\": \"23b41b3f-2b39-41e8-a9c8-1f4503fb3359\",\n    \"uid\": \"1c1c9ba4-b180-4980-b8d8-9f85ce86cab3\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:28.082665327Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:28.082709339Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:27.821325661Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:27.826728753Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:27.894539736Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:27.902897789Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:28.082609552Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:28.082634259Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"rJIKo4aBHpI8\",\n        \"username\": \"user-a7d3e9dd-347f-401e-8edc-5871eb1769eb\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:24:28Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:24:27.769992Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("a7d3e9dd-347f-401e-8edc-5871eb1769eb"), "resourceVersion": String("23b41b3f-2b39-41e8-a9c8-1f4503fb3359"), "uid": String("1c1c9ba4-b180-4980-b8d8-9f85ce86cab3")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:28.082665327Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:28.082709339Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:27.821325661Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:24:27.826728753Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:24:27.894539736Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:27.902897789Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:24:28.082609552Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:28.082634259Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("rJIKo4aBHpI8"), "username": String("user-a7d3e9dd-347f-401e-8edc-5871eb1769eb")})})})})
[2022-05-09T12:24:28Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:24:28Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "a7d3e9dd-347f-401e-8edc-5871eb1769eb"
[2022-05-09T12:24:28Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:24:27.769992Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"a7d3e9dd-347f-401e-8edc-5871eb1769eb\",\n    \"resourceVersion\": \"23b41b3f-2b39-41e8-a9c8-1f4503fb3359\",\n    \"uid\": \"1c1c9ba4-b180-4980-b8d8-9f85ce86cab3\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:28.082665327Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:28.082709339Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:27.821325661Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:27.826728753Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:27.894539736Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:27.902897789Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:28.082609552Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:28.082634259Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"rJIKo4aBHpI8\",\n        \"username\": \"user-a7d3e9dd-347f-401e-8edc-5871eb1769eb\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:24:28Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:24:27.769992Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("a7d3e9dd-347f-401e-8edc-5871eb1769eb"), "resourceVersion": String("23b41b3f-2b39-41e8-a9c8-1f4503fb3359"), "uid": String("1c1c9ba4-b180-4980-b8d8-9f85ce86cab3")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:28.082665327Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:28.082709339Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:27.821325661Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:24:27.826728753Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:24:27.894539736Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:27.902897789Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:24:28.082609552Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:28.082634259Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("rJIKo4aBHpI8"), "username": String("user-a7d3e9dd-347f-401e-8edc-5871eb1769eb")})})})})
[2022-05-09T12:24:28Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:24:28Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:24:28Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "a7d3e9dd-347f-401e-8edc-5871eb1769eb" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:24:28Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:24:28Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:24:28Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:24:28Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:24:28Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkzNjcsImlhdCI6MTY1MjA5OTA2NywiYXV0aF90aW1lIjoxNjUyMDk5MDY0LCJqdGkiOiJkYmY5MjJmYy05NzEyLTQ0MjYtOWFmYS1jMWIzODRmNDU5MzMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiIyWmR1eDQ3YmE4UXQ4TG84RFdyS1dnIiwic2Vzc2lvbl9zdGF0ZSI6ImVhZTNjMmQzLWE5MmQtNGQ4Yy04Yzk4LWYwYWFhMDc1NWUwYiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImVhZTNjMmQzLWE5MmQtNGQ4Yy04Yzk4LWYwYWFhMDc1NWUwYiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.MvK3LOr0ABFwl8d9liATMUqnjA7VRoKa2jKvJHzfHgDTfp5k3t4gMl_pGUICx4FdhKA08ADTDft2L-VsCu707BXWKgTAVoLF4D5RMj1kJdfzP0uYhUb9JweFAIIbyv_8XEygdopwYFRmnMtbk8EBw8mo63x3m5r8gVwa2zoZTP4RAO6URoourhhgO9eYjdjR9zHDdXUoqNEf9CdWL_hMZyvT0QWn6gtrQZ2TH9ye7zPyyhvw63m8XZWJVXq6xO-486pz6s71osdXWtLYfFpIVkwC5a5y_iGYJ-gHARkSGl53I9rNMwI2_r3hWcRp6IsIH-wLtSeG5Tte2veiX2X1dw\n", stderr: "" })
[2022-05-09T12:24:28Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:24:28Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:24:28Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:24:28Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "a7d3e9dd-347f-401e-8edc-5871eb1769eb" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:24:28Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:24:28Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T12:24:28Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:24:28Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkzNjcsImlhdCI6MTY1MjA5OTA2NywiYXV0aF90aW1lIjoxNjUyMDk5MDY0LCJqdGkiOiJkYmY5MjJmYy05NzEyLTQ0MjYtOWFmYS1jMWIzODRmNDU5MzMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiIyWmR1eDQ3YmE4UXQ4TG84RFdyS1dnIiwic2Vzc2lvbl9zdGF0ZSI6ImVhZTNjMmQzLWE5MmQtNGQ4Yy04Yzk4LWYwYWFhMDc1NWUwYiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImVhZTNjMmQzLWE5MmQtNGQ4Yy04Yzk4LWYwYWFhMDc1NWUwYiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.MvK3LOr0ABFwl8d9liATMUqnjA7VRoKa2jKvJHzfHgDTfp5k3t4gMl_pGUICx4FdhKA08ADTDft2L-VsCu707BXWKgTAVoLF4D5RMj1kJdfzP0uYhUb9JweFAIIbyv_8XEygdopwYFRmnMtbk8EBw8mo63x3m5r8gVwa2zoZTP4RAO6URoourhhgO9eYjdjR9zHDdXUoqNEf9CdWL_hMZyvT0QWn6gtrQZ2TH9ye7zPyyhvw63m8XZWJVXq6xO-486pz6s71osdXWtLYfFpIVkwC5a5y_iGYJ-gHARkSGl53I9rNMwI2_r3hWcRp6IsIH-wLtSeG5Tte2veiX2X1dw\n", stderr: "" })
[2022-05-09T12:24:28Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "f96c88df-4958-4db4-a7d3-cd7e1494574a", persistence: None, user_data: None }
[2022-05-09T12:24:28Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:24:28Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x5617179ecdf0
[2022-05-09T12:24:28Z DEBUG paho_mqtt::async_client] Connecting handle: 0x5617179ecdf0
[2022-05-09T12:24:28Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717a3be50, connectTimeout: 30, retryInterval: 0, ssl: 0x561717ccd310, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717bdca10, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkzNjcsImlhdCI6MTY1MjA5OTA2NywiYXV0aF90aW1lIjoxNjUyMDk5MDY0LCJqdGkiOiJkYmY5MjJmYy05NzEyLTQ0MjYtOWFmYS1jMWIzODRmNDU5MzMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiIyWmR1eDQ3YmE4UXQ4TG84RFdyS1dnIiwic2Vzc2lvbl9zdGF0ZSI6ImVhZTNjMmQzLWE5MmQtNGQ4Yy04Yzk4LWYwYWFhMDc1NWUwYiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImVhZTNjMmQzLWE5MmQtNGQ4Yy04Yzk4LWYwYWFhMDc1NWUwYiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.MvK3LOr0ABFwl8d9liATMUqnjA7VRoKa2jKvJHzfHgDTfp5k3t4gMl_pGUICx4FdhKA08ADTDft2L-VsCu707BXWKgTAVoLF4D5RMj1kJdfzP0uYhUb9JweFAIIbyv_8XEygdopwYFRmnMtbk8EBw8mo63x3m5r8gVwa2zoZTP4RAO6URoourhhgO9eYjdjR9zHDdXUoqNEf9CdWL_hMZyvT0QWn6gtrQZ2TH9ye7zPyyhvw63m8XZWJVXq6xO-486pz6s71osdXWtLYfFpIVkwC5a5y_iGYJ-gHARkSGl53I9rNMwI2_r3hWcRp6IsIH-wLtSeG5Tte2veiX2X1dw"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:24:29Z DEBUG paho_mqtt::async_client] Subscribe to '"app/a7d3e9dd-347f-401e-8edc-5871eb1769eb"' @ QOS 0
[2022-05-09T12:24:29Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:24:29Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:24:29Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:24:29Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:24:29Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:24:29Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:24:30Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:24:30Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:24:30Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:24:30Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:24:31Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:24:31Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:24:31Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:24:31Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:24:32Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:24:32Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:24:32Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:24:32Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:24:32Z 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: 0x7f4b1c023e70, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x561717cc5820 } }, data: MessageData { topic: "app/a7d3e9dd-347f-401e-8edc-5871eb1769eb", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x561717cc5820 } } } }
[2022-05-09T12:24:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717ae7e30, 0x561717885860
[2022-05-09T12:24:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717885860, 0x7f4b28002330
[2022-05-09T12:24:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717885860, 0x7f4b28002070
[2022-05-09T12:24:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002070, 0x56171786b8d0
[2022-05-09T12:24:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002070, 0x7f4b28001890
[2022-05-09T12:24:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001890, 0x7f4b28002330
[2022-05-09T12:24:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001890, 0x561717ae9200
[2022-05-09T12:24:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001890, 0x7f4b28004200
[2022-05-09T12:24:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001890, 0x7f4b28004200
[2022-05-09T12:24:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001890, 0x7f4b28004200
[2022-05-09T12:24:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001890, 0x7f4b28004200
[2022-05-09T12:24:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001890, 0x7f4b280022d0
[2022-05-09T12:24:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280022d0, 0x7f4b28004200
[2022-05-09T12:24:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280022d0, 0x7f4b28001500
[2022-05-09T12:24:32Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28001500
[2022-05-09T12:24:32Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/a7d3e9dd-347f-401e-8edc-5871eb1769eb", content_type: Some("application/json"), user_properties: {"subject": "warmup", "senderuid": "d4398a97-9761-4dbc-8e18-865d54f10509", "applicationuid": "1c1c9ba4-b180-4980-b8d8-9f85ce86cab3", "device": "device1", "specversion": "1.0", "instance": "drogue", "partitionkey": "a7d3e9dd%2D347f%2D401e%2D8edc%2D5871eb1769eb/device1", "time": "2022-05-09T12:24:32.655113728+00:00", "id": "0884d01f-c909-448e-8815-d626a2c1f365", "type": "io.drogue.event.v1", "deviceuid": "1b82bdf3-4c3e-41cc-ae7a-219344b09a62", "sender": "gateway1", "application": "a7d3e9dd-347f-401e-8edc-5871eb1769eb", "source": "drogue://a7d3e9dd%2D347f%2D401e%2D8edc%2D5871eb1769eb/device1"}, payload: "{\"index\":3}" }
[2022-05-09T12:24:33Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:24:33Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:24:33Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:24:33Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:24:33Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "5277ca67-94a0-4f04-9974-ed74798c16bf", persistence: None, user_data: None }
[2022-05-09T12:24:33Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:24:33Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717ca3750
[2022-05-09T12:24:33Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717ca3750
[2022-05-09T12:24:33Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717b93be0, password: 0x561717bc5bc0, connectTimeout: 30, retryInterval: 0, ssl: 0x561717b6cab0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717b92970, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@a7d3e9dd-347f-401e-8edc-5871eb1769eb"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:24:34Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 18, payload: 0x7f4b1c021c40, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717d41930 } }, data: MessageData { topic: "app/a7d3e9dd-347f-401e-8edc-5871eb1769eb", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717d41930 } } } }
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x5617178a5e90, 0x56171794c790
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x56171794c790, 0x561717b98810
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x56171794c790, 0x7f4b30001eb0
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001eb0, 0x7f4b30004250
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001eb0, 0x7f4b3000a5e0
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001eb0, 0x7f4b3000a5e0
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001eb0, 0x7f4b30004cf0
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004cf0, 0x7f4b3000a5e0
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004cf0, 0x5617178a6180
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004cf0, 0x7f4b300073b0
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300073b0, 0x7f4b30004cf0
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004cf0, 0x7f4b3000a5e0
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004cf0, 0x7f4b3000a5e0
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004cf0, 0x7f4b3000a5e0
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b30004cf0
[2022-05-09T12:24:34Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/a7d3e9dd-347f-401e-8edc-5871eb1769eb", content_type: Some("application/json"), user_properties: {"time": "2022-05-09T12:24:33.681284797+00:00", "id": "be75a25a-1149-4eb2-9597-19bbbad0b586", "applicationuid": "1c1c9ba4-b180-4980-b8d8-9f85ce86cab3", "sender": "gateway1", "source": "drogue://a7d3e9dd%2D347f%2D401e%2D8edc%2D5871eb1769eb/gateway1", "specversion": "1.0", "partitionkey": "a7d3e9dd%2D347f%2D401e%2D8edc%2D5871eb1769eb/gateway1", "instance": "drogue", "type": "io.drogue.connection.v1", "device": "gateway1", "subject": "connection", "application": "a7d3e9dd-347f-401e-8edc-5871eb1769eb", "deviceuid": "d4398a97-9761-4dbc-8e18-865d54f10509", "senderuid": "d4398a97-9761-4dbc-8e18-865d54f10509"}, payload: "{\"connected\":true}" }
[2022-05-09T12:24:34Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x5617178054b0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x5617178054b0 } } } }
[2022-05-09T12:24:34Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:24:34Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x561717d00260 } }, data: MessageData { topic: "app/a7d3e9dd-347f-401e-8edc-5871eb1769eb", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x561717d00260 } } } }
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280077d0, 0x7f4b280022b0
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280022b0, 0x7f4b1c024150
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280022b0, 0x7f4b28001830
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001830, 0x7f4b1c0049d0
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001830, 0x7f4b280023f0
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280023f0, 0x7f4b1c024150
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280023f0, 0x7f4b1c024150
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280023f0, 0x7f4b1c027750
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280023f0, 0x7f4b1c024150
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280023f0, 0x7f4b280022d0
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280022d0, 0x7f4b1c024150
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280022d0, 0x7f4b28003760
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003760, 0x7f4b1c024150
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003760, 0x7f4b280077f0
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b280099a0
[2022-05-09T12:24:34Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/a7d3e9dd-347f-401e-8edc-5871eb1769eb", content_type: Some("application/octet-stream"), user_properties: {"instance": "drogue", "source": "drogue://a7d3e9dd%2D347f%2D401e%2D8edc%2D5871eb1769eb/device1", "subject": "telemetry", "applicationuid": "1c1c9ba4-b180-4980-b8d8-9f85ce86cab3", "deviceuid": "1b82bdf3-4c3e-41cc-ae7a-219344b09a62", "id": "8e912fb5-663f-40c7-a709-e8ede63d4d26", "time": "2022-05-09T12:24:34.275945124+00:00", "sender": "gateway1", "type": "io.drogue.event.v1", "partitionkey": "a7d3e9dd%2D347f%2D401e%2D8edc%2D5871eb1769eb/device1", "specversion": "1.0", "senderuid": "d4398a97-9761-4dbc-8e18-865d54f10509", "device": "device1", "application": "a7d3e9dd-347f-401e-8edc-5871eb1769eb"}, payload: "" }
[2022-05-09T12:24:34Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 19, payload: 0x7f4b1c024e00, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x5617178437b0 } }, data: MessageData { topic: "app/a7d3e9dd-347f-401e-8edc-5871eb1769eb", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x5617178437b0 } } } }
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004f80, 0x7f4b28002290
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002290, 0x7f4b280099a0
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002290, 0x7f4b28001500
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001500, 0x7f4b1c004800
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001500, 0x7f4b280023f0
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280023f0, 0x7f4b280099a0
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280023f0, 0x7f4b28004fa0
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004fa0, 0x7f4b280099a0
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004fa0, 0x7f4b1c02a000
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004fa0, 0x7f4b28009980
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28009980, 0x7f4b280099a0
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28009980, 0x7f4b280099a0
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28009980, 0x7f4b280099a0
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28009980, 0x7f4b28001830
[2022-05-09T12:24:34Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28001830
[2022-05-09T12:24:34Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/a7d3e9dd-347f-401e-8edc-5871eb1769eb", content_type: Some("application/json"), user_properties: {"specversion": "1.0", "subject": "connection", "application": "a7d3e9dd-347f-401e-8edc-5871eb1769eb", "sender": "gateway1", "instance": "drogue", "senderuid": "d4398a97-9761-4dbc-8e18-865d54f10509", "applicationuid": "1c1c9ba4-b180-4980-b8d8-9f85ce86cab3", "partitionkey": "a7d3e9dd%2D347f%2D401e%2D8edc%2D5871eb1769eb/gateway1", "id": "f3a2fc52-7f52-4a33-af26-f4c2a028eb5e", "type": "io.drogue.connection.v1", "source": "drogue://a7d3e9dd%2D347f%2D401e%2D8edc%2D5871eb1769eb/gateway1", "time": "2022-05-09T12:24:34.372679805+00:00", "deviceuid": "d4398a97-9761-4dbc-8e18-865d54f10509", "device": "gateway1"}, payload: "{\"connected\":false}" }
[2022-05-09T12:24:34Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:24:34Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:24:34Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:24:34Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "a7d3e9dd-347f-401e-8edc-5871eb1769eb", device: "device1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "a7d3e9dd-347f-401e-8edc-5871eb1769eb", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:24:34Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:24:34Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "a7d3e9dd-347f-401e-8edc-5871eb1769eb" "device1"
[2022-05-09T12:24:34Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:24:34Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:24:34Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "a7d3e9dd-347f-401e-8edc-5871eb1769eb" "gateway1"
[2022-05-09T12:24:34Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:24:34Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'a7d3e9dd-347f-401e-8edc-5871eb1769eb'
[2022-05-09T12:24:34Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "a7d3e9dd-347f-401e-8edc-5871eb1769eb"
[2022-05-09T12:24:34Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App a7d3e9dd-347f-401e-8edc-5871eb1769eb deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_2::integration_version_1::integration_ws_1

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T12:24:36Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:24:36Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:24:36Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:24:36Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:24:36Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:24:37Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:24:39Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:24:39Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:24:39Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:24:39Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:24:41Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA4ODEsImlhdCI6MTY1MjA5OTA4MSwianRpIjoiYjM0M2ZkNzYtNGNiOS00NWIyLTg2Y2ItYjlkODhjNWVhMzU4IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Im9UT2FNN0RLMFJGUXNpUEdJa0kzeHciLCJzZXNzaW9uX3N0YXRlIjoiOTdhOWQ0NmQtOGY1Zi00ZTNmLTkwMzAtYWI2MTdhYzdiMTc1Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6Ijk3YTlkNDZkLThmNWYtNGUzZi05MDMwLWFiNjE3YWM3YjE3NSJ9.X_SsFc4BH-k8GHueK04i3mC5lB2Ha0-8D6b2E6M0wYg
[2022-05-09T12:24:41Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:24:41Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:24:41Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA4ODEsImlhdCI6MTY1MjA5OTA4MSwianRpIjoiYjM0M2ZkNzYtNGNiOS00NWIyLTg2Y2ItYjlkODhjNWVhMzU4IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Im9UT2FNN0RLMFJGUXNpUEdJa0kzeHciLCJzZXNzaW9uX3N0YXRlIjoiOTdhOWQ0NmQtOGY1Zi00ZTNmLTkwMzAtYWI2MTdhYzdiMTc1Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6Ijk3YTlkNDZkLThmNWYtNGUzZi05MDMwLWFiNjE3YWM3YjE3NSJ9.X_SsFc4BH-k8GHueK04i3mC5lB2Ha0-8D6b2E6M0wYg" "--context" "system-tests"
[2022-05-09T12:24:41Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:24:42Z INFO  drogue_cloud_tests::resources::apps] Create application: 6e96490f-2369-4f9d-b45d-1add97849699
[2022-05-09T12:24:42Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "6e96490f-2369-4f9d-b45d-1add97849699"
[2022-05-09T12:24:42Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 6e96490f-2369-4f9d-b45d-1add97849699 created.\n", stderr: "" })
[2022-05-09T12:24:42Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "6e96490f-2369-4f9d-b45d-1add97849699"
[2022-05-09T12:24:42Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:24:42.093676Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"6e96490f-2369-4f9d-b45d-1add97849699\",\n    \"resourceVersion\": \"61579b04-c9f8-4d23-94cd-eaa320fc23a1\",\n    \"uid\": \"8c2d1490-3524-4f15-a6f8-1c4d96b259e4\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:42.118295770Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:42.118267186Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:42.118197285Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:42.118198948Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:42.118199810Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:42.118200812Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:42.118201383Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:42.118236519Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:24:42Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:24:42.093676Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("6e96490f-2369-4f9d-b45d-1add97849699"), "resourceVersion": String("61579b04-c9f8-4d23-94cd-eaa320fc23a1"), "uid": String("8c2d1490-3524-4f15-a6f8-1c4d96b259e4")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:42.118295770Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:24:42.118267186Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:42.118197285Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:24:42.118198948Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:24:42.118199810Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:42.118200812Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:24:42.118201383Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:42.118236519Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T12:24:42Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:24:43Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "6e96490f-2369-4f9d-b45d-1add97849699"
[2022-05-09T12:24:43Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:24:42.093676Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"6e96490f-2369-4f9d-b45d-1add97849699\",\n    \"resourceVersion\": \"e1ddd8e8-3d2c-4177-bfa4-e6e33b0e09b0\",\n    \"uid\": \"8c2d1490-3524-4f15-a6f8-1c4d96b259e4\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:42.408682574Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:42.408637139Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:42.143188257Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:42.150418214Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:42.213327858Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:42.220223779Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:42.408589530Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:42.408610128Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"AIC4Gvulx9M9\",\n        \"username\": \"user-6e96490f-2369-4f9d-b45d-1add97849699\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:24:43Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:24:42.093676Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("6e96490f-2369-4f9d-b45d-1add97849699"), "resourceVersion": String("e1ddd8e8-3d2c-4177-bfa4-e6e33b0e09b0"), "uid": String("8c2d1490-3524-4f15-a6f8-1c4d96b259e4")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:42.408682574Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:24:42.408637139Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:42.143188257Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:24:42.150418214Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:24:42.213327858Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:42.220223779Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:24:42.408589530Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:42.408610128Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("AIC4Gvulx9M9"), "username": String("user-6e96490f-2369-4f9d-b45d-1add97849699")})})})})
[2022-05-09T12:24:43Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:24:43Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "6e96490f-2369-4f9d-b45d-1add97849699"
[2022-05-09T12:24:43Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:24:42.093676Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"6e96490f-2369-4f9d-b45d-1add97849699\",\n    \"resourceVersion\": \"e1ddd8e8-3d2c-4177-bfa4-e6e33b0e09b0\",\n    \"uid\": \"8c2d1490-3524-4f15-a6f8-1c4d96b259e4\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:42.408682574Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:42.408637139Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:42.143188257Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:42.150418214Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:42.213327858Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:42.220223779Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:42.408589530Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:42.408610128Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"AIC4Gvulx9M9\",\n        \"username\": \"user-6e96490f-2369-4f9d-b45d-1add97849699\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:24:43Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:24:42.093676Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("6e96490f-2369-4f9d-b45d-1add97849699"), "resourceVersion": String("e1ddd8e8-3d2c-4177-bfa4-e6e33b0e09b0"), "uid": String("8c2d1490-3524-4f15-a6f8-1c4d96b259e4")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:42.408682574Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:24:42.408637139Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:42.143188257Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:24:42.150418214Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:24:42.213327858Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:42.220223779Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:24:42.408589530Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:42.408610128Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("AIC4Gvulx9M9"), "username": String("user-6e96490f-2369-4f9d-b45d-1add97849699")})})})})
[2022-05-09T12:24:43Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:24:43Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:24:43Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "6e96490f-2369-4f9d-b45d-1add97849699" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:24:43Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:24:43Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:24:43Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:24:43Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:24:43Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkzODEsImlhdCI6MTY1MjA5OTA4MSwiYXV0aF90aW1lIjoxNjUyMDk5MDc4LCJqdGkiOiJmODA3ZTk3Yi0wM2EwLTQxNjktOGIyYS1jMDJhMmJlZDQwOTciLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJvVE9hTTdESzBSRlFzaVBHSWtJM3h3Iiwic2Vzc2lvbl9zdGF0ZSI6Ijk3YTlkNDZkLThmNWYtNGUzZi05MDMwLWFiNjE3YWM3YjE3NSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6Ijk3YTlkNDZkLThmNWYtNGUzZi05MDMwLWFiNjE3YWM3YjE3NSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.PKEvI6K1D-M9GWmTGNVxI-Bqv4XvmmeWn2up3bK9Og1nuuRUz63o13ANBNhQbYlQqh6s7LS1k9Ey9Es2Fw1-TQK6bUz38GXODHuBA9yOwaaLxjaogSCu8upTNqkdWs5LnZ47uKhVVU7jS0OtnuntvBMVPV_x7F5FWNUPNjxyySkK3d02ibCdVjk4q9TRTJmEe-Nx7X_ANBnpmcBf1o4kYDxIOZY51gQ6OGBSjlM66OxHyoYfQQoFXD8r7ABKa2TrDsu4R5wnJB9WX2V_zeBApyi5NfP0glCUR1xCW4HnXNpyFdCNe4AALvLmcLMU4NTIJJR9WACXB1bCGJ9GD-j2pA\n", stderr: "" })
[2022-05-09T12:24:43Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:24:43Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:24:43Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:24:43Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "6e96490f-2369-4f9d-b45d-1add97849699" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:24:43Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:24:43Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T12:24:43Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:24:43Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkzODEsImlhdCI6MTY1MjA5OTA4MSwiYXV0aF90aW1lIjoxNjUyMDk5MDc4LCJqdGkiOiJmODA3ZTk3Yi0wM2EwLTQxNjktOGIyYS1jMDJhMmJlZDQwOTciLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJvVE9hTTdESzBSRlFzaVBHSWtJM3h3Iiwic2Vzc2lvbl9zdGF0ZSI6Ijk3YTlkNDZkLThmNWYtNGUzZi05MDMwLWFiNjE3YWM3YjE3NSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6Ijk3YTlkNDZkLThmNWYtNGUzZi05MDMwLWFiNjE3YWM3YjE3NSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.PKEvI6K1D-M9GWmTGNVxI-Bqv4XvmmeWn2up3bK9Og1nuuRUz63o13ANBNhQbYlQqh6s7LS1k9Ey9Es2Fw1-TQK6bUz38GXODHuBA9yOwaaLxjaogSCu8upTNqkdWs5LnZ47uKhVVU7jS0OtnuntvBMVPV_x7F5FWNUPNjxyySkK3d02ibCdVjk4q9TRTJmEe-Nx7X_ANBnpmcBf1o4kYDxIOZY51gQ6OGBSjlM66OxHyoYfQQoFXD8r7ABKa2TrDsu4R5wnJB9WX2V_zeBApyi5NfP0glCUR1xCW4HnXNpyFdCNe4AALvLmcLMU4NTIJJR9WACXB1bCGJ9GD-j2pA\n", stderr: "" })
[2022-05-09T12:24:43Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "5b2c8913-9f06-415b-84ea-63cde330b0fe", persistence: None, user_data: None }
[2022-05-09T12:24:43Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:24:43Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x5617179ecfa0
[2022-05-09T12:24:43Z DEBUG paho_mqtt::async_client] Connecting handle: 0x5617179ecfa0
[2022-05-09T12:24:43Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717acebe0, connectTimeout: 30, retryInterval: 0, ssl: 0x561717ace4d0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717acea90, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkzODEsImlhdCI6MTY1MjA5OTA4MSwiYXV0aF90aW1lIjoxNjUyMDk5MDc4LCJqdGkiOiJmODA3ZTk3Yi0wM2EwLTQxNjktOGIyYS1jMDJhMmJlZDQwOTciLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJvVE9hTTdESzBSRlFzaVBHSWtJM3h3Iiwic2Vzc2lvbl9zdGF0ZSI6Ijk3YTlkNDZkLThmNWYtNGUzZi05MDMwLWFiNjE3YWM3YjE3NSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6Ijk3YTlkNDZkLThmNWYtNGUzZi05MDMwLWFiNjE3YWM3YjE3NSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.PKEvI6K1D-M9GWmTGNVxI-Bqv4XvmmeWn2up3bK9Og1nuuRUz63o13ANBNhQbYlQqh6s7LS1k9Ey9Es2Fw1-TQK6bUz38GXODHuBA9yOwaaLxjaogSCu8upTNqkdWs5LnZ47uKhVVU7jS0OtnuntvBMVPV_x7F5FWNUPNjxyySkK3d02ibCdVjk4q9TRTJmEe-Nx7X_ANBnpmcBf1o4kYDxIOZY51gQ6OGBSjlM66OxHyoYfQQoFXD8r7ABKa2TrDsu4R5wnJB9WX2V_zeBApyi5NfP0glCUR1xCW4HnXNpyFdCNe4AALvLmcLMU4NTIJJR9WACXB1bCGJ9GD-j2pA"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:24:43Z DEBUG paho_mqtt::async_client] Subscribe to '"app/6e96490f-2369-4f9d-b45d-1add97849699"' @ QOS 0
[2022-05-09T12:24:43Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:24:43Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:24:43Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:24:43Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:24:43Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:24:43Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:24:44Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:24:44Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:24:44Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:24:44Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:24:45Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:24:45Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:24:45Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:24:45Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:24:46Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:24:46Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:24:46Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:24:46Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:24:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 621, payload: 0x7f4b1c001350, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/6e96490f-2369-4f9d-b45d-1add97849699", 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, 52, 57, 98, 57, 51, 101, 49, 50, 45, 56, 102, 98, 56, 45, 52, 100, 101, 100, 45, 56, 98, 101, 55, 45, 49, 54, 54, 56, 52, 53, 99, 48, 53, 102, 97, 99, 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, 54, 101, 57, 54, 52, 57, 48, 102, 37, 50, 68, 50, 51, 54, 57, 37, 50, 68, 52, 102, 57, 100, 37, 50, 68, 98, 52, 53, 100, 37, 50, 68, 49, 97, 100, 100, 57, 55, 56, 52, 57, 54, 57, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 52, 58, 52, 54, 46, 54, 52, 54, 53, 48, 55, 48, 55, 52, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 54, 55, 56, 49, 97, 53, 101, 53, 45, 54, 56, 50, 48, 45, 52, 97, 100, 54, 45, 97, 101, 97, 97, 45, 100, 100, 101, 56, 50, 98, 55, 102, 51, 55, 100, 50, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 56, 99, 50, 100, 49, 52, 57, 48, 45, 51, 53, 50, 52, 45, 52, 102, 49, 53, 45, 97, 54, 102, 56, 45, 49, 99, 52, 100, 57, 54, 98, 50, 53, 57, 101, 52, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 55, 49, 57, 55, 51, 55, 101, 50, 45, 53, 101, 49, 49, 45, 52, 52, 53, 54, 45, 57, 54, 100, 100, 45, 97, 52, 101, 56, 57, 50, 52, 50, 50, 53, 54, 57, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 54, 101, 57, 54, 52, 57, 48, 102, 37, 50, 68, 50, 51, 54, 57, 37, 50, 68, 52, 102, 57, 100, 37, 50, 68, 98, 52, 53, 100, 37, 50, 68, 49, 97, 100, 100, 57, 55, 56, 52, 57, 54, 57, 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, 54, 101, 57, 54, 52, 57, 48, 102, 45, 50, 51, 54, 57, 45, 52, 102, 57, 100, 45, 98, 52, 53, 100, 45, 49, 97, 100, 100, 57, 55, 56, 52, 57, 54, 57, 57, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:24:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/6e96490f-2369-4f9d-b45d-1add97849699", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"49b93e12-8fb8-4ded-8be7-166845c05fac\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://6e96490f%2D2369%2D4f9d%2Db45d%2D1add97849699/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:24:46.646507074Z\",\"data\":{\"index\":3},\"senderuid\":\"6781a5e5-6820-4ad6-aeaa-dde82b7f37d2\",\"sender\":\"gateway1\",\"device\":\"device1\",\"applicationuid\":\"8c2d1490-3524-4f15-a6f8-1c4d96b259e4\",\"instance\":\"drogue\",\"deviceuid\":\"719737e2-5e11-4456-96dd-a4e892422569\",\"partitionkey\":\"6e96490f%2D2369%2D4f9d%2Db45d%2D1add97849699/device1\",\"application\":\"6e96490f-2369-4f9d-b45d-1add97849699\"}" }
[2022-05-09T12:24:47Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:24:47Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:24:47Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:24:47Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:24:47Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "04ee8a4b-6c05-4e5e-9c66-3e3991c177c4", persistence: None, user_data: None }
[2022-05-09T12:24:47Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:24:47Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717bc1880
[2022-05-09T12:24:47Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717bc1880
[2022-05-09T12:24:47Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717bc8920, password: 0x5617179ed310, connectTimeout: 30, retryInterval: 0, ssl: 0x561717867e40, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x56171793df40, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@6e96490f-2369-4f9d-b45d-1add97849699"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:24:48Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 640, payload: 0x7f4b1c0044a0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/6e96490f-2369-4f9d-b45d-1add97849699", 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, 55, 49, 54, 101, 101, 51, 55, 54, 45, 100, 48, 56, 99, 45, 52, 98, 52, 98, 45, 97, 50, 99, 52, 45, 48, 97, 54, 50, 50, 53, 102, 102, 54, 53, 51, 102, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 54, 101, 57, 54, 52, 57, 48, 102, 37, 50, 68, 50, 51, 54, 57, 37, 50, 68, 52, 102, 57, 100, 37, 50, 68, 98, 52, 53, 100, 37, 50, 68, 49, 97, 100, 100, 57, 55, 56, 52, 57, 54, 57, 57, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 52, 58, 52, 55, 46, 55, 54, 52, 54, 56, 53, 49, 49, 55, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 54, 55, 56, 49, 97, 53, 101, 53, 45, 54, 56, 50, 48, 45, 52, 97, 100, 54, 45, 97, 101, 97, 97, 45, 100, 100, 101, 56, 50, 98, 55, 102, 51, 55, 100, 50, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 54, 55, 56, 49, 97, 53, 101, 53, 45, 54, 56, 50, 48, 45, 52, 97, 100, 54, 45, 97, 101, 97, 97, 45, 100, 100, 101, 56, 50, 98, 55, 102, 51, 55, 100, 50, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 54, 101, 57, 54, 52, 57, 48, 102, 45, 50, 51, 54, 57, 45, 52, 102, 57, 100, 45, 98, 52, 53, 100, 45, 49, 97, 100, 100, 57, 55, 56, 52, 57, 54, 57, 57, 34, 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, 54, 101, 57, 54, 52, 57, 48, 102, 37, 50, 68, 50, 51, 54, 57, 37, 50, 68, 52, 102, 57, 100, 37, 50, 68, 98, 52, 53, 100, 37, 50, 68, 49, 97, 100, 100, 57, 55, 56, 52, 57, 54, 57, 57, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 56, 99, 50, 100, 49, 52, 57, 48, 45, 51, 53, 50, 52, 45, 52, 102, 49, 53, 45, 97, 54, 102, 56, 45, 49, 99, 52, 100, 57, 54, 98, 50, 53, 57, 101, 52, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:24:48Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/6e96490f-2369-4f9d-b45d-1add97849699", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"716ee376-d08c-4b4b-a2c4-0a6225ff653f\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://6e96490f%2D2369%2D4f9d%2Db45d%2D1add97849699/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:24:47.764685117Z\",\"data\":{\"connected\":true},\"deviceuid\":\"6781a5e5-6820-4ad6-aeaa-dde82b7f37d2\",\"sender\":\"gateway1\",\"senderuid\":\"6781a5e5-6820-4ad6-aeaa-dde82b7f37d2\",\"device\":\"gateway1\",\"application\":\"6e96490f-2369-4f9d-b45d-1add97849699\",\"instance\":\"drogue\",\"partitionkey\":\"6e96490f%2D2369%2D4f9d%2Db45d%2D1add97849699/gateway1\",\"applicationuid\":\"8c2d1490-3524-4f15-a6f8-1c4d96b259e4\"}" }
[2022-05-09T12:24:48Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717ccc5a0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717ccc5a0 } } } }
[2022-05-09T12:24:48Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:24:48Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 641, payload: 0x7f4b1c017dd0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/6e96490f-2369-4f9d-b45d-1add97849699", 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, 55, 99, 99, 99, 49, 49, 101, 49, 45, 54, 51, 98, 55, 45, 52, 57, 48, 50, 45, 98, 102, 101, 48, 45, 55, 51, 55, 56, 50, 102, 101, 99, 52, 97, 57, 100, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 54, 101, 57, 54, 52, 57, 48, 102, 37, 50, 68, 50, 51, 54, 57, 37, 50, 68, 52, 102, 57, 100, 37, 50, 68, 98, 52, 53, 100, 37, 50, 68, 49, 97, 100, 100, 57, 55, 56, 52, 57, 54, 57, 57, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 52, 58, 52, 56, 46, 51, 50, 52, 51, 49, 53, 49, 52, 57, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 56, 99, 50, 100, 49, 52, 57, 48, 45, 51, 53, 50, 52, 45, 52, 102, 49, 53, 45, 97, 54, 102, 56, 45, 49, 99, 52, 100, 57, 54, 98, 50, 53, 57, 101, 52, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 54, 101, 57, 54, 52, 57, 48, 102, 45, 50, 51, 54, 57, 45, 52, 102, 57, 100, 45, 98, 52, 53, 100, 45, 49, 97, 100, 100, 57, 55, 56, 52, 57, 54, 57, 57, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 54, 55, 56, 49, 97, 53, 101, 53, 45, 54, 56, 50, 48, 45, 52, 97, 100, 54, 45, 97, 101, 97, 97, 45, 100, 100, 101, 56, 50, 98, 55, 102, 51, 55, 100, 50, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 54, 101, 57, 54, 52, 57, 48, 102, 37, 50, 68, 50, 51, 54, 57, 37, 50, 68, 52, 102, 57, 100, 37, 50, 68, 98, 52, 53, 100, 37, 50, 68, 49, 97, 100, 100, 57, 55, 56, 52, 57, 54, 57, 57, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 54, 55, 56, 49, 97, 53, 101, 53, 45, 54, 56, 50, 48, 45, 52, 97, 100, 54, 45, 97, 101, 97, 97, 45, 100, 100, 101, 56, 50, 98, 55, 102, 51, 55, 100, 50, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:24:48Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/6e96490f-2369-4f9d-b45d-1add97849699", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"7ccc11e1-63b7-4902-bfe0-73782fec4a9d\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://6e96490f%2D2369%2D4f9d%2Db45d%2D1add97849699/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:24:48.324315149Z\",\"data\":{\"connected\":false},\"sender\":\"gateway1\",\"applicationuid\":\"8c2d1490-3524-4f15-a6f8-1c4d96b259e4\",\"device\":\"gateway1\",\"instance\":\"drogue\",\"application\":\"6e96490f-2369-4f9d-b45d-1add97849699\",\"senderuid\":\"6781a5e5-6820-4ad6-aeaa-dde82b7f37d2\",\"partitionkey\":\"6e96490f%2D2369%2D4f9d%2Db45d%2D1add97849699/gateway1\",\"deviceuid\":\"6781a5e5-6820-4ad6-aeaa-dde82b7f37d2\"}" }
[2022-05-09T12:24:49Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 630, payload: 0x7f4b1c010350, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/6e96490f-2369-4f9d-b45d-1add97849699", 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, 57, 102, 99, 102, 98, 97, 100, 99, 45, 55, 54, 54, 51, 45, 52, 57, 97, 101, 45, 57, 102, 97, 99, 45, 50, 49, 102, 52, 55, 100, 51, 50, 101, 99, 49, 55, 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, 54, 101, 57, 54, 52, 57, 48, 102, 37, 50, 68, 50, 51, 54, 57, 37, 50, 68, 52, 102, 57, 100, 37, 50, 68, 98, 52, 53, 100, 37, 50, 68, 49, 97, 100, 100, 57, 55, 56, 52, 57, 54, 57, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 52, 58, 52, 56, 46, 51, 50, 52, 52, 56, 50, 51, 56, 51, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 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, 54, 101, 57, 54, 52, 57, 48, 102, 37, 50, 68, 50, 51, 54, 57, 37, 50, 68, 52, 102, 57, 100, 37, 50, 68, 98, 52, 53, 100, 37, 50, 68, 49, 97, 100, 100, 57, 55, 56, 52, 57, 54, 57, 57, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 56, 99, 50, 100, 49, 52, 57, 48, 45, 51, 53, 50, 52, 45, 52, 102, 49, 53, 45, 97, 54, 102, 56, 45, 49, 99, 52, 100, 57, 54, 98, 50, 53, 57, 101, 52, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 54, 101, 57, 54, 52, 57, 48, 102, 45, 50, 51, 54, 57, 45, 52, 102, 57, 100, 45, 98, 52, 53, 100, 45, 49, 97, 100, 100, 57, 55, 56, 52, 57, 54, 57, 57, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 55, 49, 57, 55, 51, 55, 101, 50, 45, 53, 101, 49, 49, 45, 52, 52, 53, 54, 45, 57, 54, 100, 100, 45, 97, 52, 101, 56, 57, 50, 52, 50, 50, 53, 54, 57, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 54, 55, 56, 49, 97, 53, 101, 53, 45, 54, 56, 50, 48, 45, 52, 97, 100, 54, 45, 97, 101, 97, 97, 45, 100, 100, 101, 56, 50, 98, 55, 102, 51, 55, 100, 50, 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 } } } }
[2022-05-09T12:24:49Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/6e96490f-2369-4f9d-b45d-1add97849699", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"9fcfbadc-7663-49ae-9fac-21f47d32ec17\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://6e96490f%2D2369%2D4f9d%2Db45d%2D1add97849699/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:24:48.324482383Z\",\"data_base64\":\"\",\"instance\":\"drogue\",\"partitionkey\":\"6e96490f%2D2369%2D4f9d%2Db45d%2D1add97849699/device1\",\"applicationuid\":\"8c2d1490-3524-4f15-a6f8-1c4d96b259e4\",\"application\":\"6e96490f-2369-4f9d-b45d-1add97849699\",\"deviceuid\":\"719737e2-5e11-4456-96dd-a4e892422569\",\"sender\":\"gateway1\",\"senderuid\":\"6781a5e5-6820-4ad6-aeaa-dde82b7f37d2\",\"device\":\"device1\"}" }
[2022-05-09T12:24:49Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:24:49Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:24:49Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:24:49Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "6e96490f-2369-4f9d-b45d-1add97849699", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "6e96490f-2369-4f9d-b45d-1add97849699", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:24:49Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:24:49Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "6e96490f-2369-4f9d-b45d-1add97849699" "device1"
[2022-05-09T12:24:49Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:24:49Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:24:49Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "6e96490f-2369-4f9d-b45d-1add97849699" "gateway1"
[2022-05-09T12:24:49Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:24:49Z INFO  drogue_cloud_tests::resources::apps] Destroy application '6e96490f-2369-4f9d-b45d-1add97849699'
[2022-05-09T12:24:49Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "6e96490f-2369-4f9d-b45d-1add97849699"
[2022-05-09T12:24:49Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 6e96490f-2369-4f9d-b45d-1add97849699 deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_2::integration_version_1::integration_ws_2

Duration: 15s

Test output
-------------- TEST START --------------
[2022-05-09T12:24:51Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:24:51Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:24:51Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:24:51Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:24:51Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:24:52Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:24:54Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:24:54Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:24:54Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:24:54Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:24:56Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA4OTYsImlhdCI6MTY1MjA5OTA5NiwianRpIjoiNTZjYjY1M2MtMmFhOC00OTQ4LTk0NjItM2Q2ZWVmZTk4YTQ1IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlpyWW1tOXBzOG1CSVBsZlA0b2lUMHciLCJzZXNzaW9uX3N0YXRlIjoiYjYxNWFkMzgtOTFhOS00MWQxLWFlZGYtYmY5OGM4ZDI1OWI2Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImI2MTVhZDM4LTkxYTktNDFkMS1hZWRmLWJmOThjOGQyNTliNiJ9.eXnygWm18OV_2Re46zfLKJUsVKvKWCmosEsRMThY81Q
[2022-05-09T12:24:56Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:24:56Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:24:56Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA4OTYsImlhdCI6MTY1MjA5OTA5NiwianRpIjoiNTZjYjY1M2MtMmFhOC00OTQ4LTk0NjItM2Q2ZWVmZTk4YTQ1IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlpyWW1tOXBzOG1CSVBsZlA0b2lUMHciLCJzZXNzaW9uX3N0YXRlIjoiYjYxNWFkMzgtOTFhOS00MWQxLWFlZGYtYmY5OGM4ZDI1OWI2Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImI2MTVhZDM4LTkxYTktNDFkMS1hZWRmLWJmOThjOGQyNTliNiJ9.eXnygWm18OV_2Re46zfLKJUsVKvKWCmosEsRMThY81Q" "--context" "system-tests"
[2022-05-09T12:24:56Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:24:57Z INFO  drogue_cloud_tests::resources::apps] Create application: 5998d988-8ba3-4107-be72-c1595cc675da
[2022-05-09T12:24:57Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "5998d988-8ba3-4107-be72-c1595cc675da"
[2022-05-09T12:24:57Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 5998d988-8ba3-4107-be72-c1595cc675da created.\n", stderr: "" })
[2022-05-09T12:24:57Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "5998d988-8ba3-4107-be72-c1595cc675da"
[2022-05-09T12:24:57Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:24:57.269929Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"5998d988-8ba3-4107-be72-c1595cc675da\",\n    \"resourceVersion\": \"71b62529-d38f-4759-96ce-a9d0772fba53\",\n    \"uid\": \"7f1abdc1-55c7-4db0-a114-61a09bd1cdbc\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:57.288855900Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:57.288830172Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:57.288736908Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:57.288792703Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:57.288793384Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:57.288794186Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:57.288794677Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:57.288805557Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:24:57Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:24:57.269929Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("5998d988-8ba3-4107-be72-c1595cc675da"), "resourceVersion": String("71b62529-d38f-4759-96ce-a9d0772fba53"), "uid": String("7f1abdc1-55c7-4db0-a114-61a09bd1cdbc")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:57.288855900Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:24:57.288830172Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:57.288736908Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:24:57.288792703Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:24:57.288793384Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:57.288794186Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:24:57.288794677Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:57.288805557Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T12:24:57Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:24:58Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "5998d988-8ba3-4107-be72-c1595cc675da"
[2022-05-09T12:24:58Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:24:57.269929Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"5998d988-8ba3-4107-be72-c1595cc675da\",\n    \"resourceVersion\": \"e2b7824a-62d6-466d-a8a8-994083ccab80\",\n    \"uid\": \"7f1abdc1-55c7-4db0-a114-61a09bd1cdbc\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:57.632186602Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:57.632142400Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:57.316702037Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:57.322862147Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:57.466299442Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:57.479818893Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:57.628223281Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:57.628239571Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"PYEj9BYFgjp4\",\n        \"username\": \"user-5998d988-8ba3-4107-be72-c1595cc675da\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:24:58Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:24:57.269929Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("5998d988-8ba3-4107-be72-c1595cc675da"), "resourceVersion": String("e2b7824a-62d6-466d-a8a8-994083ccab80"), "uid": String("7f1abdc1-55c7-4db0-a114-61a09bd1cdbc")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:57.632186602Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:24:57.632142400Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:57.316702037Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:24:57.322862147Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:24:57.466299442Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:57.479818893Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:24:57.628223281Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:57.628239571Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("PYEj9BYFgjp4"), "username": String("user-5998d988-8ba3-4107-be72-c1595cc675da")})})})})
[2022-05-09T12:24:58Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:24:58Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "5998d988-8ba3-4107-be72-c1595cc675da"
[2022-05-09T12:24:58Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:24:57.269929Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"5998d988-8ba3-4107-be72-c1595cc675da\",\n    \"resourceVersion\": \"e2b7824a-62d6-466d-a8a8-994083ccab80\",\n    \"uid\": \"7f1abdc1-55c7-4db0-a114-61a09bd1cdbc\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:57.632186602Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:24:57.632142400Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:57.316702037Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:57.322862147Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:57.466299442Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:57.479818893Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:57.628223281Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:24:57.628239571Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"PYEj9BYFgjp4\",\n        \"username\": \"user-5998d988-8ba3-4107-be72-c1595cc675da\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:24:58Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:24:57.269929Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("5998d988-8ba3-4107-be72-c1595cc675da"), "resourceVersion": String("e2b7824a-62d6-466d-a8a8-994083ccab80"), "uid": String("7f1abdc1-55c7-4db0-a114-61a09bd1cdbc")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:57.632186602Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:24:57.632142400Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:24:57.316702037Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:24:57.322862147Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:24:57.466299442Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:57.479818893Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:24:57.628223281Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:24:57.628239571Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("PYEj9BYFgjp4"), "username": String("user-5998d988-8ba3-4107-be72-c1595cc675da")})})})})
[2022-05-09T12:24:58Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:24:58Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:24:58Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "5998d988-8ba3-4107-be72-c1595cc675da" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:24:58Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:24:58Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:24:58Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:24:58Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:24:58Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkzOTYsImlhdCI6MTY1MjA5OTA5NiwiYXV0aF90aW1lIjoxNjUyMDk5MDkzLCJqdGkiOiJkZmI2YTdlNy1lYTk3LTQ4ODYtYjU2Yy05NTdmMTllMDgwNzQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJaclltbTlwczhtQklQbGZQNG9pVDB3Iiwic2Vzc2lvbl9zdGF0ZSI6ImI2MTVhZDM4LTkxYTktNDFkMS1hZWRmLWJmOThjOGQyNTliNiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImI2MTVhZDM4LTkxYTktNDFkMS1hZWRmLWJmOThjOGQyNTliNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.NGNi0tmJtOXPLEFF5ANVPVL57M6t3wfZdUKleedAmjHfhhojiCliDEUhJuRj5nxQsSMMsbyvP0Og5b_OIh9Wa0jzIWiQsDb0oSpYrblIfWpldjrEEk6WR9hFQy8R-qOl0EQUwyuBGnteUPvWJIZ3JnWzHf-nQrKsAZkKntgAwp5zEa6y5QwiGJNyWHD_Vm7YMoPXoiCJO2XqbmV6uOGB8Lp0L6F8JLuI79Gvtff9YOMEgcRNlcSXvBe1ql92ka63_mBzsxn6c_P7UxRD1cwLfDj8YVpqXhWbCpOmw2wPsnEa2x8isTz1T4w6ct11qf1qKOi595o8iGUOqDK1RjWZZA\n", stderr: "" })
[2022-05-09T12:24:58Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:24:58Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:24:58Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:24:58Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "5998d988-8ba3-4107-be72-c1595cc675da" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:24:58Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:24:58Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T12:24:58Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:24:58Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkzOTYsImlhdCI6MTY1MjA5OTA5NiwiYXV0aF90aW1lIjoxNjUyMDk5MDkzLCJqdGkiOiJkZmI2YTdlNy1lYTk3LTQ4ODYtYjU2Yy05NTdmMTllMDgwNzQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJaclltbTlwczhtQklQbGZQNG9pVDB3Iiwic2Vzc2lvbl9zdGF0ZSI6ImI2MTVhZDM4LTkxYTktNDFkMS1hZWRmLWJmOThjOGQyNTliNiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImI2MTVhZDM4LTkxYTktNDFkMS1hZWRmLWJmOThjOGQyNTliNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.NGNi0tmJtOXPLEFF5ANVPVL57M6t3wfZdUKleedAmjHfhhojiCliDEUhJuRj5nxQsSMMsbyvP0Og5b_OIh9Wa0jzIWiQsDb0oSpYrblIfWpldjrEEk6WR9hFQy8R-qOl0EQUwyuBGnteUPvWJIZ3JnWzHf-nQrKsAZkKntgAwp5zEa6y5QwiGJNyWHD_Vm7YMoPXoiCJO2XqbmV6uOGB8Lp0L6F8JLuI79Gvtff9YOMEgcRNlcSXvBe1ql92ka63_mBzsxn6c_P7UxRD1cwLfDj8YVpqXhWbCpOmw2wPsnEa2x8isTz1T4w6ct11qf1qKOi595o8iGUOqDK1RjWZZA\n", stderr: "" })
[2022-05-09T12:24:58Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "6b299151-df75-4a0d-a120-7981875e7542", persistence: None, user_data: None }
[2022-05-09T12:24:58Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:24:58Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x5617178e21f0
[2022-05-09T12:24:58Z DEBUG paho_mqtt::async_client] Connecting handle: 0x5617178e21f0
[2022-05-09T12:24:58Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x5617178e2530, connectTimeout: 30, retryInterval: 0, ssl: 0x561717bc7c00, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717bbe690, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTkzOTYsImlhdCI6MTY1MjA5OTA5NiwiYXV0aF90aW1lIjoxNjUyMDk5MDkzLCJqdGkiOiJkZmI2YTdlNy1lYTk3LTQ4ODYtYjU2Yy05NTdmMTllMDgwNzQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJaclltbTlwczhtQklQbGZQNG9pVDB3Iiwic2Vzc2lvbl9zdGF0ZSI6ImI2MTVhZDM4LTkxYTktNDFkMS1hZWRmLWJmOThjOGQyNTliNiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImI2MTVhZDM4LTkxYTktNDFkMS1hZWRmLWJmOThjOGQyNTliNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.NGNi0tmJtOXPLEFF5ANVPVL57M6t3wfZdUKleedAmjHfhhojiCliDEUhJuRj5nxQsSMMsbyvP0Og5b_OIh9Wa0jzIWiQsDb0oSpYrblIfWpldjrEEk6WR9hFQy8R-qOl0EQUwyuBGnteUPvWJIZ3JnWzHf-nQrKsAZkKntgAwp5zEa6y5QwiGJNyWHD_Vm7YMoPXoiCJO2XqbmV6uOGB8Lp0L6F8JLuI79Gvtff9YOMEgcRNlcSXvBe1ql92ka63_mBzsxn6c_P7UxRD1cwLfDj8YVpqXhWbCpOmw2wPsnEa2x8isTz1T4w6ct11qf1qKOi595o8iGUOqDK1RjWZZA"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:24:58Z DEBUG paho_mqtt::async_client] Subscribe to '"app/5998d988-8ba3-4107-be72-c1595cc675da"' @ QOS 0
[2022-05-09T12:24:58Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:24:58Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:24:58Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:24:58Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:24:58Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:24:58Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:24:59Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:24:59Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:24:59Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:24:59Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:25:00Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:25:00Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:25:00Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:25:00Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:25:01Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:25:01Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:25:01Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:25:01Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:25:02Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:25:02Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:25:02Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:25:02Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:25:02Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 621, payload: 0x7f4b1c026cc0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/5998d988-8ba3-4107-be72-c1595cc675da", 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, 52, 99, 55, 56, 51, 54, 101, 101, 45, 48, 55, 99, 101, 45, 52, 98, 53, 51, 45, 57, 49, 98, 97, 45, 98, 52, 57, 53, 51, 49, 97, 55, 48, 57, 56, 55, 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, 53, 57, 57, 56, 100, 57, 56, 56, 37, 50, 68, 56, 98, 97, 51, 37, 50, 68, 52, 49, 48, 55, 37, 50, 68, 98, 101, 55, 50, 37, 50, 68, 99, 49, 53, 57, 53, 99, 99, 54, 55, 53, 100, 97, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 53, 58, 48, 50, 46, 54, 55, 49, 57, 56, 57, 48, 48, 50, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 52, 125, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 55, 55, 100, 56, 48, 51, 49, 52, 45, 101, 102, 57, 98, 45, 52, 100, 99, 98, 45, 56, 101, 97, 52, 45, 101, 52, 49, 57, 54, 102, 50, 49, 53, 55, 99, 57, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 53, 57, 57, 56, 100, 57, 56, 56, 37, 50, 68, 56, 98, 97, 51, 37, 50, 68, 52, 49, 48, 55, 37, 50, 68, 98, 101, 55, 50, 37, 50, 68, 99, 49, 53, 57, 53, 99, 99, 54, 55, 53, 100, 97, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 55, 102, 49, 97, 98, 100, 99, 49, 45, 53, 53, 99, 55, 45, 52, 100, 98, 48, 45, 97, 49, 49, 52, 45, 54, 49, 97, 48, 57, 98, 100, 49, 99, 100, 98, 99, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 53, 57, 57, 56, 100, 57, 56, 56, 45, 56, 98, 97, 51, 45, 52, 49, 48, 55, 45, 98, 101, 55, 50, 45, 99, 49, 53, 57, 53, 99, 99, 54, 55, 53, 100, 97, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 100, 54, 56, 97, 57, 101, 97, 45, 48, 54, 52, 50, 45, 52, 100, 55, 54, 45, 97, 55, 49, 50, 45, 98, 99, 56, 50, 101, 55, 57, 52, 56, 55, 99, 55, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:25:02Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/5998d988-8ba3-4107-be72-c1595cc675da", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"4c7836ee-07ce-4b53-91ba-b49531a70987\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://5998d988%2D8ba3%2D4107%2Dbe72%2Dc1595cc675da/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:25:02.671989002Z\",\"data\":{\"index\":4},\"senderuid\":\"77d80314-ef9b-4dcb-8ea4-e4196f2157c9\",\"sender\":\"gateway1\",\"partitionkey\":\"5998d988%2D8ba3%2D4107%2Dbe72%2Dc1595cc675da/device1\",\"device\":\"device1\",\"applicationuid\":\"7f1abdc1-55c7-4db0-a114-61a09bd1cdbc\",\"instance\":\"drogue\",\"application\":\"5998d988-8ba3-4107-be72-c1595cc675da\",\"deviceuid\":\"ad68a9ea-0642-4d76-a712-bc82e79487c7\"}" }
[2022-05-09T12:25:03Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 4 attempts
[2022-05-09T12:25:03Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 4
[2022-05-09T12:25:03Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:25:03Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:25:03Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "d7910346-f501-4378-ba66-04eb20fae8d9", persistence: None, user_data: None }
[2022-05-09T12:25:03Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:25:03Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717b38740
[2022-05-09T12:25:03Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717b38740
[2022-05-09T12:25:03Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717c6ab30, password: 0x561717b40c00, connectTimeout: 30, retryInterval: 0, ssl: 0x5617179cc260, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717b3e920, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@5998d988-8ba3-4107-be72-c1595cc675da"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:25:04Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 640, payload: 0x7f4b1c007c30, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/5998d988-8ba3-4107-be72-c1595cc675da", 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, 100, 49, 98, 50, 49, 54, 55, 50, 45, 100, 99, 101, 52, 45, 52, 50, 55, 100, 45, 97, 53, 98, 101, 45, 100, 51, 102, 56, 53, 53, 54, 54, 101, 57, 48, 97, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 53, 57, 57, 56, 100, 57, 56, 56, 37, 50, 68, 56, 98, 97, 51, 37, 50, 68, 52, 49, 48, 55, 37, 50, 68, 98, 101, 55, 50, 37, 50, 68, 99, 49, 53, 57, 53, 99, 99, 54, 55, 53, 100, 97, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 53, 58, 48, 51, 46, 55, 57, 53, 49, 48, 57, 52, 55, 52, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 55, 102, 49, 97, 98, 100, 99, 49, 45, 53, 53, 99, 55, 45, 52, 100, 98, 48, 45, 97, 49, 49, 52, 45, 54, 49, 97, 48, 57, 98, 100, 49, 99, 100, 98, 99, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 55, 55, 100, 56, 48, 51, 49, 52, 45, 101, 102, 57, 98, 45, 52, 100, 99, 98, 45, 56, 101, 97, 52, 45, 101, 52, 49, 57, 54, 102, 50, 49, 53, 55, 99, 57, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 53, 57, 57, 56, 100, 57, 56, 56, 37, 50, 68, 56, 98, 97, 51, 37, 50, 68, 52, 49, 48, 55, 37, 50, 68, 98, 101, 55, 50, 37, 50, 68, 99, 49, 53, 57, 53, 99, 99, 54, 55, 53, 100, 97, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 55, 55, 100, 56, 48, 51, 49, 52, 45, 101, 102, 57, 98, 45, 52, 100, 99, 98, 45, 56, 101, 97, 52, 45, 101, 52, 49, 57, 54, 102, 50, 49, 53, 55, 99, 57, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 53, 57, 57, 56, 100, 57, 56, 56, 45, 56, 98, 97, 51, 45, 52, 49, 48, 55, 45, 98, 101, 55, 50, 45, 99, 49, 53, 57, 53, 99, 99, 54, 55, 53, 100, 97, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:25:04Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/5998d988-8ba3-4107-be72-c1595cc675da", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"d1b21672-dce4-427d-a5be-d3f85566e90a\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://5998d988%2D8ba3%2D4107%2Dbe72%2Dc1595cc675da/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:25:03.795109474Z\",\"data\":{\"connected\":true},\"applicationuid\":\"7f1abdc1-55c7-4db0-a114-61a09bd1cdbc\",\"senderuid\":\"77d80314-ef9b-4dcb-8ea4-e4196f2157c9\",\"partitionkey\":\"5998d988%2D8ba3%2D4107%2Dbe72%2Dc1595cc675da/gateway1\",\"deviceuid\":\"77d80314-ef9b-4dcb-8ea4-e4196f2157c9\",\"device\":\"gateway1\",\"application\":\"5998d988-8ba3-4107-be72-c1595cc675da\",\"sender\":\"gateway1\",\"instance\":\"drogue\"}" }
[2022-05-09T12:25:04Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717a3e690 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717a3e690 } } } }
[2022-05-09T12:25:04Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:25:04Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 641, payload: 0x7f4b1c021c50, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/5998d988-8ba3-4107-be72-c1595cc675da", 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, 102, 100, 56, 97, 54, 54, 48, 55, 45, 54, 49, 51, 57, 45, 52, 48, 56, 56, 45, 98, 55, 48, 102, 45, 48, 50, 57, 98, 49, 57, 57, 100, 101, 48, 56, 55, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 53, 57, 57, 56, 100, 57, 56, 56, 37, 50, 68, 56, 98, 97, 51, 37, 50, 68, 52, 49, 48, 55, 37, 50, 68, 98, 101, 55, 50, 37, 50, 68, 99, 49, 53, 57, 53, 99, 99, 54, 55, 53, 100, 97, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 53, 58, 48, 52, 46, 51, 49, 48, 50, 48, 52, 51, 51, 54, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 55, 55, 100, 56, 48, 51, 49, 52, 45, 101, 102, 57, 98, 45, 52, 100, 99, 98, 45, 56, 101, 97, 52, 45, 101, 52, 49, 57, 54, 102, 50, 49, 53, 55, 99, 57, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 55, 55, 100, 56, 48, 51, 49, 52, 45, 101, 102, 57, 98, 45, 52, 100, 99, 98, 45, 56, 101, 97, 52, 45, 101, 52, 49, 57, 54, 102, 50, 49, 53, 55, 99, 57, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 55, 102, 49, 97, 98, 100, 99, 49, 45, 53, 53, 99, 55, 45, 52, 100, 98, 48, 45, 97, 49, 49, 52, 45, 54, 49, 97, 48, 57, 98, 100, 49, 99, 100, 98, 99, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 53, 57, 57, 56, 100, 57, 56, 56, 37, 50, 68, 56, 98, 97, 51, 37, 50, 68, 52, 49, 48, 55, 37, 50, 68, 98, 101, 55, 50, 37, 50, 68, 99, 49, 53, 57, 53, 99, 99, 54, 55, 53, 100, 97, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 53, 57, 57, 56, 100, 57, 56, 56, 45, 56, 98, 97, 51, 45, 52, 49, 48, 55, 45, 98, 101, 55, 50, 45, 99, 49, 53, 57, 53, 99, 99, 54, 55, 53, 100, 97, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:25:04Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/5998d988-8ba3-4107-be72-c1595cc675da", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"fd8a6607-6139-4088-b70f-029b199de087\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://5998d988%2D8ba3%2D4107%2Dbe72%2Dc1595cc675da/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:25:04.310204336Z\",\"data\":{\"connected\":false},\"senderuid\":\"77d80314-ef9b-4dcb-8ea4-e4196f2157c9\",\"device\":\"gateway1\",\"deviceuid\":\"77d80314-ef9b-4dcb-8ea4-e4196f2157c9\",\"sender\":\"gateway1\",\"instance\":\"drogue\",\"applicationuid\":\"7f1abdc1-55c7-4db0-a114-61a09bd1cdbc\",\"partitionkey\":\"5998d988%2D8ba3%2D4107%2Dbe72%2Dc1595cc675da/gateway1\",\"application\":\"5998d988-8ba3-4107-be72-c1595cc675da\"}" }
[2022-05-09T12:25:04Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 630, payload: 0x7f4b1c0057d0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/5998d988-8ba3-4107-be72-c1595cc675da", 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, 54, 51, 56, 52, 99, 101, 48, 55, 45, 48, 49, 100, 100, 45, 52, 48, 48, 54, 45, 98, 54, 99, 97, 45, 57, 56, 48, 99, 99, 98, 102, 53, 55, 51, 55, 97, 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, 53, 57, 57, 56, 100, 57, 56, 56, 37, 50, 68, 56, 98, 97, 51, 37, 50, 68, 52, 49, 48, 55, 37, 50, 68, 98, 101, 55, 50, 37, 50, 68, 99, 49, 53, 57, 53, 99, 99, 54, 55, 53, 100, 97, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 53, 58, 48, 52, 46, 51, 48, 57, 56, 56, 54, 52, 49, 48, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 55, 102, 49, 97, 98, 100, 99, 49, 45, 53, 53, 99, 55, 45, 52, 100, 98, 48, 45, 97, 49, 49, 52, 45, 54, 49, 97, 48, 57, 98, 100, 49, 99, 100, 98, 99, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 53, 57, 57, 56, 100, 57, 56, 56, 45, 56, 98, 97, 51, 45, 52, 49, 48, 55, 45, 98, 101, 55, 50, 45, 99, 49, 53, 57, 53, 99, 99, 54, 55, 53, 100, 97, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 55, 55, 100, 56, 48, 51, 49, 52, 45, 101, 102, 57, 98, 45, 52, 100, 99, 98, 45, 56, 101, 97, 52, 45, 101, 52, 49, 57, 54, 102, 50, 49, 53, 55, 99, 57, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 100, 54, 56, 97, 57, 101, 97, 45, 48, 54, 52, 50, 45, 52, 100, 55, 54, 45, 97, 55, 49, 50, 45, 98, 99, 56, 50, 101, 55, 57, 52, 56, 55, 99, 55, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 53, 57, 57, 56, 100, 57, 56, 56, 37, 50, 68, 56, 98, 97, 51, 37, 50, 68, 52, 49, 48, 55, 37, 50, 68, 98, 101, 55, 50, 37, 50, 68, 99, 49, 53, 57, 53, 99, 99, 54, 55, 53, 100, 97, 47, 100, 101, 118, 105, 99, 101, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:25:04Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/5998d988-8ba3-4107-be72-c1595cc675da", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"6384ce07-01dd-4006-b6ca-980ccbf5737a\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://5998d988%2D8ba3%2D4107%2Dbe72%2Dc1595cc675da/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:25:04.309886410Z\",\"data_base64\":\"\",\"instance\":\"drogue\",\"applicationuid\":\"7f1abdc1-55c7-4db0-a114-61a09bd1cdbc\",\"device\":\"device1\",\"application\":\"5998d988-8ba3-4107-be72-c1595cc675da\",\"senderuid\":\"77d80314-ef9b-4dcb-8ea4-e4196f2157c9\",\"deviceuid\":\"ad68a9ea-0642-4d76-a712-bc82e79487c7\",\"sender\":\"gateway1\",\"partitionkey\":\"5998d988%2D8ba3%2D4107%2Dbe72%2Dc1595cc675da/device1\"}" }
[2022-05-09T12:25:04Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:25:04Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:25:04Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:25:04Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "5998d988-8ba3-4107-be72-c1595cc675da", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "5998d988-8ba3-4107-be72-c1595cc675da", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:25:04Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:25:04Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "5998d988-8ba3-4107-be72-c1595cc675da" "device1"
[2022-05-09T12:25:04Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:25:04Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:25:04Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "5998d988-8ba3-4107-be72-c1595cc675da" "gateway1"
[2022-05-09T12:25:04Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:25:04Z INFO  drogue_cloud_tests::resources::apps] Destroy application '5998d988-8ba3-4107-be72-c1595cc675da'
[2022-05-09T12:25:04Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "5998d988-8ba3-4107-be72-c1595cc675da"
[2022-05-09T12:25:04Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 5998d988-8ba3-4107-be72-c1595cc675da deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_2::integration_version_2::integration_ws_1

Duration: 15s

Test output
-------------- TEST START --------------
[2022-05-09T12:25:06Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:25:06Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:25:06Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:25:06Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:25:06Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:25:07Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:25:09Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:25:09Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:25:09Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:25:09Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:25:11Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA5MTEsImlhdCI6MTY1MjA5OTExMSwianRpIjoiZDJhNjU5NTYtOGI1NC00NTA4LTllZTYtYmE2ZThiZTFkMzZlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImpRYlRfSGhOTy0xdFlvZzZjZlBic2ciLCJzZXNzaW9uX3N0YXRlIjoiZmQ3MmJiZGItOWE1Ni00YTMwLWFiNWMtN2RiMjI1NTY0ZjZmIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImZkNzJiYmRiLTlhNTYtNGEzMC1hYjVjLTdkYjIyNTU2NGY2ZiJ9.uR6IczUxKhCWKnvP-Has0Y36b1VyncLISOXk6nKqHls
[2022-05-09T12:25:11Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:25:11Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:25:11Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA5MTEsImlhdCI6MTY1MjA5OTExMSwianRpIjoiZDJhNjU5NTYtOGI1NC00NTA4LTllZTYtYmE2ZThiZTFkMzZlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImpRYlRfSGhOTy0xdFlvZzZjZlBic2ciLCJzZXNzaW9uX3N0YXRlIjoiZmQ3MmJiZGItOWE1Ni00YTMwLWFiNWMtN2RiMjI1NTY0ZjZmIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImZkNzJiYmRiLTlhNTYtNGEzMC1hYjVjLTdkYjIyNTU2NGY2ZiJ9.uR6IczUxKhCWKnvP-Has0Y36b1VyncLISOXk6nKqHls" "--context" "system-tests"
[2022-05-09T12:25:11Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:25:12Z INFO  drogue_cloud_tests::resources::apps] Create application: 3774a11e-5751-4f85-bebe-1e297c3350fb
[2022-05-09T12:25:12Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "3774a11e-5751-4f85-bebe-1e297c3350fb"
[2022-05-09T12:25:12Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 3774a11e-5751-4f85-bebe-1e297c3350fb created.\n", stderr: "" })
[2022-05-09T12:25:12Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "3774a11e-5751-4f85-bebe-1e297c3350fb"
[2022-05-09T12:25:12Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:25:12.527012Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"3774a11e-5751-4f85-bebe-1e297c3350fb\",\n    \"resourceVersion\": \"b8a1c8ee-b266-4da7-a627-2191a24912d7\",\n    \"uid\": \"6c67d27b-4f7a-4403-b42a-815c9c72f689\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:25:12.541166045Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:25:12.541284586Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:12.541130488Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:12.541131911Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:12.541132582Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:12.541133364Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:12.541134225Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:12.541141740Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:25:12Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:25:12.527012Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("3774a11e-5751-4f85-bebe-1e297c3350fb"), "resourceVersion": String("b8a1c8ee-b266-4da7-a627-2191a24912d7"), "uid": String("6c67d27b-4f7a-4403-b42a-815c9c72f689")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:25:12.541166045Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:12.541284586Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:25:12.541130488Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:25:12.541131911Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:25:12.541132582Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:12.541133364Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:25:12.541134225Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:12.541141740Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T12:25:12Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:25:13Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "3774a11e-5751-4f85-bebe-1e297c3350fb"
[2022-05-09T12:25:13Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:25:12.527012Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"3774a11e-5751-4f85-bebe-1e297c3350fb\",\n    \"resourceVersion\": \"09bca49d-be08-4ba7-a677-75a1b1e87af9\",\n    \"uid\": \"6c67d27b-4f7a-4403-b42a-815c9c72f689\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:25:12.834324356Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:25:12.834371515Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:12.572347063Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:12.580654141Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:12.671173146Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:12.676483734Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:12.834154918Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:12.834288189Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"qpg40oQrdreb\",\n        \"username\": \"user-3774a11e-5751-4f85-bebe-1e297c3350fb\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:25:13Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:25:12.527012Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("3774a11e-5751-4f85-bebe-1e297c3350fb"), "resourceVersion": String("09bca49d-be08-4ba7-a677-75a1b1e87af9"), "uid": String("6c67d27b-4f7a-4403-b42a-815c9c72f689")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:25:12.834324356Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:12.834371515Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:25:12.572347063Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:25:12.580654141Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:25:12.671173146Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:12.676483734Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:25:12.834154918Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:12.834288189Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("qpg40oQrdreb"), "username": String("user-3774a11e-5751-4f85-bebe-1e297c3350fb")})})})})
[2022-05-09T12:25:13Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:25:13Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "3774a11e-5751-4f85-bebe-1e297c3350fb"
[2022-05-09T12:25:13Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:25:12.527012Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"3774a11e-5751-4f85-bebe-1e297c3350fb\",\n    \"resourceVersion\": \"09bca49d-be08-4ba7-a677-75a1b1e87af9\",\n    \"uid\": \"6c67d27b-4f7a-4403-b42a-815c9c72f689\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:25:12.834324356Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:25:12.834371515Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:12.572347063Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:12.580654141Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:12.671173146Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:12.676483734Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:12.834154918Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:12.834288189Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"qpg40oQrdreb\",\n        \"username\": \"user-3774a11e-5751-4f85-bebe-1e297c3350fb\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:25:13Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:25:12.527012Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("3774a11e-5751-4f85-bebe-1e297c3350fb"), "resourceVersion": String("09bca49d-be08-4ba7-a677-75a1b1e87af9"), "uid": String("6c67d27b-4f7a-4403-b42a-815c9c72f689")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:25:12.834324356Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:12.834371515Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:25:12.572347063Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:25:12.580654141Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:25:12.671173146Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:12.676483734Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:25:12.834154918Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:12.834288189Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("qpg40oQrdreb"), "username": String("user-3774a11e-5751-4f85-bebe-1e297c3350fb")})})})})
[2022-05-09T12:25:13Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:25:13Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:25:13Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "3774a11e-5751-4f85-bebe-1e297c3350fb" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:25:13Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:25:13Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:25:13Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:25:13Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:25:13Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk0MTEsImlhdCI6MTY1MjA5OTExMSwiYXV0aF90aW1lIjoxNjUyMDk5MTA4LCJqdGkiOiI3NmM1MDgzZi02MzFiLTRhZDEtYmE3MS0yMDYxZjgzOWMwNzUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJqUWJUX0hoTk8tMXRZb2c2Y2ZQYnNnIiwic2Vzc2lvbl9zdGF0ZSI6ImZkNzJiYmRiLTlhNTYtNGEzMC1hYjVjLTdkYjIyNTU2NGY2ZiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImZkNzJiYmRiLTlhNTYtNGEzMC1hYjVjLTdkYjIyNTU2NGY2ZiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.P4fQ4NJMTuXJwhUX2uiQhJt0o4ohGDp-ySLNrBzkbANK5ebgwpuWf9YkryHaXXyeZ1d-GOIwvjUm6gUy4L2St7pKN-pAQzN-sNMuDyObkZgvG_gHtYbxMdE2oG4mRSIX-Ekxqr8EPRJlVA9YilZZpbpsPJhP8T4hcH_bJmkFe_q74GNFozLaWLwscCdxAOzzZF5Dgy-75hajXsUHNPpZkEwxrfRkKCgEUS5F0VOPEqiwNm1z9cP2MehnPerdl9scAjxkuDCe4yhGDkmpj8vRehEC_1q0nxT4Tz3hglMPo7hTpvODhmmT1bCValkQhjiOEBg3vZ1FbHfe9EAEUsXpgg\n", stderr: "" })
[2022-05-09T12:25:13Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:25:13Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:25:13Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:25:13Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "3774a11e-5751-4f85-bebe-1e297c3350fb" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:25:13Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:25:13Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T12:25:13Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:25:13Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk0MTEsImlhdCI6MTY1MjA5OTExMSwiYXV0aF90aW1lIjoxNjUyMDk5MTA4LCJqdGkiOiI3NmM1MDgzZi02MzFiLTRhZDEtYmE3MS0yMDYxZjgzOWMwNzUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJqUWJUX0hoTk8tMXRZb2c2Y2ZQYnNnIiwic2Vzc2lvbl9zdGF0ZSI6ImZkNzJiYmRiLTlhNTYtNGEzMC1hYjVjLTdkYjIyNTU2NGY2ZiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImZkNzJiYmRiLTlhNTYtNGEzMC1hYjVjLTdkYjIyNTU2NGY2ZiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.P4fQ4NJMTuXJwhUX2uiQhJt0o4ohGDp-ySLNrBzkbANK5ebgwpuWf9YkryHaXXyeZ1d-GOIwvjUm6gUy4L2St7pKN-pAQzN-sNMuDyObkZgvG_gHtYbxMdE2oG4mRSIX-Ekxqr8EPRJlVA9YilZZpbpsPJhP8T4hcH_bJmkFe_q74GNFozLaWLwscCdxAOzzZF5Dgy-75hajXsUHNPpZkEwxrfRkKCgEUS5F0VOPEqiwNm1z9cP2MehnPerdl9scAjxkuDCe4yhGDkmpj8vRehEC_1q0nxT4Tz3hglMPo7hTpvODhmmT1bCValkQhjiOEBg3vZ1FbHfe9EAEUsXpgg\n", stderr: "" })
[2022-05-09T12:25:13Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "e9bf4a0d-44b0-4078-8b59-2051042255cf", persistence: None, user_data: None }
[2022-05-09T12:25:13Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:25:13Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x5617178e6ed0
[2022-05-09T12:25:13Z DEBUG paho_mqtt::async_client] Connecting handle: 0x5617178e6ed0
[2022-05-09T12:25:13Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x5617178e54f0, connectTimeout: 30, retryInterval: 0, ssl: 0x561717a3f2e0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717b17820, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk0MTEsImlhdCI6MTY1MjA5OTExMSwiYXV0aF90aW1lIjoxNjUyMDk5MTA4LCJqdGkiOiI3NmM1MDgzZi02MzFiLTRhZDEtYmE3MS0yMDYxZjgzOWMwNzUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJqUWJUX0hoTk8tMXRZb2c2Y2ZQYnNnIiwic2Vzc2lvbl9zdGF0ZSI6ImZkNzJiYmRiLTlhNTYtNGEzMC1hYjVjLTdkYjIyNTU2NGY2ZiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImZkNzJiYmRiLTlhNTYtNGEzMC1hYjVjLTdkYjIyNTU2NGY2ZiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.P4fQ4NJMTuXJwhUX2uiQhJt0o4ohGDp-ySLNrBzkbANK5ebgwpuWf9YkryHaXXyeZ1d-GOIwvjUm6gUy4L2St7pKN-pAQzN-sNMuDyObkZgvG_gHtYbxMdE2oG4mRSIX-Ekxqr8EPRJlVA9YilZZpbpsPJhP8T4hcH_bJmkFe_q74GNFozLaWLwscCdxAOzzZF5Dgy-75hajXsUHNPpZkEwxrfRkKCgEUS5F0VOPEqiwNm1z9cP2MehnPerdl9scAjxkuDCe4yhGDkmpj8vRehEC_1q0nxT4Tz3hglMPo7hTpvODhmmT1bCValkQhjiOEBg3vZ1FbHfe9EAEUsXpgg"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:25:13Z DEBUG paho_mqtt::async_client] Subscribe to '"app/3774a11e-5751-4f85-bebe-1e297c3350fb"' @ QOS 0
[2022-05-09T12:25:13Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:25:13Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:25:13Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:25:13Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:25:13Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:25:14Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:25:15Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:25:15Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:25:15Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:25:15Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:25:16Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:25:16Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:25:16Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:25:16Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:25:17Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:25:17Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:25:17Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:25:17Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 621, payload: 0x7f4b18015820, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b18015aa0 } }, data: MessageData { topic: "app/3774a11e-5751-4f85-bebe-1e297c3350fb", 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, 98, 54, 100, 55, 48, 48, 53, 54, 45, 55, 97, 50, 55, 45, 52, 48, 48, 53, 45, 97, 49, 50, 101, 45, 98, 57, 100, 55, 50, 52, 54, 52, 55, 51, 50, 56, 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, 51, 55, 55, 52, 97, 49, 49, 101, 37, 50, 68, 53, 55, 53, 49, 37, 50, 68, 52, 102, 56, 53, 37, 50, 68, 98, 101, 98, 101, 37, 50, 68, 49, 101, 50, 57, 55, 99, 51, 51, 53, 48, 102, 98, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 53, 58, 49, 55, 46, 54, 55, 48, 56, 55, 54, 49, 55, 56, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 51, 55, 55, 52, 97, 49, 49, 101, 45, 53, 55, 53, 49, 45, 52, 102, 56, 53, 45, 98, 101, 98, 101, 45, 49, 101, 50, 57, 55, 99, 51, 51, 53, 48, 102, 98, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 55, 51, 55, 56, 51, 54, 101, 49, 45, 50, 55, 52, 54, 45, 52, 102, 51, 51, 45, 97, 52, 54, 97, 45, 54, 55, 98, 51, 52, 49, 49, 55, 102, 102, 52, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 50, 54, 51, 56, 51, 97, 55, 97, 45, 97, 50, 99, 56, 45, 52, 101, 97, 57, 45, 98, 50, 100, 53, 45, 101, 51, 54, 99, 50, 102, 99, 50, 51, 50, 48, 99, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 54, 99, 54, 55, 100, 50, 55, 98, 45, 52, 102, 55, 97, 45, 52, 52, 48, 51, 45, 98, 52, 50, 97, 45, 56, 49, 53, 99, 57, 99, 55, 50, 102, 54, 56, 57, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 51, 55, 55, 52, 97, 49, 49, 101, 37, 50, 68, 53, 55, 53, 49, 37, 50, 68, 52, 102, 56, 53, 37, 50, 68, 98, 101, 98, 101, 37, 50, 68, 49, 101, 50, 57, 55, 99, 51, 51, 53, 48, 102, 98, 47, 100, 101, 118, 105, 99, 101, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b18015aa0 } } } }
[2022-05-09T12:25:17Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717c32cb0
[2022-05-09T12:25:17Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/3774a11e-5751-4f85-bebe-1e297c3350fb", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"b6d70056-7a27-4005-a12e-b9d724647328\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://3774a11e%2D5751%2D4f85%2Dbebe%2D1e297c3350fb/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:25:17.670876178Z\",\"data\":{\"index\":3},\"application\":\"3774a11e-5751-4f85-bebe-1e297c3350fb\",\"sender\":\"gateway1\",\"deviceuid\":\"737836e1-2746-4f33-a46a-67b34117ff4e\",\"senderuid\":\"26383a7a-a2c8-4ea9-b2d5-e36c2fc2320c\",\"applicationuid\":\"6c67d27b-4f7a-4403-b42a-815c9c72f689\",\"instance\":\"drogue\",\"device\":\"device1\",\"partitionkey\":\"3774a11e%2D5751%2D4f85%2Dbebe%2D1e297c3350fb/device1\"}" }
[2022-05-09T12:25:17Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:25:18Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:25:18Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:25:18Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:25:18Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:25:18Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "9f0f2c65-2380-4ee1-84fe-9f452f4cd117", persistence: None, user_data: None }
[2022-05-09T12:25:18Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:25:18Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717ae8960
[2022-05-09T12:25:18Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717ae8960
[2022-05-09T12:25:18Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717c83650, password: 0x5617179c6b00, connectTimeout: 30, retryInterval: 0, ssl: 0x561717ca4ef0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717c83570, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@3774a11e-5751-4f85-bebe-1e297c3350fb"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:25:19Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717c6f6e0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717c6f6e0 } } } }
[2022-05-09T12:25:19Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 640, payload: 0x7f4b1800c430, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1800c6c0 } }, data: MessageData { topic: "app/3774a11e-5751-4f85-bebe-1e297c3350fb", 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, 48, 53, 50, 102, 55, 50, 50, 98, 45, 48, 53, 97, 56, 45, 52, 51, 48, 99, 45, 98, 51, 48, 50, 45, 97, 50, 55, 54, 52, 100, 99, 99, 49, 51, 54, 101, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 51, 55, 55, 52, 97, 49, 49, 101, 37, 50, 68, 53, 55, 53, 49, 37, 50, 68, 52, 102, 56, 53, 37, 50, 68, 98, 101, 98, 101, 37, 50, 68, 49, 101, 50, 57, 55, 99, 51, 51, 53, 48, 102, 98, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 53, 58, 49, 56, 46, 55, 56, 57, 51, 54, 54, 49, 57, 56, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 51, 55, 55, 52, 97, 49, 49, 101, 45, 53, 55, 53, 49, 45, 52, 102, 56, 53, 45, 98, 101, 98, 101, 45, 49, 101, 50, 57, 55, 99, 51, 51, 53, 48, 102, 98, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 51, 55, 55, 52, 97, 49, 49, 101, 37, 50, 68, 53, 55, 53, 49, 37, 50, 68, 52, 102, 56, 53, 37, 50, 68, 98, 101, 98, 101, 37, 50, 68, 49, 101, 50, 57, 55, 99, 51, 51, 53, 48, 102, 98, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 50, 54, 51, 56, 51, 97, 55, 97, 45, 97, 50, 99, 56, 45, 52, 101, 97, 57, 45, 98, 50, 100, 53, 45, 101, 51, 54, 99, 50, 102, 99, 50, 51, 50, 48, 99, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 50, 54, 51, 56, 51, 97, 55, 97, 45, 97, 50, 99, 56, 45, 52, 101, 97, 57, 45, 98, 50, 100, 53, 45, 101, 51, 54, 99, 50, 102, 99, 50, 51, 50, 48, 99, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 54, 99, 54, 55, 100, 50, 55, 98, 45, 52, 102, 55, 97, 45, 52, 52, 48, 51, 45, 98, 52, 50, 97, 45, 56, 49, 53, 99, 57, 99, 55, 50, 102, 54, 56, 57, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1800c6c0 } } } }
[2022-05-09T12:25:19Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28004e10
[2022-05-09T12:25:19Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/3774a11e-5751-4f85-bebe-1e297c3350fb", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"052f722b-05a8-430c-b302-a2764dcc136e\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://3774a11e%2D5751%2D4f85%2Dbebe%2D1e297c3350fb/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:25:18.789366198Z\",\"data\":{\"connected\":true},\"application\":\"3774a11e-5751-4f85-bebe-1e297c3350fb\",\"partitionkey\":\"3774a11e%2D5751%2D4f85%2Dbebe%2D1e297c3350fb/gateway1\",\"instance\":\"drogue\",\"deviceuid\":\"26383a7a-a2c8-4ea9-b2d5-e36c2fc2320c\",\"senderuid\":\"26383a7a-a2c8-4ea9-b2d5-e36c2fc2320c\",\"sender\":\"gateway1\",\"device\":\"gateway1\",\"applicationuid\":\"6c67d27b-4f7a-4403-b42a-815c9c72f689\"}" }
[2022-05-09T12:25:19Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:25:19Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 641, payload: 0x7f4b1800c860, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b18016170 } }, data: MessageData { topic: "app/3774a11e-5751-4f85-bebe-1e297c3350fb", 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, 50, 50, 56, 100, 99, 101, 101, 102, 45, 56, 98, 49, 98, 45, 52, 51, 54, 100, 45, 56, 48, 50, 53, 45, 101, 56, 56, 52, 51, 52, 51, 54, 53, 53, 51, 99, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 51, 55, 55, 52, 97, 49, 49, 101, 37, 50, 68, 53, 55, 53, 49, 37, 50, 68, 52, 102, 56, 53, 37, 50, 68, 98, 101, 98, 101, 37, 50, 68, 49, 101, 50, 57, 55, 99, 51, 51, 53, 48, 102, 98, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 53, 58, 49, 57, 46, 51, 52, 48, 50, 53, 53, 50, 53, 57, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 51, 55, 55, 52, 97, 49, 49, 101, 37, 50, 68, 53, 55, 53, 49, 37, 50, 68, 52, 102, 56, 53, 37, 50, 68, 98, 101, 98, 101, 37, 50, 68, 49, 101, 50, 57, 55, 99, 51, 51, 53, 48, 102, 98, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 50, 54, 51, 56, 51, 97, 55, 97, 45, 97, 50, 99, 56, 45, 52, 101, 97, 57, 45, 98, 50, 100, 53, 45, 101, 51, 54, 99, 50, 102, 99, 50, 51, 50, 48, 99, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 50, 54, 51, 56, 51, 97, 55, 97, 45, 97, 50, 99, 56, 45, 52, 101, 97, 57, 45, 98, 50, 100, 53, 45, 101, 51, 54, 99, 50, 102, 99, 50, 51, 50, 48, 99, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 54, 99, 54, 55, 100, 50, 55, 98, 45, 52, 102, 55, 97, 45, 52, 52, 48, 51, 45, 98, 52, 50, 97, 45, 56, 49, 53, 99, 57, 99, 55, 50, 102, 54, 56, 57, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 51, 55, 55, 52, 97, 49, 49, 101, 45, 53, 55, 53, 49, 45, 52, 102, 56, 53, 45, 98, 101, 98, 101, 45, 49, 101, 50, 57, 55, 99, 51, 51, 53, 48, 102, 98, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b18016170 } } } }
[2022-05-09T12:25:19Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28004e10
[2022-05-09T12:25:19Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/3774a11e-5751-4f85-bebe-1e297c3350fb", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"228dceef-8b1b-436d-8025-e8843436553c\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://3774a11e%2D5751%2D4f85%2Dbebe%2D1e297c3350fb/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:25:19.340255259Z\",\"data\":{\"connected\":false},\"partitionkey\":\"3774a11e%2D5751%2D4f85%2Dbebe%2D1e297c3350fb/gateway1\",\"senderuid\":\"26383a7a-a2c8-4ea9-b2d5-e36c2fc2320c\",\"sender\":\"gateway1\",\"instance\":\"drogue\",\"deviceuid\":\"26383a7a-a2c8-4ea9-b2d5-e36c2fc2320c\",\"device\":\"gateway1\",\"applicationuid\":\"6c67d27b-4f7a-4403-b42a-815c9c72f689\",\"application\":\"3774a11e-5751-4f85-bebe-1e297c3350fb\"}" }
[2022-05-09T12:25:20Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 630, payload: 0x7f4b1800c430, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b18016310 } }, data: MessageData { topic: "app/3774a11e-5751-4f85-bebe-1e297c3350fb", 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, 98, 98, 100, 99, 56, 57, 48, 97, 45, 48, 55, 54, 49, 45, 52, 50, 55, 48, 45, 56, 51, 57, 57, 45, 97, 101, 98, 53, 56, 53, 99, 98, 101, 53, 56, 98, 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, 51, 55, 55, 52, 97, 49, 49, 101, 37, 50, 68, 53, 55, 53, 49, 37, 50, 68, 52, 102, 56, 53, 37, 50, 68, 98, 101, 98, 101, 37, 50, 68, 49, 101, 50, 57, 55, 99, 51, 51, 53, 48, 102, 98, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 53, 58, 49, 57, 46, 51, 51, 57, 49, 51, 57, 51, 50, 55, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 50, 54, 51, 56, 51, 97, 55, 97, 45, 97, 50, 99, 56, 45, 52, 101, 97, 57, 45, 98, 50, 100, 53, 45, 101, 51, 54, 99, 50, 102, 99, 50, 51, 50, 48, 99, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 51, 55, 55, 52, 97, 49, 49, 101, 37, 50, 68, 53, 55, 53, 49, 37, 50, 68, 52, 102, 56, 53, 37, 50, 68, 98, 101, 98, 101, 37, 50, 68, 49, 101, 50, 57, 55, 99, 51, 51, 53, 48, 102, 98, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 54, 99, 54, 55, 100, 50, 55, 98, 45, 52, 102, 55, 97, 45, 52, 52, 48, 51, 45, 98, 52, 50, 97, 45, 56, 49, 53, 99, 57, 99, 55, 50, 102, 54, 56, 57, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 55, 51, 55, 56, 51, 54, 101, 49, 45, 50, 55, 52, 54, 45, 52, 102, 51, 51, 45, 97, 52, 54, 97, 45, 54, 55, 98, 51, 52, 49, 49, 55, 102, 102, 52, 101, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 51, 55, 55, 52, 97, 49, 49, 101, 45, 53, 55, 53, 49, 45, 52, 102, 56, 53, 45, 98, 101, 98, 101, 45, 49, 101, 50, 57, 55, 99, 51, 51, 53, 48, 102, 98, 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: 2, max_count: 10, length: 48, array: 0x7f4b18016310 } } } }
[2022-05-09T12:25:20Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28004e10
[2022-05-09T12:25:20Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/3774a11e-5751-4f85-bebe-1e297c3350fb", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"bbdc890a-0761-4270-8399-aeb585cbe58b\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://3774a11e%2D5751%2D4f85%2Dbebe%2D1e297c3350fb/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:25:19.339139327Z\",\"data_base64\":\"\",\"sender\":\"gateway1\",\"senderuid\":\"26383a7a-a2c8-4ea9-b2d5-e36c2fc2320c\",\"partitionkey\":\"3774a11e%2D5751%2D4f85%2Dbebe%2D1e297c3350fb/device1\",\"applicationuid\":\"6c67d27b-4f7a-4403-b42a-815c9c72f689\",\"deviceuid\":\"737836e1-2746-4f33-a46a-67b34117ff4e\",\"instance\":\"drogue\",\"application\":\"3774a11e-5751-4f85-bebe-1e297c3350fb\",\"device\":\"device1\"}" }
[2022-05-09T12:25:20Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:25:20Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:25:20Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:25:20Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "3774a11e-5751-4f85-bebe-1e297c3350fb", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "3774a11e-5751-4f85-bebe-1e297c3350fb", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:25:20Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:25:20Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "3774a11e-5751-4f85-bebe-1e297c3350fb" "device1"
[2022-05-09T12:25:20Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:25:20Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:25:20Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "3774a11e-5751-4f85-bebe-1e297c3350fb" "gateway1"
[2022-05-09T12:25:20Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:25:20Z INFO  drogue_cloud_tests::resources::apps] Destroy application '3774a11e-5751-4f85-bebe-1e297c3350fb'
[2022-05-09T12:25:20Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "3774a11e-5751-4f85-bebe-1e297c3350fb"
[2022-05-09T12:25:20Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 3774a11e-5751-4f85-bebe-1e297c3350fb deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_2::integration_version_2::integration_ws_2

Duration: 15s

Test output
-------------- TEST START --------------
[2022-05-09T12:25:22Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:25:22Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:25:22Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:25:22Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:25:22Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:25:23Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:25:25Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:25:25Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:25:25Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:25:25Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:25:27Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA5MjcsImlhdCI6MTY1MjA5OTEyNywianRpIjoiOGUxZDJhZDktZGVjZC00OGQ0LTk4M2EtODA2YmNjZTg2ZTkzIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ii00SG1JSDFjSW9yME9lZFg5VnUzVlEiLCJzZXNzaW9uX3N0YXRlIjoiM2E0NGVhZjktYjI2OC00YzcxLWEyMjktNTc0OWU1MjlkNzE3Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjNhNDRlYWY5LWIyNjgtNGM3MS1hMjI5LTU3NDllNTI5ZDcxNyJ9.jYfWgEIBh2_jG7Y_1y7dL9dkiGl3rGJ0cGFPFtxuL5M
[2022-05-09T12:25:27Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:25:27Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:25:27Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA5MjcsImlhdCI6MTY1MjA5OTEyNywianRpIjoiOGUxZDJhZDktZGVjZC00OGQ0LTk4M2EtODA2YmNjZTg2ZTkzIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ii00SG1JSDFjSW9yME9lZFg5VnUzVlEiLCJzZXNzaW9uX3N0YXRlIjoiM2E0NGVhZjktYjI2OC00YzcxLWEyMjktNTc0OWU1MjlkNzE3Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjNhNDRlYWY5LWIyNjgtNGM3MS1hMjI5LTU3NDllNTI5ZDcxNyJ9.jYfWgEIBh2_jG7Y_1y7dL9dkiGl3rGJ0cGFPFtxuL5M" "--context" "system-tests"
[2022-05-09T12:25:27Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:25:27Z INFO  drogue_cloud_tests::resources::apps] Create application: d75a1862-4f59-4817-ac8b-df0233c9de98
[2022-05-09T12:25:27Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "d75a1862-4f59-4817-ac8b-df0233c9de98"
[2022-05-09T12:25:27Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App d75a1862-4f59-4817-ac8b-df0233c9de98 created.\n", stderr: "" })
[2022-05-09T12:25:27Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "d75a1862-4f59-4817-ac8b-df0233c9de98"
[2022-05-09T12:25:27Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:25:27.837291Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"d75a1862-4f59-4817-ac8b-df0233c9de98\",\n    \"resourceVersion\": \"e0e91fbf-a0a3-4cc9-a94e-669758056203\",\n    \"uid\": \"0b2c839b-ff1a-47dd-80e0-7c224a002984\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:25:27.849984299Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:25:27.850023092Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:27.849937842Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:27.849939786Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:27.849940877Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:27.849942381Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:27.849942902Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:27.849950917Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:25:27Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:25:27.837291Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("d75a1862-4f59-4817-ac8b-df0233c9de98"), "resourceVersion": String("e0e91fbf-a0a3-4cc9-a94e-669758056203"), "uid": String("0b2c839b-ff1a-47dd-80e0-7c224a002984")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:25:27.849984299Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:27.850023092Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:25:27.849937842Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:25:27.849939786Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:25:27.849940877Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:27.849942381Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:25:27.849942902Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:27.849950917Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T12:25:27Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:25:28Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "d75a1862-4f59-4817-ac8b-df0233c9de98"
[2022-05-09T12:25:28Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:25:27.837291Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"d75a1862-4f59-4817-ac8b-df0233c9de98\",\n    \"resourceVersion\": \"eb83adf3-05d8-4e6c-8c01-237cfe0aede1\",\n    \"uid\": \"0b2c839b-ff1a-47dd-80e0-7c224a002984\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:25:28.180980563Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:25:28.181014867Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:27.876877979Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:27.884203314Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:27.983691117Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:27.996344856Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:28.180930368Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:28.180952320Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"zPy9DZOF2SuO\",\n        \"username\": \"user-d75a1862-4f59-4817-ac8b-df0233c9de98\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:25:28Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:25:27.837291Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("d75a1862-4f59-4817-ac8b-df0233c9de98"), "resourceVersion": String("eb83adf3-05d8-4e6c-8c01-237cfe0aede1"), "uid": String("0b2c839b-ff1a-47dd-80e0-7c224a002984")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:25:28.180980563Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:28.181014867Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:25:27.876877979Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:25:27.884203314Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:25:27.983691117Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:27.996344856Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:25:28.180930368Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:28.180952320Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("zPy9DZOF2SuO"), "username": String("user-d75a1862-4f59-4817-ac8b-df0233c9de98")})})})})
[2022-05-09T12:25:28Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:25:28Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "d75a1862-4f59-4817-ac8b-df0233c9de98"
[2022-05-09T12:25:28Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:25:27.837291Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"d75a1862-4f59-4817-ac8b-df0233c9de98\",\n    \"resourceVersion\": \"eb83adf3-05d8-4e6c-8c01-237cfe0aede1\",\n    \"uid\": \"0b2c839b-ff1a-47dd-80e0-7c224a002984\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:25:28.180980563Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:25:28.181014867Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:27.876877979Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:27.884203314Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:27.983691117Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:27.996344856Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:28.180930368Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:28.180952320Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"zPy9DZOF2SuO\",\n        \"username\": \"user-d75a1862-4f59-4817-ac8b-df0233c9de98\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:25:28Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:25:27.837291Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("d75a1862-4f59-4817-ac8b-df0233c9de98"), "resourceVersion": String("eb83adf3-05d8-4e6c-8c01-237cfe0aede1"), "uid": String("0b2c839b-ff1a-47dd-80e0-7c224a002984")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:25:28.180980563Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:28.181014867Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:25:27.876877979Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:25:27.884203314Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:25:27.983691117Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:27.996344856Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:25:28.180930368Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:28.180952320Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("zPy9DZOF2SuO"), "username": String("user-d75a1862-4f59-4817-ac8b-df0233c9de98")})})})})
[2022-05-09T12:25:28Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:25:28Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:25:28Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "d75a1862-4f59-4817-ac8b-df0233c9de98" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:25:28Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:25:28Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:25:28Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:25:28Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:25:28Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk0MjcsImlhdCI6MTY1MjA5OTEyNywiYXV0aF90aW1lIjoxNjUyMDk5MTI0LCJqdGkiOiI1Yzk2NDVkNC0zZDBjLTQxMTItOGVlNi1jMWQ3MGY1NzI1NTQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiItNEhtSUgxY0lvcjBPZWRYOVZ1M1ZRIiwic2Vzc2lvbl9zdGF0ZSI6IjNhNDRlYWY5LWIyNjgtNGM3MS1hMjI5LTU3NDllNTI5ZDcxNyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjNhNDRlYWY5LWIyNjgtNGM3MS1hMjI5LTU3NDllNTI5ZDcxNyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.QTzjx7iJuahQ9Fjuchx3k_duLQzT2o7_iZcdJtVStfC7v7cA59W92C5KE2wM5C6SgzaW4ZdPyJ31CXPEGE0e8fBZQUgxx70gFNMFHMNV9QQBolsYAL4T8TtOVzMDozP-KXj1LzB_TveAYUV7xfWetiLSp6RcTHgzaR54HtitU5b3rcbr47yn0zWxLj6MwVfGt3Q9RkyZlgHsjjw-Zg4O4hd0Nn9oHlE2Y__JNd1b7C5peOJiowdsyi5nKA_76zCVy4Agq7n02JHyzwu7k8s7ymisti3juzhl6UOy-2JG-jp7B37lusJ-G3n3jD-XrmDyP5JmQ2OO2QFml9JGag_5vQ\n", stderr: "" })
[2022-05-09T12:25:28Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:25:28Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:25:28Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:25:28Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "d75a1862-4f59-4817-ac8b-df0233c9de98" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:25:28Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:25:28Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T12:25:28Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:25:28Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk0MjcsImlhdCI6MTY1MjA5OTEyNywiYXV0aF90aW1lIjoxNjUyMDk5MTI0LCJqdGkiOiI1Yzk2NDVkNC0zZDBjLTQxMTItOGVlNi1jMWQ3MGY1NzI1NTQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiItNEhtSUgxY0lvcjBPZWRYOVZ1M1ZRIiwic2Vzc2lvbl9zdGF0ZSI6IjNhNDRlYWY5LWIyNjgtNGM3MS1hMjI5LTU3NDllNTI5ZDcxNyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjNhNDRlYWY5LWIyNjgtNGM3MS1hMjI5LTU3NDllNTI5ZDcxNyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.QTzjx7iJuahQ9Fjuchx3k_duLQzT2o7_iZcdJtVStfC7v7cA59W92C5KE2wM5C6SgzaW4ZdPyJ31CXPEGE0e8fBZQUgxx70gFNMFHMNV9QQBolsYAL4T8TtOVzMDozP-KXj1LzB_TveAYUV7xfWetiLSp6RcTHgzaR54HtitU5b3rcbr47yn0zWxLj6MwVfGt3Q9RkyZlgHsjjw-Zg4O4hd0Nn9oHlE2Y__JNd1b7C5peOJiowdsyi5nKA_76zCVy4Agq7n02JHyzwu7k8s7ymisti3juzhl6UOy-2JG-jp7B37lusJ-G3n3jD-XrmDyP5JmQ2OO2QFml9JGag_5vQ\n", stderr: "" })
[2022-05-09T12:25:28Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "52e51601-7a41-4b62-ba02-aa4234bfaad0", persistence: None, user_data: None }
[2022-05-09T12:25:28Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:25:28Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717aa5290
[2022-05-09T12:25:28Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717aa5290
[2022-05-09T12:25:28Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717aa55d0, connectTimeout: 30, retryInterval: 0, ssl: 0x561717ccf280, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717b19260, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk0MjcsImlhdCI6MTY1MjA5OTEyNywiYXV0aF90aW1lIjoxNjUyMDk5MTI0LCJqdGkiOiI1Yzk2NDVkNC0zZDBjLTQxMTItOGVlNi1jMWQ3MGY1NzI1NTQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiItNEhtSUgxY0lvcjBPZWRYOVZ1M1ZRIiwic2Vzc2lvbl9zdGF0ZSI6IjNhNDRlYWY5LWIyNjgtNGM3MS1hMjI5LTU3NDllNTI5ZDcxNyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjNhNDRlYWY5LWIyNjgtNGM3MS1hMjI5LTU3NDllNTI5ZDcxNyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.QTzjx7iJuahQ9Fjuchx3k_duLQzT2o7_iZcdJtVStfC7v7cA59W92C5KE2wM5C6SgzaW4ZdPyJ31CXPEGE0e8fBZQUgxx70gFNMFHMNV9QQBolsYAL4T8TtOVzMDozP-KXj1LzB_TveAYUV7xfWetiLSp6RcTHgzaR54HtitU5b3rcbr47yn0zWxLj6MwVfGt3Q9RkyZlgHsjjw-Zg4O4hd0Nn9oHlE2Y__JNd1b7C5peOJiowdsyi5nKA_76zCVy4Agq7n02JHyzwu7k8s7ymisti3juzhl6UOy-2JG-jp7B37lusJ-G3n3jD-XrmDyP5JmQ2OO2QFml9JGag_5vQ"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:25:29Z DEBUG paho_mqtt::async_client] Subscribe to '"app/d75a1862-4f59-4817-ac8b-df0233c9de98"' @ QOS 0
[2022-05-09T12:25:29Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:25:29Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:25:29Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:25:29Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:25:29Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:25:29Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:25:30Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:25:30Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:25:30Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:25:30Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:25:31Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:25:31Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:25:31Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:25:31Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:25:32Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:25:32Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:25:32Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:25:32Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:25:32Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 621, payload: 0x7f4b1800b030, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1800b2b0 } }, data: MessageData { topic: "app/d75a1862-4f59-4817-ac8b-df0233c9de98", 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, 49, 56, 102, 53, 98, 102, 53, 49, 45, 49, 97, 98, 49, 45, 52, 52, 49, 57, 45, 98, 97, 53, 48, 45, 53, 102, 48, 97, 97, 53, 51, 54, 48, 49, 100, 97, 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, 100, 55, 53, 97, 49, 56, 54, 50, 37, 50, 68, 52, 102, 53, 57, 37, 50, 68, 52, 56, 49, 55, 37, 50, 68, 97, 99, 56, 98, 37, 50, 68, 100, 102, 48, 50, 51, 51, 99, 57, 100, 101, 57, 56, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 53, 58, 51, 50, 46, 54, 55, 52, 50, 54, 56, 57, 57, 49, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 102, 100, 48, 50, 50, 50, 97, 48, 45, 52, 51, 49, 101, 45, 52, 55, 102, 55, 45, 97, 48, 55, 49, 45, 99, 55, 101, 54, 102, 99, 56, 52, 49, 57, 52, 100, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 98, 102, 54, 56, 54, 98, 98, 48, 45, 102, 55, 56, 102, 45, 52, 101, 51, 55, 45, 97, 55, 52, 101, 45, 51, 99, 102, 100, 52, 48, 99, 50, 98, 100, 102, 57, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 100, 55, 53, 97, 49, 56, 54, 50, 37, 50, 68, 52, 102, 53, 57, 37, 50, 68, 52, 56, 49, 55, 37, 50, 68, 97, 99, 56, 98, 37, 50, 68, 100, 102, 48, 50, 51, 51, 99, 57, 100, 101, 57, 56, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 48, 98, 50, 99, 56, 51, 57, 98, 45, 102, 102, 49, 97, 45, 52, 55, 100, 100, 45, 56, 48, 101, 48, 45, 55, 99, 50, 50, 52, 97, 48, 48, 50, 57, 56, 52, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 100, 55, 53, 97, 49, 56, 54, 50, 45, 52, 102, 53, 57, 45, 52, 56, 49, 55, 45, 97, 99, 56, 98, 45, 100, 102, 48, 50, 51, 51, 99, 57, 100, 101, 57, 56, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1800b2b0 } } } }
[2022-05-09T12:25:32Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717bdcce0
[2022-05-09T12:25:32Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/d75a1862-4f59-4817-ac8b-df0233c9de98", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"18f5bf51-1ab1-4419-ba50-5f0aa53601da\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://d75a1862%2D4f59%2D4817%2Dac8b%2Ddf0233c9de98/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:25:32.674268991Z\",\"data\":{\"index\":3},\"instance\":\"drogue\",\"senderuid\":\"fd0222a0-431e-47f7-a071-c7e6fc84194d\",\"deviceuid\":\"bf686bb0-f78f-4e37-a74e-3cfd40c2bdf9\",\"device\":\"device1\",\"partitionkey\":\"d75a1862%2D4f59%2D4817%2Dac8b%2Ddf0233c9de98/device1\",\"applicationuid\":\"0b2c839b-ff1a-47dd-80e0-7c224a002984\",\"application\":\"d75a1862-4f59-4817-ac8b-df0233c9de98\",\"sender\":\"gateway1\"}" }
[2022-05-09T12:25:33Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:25:33Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:25:33Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:25:33Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:25:33Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "d9797043-64f1-4f43-aa59-3e441f832185", persistence: None, user_data: None }
[2022-05-09T12:25:33Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:25:33Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717d019c0
[2022-05-09T12:25:33Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717d019c0
[2022-05-09T12:25:33Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717bf2720, password: 0x561717a3fca0, connectTimeout: 30, retryInterval: 0, ssl: 0x561717b51a00, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717cc1790, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@d75a1862-4f59-4817-ac8b-df0233c9de98"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:25:34Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717b66e10 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717b66e10 } } } }
[2022-05-09T12:25:34Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 640, payload: 0x7f4b18029fe0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1802a270 } }, data: MessageData { topic: "app/d75a1862-4f59-4817-ac8b-df0233c9de98", 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, 55, 49, 99, 102, 100, 100, 57, 57, 45, 52, 48, 50, 53, 45, 52, 52, 50, 101, 45, 57, 48, 49, 49, 45, 100, 49, 51, 98, 102, 55, 101, 49, 101, 101, 52, 54, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 100, 55, 53, 97, 49, 56, 54, 50, 37, 50, 68, 52, 102, 53, 57, 37, 50, 68, 52, 56, 49, 55, 37, 50, 68, 97, 99, 56, 98, 37, 50, 68, 100, 102, 48, 50, 51, 51, 99, 57, 100, 101, 57, 56, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 53, 58, 51, 51, 46, 55, 54, 54, 51, 49, 52, 57, 49, 55, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 100, 55, 53, 97, 49, 56, 54, 50, 37, 50, 68, 52, 102, 53, 57, 37, 50, 68, 52, 56, 49, 55, 37, 50, 68, 97, 99, 56, 98, 37, 50, 68, 100, 102, 48, 50, 51, 51, 99, 57, 100, 101, 57, 56, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 100, 55, 53, 97, 49, 56, 54, 50, 45, 52, 102, 53, 57, 45, 52, 56, 49, 55, 45, 97, 99, 56, 98, 45, 100, 102, 48, 50, 51, 51, 99, 57, 100, 101, 57, 56, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 102, 100, 48, 50, 50, 50, 97, 48, 45, 52, 51, 49, 101, 45, 52, 55, 102, 55, 45, 97, 48, 55, 49, 45, 99, 55, 101, 54, 102, 99, 56, 52, 49, 57, 52, 100, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 48, 98, 50, 99, 56, 51, 57, 98, 45, 102, 102, 49, 97, 45, 52, 55, 100, 100, 45, 56, 48, 101, 48, 45, 55, 99, 50, 50, 52, 97, 48, 48, 50, 57, 56, 52, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 102, 100, 48, 50, 50, 50, 97, 48, 45, 52, 51, 49, 101, 45, 52, 55, 102, 55, 45, 97, 48, 55, 49, 45, 99, 55, 101, 54, 102, 99, 56, 52, 49, 57, 52, 100, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1802a270 } } } }
[2022-05-09T12:25:34Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717bdcce0
[2022-05-09T12:25:34Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:25:34Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/d75a1862-4f59-4817-ac8b-df0233c9de98", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"71cfdd99-4025-442e-9011-d13bf7e1ee46\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://d75a1862%2D4f59%2D4817%2Dac8b%2Ddf0233c9de98/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:25:33.766314917Z\",\"data\":{\"connected\":true},\"partitionkey\":\"d75a1862%2D4f59%2D4817%2Dac8b%2Ddf0233c9de98/gateway1\",\"instance\":\"drogue\",\"sender\":\"gateway1\",\"application\":\"d75a1862-4f59-4817-ac8b-df0233c9de98\",\"device\":\"gateway1\",\"senderuid\":\"fd0222a0-431e-47f7-a071-c7e6fc84194d\",\"applicationuid\":\"0b2c839b-ff1a-47dd-80e0-7c224a002984\",\"deviceuid\":\"fd0222a0-431e-47f7-a071-c7e6fc84194d\"}" }
[2022-05-09T12:25:34Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 641, payload: 0x7f4b1802a270, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1802a500 } }, data: MessageData { topic: "app/d75a1862-4f59-4817-ac8b-df0233c9de98", 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, 50, 101, 100, 54, 52, 53, 53, 49, 45, 52, 54, 48, 54, 45, 52, 49, 55, 102, 45, 97, 98, 98, 56, 45, 49, 102, 98, 57, 53, 102, 48, 50, 50, 52, 97, 97, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 100, 55, 53, 97, 49, 56, 54, 50, 37, 50, 68, 52, 102, 53, 57, 37, 50, 68, 52, 56, 49, 55, 37, 50, 68, 97, 99, 56, 98, 37, 50, 68, 100, 102, 48, 50, 51, 51, 99, 57, 100, 101, 57, 56, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 53, 58, 51, 52, 46, 51, 54, 56, 56, 52, 57, 53, 52, 50, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 100, 55, 53, 97, 49, 56, 54, 50, 37, 50, 68, 52, 102, 53, 57, 37, 50, 68, 52, 56, 49, 55, 37, 50, 68, 97, 99, 56, 98, 37, 50, 68, 100, 102, 48, 50, 51, 51, 99, 57, 100, 101, 57, 56, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 48, 98, 50, 99, 56, 51, 57, 98, 45, 102, 102, 49, 97, 45, 52, 55, 100, 100, 45, 56, 48, 101, 48, 45, 55, 99, 50, 50, 52, 97, 48, 48, 50, 57, 56, 52, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 102, 100, 48, 50, 50, 50, 97, 48, 45, 52, 51, 49, 101, 45, 52, 55, 102, 55, 45, 97, 48, 55, 49, 45, 99, 55, 101, 54, 102, 99, 56, 52, 49, 57, 52, 100, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 102, 100, 48, 50, 50, 50, 97, 48, 45, 52, 51, 49, 101, 45, 52, 55, 102, 55, 45, 97, 48, 55, 49, 45, 99, 55, 101, 54, 102, 99, 56, 52, 49, 57, 52, 100, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 100, 55, 53, 97, 49, 56, 54, 50, 45, 52, 102, 53, 57, 45, 52, 56, 49, 55, 45, 97, 99, 56, 98, 45, 100, 102, 48, 50, 51, 51, 99, 57, 100, 101, 57, 56, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1802a500 } } } }
[2022-05-09T12:25:34Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717bdcce0
[2022-05-09T12:25:34Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/d75a1862-4f59-4817-ac8b-df0233c9de98", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"2ed64551-4606-417f-abb8-1fb95f0224aa\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://d75a1862%2D4f59%2D4817%2Dac8b%2Ddf0233c9de98/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:25:34.368849542Z\",\"data\":{\"connected\":false},\"sender\":\"gateway1\",\"partitionkey\":\"d75a1862%2D4f59%2D4817%2Dac8b%2Ddf0233c9de98/gateway1\",\"applicationuid\":\"0b2c839b-ff1a-47dd-80e0-7c224a002984\",\"deviceuid\":\"fd0222a0-431e-47f7-a071-c7e6fc84194d\",\"instance\":\"drogue\",\"senderuid\":\"fd0222a0-431e-47f7-a071-c7e6fc84194d\",\"application\":\"d75a1862-4f59-4817-ac8b-df0233c9de98\",\"device\":\"gateway1\"}" }
[2022-05-09T12:25:35Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 630, payload: 0x7f4b180074b0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1802a7e0 } }, data: MessageData { topic: "app/d75a1862-4f59-4817-ac8b-df0233c9de98", 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, 51, 57, 56, 54, 52, 99, 55, 54, 45, 97, 97, 55, 55, 45, 52, 101, 100, 53, 45, 97, 54, 49, 101, 45, 53, 56, 99, 57, 56, 98, 55, 57, 57, 53, 50, 57, 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, 100, 55, 53, 97, 49, 56, 54, 50, 37, 50, 68, 52, 102, 53, 57, 37, 50, 68, 52, 56, 49, 55, 37, 50, 68, 97, 99, 56, 98, 37, 50, 68, 100, 102, 48, 50, 51, 51, 99, 57, 100, 101, 57, 56, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 53, 58, 51, 52, 46, 51, 54, 55, 57, 48, 55, 52, 48, 53, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 100, 55, 53, 97, 49, 56, 54, 50, 45, 52, 102, 53, 57, 45, 52, 56, 49, 55, 45, 97, 99, 56, 98, 45, 100, 102, 48, 50, 51, 51, 99, 57, 100, 101, 57, 56, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 100, 55, 53, 97, 49, 56, 54, 50, 37, 50, 68, 52, 102, 53, 57, 37, 50, 68, 52, 56, 49, 55, 37, 50, 68, 97, 99, 56, 98, 37, 50, 68, 100, 102, 48, 50, 51, 51, 99, 57, 100, 101, 57, 56, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 48, 98, 50, 99, 56, 51, 57, 98, 45, 102, 102, 49, 97, 45, 52, 55, 100, 100, 45, 56, 48, 101, 48, 45, 55, 99, 50, 50, 52, 97, 48, 48, 50, 57, 56, 52, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 98, 102, 54, 56, 54, 98, 98, 48, 45, 102, 55, 56, 102, 45, 52, 101, 51, 55, 45, 97, 55, 52, 101, 45, 51, 99, 102, 100, 52, 48, 99, 50, 98, 100, 102, 57, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 102, 100, 48, 50, 50, 50, 97, 48, 45, 52, 51, 49, 101, 45, 52, 55, 102, 55, 45, 97, 48, 55, 49, 45, 99, 55, 101, 54, 102, 99, 56, 52, 49, 57, 52, 100, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1802a7e0 } } } }
[2022-05-09T12:25:35Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717bdcce0
[2022-05-09T12:25:35Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/d75a1862-4f59-4817-ac8b-df0233c9de98", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"39864c76-aa77-4ed5-a61e-58c98b799529\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://d75a1862%2D4f59%2D4817%2Dac8b%2Ddf0233c9de98/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:25:34.367907405Z\",\"data_base64\":\"\",\"sender\":\"gateway1\",\"application\":\"d75a1862-4f59-4817-ac8b-df0233c9de98\",\"partitionkey\":\"d75a1862%2D4f59%2D4817%2Dac8b%2Ddf0233c9de98/device1\",\"applicationuid\":\"0b2c839b-ff1a-47dd-80e0-7c224a002984\",\"deviceuid\":\"bf686bb0-f78f-4e37-a74e-3cfd40c2bdf9\",\"device\":\"device1\",\"instance\":\"drogue\",\"senderuid\":\"fd0222a0-431e-47f7-a071-c7e6fc84194d\"}" }
[2022-05-09T12:25:35Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:25:35Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:25:35Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:25:35Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "d75a1862-4f59-4817-ac8b-df0233c9de98", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "d75a1862-4f59-4817-ac8b-df0233c9de98", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:25:35Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:25:35Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "d75a1862-4f59-4817-ac8b-df0233c9de98" "device1"
[2022-05-09T12:25:35Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:25:35Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:25:35Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "d75a1862-4f59-4817-ac8b-df0233c9de98" "gateway1"
[2022-05-09T12:25:35Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:25:35Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'd75a1862-4f59-4817-ac8b-df0233c9de98'
[2022-05-09T12:25:35Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "d75a1862-4f59-4817-ac8b-df0233c9de98"
[2022-05-09T12:25:35Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App d75a1862-4f59-4817-ac8b-df0233c9de98 deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_2::integration_version_3::integration_ws_1

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T12:25:37Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:25:37Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:25:37Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:25:37Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:25: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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:25:38Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:25:40Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:25:40Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:25:40Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:25:40Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:25:41Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA5NDEsImlhdCI6MTY1MjA5OTE0MSwianRpIjoiZDRhMmJhMmMtM2U5OC00ZTM2LWFhMGEtNTIwYTc1OTQ4YTNlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ik1aN05YQ0pOeGdkNW1EUnA5cVNvWHciLCJzZXNzaW9uX3N0YXRlIjoiMGJlMzU2NGUtMTQ4Ni00MGY5LTlhMTgtOTdmMTM0NGY5ZGQ2Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjBiZTM1NjRlLTE0ODYtNDBmOS05YTE4LTk3ZjEzNDRmOWRkNiJ9.U26qUImbJb62VFk-43vWTZnWBF0yDlyDApM30bFu5WY
[2022-05-09T12:25:41Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:25:41Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:25:41Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA5NDEsImlhdCI6MTY1MjA5OTE0MSwianRpIjoiZDRhMmJhMmMtM2U5OC00ZTM2LWFhMGEtNTIwYTc1OTQ4YTNlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ik1aN05YQ0pOeGdkNW1EUnA5cVNvWHciLCJzZXNzaW9uX3N0YXRlIjoiMGJlMzU2NGUtMTQ4Ni00MGY5LTlhMTgtOTdmMTM0NGY5ZGQ2Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjBiZTM1NjRlLTE0ODYtNDBmOS05YTE4LTk3ZjEzNDRmOWRkNiJ9.U26qUImbJb62VFk-43vWTZnWBF0yDlyDApM30bFu5WY" "--context" "system-tests"
[2022-05-09T12:25:42Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:25:42Z INFO  drogue_cloud_tests::resources::apps] Create application: d1a9248b-3102-4d84-9b49-9f97cdcf4bc4
[2022-05-09T12:25:42Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "d1a9248b-3102-4d84-9b49-9f97cdcf4bc4"
[2022-05-09T12:25:42Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App d1a9248b-3102-4d84-9b49-9f97cdcf4bc4 created.\n", stderr: "" })
[2022-05-09T12:25:42Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "d1a9248b-3102-4d84-9b49-9f97cdcf4bc4"
[2022-05-09T12:25:42Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:25:42.717200Z\",\n    \"generation\": 1,\n    \"name\": \"d1a9248b-3102-4d84-9b49-9f97cdcf4bc4\",\n    \"resourceVersion\": \"90921637-54ea-4a6b-81b3-56eb545fe33a\",\n    \"uid\": \"5fbdff73-912c-4e11-8029-890b2ee64d38\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:25:42.729820987Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2022-05-09T12:25:42Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:25:42.717200Z"), "generation": Number(1), "name": String("d1a9248b-3102-4d84-9b49-9f97cdcf4bc4"), "resourceVersion": String("90921637-54ea-4a6b-81b3-56eb545fe33a"), "uid": String("5fbdff73-912c-4e11-8029-890b2ee64d38")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:25:42.729820987Z"), "status": String("True"), "type": String("Ready")})])})})
[2022-05-09T12:25:42Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:25:43Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "d1a9248b-3102-4d84-9b49-9f97cdcf4bc4"
[2022-05-09T12:25:43Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:25:42.717200Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"d1a9248b-3102-4d84-9b49-9f97cdcf4bc4\",\n    \"resourceVersion\": \"eedc3d8d-96da-4809-959d-3efd03d2f4fb\",\n    \"uid\": \"5fbdff73-912c-4e11-8029-890b2ee64d38\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:25:43.096173398Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:25:43.096059134Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:42.766357197Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:42.773373485Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:42.879103192Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:42.894122695Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:43.096000804Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:43.096027585Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"XvAYl2tOcljT\",\n        \"username\": \"user-d1a9248b-3102-4d84-9b49-9f97cdcf4bc4\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:25:43Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:25:42.717200Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("d1a9248b-3102-4d84-9b49-9f97cdcf4bc4"), "resourceVersion": String("eedc3d8d-96da-4809-959d-3efd03d2f4fb"), "uid": String("5fbdff73-912c-4e11-8029-890b2ee64d38")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:25:43.096173398Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:25:43.096059134Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:25:42.766357197Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:25:42.773373485Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:25:42.879103192Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:42.894122695Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:25:43.096000804Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:43.096027585Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("XvAYl2tOcljT"), "username": String("user-d1a9248b-3102-4d84-9b49-9f97cdcf4bc4")})})})})
[2022-05-09T12:25:43Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:25:43Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "d1a9248b-3102-4d84-9b49-9f97cdcf4bc4"
[2022-05-09T12:25:43Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:25:42.717200Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"d1a9248b-3102-4d84-9b49-9f97cdcf4bc4\",\n    \"resourceVersion\": \"eedc3d8d-96da-4809-959d-3efd03d2f4fb\",\n    \"uid\": \"5fbdff73-912c-4e11-8029-890b2ee64d38\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:25:43.096173398Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:25:43.096059134Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:42.766357197Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:42.773373485Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:42.879103192Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:42.894122695Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:43.096000804Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:43.096027585Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"XvAYl2tOcljT\",\n        \"username\": \"user-d1a9248b-3102-4d84-9b49-9f97cdcf4bc4\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:25:43Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:25:42.717200Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("d1a9248b-3102-4d84-9b49-9f97cdcf4bc4"), "resourceVersion": String("eedc3d8d-96da-4809-959d-3efd03d2f4fb"), "uid": String("5fbdff73-912c-4e11-8029-890b2ee64d38")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:25:43.096173398Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:25:43.096059134Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:25:42.766357197Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:25:42.773373485Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:25:42.879103192Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:42.894122695Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:25:43.096000804Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:43.096027585Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("XvAYl2tOcljT"), "username": String("user-d1a9248b-3102-4d84-9b49-9f97cdcf4bc4")})})})})
[2022-05-09T12:25:43Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:25:43Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:25:43Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "d1a9248b-3102-4d84-9b49-9f97cdcf4bc4" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:25:43Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:25:43Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:25:43Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:25:43Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:25:43Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk0NDIsImlhdCI6MTY1MjA5OTE0MiwiYXV0aF90aW1lIjoxNjUyMDk5MTM5LCJqdGkiOiI2YjczNDE0YS03MThlLTRmZTAtYTZiYS04YjAyOTM0MWQ5OWYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJNWjdOWENKTnhnZDVtRFJwOXFTb1h3Iiwic2Vzc2lvbl9zdGF0ZSI6IjBiZTM1NjRlLTE0ODYtNDBmOS05YTE4LTk3ZjEzNDRmOWRkNiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjBiZTM1NjRlLTE0ODYtNDBmOS05YTE4LTk3ZjEzNDRmOWRkNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.hwzqNy-S_ZjusgvVPWYvU9VG7Sj48RSe3wkA8XXfFwrQdXMRCXIjdk3pgrgODiR9lFOjbgsQIPEzFBuDNYWteD_XYd0xgaHoqLZsSWcP-RfNiS7IIJJeakXDAIZXueqzDX7Cr-mCeoGLcQGL32jfYEYSGL4mtmNzpa7DBKftXwMRjxc0s62AIZAF1__QdYxgvAEhX-fFyXOITAxJBQl5c21dnx_osLUr2ESvR06dpNouYrstRuJcWtswQj44eWZC5PxeoFBNRnbDeP5O7wuuiUhrCLotyXXtUo7TTgB6FzswcIs-BVkrDPsYV9rzOdB2Pta5h9Ngkjzu_2MdsszBEw\n", stderr: "" })
[2022-05-09T12:25:43Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:25:43Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:25:43Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:25:43Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "d1a9248b-3102-4d84-9b49-9f97cdcf4bc4" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:25:43Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:25:43Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T12:25:43Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:25:43Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk0NDIsImlhdCI6MTY1MjA5OTE0MiwiYXV0aF90aW1lIjoxNjUyMDk5MTM5LCJqdGkiOiI2YjczNDE0YS03MThlLTRmZTAtYTZiYS04YjAyOTM0MWQ5OWYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJNWjdOWENKTnhnZDVtRFJwOXFTb1h3Iiwic2Vzc2lvbl9zdGF0ZSI6IjBiZTM1NjRlLTE0ODYtNDBmOS05YTE4LTk3ZjEzNDRmOWRkNiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjBiZTM1NjRlLTE0ODYtNDBmOS05YTE4LTk3ZjEzNDRmOWRkNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.hwzqNy-S_ZjusgvVPWYvU9VG7Sj48RSe3wkA8XXfFwrQdXMRCXIjdk3pgrgODiR9lFOjbgsQIPEzFBuDNYWteD_XYd0xgaHoqLZsSWcP-RfNiS7IIJJeakXDAIZXueqzDX7Cr-mCeoGLcQGL32jfYEYSGL4mtmNzpa7DBKftXwMRjxc0s62AIZAF1__QdYxgvAEhX-fFyXOITAxJBQl5c21dnx_osLUr2ESvR06dpNouYrstRuJcWtswQj44eWZC5PxeoFBNRnbDeP5O7wuuiUhrCLotyXXtUo7TTgB6FzswcIs-BVkrDPsYV9rzOdB2Pta5h9Ngkjzu_2MdsszBEw\n", stderr: "" })
[2022-05-09T12:25:43Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "3e0adde7-4fda-479e-8848-ed3fa58c07e3", persistence: None, user_data: None }
[2022-05-09T12:25:43Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:25:43Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717b65880
[2022-05-09T12:25:43Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717b65880
[2022-05-09T12:25:43Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x5617178e2610, connectTimeout: 30, retryInterval: 0, ssl: 0x561717b3fd70, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x5617178e3830, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk0NDIsImlhdCI6MTY1MjA5OTE0MiwiYXV0aF90aW1lIjoxNjUyMDk5MTM5LCJqdGkiOiI2YjczNDE0YS03MThlLTRmZTAtYTZiYS04YjAyOTM0MWQ5OWYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJNWjdOWENKTnhnZDVtRFJwOXFTb1h3Iiwic2Vzc2lvbl9zdGF0ZSI6IjBiZTM1NjRlLTE0ODYtNDBmOS05YTE4LTk3ZjEzNDRmOWRkNiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjBiZTM1NjRlLTE0ODYtNDBmOS05YTE4LTk3ZjEzNDRmOWRkNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.hwzqNy-S_ZjusgvVPWYvU9VG7Sj48RSe3wkA8XXfFwrQdXMRCXIjdk3pgrgODiR9lFOjbgsQIPEzFBuDNYWteD_XYd0xgaHoqLZsSWcP-RfNiS7IIJJeakXDAIZXueqzDX7Cr-mCeoGLcQGL32jfYEYSGL4mtmNzpa7DBKftXwMRjxc0s62AIZAF1__QdYxgvAEhX-fFyXOITAxJBQl5c21dnx_osLUr2ESvR06dpNouYrstRuJcWtswQj44eWZC5PxeoFBNRnbDeP5O7wuuiUhrCLotyXXtUo7TTgB6FzswcIs-BVkrDPsYV9rzOdB2Pta5h9Ngkjzu_2MdsszBEw"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:25:43Z DEBUG paho_mqtt::async_client] Subscribe to '"app/d1a9248b-3102-4d84-9b49-9f97cdcf4bc4"' @ QOS 0
[2022-05-09T12:25:43Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:25:43Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:25:43Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:25:43Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:25:43Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:25:44Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:25:45Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:25:45Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:25:45Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:25:45Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:25:46Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:25:46Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:25:46Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:25:46Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:25:47Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:25:47Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:25:47Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:25:47Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:25:47Z 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: 0x7f4b18008db0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x7f4b1802c820 } }, data: MessageData { topic: "app/d1a9248b-3102-4d84-9b49-9f97cdcf4bc4", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x7f4b1802c820 } } } }
[2022-05-09T12:25:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717c0c060, 0x561717b6cbd0
[2022-05-09T12:25:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717b6cbd0, 0x561717981120
[2022-05-09T12:25:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717b6cbd0, 0x56171799d7a0
[2022-05-09T12:25:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x56171799d7a0, 0x561717c30de0
[2022-05-09T12:25:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x56171799d7a0, 0x7f4b3000c210
[2022-05-09T12:25:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b3000c210, 0x561717981120
[2022-05-09T12:25:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b3000c210, 0x561717981120
[2022-05-09T12:25:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b3000c210, 0x561717981120
[2022-05-09T12:25:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b3000c210, 0x7f4b30004820
[2022-05-09T12:25:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004820, 0x561717981120
[2022-05-09T12:25:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004820, 0x7f4b300038c0
[2022-05-09T12:25:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300038c0, 0x7f4b30004820
[2022-05-09T12:25:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004820, 0x561717981120
[2022-05-09T12:25:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004820, 0x561717b6cec0
[2022-05-09T12:25:47Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b30004820
[2022-05-09T12:25:47Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/d1a9248b-3102-4d84-9b49-9f97cdcf4bc4", content_type: Some("application/json"), user_properties: {"source": "drogue://d1a9248b%2D3102%2D4d84%2D9b49%2D9f97cdcf4bc4/device1", "application": "d1a9248b-3102-4d84-9b49-9f97cdcf4bc4", "type": "io.drogue.event.v1", "applicationuid": "5fbdff73-912c-4e11-8029-890b2ee64d38", "sender": "gateway1", "device": "device1", "deviceuid": "95f09e0a-5625-42e7-a709-1b1176635f76", "senderuid": "6a8577ba-fc29-4403-bb5c-3ce47a85b62e", "subject": "warmup", "partitionkey": "d1a9248b%2D3102%2D4d84%2D9b49%2D9f97cdcf4bc4/device1", "instance": "drogue", "id": "5413835f-294c-4c37-a398-b7b124818d72", "time": "2022-05-09T12:25:47.716816678+00:00", "specversion": "1.0"}, payload: "{\"index\":3}" }
[2022-05-09T12:25:48Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:25:48Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:25:48Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:25:48Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:25:48Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "c2f4153c-ad92-4a90-929a-e1c3b96b0ae8", persistence: None, user_data: None }
[2022-05-09T12:25:48Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:25:48Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717bfd6b0
[2022-05-09T12:25:48Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717bfd6b0
[2022-05-09T12:25:48Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x5617179cb0a0, password: 0x561717ccbd20, connectTimeout: 30, retryInterval: 0, ssl: 0x561717b3b680, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717bc7200, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@d1a9248b-3102-4d84-9b49-9f97cdcf4bc4"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:25:49Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 18, payload: 0x7f4b180034d0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x7f4b1800c340 } }, data: MessageData { topic: "app/d1a9248b-3102-4d84-9b49-9f97cdcf4bc4", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x7f4b1800c340 } } } }
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717ac1ea0, 0x56171799d780
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x56171799d780, 0x561717c79c40
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x56171799d780, 0x7f4b280019f0
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280019f0, 0x7f4b28001bb0
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280019f0, 0x7f4b28002430
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280019f0, 0x7f4b28002430
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280019f0, 0x561717aea290
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280019f0, 0x7f4b28002430
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280019f0, 0x7f4b28001c00
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001c00, 0x7f4b28002430
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001c00, 0x7f4b28002430
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001c00, 0x7f4b28002430
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001c00, 0x7f4b280098e0
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280098e0, 0x7f4b28001c00
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28001c00
[2022-05-09T12:25:49Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/d1a9248b-3102-4d84-9b49-9f97cdcf4bc4", content_type: Some("application/json"), user_properties: {"application": "d1a9248b-3102-4d84-9b49-9f97cdcf4bc4", "applicationuid": "5fbdff73-912c-4e11-8029-890b2ee64d38", "sender": "gateway1", "deviceuid": "6a8577ba-fc29-4403-bb5c-3ce47a85b62e", "subject": "connection", "device": "gateway1", "specversion": "1.0", "id": "3b87b6a5-6405-4e7c-bb2d-d07820ae3841", "senderuid": "6a8577ba-fc29-4403-bb5c-3ce47a85b62e", "instance": "drogue", "partitionkey": "d1a9248b%2D3102%2D4d84%2D9b49%2D9f97cdcf4bc4/gateway1", "time": "2022-05-09T12:25:48.831257526+00:00", "type": "io.drogue.connection.v1", "source": "drogue://d1a9248b%2D3102%2D4d84%2D9b49%2D9f97cdcf4bc4/gateway1"}, payload: "{\"connected\":true}" }
[2022-05-09T12:25:49Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717aa8720 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717aa8720 } } } }
[2022-05-09T12:25:49Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:25:49Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x7f4b180183d0 } }, data: MessageData { topic: "app/d1a9248b-3102-4d84-9b49-9f97cdcf4bc4", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x7f4b180183d0 } } } }
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001b90, 0x7f4b280096c0
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280096c0, 0x7f4b1800c6e0
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280096c0, 0x7f4b28002340
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002340, 0x7f4b1800c7e0
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002340, 0x7f4b28007850
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28007850, 0x7f4b1800c6e0
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28007850, 0x7f4b1800c6e0
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28007850, 0x7f4b1800c6e0
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28007850, 0x7f4b28009900
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28009900, 0x7f4b180332b0
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28009900, 0x7f4b28001c20
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001c20, 0x7f4b28009900
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28009900, 0x7f4b1800c6e0
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28009900, 0x7f4b1800c6e0
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28007640
[2022-05-09T12:25:49Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/d1a9248b-3102-4d84-9b49-9f97cdcf4bc4", content_type: Some("application/octet-stream"), user_properties: {"time": "2022-05-09T12:25:49.083387525+00:00", "specversion": "1.0", "source": "drogue://d1a9248b%2D3102%2D4d84%2D9b49%2D9f97cdcf4bc4/device1", "deviceuid": "95f09e0a-5625-42e7-a709-1b1176635f76", "partitionkey": "d1a9248b%2D3102%2D4d84%2D9b49%2D9f97cdcf4bc4/device1", "sender": "gateway1", "instance": "drogue", "senderuid": "6a8577ba-fc29-4403-bb5c-3ce47a85b62e", "application": "d1a9248b-3102-4d84-9b49-9f97cdcf4bc4", "id": "8edec835-8213-459b-b2c4-205206340bb7", "device": "device1", "type": "io.drogue.event.v1", "subject": "telemetry", "applicationuid": "5fbdff73-912c-4e11-8029-890b2ee64d38"}, payload: "" }
[2022-05-09T12:25:49Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 19, payload: 0x7f4b18002ef0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x7f4b18018a30 } }, data: MessageData { topic: "app/d1a9248b-3102-4d84-9b49-9f97cdcf4bc4", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x7f4b18018a30 } } } }
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280019f0, 0x7f4b280096c0
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280096c0, 0x7f4b1801d780
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280096c0, 0x7f4b28002340
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002340, 0x7f4b18001010
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002340, 0x7f4b28008330
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28008330, 0x7f4b1801d780
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28008330, 0x7f4b28001b90
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001b90, 0x7f4b28008330
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28008330, 0x7f4b180062e0
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28008330, 0x7f4b1801d780
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28008330, 0x7f4b1801d780
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28008330, 0x7f4b280095c0
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280095c0, 0x7f4b1801d780
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280095c0, 0x7f4b1801d780
[2022-05-09T12:25:49Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b280095c0
[2022-05-09T12:25:49Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/d1a9248b-3102-4d84-9b49-9f97cdcf4bc4", content_type: Some("application/json"), user_properties: {"applicationuid": "5fbdff73-912c-4e11-8029-890b2ee64d38", "subject": "connection", "application": "d1a9248b-3102-4d84-9b49-9f97cdcf4bc4", "specversion": "1.0", "instance": "drogue", "device": "gateway1", "source": "drogue://d1a9248b%2D3102%2D4d84%2D9b49%2D9f97cdcf4bc4/gateway1", "time": "2022-05-09T12:25:49.371076692+00:00", "partitionkey": "d1a9248b%2D3102%2D4d84%2D9b49%2D9f97cdcf4bc4/gateway1", "sender": "gateway1", "senderuid": "6a8577ba-fc29-4403-bb5c-3ce47a85b62e", "deviceuid": "6a8577ba-fc29-4403-bb5c-3ce47a85b62e", "type": "io.drogue.connection.v1", "id": "97c5c40d-55f2-41a8-9719-0ace96e6e735"}, payload: "{\"connected\":false}" }
[2022-05-09T12:25:49Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:25:49Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:25:49Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:25:49Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "d1a9248b-3102-4d84-9b49-9f97cdcf4bc4", device: "device1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "d1a9248b-3102-4d84-9b49-9f97cdcf4bc4", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:25:49Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:25:49Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "d1a9248b-3102-4d84-9b49-9f97cdcf4bc4" "device1"
[2022-05-09T12:25:49Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:25:49Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:25:49Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "d1a9248b-3102-4d84-9b49-9f97cdcf4bc4" "gateway1"
[2022-05-09T12:25:49Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:25:49Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'd1a9248b-3102-4d84-9b49-9f97cdcf4bc4'
[2022-05-09T12:25:49Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "d1a9248b-3102-4d84-9b49-9f97cdcf4bc4"
[2022-05-09T12:25:49Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App d1a9248b-3102-4d84-9b49-9f97cdcf4bc4 deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_2::integration_version_3::integration_ws_2

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T12:25:51Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:25:51Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:25:51Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:25:51Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:25:51Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:25:52Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:25:54Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:25:54Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:25:54Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:25:54Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:25:56Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA5NTYsImlhdCI6MTY1MjA5OTE1NiwianRpIjoiOTllYjM4OGMtOGM5NS00MmZiLWJlNmMtMTQ1ZDc4YjBmZTlkIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjlzUTBJR3NmN1M1Z1I4RXh0WHJiSUEiLCJzZXNzaW9uX3N0YXRlIjoiNjY5ZGZkZjctZGNmZS00YjQ3LWEyNDUtZmEzYjFkOWJhOGVmIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjY2OWRmZGY3LWRjZmUtNGI0Ny1hMjQ1LWZhM2IxZDliYThlZiJ9.XglLpiR1D9f0S2toq4XC9quua8xjm0Or3rpZIrlSgWs
[2022-05-09T12:25:56Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:25:56Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:25:56Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA5NTYsImlhdCI6MTY1MjA5OTE1NiwianRpIjoiOTllYjM4OGMtOGM5NS00MmZiLWJlNmMtMTQ1ZDc4YjBmZTlkIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjlzUTBJR3NmN1M1Z1I4RXh0WHJiSUEiLCJzZXNzaW9uX3N0YXRlIjoiNjY5ZGZkZjctZGNmZS00YjQ3LWEyNDUtZmEzYjFkOWJhOGVmIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjY2OWRmZGY3LWRjZmUtNGI0Ny1hMjQ1LWZhM2IxZDliYThlZiJ9.XglLpiR1D9f0S2toq4XC9quua8xjm0Or3rpZIrlSgWs" "--context" "system-tests"
[2022-05-09T12:25:56Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:25:57Z INFO  drogue_cloud_tests::resources::apps] Create application: 4781f9e6-8235-4440-9f31-45f6736bef21
[2022-05-09T12:25:57Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "4781f9e6-8235-4440-9f31-45f6736bef21"
[2022-05-09T12:25:57Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 4781f9e6-8235-4440-9f31-45f6736bef21 created.\n", stderr: "" })
[2022-05-09T12:25:57Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "4781f9e6-8235-4440-9f31-45f6736bef21"
[2022-05-09T12:25:57Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:25:57.019793Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"4781f9e6-8235-4440-9f31-45f6736bef21\",\n    \"resourceVersion\": \"4ec76084-78cb-4113-9ab9-70fede729e4a\",\n    \"uid\": \"47bb7d9f-dc8e-420f-b3b2-1dc8b1a30089\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:25:57.034360513Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:25:57.034241991Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:57.034082953Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:57.034084656Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:57.034085617Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:57.034086870Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:57.034087390Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:57.034150309Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:25:57Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:25:57.019793Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("4781f9e6-8235-4440-9f31-45f6736bef21"), "resourceVersion": String("4ec76084-78cb-4113-9ab9-70fede729e4a"), "uid": String("47bb7d9f-dc8e-420f-b3b2-1dc8b1a30089")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:25:57.034360513Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:25:57.034241991Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:25:57.034082953Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:25:57.034084656Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:25:57.034085617Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:57.034086870Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:25:57.034087390Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:57.034150309Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T12:25:57Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:25:58Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "4781f9e6-8235-4440-9f31-45f6736bef21"
[2022-05-09T12:25:58Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:25:57.019793Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"4781f9e6-8235-4440-9f31-45f6736bef21\",\n    \"resourceVersion\": \"f23d5520-3945-42e0-9339-2ae2e663aa27\",\n    \"uid\": \"47bb7d9f-dc8e-420f-b3b2-1dc8b1a30089\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:25:57.271772875Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:25:57.271737568Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:57.058026661Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:57.062608372Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:57.113781979Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:57.119156347Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:57.271692144Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:57.271709666Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"HhmaGfv2EoNs\",\n        \"username\": \"user-4781f9e6-8235-4440-9f31-45f6736bef21\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:25:58Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:25:57.019793Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("4781f9e6-8235-4440-9f31-45f6736bef21"), "resourceVersion": String("f23d5520-3945-42e0-9339-2ae2e663aa27"), "uid": String("47bb7d9f-dc8e-420f-b3b2-1dc8b1a30089")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:25:57.271772875Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:25:57.271737568Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:25:57.058026661Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:25:57.062608372Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:25:57.113781979Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:57.119156347Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:25:57.271692144Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:57.271709666Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("HhmaGfv2EoNs"), "username": String("user-4781f9e6-8235-4440-9f31-45f6736bef21")})})})})
[2022-05-09T12:25:58Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:25:58Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "4781f9e6-8235-4440-9f31-45f6736bef21"
[2022-05-09T12:25:58Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:25:57.019793Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"4781f9e6-8235-4440-9f31-45f6736bef21\",\n    \"resourceVersion\": \"f23d5520-3945-42e0-9339-2ae2e663aa27\",\n    \"uid\": \"47bb7d9f-dc8e-420f-b3b2-1dc8b1a30089\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:25:57.271772875Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:25:57.271737568Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:57.058026661Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:57.062608372Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:57.113781979Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:57.119156347Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:57.271692144Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:25:57.271709666Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"HhmaGfv2EoNs\",\n        \"username\": \"user-4781f9e6-8235-4440-9f31-45f6736bef21\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:25:58Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:25:57.019793Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("4781f9e6-8235-4440-9f31-45f6736bef21"), "resourceVersion": String("f23d5520-3945-42e0-9339-2ae2e663aa27"), "uid": String("47bb7d9f-dc8e-420f-b3b2-1dc8b1a30089")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:25:57.271772875Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:25:57.271737568Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:25:57.058026661Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:25:57.062608372Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:25:57.113781979Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:57.119156347Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:25:57.271692144Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:25:57.271709666Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("HhmaGfv2EoNs"), "username": String("user-4781f9e6-8235-4440-9f31-45f6736bef21")})})})})
[2022-05-09T12:25:58Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:25:58Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:25:58Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "4781f9e6-8235-4440-9f31-45f6736bef21" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:25:58Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:25:58Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:25:58Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:25:58Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:25:58Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk0NTYsImlhdCI6MTY1MjA5OTE1NiwiYXV0aF90aW1lIjoxNjUyMDk5MTUzLCJqdGkiOiI2Mzg3Zjg2Zi01NTExLTQ3NTYtOThiZS1lODFlMmNjYmJkMDQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI5c1EwSUdzZjdTNWdSOEV4dFhyYklBIiwic2Vzc2lvbl9zdGF0ZSI6IjY2OWRmZGY3LWRjZmUtNGI0Ny1hMjQ1LWZhM2IxZDliYThlZiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjY2OWRmZGY3LWRjZmUtNGI0Ny1hMjQ1LWZhM2IxZDliYThlZiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.PXxEDAOu9YXrSWI1aA8a8R7r4XcEAgY7zsG7MR7MEPiKS1H9I_AiK693xNGWeul6jZEKMH4AWxCitJaZQ_Z3lzmEVwGyFzEIWRPjzLylhwCUKg5X99PhU6cZ4IzSDL4SjPDJSWokb2EoLKYzhRSTQEIMHrW8Fi_CDhDR0c0zvZU1ynLG9nlboZXk_Rp5hMvBbV_Alg0zo61Qg2fRkMRkSNuk2ZrJP1TfVfWwPxBJIFuFwExdtxi_HyZQCl083C_T4jCWWjnhSChZQuUAFeVdzD2h4rA-bM5vTY8Yyp-NbirYozkH2f9yGuyLBybjqBRhB3MsraYb129h13qNfrl4fg\n", stderr: "" })
[2022-05-09T12:25:58Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:25:58Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:25:58Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:25:58Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "4781f9e6-8235-4440-9f31-45f6736bef21" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:25:58Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:25:58Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T12:25:58Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:25:58Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk0NTYsImlhdCI6MTY1MjA5OTE1NiwiYXV0aF90aW1lIjoxNjUyMDk5MTUzLCJqdGkiOiI2Mzg3Zjg2Zi01NTExLTQ3NTYtOThiZS1lODFlMmNjYmJkMDQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI5c1EwSUdzZjdTNWdSOEV4dFhyYklBIiwic2Vzc2lvbl9zdGF0ZSI6IjY2OWRmZGY3LWRjZmUtNGI0Ny1hMjQ1LWZhM2IxZDliYThlZiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjY2OWRmZGY3LWRjZmUtNGI0Ny1hMjQ1LWZhM2IxZDliYThlZiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.PXxEDAOu9YXrSWI1aA8a8R7r4XcEAgY7zsG7MR7MEPiKS1H9I_AiK693xNGWeul6jZEKMH4AWxCitJaZQ_Z3lzmEVwGyFzEIWRPjzLylhwCUKg5X99PhU6cZ4IzSDL4SjPDJSWokb2EoLKYzhRSTQEIMHrW8Fi_CDhDR0c0zvZU1ynLG9nlboZXk_Rp5hMvBbV_Alg0zo61Qg2fRkMRkSNuk2ZrJP1TfVfWwPxBJIFuFwExdtxi_HyZQCl083C_T4jCWWjnhSChZQuUAFeVdzD2h4rA-bM5vTY8Yyp-NbirYozkH2f9yGuyLBybjqBRhB3MsraYb129h13qNfrl4fg\n", stderr: "" })
[2022-05-09T12:25:58Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "2d5e9f9a-2ded-43da-8d65-995bd5c233f7", persistence: None, user_data: None }
[2022-05-09T12:25:58Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:25:58Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717880d50
[2022-05-09T12:25:58Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717880d50
[2022-05-09T12:25:58Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717880000, connectTimeout: 30, retryInterval: 0, ssl: 0x561717881140, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717a0b1f0, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk0NTYsImlhdCI6MTY1MjA5OTE1NiwiYXV0aF90aW1lIjoxNjUyMDk5MTUzLCJqdGkiOiI2Mzg3Zjg2Zi01NTExLTQ3NTYtOThiZS1lODFlMmNjYmJkMDQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI5c1EwSUdzZjdTNWdSOEV4dFhyYklBIiwic2Vzc2lvbl9zdGF0ZSI6IjY2OWRmZGY3LWRjZmUtNGI0Ny1hMjQ1LWZhM2IxZDliYThlZiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjY2OWRmZGY3LWRjZmUtNGI0Ny1hMjQ1LWZhM2IxZDliYThlZiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.PXxEDAOu9YXrSWI1aA8a8R7r4XcEAgY7zsG7MR7MEPiKS1H9I_AiK693xNGWeul6jZEKMH4AWxCitJaZQ_Z3lzmEVwGyFzEIWRPjzLylhwCUKg5X99PhU6cZ4IzSDL4SjPDJSWokb2EoLKYzhRSTQEIMHrW8Fi_CDhDR0c0zvZU1ynLG9nlboZXk_Rp5hMvBbV_Alg0zo61Qg2fRkMRkSNuk2ZrJP1TfVfWwPxBJIFuFwExdtxi_HyZQCl083C_T4jCWWjnhSChZQuUAFeVdzD2h4rA-bM5vTY8Yyp-NbirYozkH2f9yGuyLBybjqBRhB3MsraYb129h13qNfrl4fg"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:25:58Z DEBUG paho_mqtt::async_client] Subscribe to '"app/4781f9e6-8235-4440-9f31-45f6736bef21"' @ QOS 0
[2022-05-09T12:25:58Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:25:58Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:25:58Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:25:58Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:25:58Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:25:58Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:25:59Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:25:59Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:25:59Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:25:59Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:26:00Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:26:00Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:26:00Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:26:00Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:26:01Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:26:01Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:26:01Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:26:01Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:26:01Z 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: 0x7f4b1c016410, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x561717c6eb50 } }, data: MessageData { topic: "app/4781f9e6-8235-4440-9f31-45f6736bef21", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x561717c6eb50 } } } }
[2022-05-09T12:26:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717b427a0, 0x561717c6e6b0
[2022-05-09T12:26:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717c6e6b0, 0x561717848600
[2022-05-09T12:26:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717c6e6b0, 0x561717ab8960
[2022-05-09T12:26:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717ab8960, 0x561717b6ca80
[2022-05-09T12:26:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717ab8960, 0x7f4b28001cd0
[2022-05-09T12:26:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001cd0, 0x561717848600
[2022-05-09T12:26:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001cd0, 0x561717b629f0
[2022-05-09T12:26:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001cd0, 0x561717848600
[2022-05-09T12:26:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001cd0, 0x7f4b28005a70
[2022-05-09T12:26:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005a70, 0x561717848600
[2022-05-09T12:26:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005a70, 0x7f4b280059c0
[2022-05-09T12:26:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280059c0, 0x7f4b28005a70
[2022-05-09T12:26:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005a70, 0x561717848600
[2022-05-09T12:26:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005a70, 0x561717848600
[2022-05-09T12:26:01Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28005a70
[2022-05-09T12:26:01Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/4781f9e6-8235-4440-9f31-45f6736bef21", content_type: Some("application/json"), user_properties: {"partitionkey": "4781f9e6%2D8235%2D4440%2D9f31%2D45f6736bef21/device1", "source": "drogue://4781f9e6%2D8235%2D4440%2D9f31%2D45f6736bef21/device1", "application": "4781f9e6-8235-4440-9f31-45f6736bef21", "specversion": "1.0", "instance": "drogue", "sender": "gateway1", "device": "device1", "deviceuid": "829bbb52-226b-47f1-91ce-45b710e52d23", "senderuid": "3a37e9bd-d214-4218-a3bb-e62e9a8daa6b", "applicationuid": "47bb7d9f-dc8e-420f-b3b2-1dc8b1a30089", "id": "769bd310-3a43-4a8d-9a58-7e746acd5473", "subject": "warmup", "type": "io.drogue.event.v1", "time": "2022-05-09T12:26:01.724949505+00:00"}, payload: "{\"index\":3}" }
[2022-05-09T12:26:02Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:26:02Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:26:02Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:26:02Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:26:02Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "80407f1c-f8d4-420a-b7fc-6467b6b598a0", persistence: None, user_data: None }
[2022-05-09T12:26:02Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:26:02Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717a3a150
[2022-05-09T12:26:02Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717a3a150
[2022-05-09T12:26:02Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717cfc600, password: 0x56171787fc10, connectTimeout: 30, retryInterval: 0, ssl: 0x561717b64900, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717cfb850, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@4781f9e6-8235-4440-9f31-45f6736bef21"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:26:03Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717cc53f0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717cc53f0 } } } }
[2022-05-09T12:26:03Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:26:03Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 18, payload: 0x7f4b1c00a5f0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717d04220 } }, data: MessageData { topic: "app/4781f9e6-8235-4440-9f31-45f6736bef21", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717d04220 } } } }
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280059a0, 0x561717844ca0
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717844ca0, 0x7f4b1c0167c0
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717844ca0, 0x7f4b28004420
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004420, 0x7f4b1c016840
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004420, 0x7f4b28005a70
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005a70, 0x7f4b1c0167c0
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005a70, 0x7f4b1c0167c0
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005a70, 0x7f4b1c01c270
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005a70, 0x7f4b1c0167c0
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005a70, 0x7f4b28001cf0
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001cf0, 0x7f4b28005a70
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005a70, 0x7f4b1c0167c0
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005a70, 0x7f4b28002580
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002580, 0x7f4b1c0167c0
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28002580
[2022-05-09T12:26:03Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/4781f9e6-8235-4440-9f31-45f6736bef21", content_type: Some("application/json"), user_properties: {"application": "4781f9e6-8235-4440-9f31-45f6736bef21", "partitionkey": "4781f9e6%2D8235%2D4440%2D9f31%2D45f6736bef21/gateway1", "specversion": "1.0", "deviceuid": "3a37e9bd-d214-4218-a3bb-e62e9a8daa6b", "type": "io.drogue.connection.v1", "source": "drogue://4781f9e6%2D8235%2D4440%2D9f31%2D45f6736bef21/gateway1", "device": "gateway1", "senderuid": "3a37e9bd-d214-4218-a3bb-e62e9a8daa6b", "sender": "gateway1", "id": "fd82ea8e-4acc-4f9b-8304-38fa0559d3a8", "instance": "drogue", "time": "2022-05-09T12:26:02.930014850+00:00", "applicationuid": "47bb7d9f-dc8e-420f-b3b2-1dc8b1a30089", "subject": "connection"}, payload: "{\"connected\":true}" }
[2022-05-09T12:26:03Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 19, payload: 0x7f4b1c00a580, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717897890 } }, data: MessageData { topic: "app/4781f9e6-8235-4440-9f31-45f6736bef21", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717897890 } } } }
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005a70, 0x561717c6e6b0
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717c6e6b0, 0x7f4b28004440
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717c6e6b0, 0x7f4b28000ff0
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000ff0, 0x7f4b1c02f220
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000ff0, 0x7f4b280059c0
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280059c0, 0x7f4b28004440
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280059c0, 0x7f4b28004440
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280059c0, 0x7f4b28002560
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002560, 0x7f4b280059c0
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280059c0, 0x7f4b28004440
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280059c0, 0x7f4b28004440
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280059c0, 0x7f4b28005f80
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005f80, 0x7f4b28004440
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005f80, 0x7f4b1c02fc40
[2022-05-09T12:26:03Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28005f80
[2022-05-09T12:26:03Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/4781f9e6-8235-4440-9f31-45f6736bef21", content_type: Some("application/json"), user_properties: {"time": "2022-05-09T12:26:03.380795205+00:00", "application": "4781f9e6-8235-4440-9f31-45f6736bef21", "specversion": "1.0", "deviceuid": "3a37e9bd-d214-4218-a3bb-e62e9a8daa6b", "sender": "gateway1", "applicationuid": "47bb7d9f-dc8e-420f-b3b2-1dc8b1a30089", "partitionkey": "4781f9e6%2D8235%2D4440%2D9f31%2D45f6736bef21/gateway1", "id": "6e3b8a06-70be-48b1-be3c-637e716177b8", "subject": "connection", "device": "gateway1", "instance": "drogue", "type": "io.drogue.connection.v1", "source": "drogue://4781f9e6%2D8235%2D4440%2D9f31%2D45f6736bef21/gateway1", "senderuid": "3a37e9bd-d214-4218-a3bb-e62e9a8daa6b"}, payload: "{\"connected\":false}" }
[2022-05-09T12:26:04Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x561717cfb260 } }, data: MessageData { topic: "app/4781f9e6-8235-4440-9f31-45f6736bef21", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x561717cfb260 } } } }
[2022-05-09T12:26:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002560, 0x7f4b28001cd0
[2022-05-09T12:26:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001cd0, 0x7f4b1c01c930
[2022-05-09T12:26:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001cd0, 0x7f4b28000ff0
[2022-05-09T12:26:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000ff0, 0x7f4b1c009eb0
[2022-05-09T12:26:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000ff0, 0x7f4b280059e0
[2022-05-09T12:26:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280059e0, 0x7f4b1c01c930
[2022-05-09T12:26:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280059e0, 0x7f4b1c01c930
[2022-05-09T12:26:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280059e0, 0x7f4b1c01c930
[2022-05-09T12:26:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280059e0, 0x7f4b28001cf0
[2022-05-09T12:26:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001cf0, 0x7f4b280059e0
[2022-05-09T12:26:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280059e0, 0x7f4b1c01c930
[2022-05-09T12:26:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280059e0, 0x7f4b28001510
[2022-05-09T12:26:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001510, 0x7f4b1c0052c0
[2022-05-09T12:26:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001510, 0x7f4b1c01c930
[2022-05-09T12:26:04Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28003140
[2022-05-09T12:26:04Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/4781f9e6-8235-4440-9f31-45f6736bef21", content_type: Some("application/octet-stream"), user_properties: {"partitionkey": "4781f9e6%2D8235%2D4440%2D9f31%2D45f6736bef21/device1", "applicationuid": "47bb7d9f-dc8e-420f-b3b2-1dc8b1a30089", "time": "2022-05-09T12:26:03.379923170+00:00", "device": "device1", "specversion": "1.0", "source": "drogue://4781f9e6%2D8235%2D4440%2D9f31%2D45f6736bef21/device1", "type": "io.drogue.event.v1", "subject": "telemetry", "application": "4781f9e6-8235-4440-9f31-45f6736bef21", "id": "897922d6-f6f1-415d-b0aa-dcc627e2682c", "instance": "drogue", "deviceuid": "829bbb52-226b-47f1-91ce-45b710e52d23", "senderuid": "3a37e9bd-d214-4218-a3bb-e62e9a8daa6b", "sender": "gateway1"}, payload: "" }
[2022-05-09T12:26:04Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:26:04Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:26:04Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:26:04Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "4781f9e6-8235-4440-9f31-45f6736bef21", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "4781f9e6-8235-4440-9f31-45f6736bef21", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:26:04Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:26:04Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "4781f9e6-8235-4440-9f31-45f6736bef21" "device1"
[2022-05-09T12:26:04Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:26:04Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:26:04Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "4781f9e6-8235-4440-9f31-45f6736bef21" "gateway1"
[2022-05-09T12:26:04Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:26:04Z INFO  drogue_cloud_tests::resources::apps] Destroy application '4781f9e6-8235-4440-9f31-45f6736bef21'
[2022-05-09T12:26:04Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "4781f9e6-8235-4440-9f31-45f6736bef21"
[2022-05-09T12:26:04Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 4781f9e6-8235-4440-9f31-45f6736bef21 deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_1::integration_version_1::integration_ws_1

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T12:26:06Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:26:06Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:26:06Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:26:06Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:26:06Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:26:07Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:26:09Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:26:09Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:26:09Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:26:09Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:26:11Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA5NzEsImlhdCI6MTY1MjA5OTE3MSwianRpIjoiOWRhMTRlYzMtMWJkMS00MzJlLTkzYzQtNjVjMzdhNjYyOWNiIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjhwQjF2dW1IZkt4YjctTHQ1VWVzZGciLCJzZXNzaW9uX3N0YXRlIjoiYWFmODhhNjUtZjU4Ni00N2RiLWIxZDMtNjc5NjNkYzYwOGM4Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImFhZjg4YTY1LWY1ODYtNDdkYi1iMWQzLTY3OTYzZGM2MDhjOCJ9.5QenaTu3USpXmhAiqoLdPKWDjvN7CzA6Y9GpTPOb9sc
[2022-05-09T12:26:11Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:26:11Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:26:11Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA5NzEsImlhdCI6MTY1MjA5OTE3MSwianRpIjoiOWRhMTRlYzMtMWJkMS00MzJlLTkzYzQtNjVjMzdhNjYyOWNiIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjhwQjF2dW1IZkt4YjctTHQ1VWVzZGciLCJzZXNzaW9uX3N0YXRlIjoiYWFmODhhNjUtZjU4Ni00N2RiLWIxZDMtNjc5NjNkYzYwOGM4Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImFhZjg4YTY1LWY1ODYtNDdkYi1iMWQzLTY3OTYzZGM2MDhjOCJ9.5QenaTu3USpXmhAiqoLdPKWDjvN7CzA6Y9GpTPOb9sc" "--context" "system-tests"
[2022-05-09T12:26:11Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:26:11Z INFO  drogue_cloud_tests::resources::apps] Create application: c5c99e00-99c2-440b-b366-f96052c2b064
[2022-05-09T12:26:11Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "c5c99e00-99c2-440b-b366-f96052c2b064"
[2022-05-09T12:26:11Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App c5c99e00-99c2-440b-b366-f96052c2b064 created.\n", stderr: "" })
[2022-05-09T12:26:11Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "c5c99e00-99c2-440b-b366-f96052c2b064"
[2022-05-09T12:26:11Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:26:11.828208Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"c5c99e00-99c2-440b-b366-f96052c2b064\",\n    \"resourceVersion\": \"ebecfca4-c489-4a56-bf8f-ff0addd78905\",\n    \"uid\": \"1ed8521f-1e86-4df5-9302-6965a4500169\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:26:11.849670879Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:26:11.849650080Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:11.849618911Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:11.849620014Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:11.849620564Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:11.849621356Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:11.849621847Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:11.849627317Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:26:11Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:26:11.828208Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("c5c99e00-99c2-440b-b366-f96052c2b064"), "resourceVersion": String("ebecfca4-c489-4a56-bf8f-ff0addd78905"), "uid": String("1ed8521f-1e86-4df5-9302-6965a4500169")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:26:11.849670879Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:26:11.849650080Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:26:11.849618911Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:26:11.849620014Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:26:11.849620564Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:26:11.849621356Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:26:11.849621847Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:26:11.849627317Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T12:26:11Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:26:12Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "c5c99e00-99c2-440b-b366-f96052c2b064"
[2022-05-09T12:26:12Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:26:11.828208Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"c5c99e00-99c2-440b-b366-f96052c2b064\",\n    \"resourceVersion\": \"8c4a29f7-d247-4c3b-957c-20f8470972ac\",\n    \"uid\": \"1ed8521f-1e86-4df5-9302-6965a4500169\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:26:12.127796944Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:26:12.127758652Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:11.873939376Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:11.880985217Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:11.950580318Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:11.957184692Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:12.127655198Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:12.127673783Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"qBDCbiBC5O2Y\",\n        \"username\": \"user-c5c99e00-99c2-440b-b366-f96052c2b064\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:26:12Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:26:11.828208Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("c5c99e00-99c2-440b-b366-f96052c2b064"), "resourceVersion": String("8c4a29f7-d247-4c3b-957c-20f8470972ac"), "uid": String("1ed8521f-1e86-4df5-9302-6965a4500169")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:26:12.127796944Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:26:12.127758652Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:26:11.873939376Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:26:11.880985217Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:26:11.950580318Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:26:11.957184692Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:26:12.127655198Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:26:12.127673783Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("qBDCbiBC5O2Y"), "username": String("user-c5c99e00-99c2-440b-b366-f96052c2b064")})})})})
[2022-05-09T12:26:12Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:26:12Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "c5c99e00-99c2-440b-b366-f96052c2b064"
[2022-05-09T12:26:12Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:26:11.828208Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"c5c99e00-99c2-440b-b366-f96052c2b064\",\n    \"resourceVersion\": \"8c4a29f7-d247-4c3b-957c-20f8470972ac\",\n    \"uid\": \"1ed8521f-1e86-4df5-9302-6965a4500169\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:26:12.127796944Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:26:12.127758652Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:11.873939376Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:11.880985217Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:11.950580318Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:11.957184692Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:12.127655198Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:12.127673783Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"qBDCbiBC5O2Y\",\n        \"username\": \"user-c5c99e00-99c2-440b-b366-f96052c2b064\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:26:12Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:26:11.828208Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("c5c99e00-99c2-440b-b366-f96052c2b064"), "resourceVersion": String("8c4a29f7-d247-4c3b-957c-20f8470972ac"), "uid": String("1ed8521f-1e86-4df5-9302-6965a4500169")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:26:12.127796944Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:26:12.127758652Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:26:11.873939376Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:26:11.880985217Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:26:11.950580318Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:26:11.957184692Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:26:12.127655198Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:26:12.127673783Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("qBDCbiBC5O2Y"), "username": String("user-c5c99e00-99c2-440b-b366-f96052c2b064")})})})})
[2022-05-09T12:26:12Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:26:12Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:26:12Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "c5c99e00-99c2-440b-b366-f96052c2b064" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:26:12Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:26:12Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:26:12Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:26:12Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:26:12Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk0NzEsImlhdCI6MTY1MjA5OTE3MSwiYXV0aF90aW1lIjoxNjUyMDk5MTY4LCJqdGkiOiI0ZDY4ZTRiZC1mMGNjLTQxNWQtODdhMC0yNzJiNmRmYTYyN2EiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI4cEIxdnVtSGZLeGI3LUx0NVVlc2RnIiwic2Vzc2lvbl9zdGF0ZSI6ImFhZjg4YTY1LWY1ODYtNDdkYi1iMWQzLTY3OTYzZGM2MDhjOCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImFhZjg4YTY1LWY1ODYtNDdkYi1iMWQzLTY3OTYzZGM2MDhjOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.JgPTEeA5sbeGBk-Rl1ET-ohfnftnZXLIUq4iFA-XIUxD59zszH5H2rXfGispznfrZbYUC4JJnTsNTgBnRct9SSPxsxt8ZUcLYmgFA1gQvm26tV-nezL7kAENTbBnVEUjBRmdYsKrtBfRSqWsPglTui9jvPZLblfWMSi1QDJomZ0z10EiH8BMEwLD7kL1Lq5K-ociTm0rckPWosAGPiUsBu47BB_ozjVUA4Ct8Hv1PLcdlz521nuvzM5Y0w-1BNkhjsxw65GikC2wXgtWAWoZjaH8trXuY3v0-x67jo1FMKHL7hbWZL_eGrJ2o6sklugK5RTIeTASl9uQ4bUv2uCQEg\n", stderr: "" })
[2022-05-09T12:26:12Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:26:12Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:26:12Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:26:12Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "c5c99e00-99c2-440b-b366-f96052c2b064" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:26:12Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:26:12Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T12:26:12Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:26:12Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk0NzEsImlhdCI6MTY1MjA5OTE3MSwiYXV0aF90aW1lIjoxNjUyMDk5MTY4LCJqdGkiOiI0ZDY4ZTRiZC1mMGNjLTQxNWQtODdhMC0yNzJiNmRmYTYyN2EiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI4cEIxdnVtSGZLeGI3LUx0NVVlc2RnIiwic2Vzc2lvbl9zdGF0ZSI6ImFhZjg4YTY1LWY1ODYtNDdkYi1iMWQzLTY3OTYzZGM2MDhjOCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImFhZjg4YTY1LWY1ODYtNDdkYi1iMWQzLTY3OTYzZGM2MDhjOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.JgPTEeA5sbeGBk-Rl1ET-ohfnftnZXLIUq4iFA-XIUxD59zszH5H2rXfGispznfrZbYUC4JJnTsNTgBnRct9SSPxsxt8ZUcLYmgFA1gQvm26tV-nezL7kAENTbBnVEUjBRmdYsKrtBfRSqWsPglTui9jvPZLblfWMSi1QDJomZ0z10EiH8BMEwLD7kL1Lq5K-ociTm0rckPWosAGPiUsBu47BB_ozjVUA4Ct8Hv1PLcdlz521nuvzM5Y0w-1BNkhjsxw65GikC2wXgtWAWoZjaH8trXuY3v0-x67jo1FMKHL7hbWZL_eGrJ2o6sklugK5RTIeTASl9uQ4bUv2uCQEg\n", stderr: "" })
[2022-05-09T12:26:12Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "849df8ae-e0ad-42ee-babc-9fcfcb6ee17b", persistence: None, user_data: None }
[2022-05-09T12:26:12Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:26:12Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x5617179eea50
[2022-05-09T12:26:12Z DEBUG paho_mqtt::async_client] Connecting handle: 0x5617179eea50
[2022-05-09T12:26:12Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x5617179eed90, connectTimeout: 30, retryInterval: 0, ssl: 0x5617179ce4e0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x5617179ee920, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk0NzEsImlhdCI6MTY1MjA5OTE3MSwiYXV0aF90aW1lIjoxNjUyMDk5MTY4LCJqdGkiOiI0ZDY4ZTRiZC1mMGNjLTQxNWQtODdhMC0yNzJiNmRmYTYyN2EiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI4cEIxdnVtSGZLeGI3LUx0NVVlc2RnIiwic2Vzc2lvbl9zdGF0ZSI6ImFhZjg4YTY1LWY1ODYtNDdkYi1iMWQzLTY3OTYzZGM2MDhjOCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImFhZjg4YTY1LWY1ODYtNDdkYi1iMWQzLTY3OTYzZGM2MDhjOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.JgPTEeA5sbeGBk-Rl1ET-ohfnftnZXLIUq4iFA-XIUxD59zszH5H2rXfGispznfrZbYUC4JJnTsNTgBnRct9SSPxsxt8ZUcLYmgFA1gQvm26tV-nezL7kAENTbBnVEUjBRmdYsKrtBfRSqWsPglTui9jvPZLblfWMSi1QDJomZ0z10EiH8BMEwLD7kL1Lq5K-ociTm0rckPWosAGPiUsBu47BB_ozjVUA4Ct8Hv1PLcdlz521nuvzM5Y0w-1BNkhjsxw65GikC2wXgtWAWoZjaH8trXuY3v0-x67jo1FMKHL7hbWZL_eGrJ2o6sklugK5RTIeTASl9uQ4bUv2uCQEg"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:26:13Z DEBUG paho_mqtt::async_client] Subscribe to '"app/c5c99e00-99c2-440b-b366-f96052c2b064"' @ QOS 0
[2022-05-09T12:26:13Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:26:13Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:26:13Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:26:13Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:26:13Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:26:13Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:26:14Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:26:14Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:26:14Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:26:14Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:26:15Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:26:15Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:26:15Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:26:15Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:26:16Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:26:16Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:26:16Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:26:16Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:26:16Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 621, payload: 0x7f4b1c0046b0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/c5c99e00-99c2-440b-b366-f96052c2b064", 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, 55, 102, 48, 55, 56, 51, 99, 102, 45, 101, 102, 51, 57, 45, 52, 54, 99, 57, 45, 57, 54, 98, 98, 45, 100, 101, 100, 48, 101, 56, 49, 53, 99, 56, 50, 57, 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, 53, 99, 57, 57, 101, 48, 48, 37, 50, 68, 57, 57, 99, 50, 37, 50, 68, 52, 52, 48, 98, 37, 50, 68, 98, 51, 54, 54, 37, 50, 68, 102, 57, 54, 48, 53, 50, 99, 50, 98, 48, 54, 52, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 54, 58, 49, 54, 46, 55, 53, 50, 52, 53, 49, 51, 54, 49, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 56, 101, 51, 99, 54, 53, 98, 52, 45, 99, 102, 53, 51, 45, 52, 98, 56, 101, 45, 57, 101, 99, 52, 45, 56, 57, 98, 98, 102, 54, 100, 50, 99, 49, 102, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 99, 53, 99, 57, 57, 101, 48, 48, 45, 57, 57, 99, 50, 45, 52, 52, 48, 98, 45, 98, 51, 54, 54, 45, 102, 57, 54, 48, 53, 50, 99, 50, 98, 48, 54, 52, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 49, 101, 100, 56, 53, 50, 49, 102, 45, 49, 101, 56, 54, 45, 52, 100, 102, 53, 45, 57, 51, 48, 50, 45, 54, 57, 54, 53, 97, 52, 53, 48, 48, 49, 54, 57, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 99, 53, 99, 57, 57, 101, 48, 48, 37, 50, 68, 57, 57, 99, 50, 37, 50, 68, 52, 52, 48, 98, 37, 50, 68, 98, 51, 54, 54, 37, 50, 68, 102, 57, 54, 48, 53, 50, 99, 50, 98, 48, 54, 52, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 101, 50, 102, 98, 97, 101, 55, 50, 45, 54, 100, 54, 100, 45, 52, 52, 50, 53, 45, 97, 49, 48, 52, 45, 56, 50, 51, 98, 54, 49, 99, 52, 54, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:26:16Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/c5c99e00-99c2-440b-b366-f96052c2b064", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"7f0783cf-ef39-46c9-96bb-ded0e815c829\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://c5c99e00%2D99c2%2D440b%2Db366%2Df96052c2b064/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:26:16.752451361Z\",\"data\":{\"index\":3},\"instance\":\"drogue\",\"senderuid\":\"8e3c65b4-cf53-4b8e-9ec4-89bbf6d2c1f1\",\"application\":\"c5c99e00-99c2-440b-b366-f96052c2b064\",\"applicationuid\":\"1ed8521f-1e86-4df5-9302-6965a4500169\",\"device\":\"device1\",\"partitionkey\":\"c5c99e00%2D99c2%2D440b%2Db366%2Df96052c2b064/device1\",\"deviceuid\":\"e2fbae72-6d6d-4425-a104-823b61c46ce1\",\"sender\":\"gateway1\"}" }
[2022-05-09T12:26:17Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:26:17Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:26:17Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:26:17Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:26:17Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "9c05ac65-82fa-4f87-b11f-2c568ccb6de3", persistence: None, user_data: None }
[2022-05-09T12:26:17Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:26:17Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x56171793f8d0
[2022-05-09T12:26:17Z DEBUG paho_mqtt::async_client] Connecting handle: 0x56171793f8d0
[2022-05-09T12:26:17Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717c6be10, password: 0x5617179a2c60, connectTimeout: 30, retryInterval: 0, ssl: 0x561717940660, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717c6bb00, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@c5c99e00-99c2-440b-b366-f96052c2b064"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:26:18Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x56171798b060 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x56171798b060 } } } }
[2022-05-09T12:26:18Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:26:18Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 640, payload: 0x7f4b1c02a860, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/c5c99e00-99c2-440b-b366-f96052c2b064", 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, 54, 51, 55, 49, 97, 48, 57, 53, 45, 97, 98, 50, 51, 45, 52, 99, 97, 51, 45, 57, 53, 49, 97, 45, 52, 51, 56, 50, 56, 53, 50, 57, 100, 55, 53, 49, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 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, 53, 99, 57, 57, 101, 48, 48, 37, 50, 68, 57, 57, 99, 50, 37, 50, 68, 52, 52, 48, 98, 37, 50, 68, 98, 51, 54, 54, 37, 50, 68, 102, 57, 54, 48, 53, 50, 99, 50, 98, 48, 54, 52, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 54, 58, 49, 55, 46, 56, 56, 49, 49, 49, 55, 49, 51, 54, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 49, 101, 100, 56, 53, 50, 49, 102, 45, 49, 101, 56, 54, 45, 52, 100, 102, 53, 45, 57, 51, 48, 50, 45, 54, 57, 54, 53, 97, 52, 53, 48, 48, 49, 54, 57, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 56, 101, 51, 99, 54, 53, 98, 52, 45, 99, 102, 53, 51, 45, 52, 98, 56, 101, 45, 57, 101, 99, 52, 45, 56, 57, 98, 98, 102, 54, 100, 50, 99, 49, 102, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 99, 53, 99, 57, 57, 101, 48, 48, 45, 57, 57, 99, 50, 45, 52, 52, 48, 98, 45, 98, 51, 54, 54, 45, 102, 57, 54, 48, 53, 50, 99, 50, 98, 48, 54, 52, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 99, 53, 99, 57, 57, 101, 48, 48, 37, 50, 68, 57, 57, 99, 50, 37, 50, 68, 52, 52, 48, 98, 37, 50, 68, 98, 51, 54, 54, 37, 50, 68, 102, 57, 54, 48, 53, 50, 99, 50, 98, 48, 54, 52, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 56, 101, 51, 99, 54, 53, 98, 52, 45, 99, 102, 53, 51, 45, 52, 98, 56, 101, 45, 57, 101, 99, 52, 45, 56, 57, 98, 98, 102, 54, 100, 50, 99, 49, 102, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:26:18Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/c5c99e00-99c2-440b-b366-f96052c2b064", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"6371a095-ab23-4ca3-951a-43828529d751\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://c5c99e00%2D99c2%2D440b%2Db366%2Df96052c2b064/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:26:17.881117136Z\",\"data\":{\"connected\":true},\"applicationuid\":\"1ed8521f-1e86-4df5-9302-6965a4500169\",\"deviceuid\":\"8e3c65b4-cf53-4b8e-9ec4-89bbf6d2c1f1\",\"sender\":\"gateway1\",\"instance\":\"drogue\",\"application\":\"c5c99e00-99c2-440b-b366-f96052c2b064\",\"device\":\"gateway1\",\"partitionkey\":\"c5c99e00%2D99c2%2D440b%2Db366%2Df96052c2b064/gateway1\",\"senderuid\":\"8e3c65b4-cf53-4b8e-9ec4-89bbf6d2c1f1\"}" }
[2022-05-09T12:26:18Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 641, payload: 0x7f4b1c01b850, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/c5c99e00-99c2-440b-b366-f96052c2b064", 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, 97, 97, 98, 49, 100, 54, 54, 57, 45, 52, 56, 54, 100, 45, 52, 101, 57, 56, 45, 57, 49, 102, 55, 45, 49, 54, 56, 57, 57, 55, 51, 52, 48, 49, 55, 50, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 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, 53, 99, 57, 57, 101, 48, 48, 37, 50, 68, 57, 57, 99, 50, 37, 50, 68, 52, 52, 48, 98, 37, 50, 68, 98, 51, 54, 54, 37, 50, 68, 102, 57, 54, 48, 53, 50, 99, 50, 98, 48, 54, 52, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 54, 58, 49, 56, 46, 51, 57, 55, 50, 49, 51, 51, 48, 57, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 49, 101, 100, 56, 53, 50, 49, 102, 45, 49, 101, 56, 54, 45, 52, 100, 102, 53, 45, 57, 51, 48, 50, 45, 54, 57, 54, 53, 97, 52, 53, 48, 48, 49, 54, 57, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 56, 101, 51, 99, 54, 53, 98, 52, 45, 99, 102, 53, 51, 45, 52, 98, 56, 101, 45, 57, 101, 99, 52, 45, 56, 57, 98, 98, 102, 54, 100, 50, 99, 49, 102, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 99, 53, 99, 57, 57, 101, 48, 48, 37, 50, 68, 57, 57, 99, 50, 37, 50, 68, 52, 52, 48, 98, 37, 50, 68, 98, 51, 54, 54, 37, 50, 68, 102, 57, 54, 48, 53, 50, 99, 50, 98, 48, 54, 52, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 56, 101, 51, 99, 54, 53, 98, 52, 45, 99, 102, 53, 51, 45, 52, 98, 56, 101, 45, 57, 101, 99, 52, 45, 56, 57, 98, 98, 102, 54, 100, 50, 99, 49, 102, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 99, 53, 99, 57, 57, 101, 48, 48, 45, 57, 57, 99, 50, 45, 52, 52, 48, 98, 45, 98, 51, 54, 54, 45, 102, 57, 54, 48, 53, 50, 99, 50, 98, 48, 54, 52, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:26:18Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/c5c99e00-99c2-440b-b366-f96052c2b064", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"aab1d669-486d-4e98-91f7-168997340172\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://c5c99e00%2D99c2%2D440b%2Db366%2Df96052c2b064/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:26:18.397213309Z\",\"data\":{\"connected\":false},\"applicationuid\":\"1ed8521f-1e86-4df5-9302-6965a4500169\",\"deviceuid\":\"8e3c65b4-cf53-4b8e-9ec4-89bbf6d2c1f1\",\"partitionkey\":\"c5c99e00%2D99c2%2D440b%2Db366%2Df96052c2b064/gateway1\",\"sender\":\"gateway1\",\"device\":\"gateway1\",\"senderuid\":\"8e3c65b4-cf53-4b8e-9ec4-89bbf6d2c1f1\",\"application\":\"c5c99e00-99c2-440b-b366-f96052c2b064\",\"instance\":\"drogue\"}" }
[2022-05-09T12:26:18Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 630, payload: 0x7f4b1c01bae0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/c5c99e00-99c2-440b-b366-f96052c2b064", 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, 99, 51, 101, 48, 55, 49, 101, 53, 45, 102, 53, 101, 50, 45, 52, 52, 55, 51, 45, 57, 101, 101, 52, 45, 57, 56, 51, 51, 97, 56, 53, 50, 50, 51, 55, 100, 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, 53, 99, 57, 57, 101, 48, 48, 37, 50, 68, 57, 57, 99, 50, 37, 50, 68, 52, 52, 48, 98, 37, 50, 68, 98, 51, 54, 54, 37, 50, 68, 102, 57, 54, 48, 53, 50, 99, 50, 98, 48, 54, 52, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 54, 58, 49, 56, 46, 51, 57, 55, 50, 48, 49, 55, 52, 55, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 99, 53, 99, 57, 57, 101, 48, 48, 45, 57, 57, 99, 50, 45, 52, 52, 48, 98, 45, 98, 51, 54, 54, 45, 102, 57, 54, 48, 53, 50, 99, 50, 98, 48, 54, 52, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 101, 50, 102, 98, 97, 101, 55, 50, 45, 54, 100, 54, 100, 45, 52, 52, 50, 53, 45, 97, 49, 48, 52, 45, 56, 50, 51, 98, 54, 49, 99, 52, 54, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 49, 101, 100, 56, 53, 50, 49, 102, 45, 49, 101, 56, 54, 45, 52, 100, 102, 53, 45, 57, 51, 48, 50, 45, 54, 57, 54, 53, 97, 52, 53, 48, 48, 49, 54, 57, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 99, 53, 99, 57, 57, 101, 48, 48, 37, 50, 68, 57, 57, 99, 50, 37, 50, 68, 52, 52, 48, 98, 37, 50, 68, 98, 51, 54, 54, 37, 50, 68, 102, 57, 54, 48, 53, 50, 99, 50, 98, 48, 54, 52, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 56, 101, 51, 99, 54, 53, 98, 52, 45, 99, 102, 53, 51, 45, 52, 98, 56, 101, 45, 57, 101, 99, 52, 45, 56, 57, 98, 98, 102, 54, 100, 50, 99, 49, 102, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:26:18Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/c5c99e00-99c2-440b-b366-f96052c2b064", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"c3e071e5-f5e2-4473-9ee4-9833a852237d\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://c5c99e00%2D99c2%2D440b%2Db366%2Df96052c2b064/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:26:18.397201747Z\",\"data_base64\":\"\",\"device\":\"device1\",\"instance\":\"drogue\",\"application\":\"c5c99e00-99c2-440b-b366-f96052c2b064\",\"sender\":\"gateway1\",\"deviceuid\":\"e2fbae72-6d6d-4425-a104-823b61c46ce1\",\"applicationuid\":\"1ed8521f-1e86-4df5-9302-6965a4500169\",\"partitionkey\":\"c5c99e00%2D99c2%2D440b%2Db366%2Df96052c2b064/device1\",\"senderuid\":\"8e3c65b4-cf53-4b8e-9ec4-89bbf6d2c1f1\"}" }
[2022-05-09T12:26:18Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:26:18Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:26:18Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:26:18Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "c5c99e00-99c2-440b-b366-f96052c2b064", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "c5c99e00-99c2-440b-b366-f96052c2b064", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:26:18Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:26:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "c5c99e00-99c2-440b-b366-f96052c2b064" "device1"
[2022-05-09T12:26:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:26:18Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:26:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "c5c99e00-99c2-440b-b366-f96052c2b064" "gateway1"
[2022-05-09T12:26:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:26:18Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'c5c99e00-99c2-440b-b366-f96052c2b064'
[2022-05-09T12:26:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "c5c99e00-99c2-440b-b366-f96052c2b064"
[2022-05-09T12:26:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App c5c99e00-99c2-440b-b366-f96052c2b064 deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_1::integration_version_1::integration_ws_2

Duration: 13s

Test output
-------------- TEST START --------------
[2022-05-09T12:26:20Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:26:20Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:26:20Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:26:20Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:26:20Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:26:22Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:26:23Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:26:23Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:26:23Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:26:23Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:26:25Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA5ODUsImlhdCI6MTY1MjA5OTE4NSwianRpIjoiMDI0N2UyN2EtNDNlYy00OGUxLWE2NjItYzRkMzAyYTE3MDQxIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IndfRnp3ajBJUDYtRGpYWkV2bmx1REEiLCJzZXNzaW9uX3N0YXRlIjoiMjQ5MzgzODAtN2JiMy00ODk1LTk2MWQtZGZiZDA1MGVmOGZjIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjI0OTM4MzgwLTdiYjMtNDg5NS05NjFkLWRmYmQwNTBlZjhmYyJ9.fOzB8hR2kBUmzqJE44FFyi7FQgxtzyEBA_LpZ8lxvHY
[2022-05-09T12:26:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:26:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:26:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA5ODUsImlhdCI6MTY1MjA5OTE4NSwianRpIjoiMDI0N2UyN2EtNDNlYy00OGUxLWE2NjItYzRkMzAyYTE3MDQxIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IndfRnp3ajBJUDYtRGpYWkV2bmx1REEiLCJzZXNzaW9uX3N0YXRlIjoiMjQ5MzgzODAtN2JiMy00ODk1LTk2MWQtZGZiZDA1MGVmOGZjIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjI0OTM4MzgwLTdiYjMtNDg5NS05NjFkLWRmYmQwNTBlZjhmYyJ9.fOzB8hR2kBUmzqJE44FFyi7FQgxtzyEBA_LpZ8lxvHY" "--context" "system-tests"
[2022-05-09T12:26:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:26:25Z INFO  drogue_cloud_tests::resources::apps] Create application: 2382d690-a033-4df4-984d-e57257434aca
[2022-05-09T12:26:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "2382d690-a033-4df4-984d-e57257434aca"
[2022-05-09T12:26:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 2382d690-a033-4df4-984d-e57257434aca created.\n", stderr: "" })
[2022-05-09T12:26:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "2382d690-a033-4df4-984d-e57257434aca"
[2022-05-09T12:26:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:26:25.957862Z\",\n    \"generation\": 0,\n    \"name\": \"2382d690-a033-4df4-984d-e57257434aca\",\n    \"resourceVersion\": \"cbe6b863-976d-4910-8a01-0d97c5a348d5\",\n    \"uid\": \"0685f2f4-4cbc-4da1-a2c5-f80cf5a6bcf9\"\n  }\n}\n", stderr: "" })
[2022-05-09T12:26:25Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:26:25.957862Z"), "generation": Number(0), "name": String("2382d690-a033-4df4-984d-e57257434aca"), "resourceVersion": String("cbe6b863-976d-4910-8a01-0d97c5a348d5"), "uid": String("0685f2f4-4cbc-4da1-a2c5-f80cf5a6bcf9")})})
[2022-05-09T12:26:25Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:26:26Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "2382d690-a033-4df4-984d-e57257434aca"
[2022-05-09T12:26:27Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:26:25.957862Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"2382d690-a033-4df4-984d-e57257434aca\",\n    \"resourceVersion\": \"2f695402-ef97-4713-aa78-37b46b157903\",\n    \"uid\": \"0685f2f4-4cbc-4da1-a2c5-f80cf5a6bcf9\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:26:26.433541871Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:26:26.433581816Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:26.007806829Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:26.015016619Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:26.135027235Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:26.141942161Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:26.433497909Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:26.433514790Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"YymviCUIbCB0\",\n        \"username\": \"user-2382d690-a033-4df4-984d-e57257434aca\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:26:27Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:26:25.957862Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("2382d690-a033-4df4-984d-e57257434aca"), "resourceVersion": String("2f695402-ef97-4713-aa78-37b46b157903"), "uid": String("0685f2f4-4cbc-4da1-a2c5-f80cf5a6bcf9")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:26:26.433541871Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:26:26.433581816Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:26:26.007806829Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:26:26.015016619Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:26:26.135027235Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:26:26.141942161Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:26:26.433497909Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:26:26.433514790Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("YymviCUIbCB0"), "username": String("user-2382d690-a033-4df4-984d-e57257434aca")})})})})
[2022-05-09T12:26:27Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:26:27Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "2382d690-a033-4df4-984d-e57257434aca"
[2022-05-09T12:26:27Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:26:25.957862Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"2382d690-a033-4df4-984d-e57257434aca\",\n    \"resourceVersion\": \"2f695402-ef97-4713-aa78-37b46b157903\",\n    \"uid\": \"0685f2f4-4cbc-4da1-a2c5-f80cf5a6bcf9\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:26:26.433541871Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:26:26.433581816Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:26.007806829Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:26.015016619Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:26.135027235Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:26.141942161Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:26.433497909Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:26.433514790Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"YymviCUIbCB0\",\n        \"username\": \"user-2382d690-a033-4df4-984d-e57257434aca\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:26:27Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:26:25.957862Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("2382d690-a033-4df4-984d-e57257434aca"), "resourceVersion": String("2f695402-ef97-4713-aa78-37b46b157903"), "uid": String("0685f2f4-4cbc-4da1-a2c5-f80cf5a6bcf9")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:26:26.433541871Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:26:26.433581816Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:26:26.007806829Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:26:26.015016619Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:26:26.135027235Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:26:26.141942161Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:26:26.433497909Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:26:26.433514790Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("YymviCUIbCB0"), "username": String("user-2382d690-a033-4df4-984d-e57257434aca")})})})})
[2022-05-09T12:26:27Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:26:27Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:26:27Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "2382d690-a033-4df4-984d-e57257434aca" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:26:27Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:26:27Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:26:27Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:26:27Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:26:27Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk0ODUsImlhdCI6MTY1MjA5OTE4NSwiYXV0aF90aW1lIjoxNjUyMDk5MTgyLCJqdGkiOiJmZmVjOWIwYy1kNTUwLTQxY2ItYTE1ZS0zYWIyMzU0NDRmYmIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ3X0Z6d2owSVA2LURqWFpFdm5sdURBIiwic2Vzc2lvbl9zdGF0ZSI6IjI0OTM4MzgwLTdiYjMtNDg5NS05NjFkLWRmYmQwNTBlZjhmYyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjI0OTM4MzgwLTdiYjMtNDg5NS05NjFkLWRmYmQwNTBlZjhmYyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.SsyxgGejPcHJjtAAKxw-M5a9toAcJ-FZKcjpq4yDjng6PFncA_FYX4QK5Wo1RjgBpLXm2r-uQw3j7MMEzwL-PdNfBykCTbbDyc15cu3XTD7slCFOF-ckZIESl0oX6rJdq7PsHDb9PdXAb6EylB3KTruEFduqtVv2T4hrObFBGPyIm4eC8UtcIwWQexzJoyKubvpofjkFgg5kkajgJnWFn7F8R5P1tvaIQkWIwee7UdBBgTvrphwgsNhb7T1TJjVK25LQ0b4P65CMyjpJMh7NgpuJpAzB4H7rCxy0lfXAcbDt_3rYQ1otWS5fScpdFDifkMfnOV_PFVt9HlHtkdwfeg\n", stderr: "" })
[2022-05-09T12:26:27Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:26:27Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:26:27Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:26:27Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "2382d690-a033-4df4-984d-e57257434aca" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:26:27Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:26:27Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T12:26:27Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:26:27Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk0ODUsImlhdCI6MTY1MjA5OTE4NSwiYXV0aF90aW1lIjoxNjUyMDk5MTgyLCJqdGkiOiJmZmVjOWIwYy1kNTUwLTQxY2ItYTE1ZS0zYWIyMzU0NDRmYmIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ3X0Z6d2owSVA2LURqWFpFdm5sdURBIiwic2Vzc2lvbl9zdGF0ZSI6IjI0OTM4MzgwLTdiYjMtNDg5NS05NjFkLWRmYmQwNTBlZjhmYyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjI0OTM4MzgwLTdiYjMtNDg5NS05NjFkLWRmYmQwNTBlZjhmYyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.SsyxgGejPcHJjtAAKxw-M5a9toAcJ-FZKcjpq4yDjng6PFncA_FYX4QK5Wo1RjgBpLXm2r-uQw3j7MMEzwL-PdNfBykCTbbDyc15cu3XTD7slCFOF-ckZIESl0oX6rJdq7PsHDb9PdXAb6EylB3KTruEFduqtVv2T4hrObFBGPyIm4eC8UtcIwWQexzJoyKubvpofjkFgg5kkajgJnWFn7F8R5P1tvaIQkWIwee7UdBBgTvrphwgsNhb7T1TJjVK25LQ0b4P65CMyjpJMh7NgpuJpAzB4H7rCxy0lfXAcbDt_3rYQ1otWS5fScpdFDifkMfnOV_PFVt9HlHtkdwfeg\n", stderr: "" })
[2022-05-09T12:26:27Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "a8d43719-792d-4ab3-ac0c-e552fc76295b", persistence: None, user_data: None }
[2022-05-09T12:26:27Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:26:27Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x5617179445e0
[2022-05-09T12:26:27Z DEBUG paho_mqtt::async_client] Connecting handle: 0x5617179445e0
[2022-05-09T12:26:27Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717ce2f10, connectTimeout: 30, retryInterval: 0, ssl: 0x561717a2df80, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x56171784b950, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk0ODUsImlhdCI6MTY1MjA5OTE4NSwiYXV0aF90aW1lIjoxNjUyMDk5MTgyLCJqdGkiOiJmZmVjOWIwYy1kNTUwLTQxY2ItYTE1ZS0zYWIyMzU0NDRmYmIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ3X0Z6d2owSVA2LURqWFpFdm5sdURBIiwic2Vzc2lvbl9zdGF0ZSI6IjI0OTM4MzgwLTdiYjMtNDg5NS05NjFkLWRmYmQwNTBlZjhmYyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjI0OTM4MzgwLTdiYjMtNDg5NS05NjFkLWRmYmQwNTBlZjhmYyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.SsyxgGejPcHJjtAAKxw-M5a9toAcJ-FZKcjpq4yDjng6PFncA_FYX4QK5Wo1RjgBpLXm2r-uQw3j7MMEzwL-PdNfBykCTbbDyc15cu3XTD7slCFOF-ckZIESl0oX6rJdq7PsHDb9PdXAb6EylB3KTruEFduqtVv2T4hrObFBGPyIm4eC8UtcIwWQexzJoyKubvpofjkFgg5kkajgJnWFn7F8R5P1tvaIQkWIwee7UdBBgTvrphwgsNhb7T1TJjVK25LQ0b4P65CMyjpJMh7NgpuJpAzB4H7rCxy0lfXAcbDt_3rYQ1otWS5fScpdFDifkMfnOV_PFVt9HlHtkdwfeg"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:26:27Z DEBUG paho_mqtt::async_client] Subscribe to '"app/2382d690-a033-4df4-984d-e57257434aca"' @ QOS 0
[2022-05-09T12:26:27Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:26:27Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:26:27Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:26:27Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:26:27Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:26:27Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:26:28Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:26:28Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:26:28Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:26:28Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:26:29Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:26:29Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:26:29Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:26:29Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:26:30Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:26:30Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:26:30Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:26:30Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:26:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 621, payload: 0x7f4b1c0058b0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/2382d690-a033-4df4-984d-e57257434aca", 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, 97, 101, 51, 56, 53, 100, 97, 56, 45, 50, 97, 52, 99, 45, 52, 102, 100, 98, 45, 56, 49, 51, 99, 45, 55, 99, 52, 101, 57, 101, 56, 49, 48, 98, 102, 48, 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, 50, 51, 56, 50, 100, 54, 57, 48, 37, 50, 68, 97, 48, 51, 51, 37, 50, 68, 52, 100, 102, 52, 37, 50, 68, 57, 56, 52, 100, 37, 50, 68, 101, 53, 55, 50, 53, 55, 52, 51, 52, 97, 99, 97, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 54, 58, 51, 48, 46, 55, 53, 50, 49, 53, 54, 56, 55, 54, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 102, 100, 57, 55, 49, 53, 100, 57, 45, 52, 54, 54, 53, 45, 52, 51, 52, 56, 45, 98, 57, 102, 100, 45, 55, 102, 98, 102, 98, 102, 51, 100, 50, 99, 98, 53, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 48, 54, 56, 53, 102, 50, 102, 52, 45, 52, 99, 98, 99, 45, 52, 100, 97, 49, 45, 97, 50, 99, 53, 45, 102, 56, 48, 99, 102, 53, 97, 54, 98, 99, 102, 57, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 50, 51, 56, 50, 100, 54, 57, 48, 45, 97, 48, 51, 51, 45, 52, 100, 102, 52, 45, 57, 56, 52, 100, 45, 101, 53, 55, 50, 53, 55, 52, 51, 52, 97, 99, 97, 34, 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, 50, 51, 56, 50, 100, 54, 57, 48, 37, 50, 68, 97, 48, 51, 51, 37, 50, 68, 52, 100, 102, 52, 37, 50, 68, 57, 56, 52, 100, 37, 50, 68, 101, 53, 55, 50, 53, 55, 52, 51, 52, 97, 99, 97, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 53, 98, 97, 55, 102, 49, 52, 54, 45, 56, 52, 102, 50, 45, 52, 56, 54, 100, 45, 56, 49, 102, 97, 45, 98, 101, 56, 49, 53, 49, 52, 56, 51, 97, 52, 98, 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 } } } }
[2022-05-09T12:26:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/2382d690-a033-4df4-984d-e57257434aca", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"ae385da8-2a4c-4fdb-813c-7c4e9e810bf0\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://2382d690%2Da033%2D4df4%2D984d%2De57257434aca/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:26:30.752156876Z\",\"data\":{\"index\":3},\"sender\":\"gateway1\",\"deviceuid\":\"fd9715d9-4665-4348-b9fd-7fbfbf3d2cb5\",\"applicationuid\":\"0685f2f4-4cbc-4da1-a2c5-f80cf5a6bcf9\",\"application\":\"2382d690-a033-4df4-984d-e57257434aca\",\"instance\":\"drogue\",\"partitionkey\":\"2382d690%2Da033%2D4df4%2D984d%2De57257434aca/device1\",\"senderuid\":\"5ba7f146-84f2-486d-81fa-be8151483a4b\",\"device\":\"device1\"}" }
[2022-05-09T12:26:31Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:26:31Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:26:31Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:26:31Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:26:31Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "6fcc91cf-08d0-42a9-a54f-a56d6ce6e0c0", persistence: None, user_data: None }
[2022-05-09T12:26:31Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:26:31Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x56171782ec60
[2022-05-09T12:26:31Z DEBUG paho_mqtt::async_client] Connecting handle: 0x56171782ec60
[2022-05-09T12:26:31Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x5617178a30d0, password: 0x561717d2f440, connectTimeout: 30, retryInterval: 0, ssl: 0x561717bbdd60, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717a6eb40, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@2382d690-a033-4df4-984d-e57257434aca"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:26:32Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 640, payload: 0x7f4b1c0259b0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/2382d690-a033-4df4-984d-e57257434aca", 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, 51, 101, 48, 57, 56, 102, 98, 52, 45, 48, 99, 50, 54, 45, 52, 51, 56, 98, 45, 97, 51, 48, 99, 45, 54, 101, 97, 101, 57, 99, 56, 50, 55, 49, 52, 98, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 50, 51, 56, 50, 100, 54, 57, 48, 37, 50, 68, 97, 48, 51, 51, 37, 50, 68, 52, 100, 102, 52, 37, 50, 68, 57, 56, 52, 100, 37, 50, 68, 101, 53, 55, 50, 53, 55, 52, 51, 52, 97, 99, 97, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 54, 58, 51, 49, 46, 56, 55, 49, 51, 53, 57, 50, 52, 54, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 48, 54, 56, 53, 102, 50, 102, 52, 45, 52, 99, 98, 99, 45, 52, 100, 97, 49, 45, 97, 50, 99, 53, 45, 102, 56, 48, 99, 102, 53, 97, 54, 98, 99, 102, 57, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 53, 98, 97, 55, 102, 49, 52, 54, 45, 56, 52, 102, 50, 45, 52, 56, 54, 100, 45, 56, 49, 102, 97, 45, 98, 101, 56, 49, 53, 49, 52, 56, 51, 97, 52, 98, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 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, 50, 51, 56, 50, 100, 54, 57, 48, 37, 50, 68, 97, 48, 51, 51, 37, 50, 68, 52, 100, 102, 52, 37, 50, 68, 57, 56, 52, 100, 37, 50, 68, 101, 53, 55, 50, 53, 55, 52, 51, 52, 97, 99, 97, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 50, 51, 56, 50, 100, 54, 57, 48, 45, 97, 48, 51, 51, 45, 52, 100, 102, 52, 45, 57, 56, 52, 100, 45, 101, 53, 55, 50, 53, 55, 52, 51, 52, 97, 99, 97, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 53, 98, 97, 55, 102, 49, 52, 54, 45, 56, 52, 102, 50, 45, 52, 56, 54, 100, 45, 56, 49, 102, 97, 45, 98, 101, 56, 49, 53, 49, 52, 56, 51, 97, 52, 98, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:26:32Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/2382d690-a033-4df4-984d-e57257434aca", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"3e098fb4-0c26-438b-a30c-6eae9c82714b\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://2382d690%2Da033%2D4df4%2D984d%2De57257434aca/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:26:31.871359246Z\",\"data\":{\"connected\":true},\"applicationuid\":\"0685f2f4-4cbc-4da1-a2c5-f80cf5a6bcf9\",\"senderuid\":\"5ba7f146-84f2-486d-81fa-be8151483a4b\",\"sender\":\"gateway1\",\"device\":\"gateway1\",\"instance\":\"drogue\",\"partitionkey\":\"2382d690%2Da033%2D4df4%2D984d%2De57257434aca/gateway1\",\"application\":\"2382d690-a033-4df4-984d-e57257434aca\",\"deviceuid\":\"5ba7f146-84f2-486d-81fa-be8151483a4b\"}" }
[2022-05-09T12:26:32Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717aa7b60 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717aa7b60 } } } }
[2022-05-09T12:26:32Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:26:32Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 630, payload: 0x7f4b1c00db70, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/2382d690-a033-4df4-984d-e57257434aca", 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, 98, 56, 50, 53, 97, 49, 48, 50, 45, 99, 56, 48, 98, 45, 52, 54, 101, 49, 45, 57, 102, 52, 97, 45, 48, 54, 53, 52, 100, 100, 57, 53, 97, 55, 56, 99, 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, 50, 51, 56, 50, 100, 54, 57, 48, 37, 50, 68, 97, 48, 51, 51, 37, 50, 68, 52, 100, 102, 52, 37, 50, 68, 57, 56, 52, 100, 37, 50, 68, 101, 53, 55, 50, 53, 55, 52, 51, 52, 97, 99, 97, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 54, 58, 51, 50, 46, 52, 48, 52, 53, 54, 51, 54, 57, 55, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 50, 51, 56, 50, 100, 54, 57, 48, 37, 50, 68, 97, 48, 51, 51, 37, 50, 68, 52, 100, 102, 52, 37, 50, 68, 57, 56, 52, 100, 37, 50, 68, 101, 53, 55, 50, 53, 55, 52, 51, 52, 97, 99, 97, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 48, 54, 56, 53, 102, 50, 102, 52, 45, 52, 99, 98, 99, 45, 52, 100, 97, 49, 45, 97, 50, 99, 53, 45, 102, 56, 48, 99, 102, 53, 97, 54, 98, 99, 102, 57, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 50, 51, 56, 50, 100, 54, 57, 48, 45, 97, 48, 51, 51, 45, 52, 100, 102, 52, 45, 57, 56, 52, 100, 45, 101, 53, 55, 50, 53, 55, 52, 51, 52, 97, 99, 97, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 102, 100, 57, 55, 49, 53, 100, 57, 45, 52, 54, 54, 53, 45, 52, 51, 52, 56, 45, 98, 57, 102, 100, 45, 55, 102, 98, 102, 98, 102, 51, 100, 50, 99, 98, 53, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 53, 98, 97, 55, 102, 49, 52, 54, 45, 56, 52, 102, 50, 45, 52, 56, 54, 100, 45, 56, 49, 102, 97, 45, 98, 101, 56, 49, 53, 49, 52, 56, 51, 97, 52, 98, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:26:32Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/2382d690-a033-4df4-984d-e57257434aca", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"b825a102-c80b-46e1-9f4a-0654dd95a78c\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://2382d690%2Da033%2D4df4%2D984d%2De57257434aca/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:26:32.404563697Z\",\"data_base64\":\"\",\"partitionkey\":\"2382d690%2Da033%2D4df4%2D984d%2De57257434aca/device1\",\"device\":\"device1\",\"applicationuid\":\"0685f2f4-4cbc-4da1-a2c5-f80cf5a6bcf9\",\"application\":\"2382d690-a033-4df4-984d-e57257434aca\",\"sender\":\"gateway1\",\"instance\":\"drogue\",\"deviceuid\":\"fd9715d9-4665-4348-b9fd-7fbfbf3d2cb5\",\"senderuid\":\"5ba7f146-84f2-486d-81fa-be8151483a4b\"}" }
[2022-05-09T12:26:32Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 641, payload: 0x7f4b1c025f00, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/2382d690-a033-4df4-984d-e57257434aca", 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, 49, 56, 55, 50, 52, 97, 48, 99, 45, 100, 98, 100, 54, 45, 52, 50, 52, 99, 45, 57, 100, 100, 49, 45, 49, 50, 100, 101, 97, 101, 57, 97, 97, 56, 50, 99, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 50, 51, 56, 50, 100, 54, 57, 48, 37, 50, 68, 97, 48, 51, 51, 37, 50, 68, 52, 100, 102, 52, 37, 50, 68, 57, 56, 52, 100, 37, 50, 68, 101, 53, 55, 50, 53, 55, 52, 51, 52, 97, 99, 97, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 54, 58, 51, 50, 46, 52, 49, 57, 52, 53, 54, 53, 54, 52, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 50, 51, 56, 50, 100, 54, 57, 48, 37, 50, 68, 97, 48, 51, 51, 37, 50, 68, 52, 100, 102, 52, 37, 50, 68, 57, 56, 52, 100, 37, 50, 68, 101, 53, 55, 50, 53, 55, 52, 51, 52, 97, 99, 97, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 53, 98, 97, 55, 102, 49, 52, 54, 45, 56, 52, 102, 50, 45, 52, 56, 54, 100, 45, 56, 49, 102, 97, 45, 98, 101, 56, 49, 53, 49, 52, 56, 51, 97, 52, 98, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 50, 51, 56, 50, 100, 54, 57, 48, 45, 97, 48, 51, 51, 45, 52, 100, 102, 52, 45, 57, 56, 52, 100, 45, 101, 53, 55, 50, 53, 55, 52, 51, 52, 97, 99, 97, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 48, 54, 56, 53, 102, 50, 102, 52, 45, 52, 99, 98, 99, 45, 52, 100, 97, 49, 45, 97, 50, 99, 53, 45, 102, 56, 48, 99, 102, 53, 97, 54, 98, 99, 102, 57, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 53, 98, 97, 55, 102, 49, 52, 54, 45, 56, 52, 102, 50, 45, 52, 56, 54, 100, 45, 56, 49, 102, 97, 45, 98, 101, 56, 49, 53, 49, 52, 56, 51, 97, 52, 98, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:26:32Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/2382d690-a033-4df4-984d-e57257434aca", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"18724a0c-dbd6-424c-9dd1-12deae9aa82c\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://2382d690%2Da033%2D4df4%2D984d%2De57257434aca/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:26:32.419456564Z\",\"data\":{\"connected\":false},\"partitionkey\":\"2382d690%2Da033%2D4df4%2D984d%2De57257434aca/gateway1\",\"deviceuid\":\"5ba7f146-84f2-486d-81fa-be8151483a4b\",\"instance\":\"drogue\",\"application\":\"2382d690-a033-4df4-984d-e57257434aca\",\"sender\":\"gateway1\",\"applicationuid\":\"0685f2f4-4cbc-4da1-a2c5-f80cf5a6bcf9\",\"device\":\"gateway1\",\"senderuid\":\"5ba7f146-84f2-486d-81fa-be8151483a4b\"}" }
[2022-05-09T12:26:32Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:26:32Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:26:32Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:26:32Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "2382d690-a033-4df4-984d-e57257434aca", device: "device1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "2382d690-a033-4df4-984d-e57257434aca", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:26:32Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:26:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "2382d690-a033-4df4-984d-e57257434aca" "device1"
[2022-05-09T12:26:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:26:32Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:26:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "2382d690-a033-4df4-984d-e57257434aca" "gateway1"
[2022-05-09T12:26:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:26:32Z INFO  drogue_cloud_tests::resources::apps] Destroy application '2382d690-a033-4df4-984d-e57257434aca'
[2022-05-09T12:26:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "2382d690-a033-4df4-984d-e57257434aca"
[2022-05-09T12:26:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 2382d690-a033-4df4-984d-e57257434aca deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_1::integration_version_2::integration_ws_1

Duration: 13s

Test output
-------------- TEST START --------------
[2022-05-09T12:26:34Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:26:34Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:26:34Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:26:34Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:26:34Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:26:35Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:26:37Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:26:37Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:26:37Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:26: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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:26:39Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA5OTksImlhdCI6MTY1MjA5OTE5OSwianRpIjoiZjI5ODQxMTMtYmQzMC00ODlmLTk5YjktMjdkOTE0ZDE0MzgyIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Im5TWHBOYmJ0VXlkczBNdjhLVmxkVkEiLCJzZXNzaW9uX3N0YXRlIjoiZWU1MmQ3YmEtNzFiZC00ZDhhLWE5ZDEtY2E5ZjEyZDZjYWMzIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImVlNTJkN2JhLTcxYmQtNGQ4YS1hOWQxLWNhOWYxMmQ2Y2FjMyJ9.5pJAgJ8RAiuYafeyieGYhOz3cKkEDmvV1TysFbz7TqU
[2022-05-09T12:26:39Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:26:39Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:26:39Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDA5OTksImlhdCI6MTY1MjA5OTE5OSwianRpIjoiZjI5ODQxMTMtYmQzMC00ODlmLTk5YjktMjdkOTE0ZDE0MzgyIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Im5TWHBOYmJ0VXlkczBNdjhLVmxkVkEiLCJzZXNzaW9uX3N0YXRlIjoiZWU1MmQ3YmEtNzFiZC00ZDhhLWE5ZDEtY2E5ZjEyZDZjYWMzIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImVlNTJkN2JhLTcxYmQtNGQ4YS1hOWQxLWNhOWYxMmQ2Y2FjMyJ9.5pJAgJ8RAiuYafeyieGYhOz3cKkEDmvV1TysFbz7TqU" "--context" "system-tests"
[2022-05-09T12:26:39Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:26:40Z INFO  drogue_cloud_tests::resources::apps] Create application: 440eda3b-bde7-42ae-a663-b6e386a1d647
[2022-05-09T12:26:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "440eda3b-bde7-42ae-a663-b6e386a1d647"
[2022-05-09T12:26:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 440eda3b-bde7-42ae-a663-b6e386a1d647 created.\n", stderr: "" })
[2022-05-09T12:26:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "440eda3b-bde7-42ae-a663-b6e386a1d647"
[2022-05-09T12:26:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:26:40.219937Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"440eda3b-bde7-42ae-a663-b6e386a1d647\",\n    \"resourceVersion\": \"208509af-e254-439a-bcdd-0e7de781e5cf\",\n    \"uid\": \"8beeb11d-000e-4120-a1ba-8978066ddefd\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:26:40.238516703Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:26:40.238430993Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:40.238196653Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:40.238197756Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:40.238198286Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:40.238198878Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:40.238199238Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:40.238335013Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:26:40Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:26:40.219937Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("440eda3b-bde7-42ae-a663-b6e386a1d647"), "resourceVersion": String("208509af-e254-439a-bcdd-0e7de781e5cf"), "uid": String("8beeb11d-000e-4120-a1ba-8978066ddefd")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:26:40.238516703Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:26:40.238430993Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:26:40.238196653Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:26:40.238197756Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:26:40.238198286Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:26:40.238198878Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:26:40.238199238Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:26:40.238335013Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T12:26:40Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:26:41Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "440eda3b-bde7-42ae-a663-b6e386a1d647"
[2022-05-09T12:26:41Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:26:40.219937Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"440eda3b-bde7-42ae-a663-b6e386a1d647\",\n    \"resourceVersion\": \"c9f3810b-3982-4413-b6df-df4f914db04d\",\n    \"uid\": \"8beeb11d-000e-4120-a1ba-8978066ddefd\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:26:40.543181482Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:26:40.543117923Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:40.261819469Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:40.267763244Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:40.367168634Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:40.374315916Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:40.542964926Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:40.542985385Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"pc8rhx74JZ2c\",\n        \"username\": \"user-440eda3b-bde7-42ae-a663-b6e386a1d647\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:26:41Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:26:40.219937Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("440eda3b-bde7-42ae-a663-b6e386a1d647"), "resourceVersion": String("c9f3810b-3982-4413-b6df-df4f914db04d"), "uid": String("8beeb11d-000e-4120-a1ba-8978066ddefd")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:26:40.543181482Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:26:40.543117923Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:26:40.261819469Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:26:40.267763244Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:26:40.367168634Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:26:40.374315916Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:26:40.542964926Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:26:40.542985385Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("pc8rhx74JZ2c"), "username": String("user-440eda3b-bde7-42ae-a663-b6e386a1d647")})})})})
[2022-05-09T12:26:41Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:26:41Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "440eda3b-bde7-42ae-a663-b6e386a1d647"
[2022-05-09T12:26:41Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:26:40.219937Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"440eda3b-bde7-42ae-a663-b6e386a1d647\",\n    \"resourceVersion\": \"c9f3810b-3982-4413-b6df-df4f914db04d\",\n    \"uid\": \"8beeb11d-000e-4120-a1ba-8978066ddefd\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:26:40.543181482Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:26:40.543117923Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:40.261819469Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:40.267763244Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:40.367168634Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:40.374315916Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:40.542964926Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:40.542985385Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"pc8rhx74JZ2c\",\n        \"username\": \"user-440eda3b-bde7-42ae-a663-b6e386a1d647\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:26:41Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:26:40.219937Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("440eda3b-bde7-42ae-a663-b6e386a1d647"), "resourceVersion": String("c9f3810b-3982-4413-b6df-df4f914db04d"), "uid": String("8beeb11d-000e-4120-a1ba-8978066ddefd")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:26:40.543181482Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:26:40.543117923Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:26:40.261819469Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:26:40.267763244Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:26:40.367168634Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:26:40.374315916Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:26:40.542964926Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:26:40.542985385Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("pc8rhx74JZ2c"), "username": String("user-440eda3b-bde7-42ae-a663-b6e386a1d647")})})})})
[2022-05-09T12:26:41Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:26:41Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:26:41Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "440eda3b-bde7-42ae-a663-b6e386a1d647" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:26:41Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:26:41Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:26:41Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:26:41Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:26:41Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk0OTksImlhdCI6MTY1MjA5OTE5OSwiYXV0aF90aW1lIjoxNjUyMDk5MTk2LCJqdGkiOiJhYmYxOTExOC01OWE5LTQ1M2ItOWFiZC0zNmNhYWM5NGZjYjciLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJuU1hwTmJidFV5ZHMwTXY4S1ZsZFZBIiwic2Vzc2lvbl9zdGF0ZSI6ImVlNTJkN2JhLTcxYmQtNGQ4YS1hOWQxLWNhOWYxMmQ2Y2FjMyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImVlNTJkN2JhLTcxYmQtNGQ4YS1hOWQxLWNhOWYxMmQ2Y2FjMyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.SM2h8sSpaWG9Qw7fRWUpk4spi4y3ayN6D5tZRQv1sWdHS9MyR0AaeDOxzZOGPicJvNaGt5fQFuLaB3xoXgtYhqFpbZyhCXV97OQ06ARpbB3JnuuQW4xE4_OB51lnsP0gvnqg2UCvs-Ft56_6oLxriERz1IazzDD2_jV4CeKx25btqVVjHlSMa7NwZULjvcVunJonAZX1f4s_WzqrDMdIGjEtVzjGXqZPJJHl1RasGnhEjZBUcQJuFunY1fyQmPLIRJKKjUw63ClNgSz7BeqCwAuXYlYB7IiA-nX8oHOt_vPnYFIcdTGgzhjLzznvVFQqH2gHsVYEZMlPji53p2w-qw\n", stderr: "" })
[2022-05-09T12:26:41Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:26:41Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:26:41Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:26:41Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "440eda3b-bde7-42ae-a663-b6e386a1d647" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:26:41Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:26:41Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T12:26:41Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:26:41Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk0OTksImlhdCI6MTY1MjA5OTE5OSwiYXV0aF90aW1lIjoxNjUyMDk5MTk2LCJqdGkiOiJhYmYxOTExOC01OWE5LTQ1M2ItOWFiZC0zNmNhYWM5NGZjYjciLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJuU1hwTmJidFV5ZHMwTXY4S1ZsZFZBIiwic2Vzc2lvbl9zdGF0ZSI6ImVlNTJkN2JhLTcxYmQtNGQ4YS1hOWQxLWNhOWYxMmQ2Y2FjMyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImVlNTJkN2JhLTcxYmQtNGQ4YS1hOWQxLWNhOWYxMmQ2Y2FjMyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.SM2h8sSpaWG9Qw7fRWUpk4spi4y3ayN6D5tZRQv1sWdHS9MyR0AaeDOxzZOGPicJvNaGt5fQFuLaB3xoXgtYhqFpbZyhCXV97OQ06ARpbB3JnuuQW4xE4_OB51lnsP0gvnqg2UCvs-Ft56_6oLxriERz1IazzDD2_jV4CeKx25btqVVjHlSMa7NwZULjvcVunJonAZX1f4s_WzqrDMdIGjEtVzjGXqZPJJHl1RasGnhEjZBUcQJuFunY1fyQmPLIRJKKjUw63ClNgSz7BeqCwAuXYlYB7IiA-nX8oHOt_vPnYFIcdTGgzhjLzznvVFQqH2gHsVYEZMlPji53p2w-qw\n", stderr: "" })
[2022-05-09T12:26:41Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "bcb018db-9649-4cd8-a490-326d9940a4f8", persistence: None, user_data: None }
[2022-05-09T12:26:41Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:26:41Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717b1a5c0
[2022-05-09T12:26:41Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717b1a5c0
[2022-05-09T12:26:41Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717b1a9d0, connectTimeout: 30, retryInterval: 0, ssl: 0x561717b14820, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717873c30, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk0OTksImlhdCI6MTY1MjA5OTE5OSwiYXV0aF90aW1lIjoxNjUyMDk5MTk2LCJqdGkiOiJhYmYxOTExOC01OWE5LTQ1M2ItOWFiZC0zNmNhYWM5NGZjYjciLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJuU1hwTmJidFV5ZHMwTXY4S1ZsZFZBIiwic2Vzc2lvbl9zdGF0ZSI6ImVlNTJkN2JhLTcxYmQtNGQ4YS1hOWQxLWNhOWYxMmQ2Y2FjMyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImVlNTJkN2JhLTcxYmQtNGQ4YS1hOWQxLWNhOWYxMmQ2Y2FjMyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.SM2h8sSpaWG9Qw7fRWUpk4spi4y3ayN6D5tZRQv1sWdHS9MyR0AaeDOxzZOGPicJvNaGt5fQFuLaB3xoXgtYhqFpbZyhCXV97OQ06ARpbB3JnuuQW4xE4_OB51lnsP0gvnqg2UCvs-Ft56_6oLxriERz1IazzDD2_jV4CeKx25btqVVjHlSMa7NwZULjvcVunJonAZX1f4s_WzqrDMdIGjEtVzjGXqZPJJHl1RasGnhEjZBUcQJuFunY1fyQmPLIRJKKjUw63ClNgSz7BeqCwAuXYlYB7IiA-nX8oHOt_vPnYFIcdTGgzhjLzznvVFQqH2gHsVYEZMlPji53p2w-qw"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:26:41Z DEBUG paho_mqtt::async_client] Subscribe to '"app/440eda3b-bde7-42ae-a663-b6e386a1d647"' @ QOS 0
[2022-05-09T12:26:41Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:26:41Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:26:41Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:26:41Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:26:41Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:26:41Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:26:42Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:26:42Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:26:42Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:26:42Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:26:43Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:26:43Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:26:43Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:26:43Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:26:44Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:26:44Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:26:44Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:26:44Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:26:45Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 621, payload: 0x7f4b1c0289f0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c028c70 } }, data: MessageData { topic: "app/440eda3b-bde7-42ae-a663-b6e386a1d647", 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, 50, 53, 98, 49, 57, 50, 52, 53, 45, 49, 54, 54, 97, 45, 52, 97, 54, 99, 45, 56, 50, 48, 57, 45, 100, 56, 102, 51, 98, 99, 55, 48, 99, 98, 98, 99, 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, 52, 52, 48, 101, 100, 97, 51, 98, 37, 50, 68, 98, 100, 101, 55, 37, 50, 68, 52, 50, 97, 101, 37, 50, 68, 97, 54, 54, 51, 37, 50, 68, 98, 54, 101, 51, 56, 54, 97, 49, 100, 54, 52, 55, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 54, 58, 52, 52, 46, 55, 53, 57, 51, 49, 51, 50, 57, 57, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 52, 52, 48, 101, 100, 97, 51, 98, 45, 98, 100, 101, 55, 45, 52, 50, 97, 101, 45, 97, 54, 54, 51, 45, 98, 54, 101, 51, 56, 54, 97, 49, 100, 54, 52, 55, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 56, 98, 101, 101, 98, 49, 49, 100, 45, 48, 48, 48, 101, 45, 52, 49, 50, 48, 45, 97, 49, 98, 97, 45, 56, 57, 55, 56, 48, 54, 54, 100, 100, 101, 102, 100, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 57, 53, 102, 52, 53, 52, 48, 45, 101, 56, 55, 101, 45, 52, 100, 102, 56, 45, 57, 101, 55, 55, 45, 57, 57, 100, 98, 57, 51, 50, 52, 98, 56, 57, 98, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 52, 52, 48, 101, 100, 97, 51, 98, 37, 50, 68, 98, 100, 101, 55, 37, 50, 68, 52, 50, 97, 101, 37, 50, 68, 97, 54, 54, 51, 37, 50, 68, 98, 54, 101, 51, 56, 54, 97, 49, 100, 54, 52, 55, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 100, 56, 50, 102, 55, 55, 52, 54, 45, 50, 56, 52, 51, 45, 52, 48, 57, 101, 45, 97, 56, 101, 51, 45, 56, 51, 50, 100, 49, 57, 52, 56, 52, 100, 54, 53, 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: 2, max_count: 10, length: 48, array: 0x7f4b1c028c70 } } } }
[2022-05-09T12:26:45Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28003940
[2022-05-09T12:26:45Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/440eda3b-bde7-42ae-a663-b6e386a1d647", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"25b19245-166a-4a6c-8209-d8f3bc70cbbc\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://440eda3b%2Dbde7%2D42ae%2Da663%2Db6e386a1d647/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:26:44.759313299Z\",\"data\":{\"index\":3},\"sender\":\"gateway1\",\"instance\":\"drogue\",\"application\":\"440eda3b-bde7-42ae-a663-b6e386a1d647\",\"applicationuid\":\"8beeb11d-000e-4120-a1ba-8978066ddefd\",\"senderuid\":\"a95f4540-e87e-4df8-9e77-99db9324b89b\",\"partitionkey\":\"440eda3b%2Dbde7%2D42ae%2Da663%2Db6e386a1d647/device1\",\"deviceuid\":\"d82f7746-2843-409e-a8e3-832d19484d65\",\"device\":\"device1\"}" }
[2022-05-09T12:26:45Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:26:45Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:26:45Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:26:45Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:26:45Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "4dc8b204-fa0f-4978-a951-9c549dcbf07c", persistence: None, user_data: None }
[2022-05-09T12:26:45Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:26:45Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x56171794a730
[2022-05-09T12:26:45Z DEBUG paho_mqtt::async_client] Connecting handle: 0x56171794a730
[2022-05-09T12:26:45Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717b8c7e0, password: 0x561717a2e2f0, connectTimeout: 30, retryInterval: 0, ssl: 0x561717cce630, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717b8c720, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@440eda3b-bde7-42ae-a663-b6e386a1d647"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:26:46Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717a44a40 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717a44a40 } } } }
[2022-05-09T12:26:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 640, payload: 0x7f4b1c02cf30, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c02d1c0 } }, data: MessageData { topic: "app/440eda3b-bde7-42ae-a663-b6e386a1d647", 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, 98, 48, 51, 50, 50, 50, 54, 49, 45, 56, 50, 101, 51, 45, 52, 55, 54, 57, 45, 97, 49, 98, 52, 45, 101, 102, 48, 102, 102, 49, 101, 52, 54, 97, 55, 57, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 52, 52, 48, 101, 100, 97, 51, 98, 37, 50, 68, 98, 100, 101, 55, 37, 50, 68, 52, 50, 97, 101, 37, 50, 68, 97, 54, 54, 51, 37, 50, 68, 98, 54, 101, 51, 56, 54, 97, 49, 100, 54, 52, 55, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 54, 58, 52, 54, 46, 48, 49, 53, 51, 49, 48, 52, 54, 57, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 52, 52, 48, 101, 100, 97, 51, 98, 37, 50, 68, 98, 100, 101, 55, 37, 50, 68, 52, 50, 97, 101, 37, 50, 68, 97, 54, 54, 51, 37, 50, 68, 98, 54, 101, 51, 56, 54, 97, 49, 100, 54, 52, 55, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 57, 53, 102, 52, 53, 52, 48, 45, 101, 56, 55, 101, 45, 52, 100, 102, 56, 45, 57, 101, 55, 55, 45, 57, 57, 100, 98, 57, 51, 50, 52, 98, 56, 57, 98, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 52, 52, 48, 101, 100, 97, 51, 98, 45, 98, 100, 101, 55, 45, 52, 50, 97, 101, 45, 97, 54, 54, 51, 45, 98, 54, 101, 51, 56, 54, 97, 49, 100, 54, 52, 55, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 56, 98, 101, 101, 98, 49, 49, 100, 45, 48, 48, 48, 101, 45, 52, 49, 50, 48, 45, 97, 49, 98, 97, 45, 56, 57, 55, 56, 48, 54, 54, 100, 100, 101, 102, 100, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 57, 53, 102, 52, 53, 52, 48, 45, 101, 56, 55, 101, 45, 52, 100, 102, 56, 45, 57, 101, 55, 55, 45, 57, 57, 100, 98, 57, 51, 50, 52, 98, 56, 57, 98, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c02d1c0 } } } }
[2022-05-09T12:26:46Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28003940
[2022-05-09T12:26:46Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:26:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/440eda3b-bde7-42ae-a663-b6e386a1d647", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"b0322261-82e3-4769-a1b4-ef0ff1e46a79\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://440eda3b%2Dbde7%2D42ae%2Da663%2Db6e386a1d647/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:26:46.015310469Z\",\"data\":{\"connected\":true},\"partitionkey\":\"440eda3b%2Dbde7%2D42ae%2Da663%2Db6e386a1d647/gateway1\",\"deviceuid\":\"a95f4540-e87e-4df8-9e77-99db9324b89b\",\"application\":\"440eda3b-bde7-42ae-a663-b6e386a1d647\",\"instance\":\"drogue\",\"applicationuid\":\"8beeb11d-000e-4120-a1ba-8978066ddefd\",\"senderuid\":\"a95f4540-e87e-4df8-9e77-99db9324b89b\",\"sender\":\"gateway1\",\"device\":\"gateway1\"}" }
[2022-05-09T12:26:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 641, payload: 0x7f4b1c02b910, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c02c330 } }, data: MessageData { topic: "app/440eda3b-bde7-42ae-a663-b6e386a1d647", 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, 51, 102, 48, 53, 52, 51, 54, 56, 45, 101, 101, 98, 54, 45, 52, 102, 53, 49, 45, 57, 52, 49, 98, 45, 99, 100, 101, 101, 56, 53, 54, 49, 102, 98, 100, 99, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 52, 52, 48, 101, 100, 97, 51, 98, 37, 50, 68, 98, 100, 101, 55, 37, 50, 68, 52, 50, 97, 101, 37, 50, 68, 97, 54, 54, 51, 37, 50, 68, 98, 54, 101, 51, 56, 54, 97, 49, 100, 54, 52, 55, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 54, 58, 52, 54, 46, 52, 48, 55, 56, 50, 57, 52, 56, 55, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 52, 52, 48, 101, 100, 97, 51, 98, 37, 50, 68, 98, 100, 101, 55, 37, 50, 68, 52, 50, 97, 101, 37, 50, 68, 97, 54, 54, 51, 37, 50, 68, 98, 54, 101, 51, 56, 54, 97, 49, 100, 54, 52, 55, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 52, 52, 48, 101, 100, 97, 51, 98, 45, 98, 100, 101, 55, 45, 52, 50, 97, 101, 45, 97, 54, 54, 51, 45, 98, 54, 101, 51, 56, 54, 97, 49, 100, 54, 52, 55, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 57, 53, 102, 52, 53, 52, 48, 45, 101, 56, 55, 101, 45, 52, 100, 102, 56, 45, 57, 101, 55, 55, 45, 57, 57, 100, 98, 57, 51, 50, 52, 98, 56, 57, 98, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 56, 98, 101, 101, 98, 49, 49, 100, 45, 48, 48, 48, 101, 45, 52, 49, 50, 48, 45, 97, 49, 98, 97, 45, 56, 57, 55, 56, 48, 54, 54, 100, 100, 101, 102, 100, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 57, 53, 102, 52, 53, 52, 48, 45, 101, 56, 55, 101, 45, 52, 100, 102, 56, 45, 57, 101, 55, 55, 45, 57, 57, 100, 98, 57, 51, 50, 52, 98, 56, 57, 98, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c02c330 } } } }
[2022-05-09T12:26:46Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28003940
[2022-05-09T12:26:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/440eda3b-bde7-42ae-a663-b6e386a1d647", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"3f054368-eeb6-4f51-941b-cdee8561fbdc\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://440eda3b%2Dbde7%2D42ae%2Da663%2Db6e386a1d647/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:26:46.407829487Z\",\"data\":{\"connected\":false},\"sender\":\"gateway1\",\"partitionkey\":\"440eda3b%2Dbde7%2D42ae%2Da663%2Db6e386a1d647/gateway1\",\"application\":\"440eda3b-bde7-42ae-a663-b6e386a1d647\",\"deviceuid\":\"a95f4540-e87e-4df8-9e77-99db9324b89b\",\"device\":\"gateway1\",\"applicationuid\":\"8beeb11d-000e-4120-a1ba-8978066ddefd\",\"instance\":\"drogue\",\"senderuid\":\"a95f4540-e87e-4df8-9e77-99db9324b89b\"}" }
[2022-05-09T12:26:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 630, payload: 0x7f4b1c028770, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c00e520 } }, data: MessageData { topic: "app/440eda3b-bde7-42ae-a663-b6e386a1d647", 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, 99, 50, 52, 98, 56, 100, 54, 98, 45, 49, 55, 51, 100, 45, 52, 99, 53, 101, 45, 98, 101, 53, 56, 45, 56, 53, 57, 52, 52, 99, 49, 49, 51, 49, 55, 51, 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, 52, 52, 48, 101, 100, 97, 51, 98, 37, 50, 68, 98, 100, 101, 55, 37, 50, 68, 52, 50, 97, 101, 37, 50, 68, 97, 54, 54, 51, 37, 50, 68, 98, 54, 101, 51, 56, 54, 97, 49, 100, 54, 52, 55, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 54, 58, 52, 54, 46, 52, 48, 53, 57, 55, 49, 51, 48, 51, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 52, 52, 48, 101, 100, 97, 51, 98, 45, 98, 100, 101, 55, 45, 52, 50, 97, 101, 45, 97, 54, 54, 51, 45, 98, 54, 101, 51, 56, 54, 97, 49, 100, 54, 52, 55, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 52, 52, 48, 101, 100, 97, 51, 98, 37, 50, 68, 98, 100, 101, 55, 37, 50, 68, 52, 50, 97, 101, 37, 50, 68, 97, 54, 54, 51, 37, 50, 68, 98, 54, 101, 51, 56, 54, 97, 49, 100, 54, 52, 55, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 57, 53, 102, 52, 53, 52, 48, 45, 101, 56, 55, 101, 45, 52, 100, 102, 56, 45, 57, 101, 55, 55, 45, 57, 57, 100, 98, 57, 51, 50, 52, 98, 56, 57, 98, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 56, 98, 101, 101, 98, 49, 49, 100, 45, 48, 48, 48, 101, 45, 52, 49, 50, 48, 45, 97, 49, 98, 97, 45, 56, 57, 55, 56, 48, 54, 54, 100, 100, 101, 102, 100, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 100, 56, 50, 102, 55, 55, 52, 54, 45, 50, 56, 52, 51, 45, 52, 48, 57, 101, 45, 97, 56, 101, 51, 45, 56, 51, 50, 100, 49, 57, 52, 56, 52, 100, 54, 53, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c00e520 } } } }
[2022-05-09T12:26:46Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28003940
[2022-05-09T12:26:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/440eda3b-bde7-42ae-a663-b6e386a1d647", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"c24b8d6b-173d-4c5e-be58-85944c113173\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://440eda3b%2Dbde7%2D42ae%2Da663%2Db6e386a1d647/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:26:46.405971303Z\",\"data_base64\":\"\",\"application\":\"440eda3b-bde7-42ae-a663-b6e386a1d647\",\"partitionkey\":\"440eda3b%2Dbde7%2D42ae%2Da663%2Db6e386a1d647/device1\",\"device\":\"device1\",\"sender\":\"gateway1\",\"senderuid\":\"a95f4540-e87e-4df8-9e77-99db9324b89b\",\"instance\":\"drogue\",\"applicationuid\":\"8beeb11d-000e-4120-a1ba-8978066ddefd\",\"deviceuid\":\"d82f7746-2843-409e-a8e3-832d19484d65\"}" }
[2022-05-09T12:26:46Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:26:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:26:46Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:26:46Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "440eda3b-bde7-42ae-a663-b6e386a1d647", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "440eda3b-bde7-42ae-a663-b6e386a1d647", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:26:46Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:26:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "440eda3b-bde7-42ae-a663-b6e386a1d647" "device1"
[2022-05-09T12:26:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:26:46Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:26:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "440eda3b-bde7-42ae-a663-b6e386a1d647" "gateway1"
[2022-05-09T12:26:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:26:46Z INFO  drogue_cloud_tests::resources::apps] Destroy application '440eda3b-bde7-42ae-a663-b6e386a1d647'
[2022-05-09T12:26:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "440eda3b-bde7-42ae-a663-b6e386a1d647"
[2022-05-09T12:26:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 440eda3b-bde7-42ae-a663-b6e386a1d647 deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_1::integration_version_2::integration_ws_2

Duration: 15s

Test output
-------------- TEST START --------------
[2022-05-09T12:26:48Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:26:48Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:26:48Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:26:48Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:26: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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:26:49Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:26:51Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:26:51Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:26:51Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:26:51Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:26:53Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDEwMTIsImlhdCI6MTY1MjA5OTIxMiwianRpIjoiNTEzYjc2YjYtNmEyMy00ZTM3LThiZDUtMjAxZDM1YmZiZTE1IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ik9vTml4NkZ3cGxNV2NqMnJDZGh6b3ciLCJzZXNzaW9uX3N0YXRlIjoiYTMzY2VjMWItNTExNi00OWE0LThiMjUtODJlNmY4YjJkMWZiIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImEzM2NlYzFiLTUxMTYtNDlhNC04YjI1LTgyZTZmOGIyZDFmYiJ9.PR_lqfrB2MXUh7eO8Fh3_EHjCZjM3y_UJdL-Wmmk06o
[2022-05-09T12:26:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:26:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:26:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDEwMTIsImlhdCI6MTY1MjA5OTIxMiwianRpIjoiNTEzYjc2YjYtNmEyMy00ZTM3LThiZDUtMjAxZDM1YmZiZTE1IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ik9vTml4NkZ3cGxNV2NqMnJDZGh6b3ciLCJzZXNzaW9uX3N0YXRlIjoiYTMzY2VjMWItNTExNi00OWE0LThiMjUtODJlNmY4YjJkMWZiIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImEzM2NlYzFiLTUxMTYtNDlhNC04YjI1LTgyZTZmOGIyZDFmYiJ9.PR_lqfrB2MXUh7eO8Fh3_EHjCZjM3y_UJdL-Wmmk06o" "--context" "system-tests"
[2022-05-09T12:26:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:26:53Z INFO  drogue_cloud_tests::resources::apps] Create application: 95265ec9-e6b9-484d-8889-f3471af0c936
[2022-05-09T12:26:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "95265ec9-e6b9-484d-8889-f3471af0c936"
[2022-05-09T12:26:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 95265ec9-e6b9-484d-8889-f3471af0c936 created.\n", stderr: "" })
[2022-05-09T12:26:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "95265ec9-e6b9-484d-8889-f3471af0c936"
[2022-05-09T12:26:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:26:53.807309Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"95265ec9-e6b9-484d-8889-f3471af0c936\",\n    \"resourceVersion\": \"84b90171-d12f-495a-89f3-1eb6e9df57d7\",\n    \"uid\": \"f587e180-0a5f-4e8b-b5bc-f7dc3a21b648\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:26:53.826449850Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:26:53.826387103Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:53.826114141Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:53.826115254Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:53.826115704Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:53.826116286Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:53.826116847Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:53.826121015Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:26:53Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:26:53.807309Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("95265ec9-e6b9-484d-8889-f3471af0c936"), "resourceVersion": String("84b90171-d12f-495a-89f3-1eb6e9df57d7"), "uid": String("f587e180-0a5f-4e8b-b5bc-f7dc3a21b648")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:26:53.826449850Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:26:53.826387103Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:26:53.826114141Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:26:53.826115254Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:26:53.826115704Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:26:53.826116286Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:26:53.826116847Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:26:53.826121015Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T12:26:53Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:26:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "95265ec9-e6b9-484d-8889-f3471af0c936"
[2022-05-09T12:26:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:26:53.807309Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"95265ec9-e6b9-484d-8889-f3471af0c936\",\n    \"resourceVersion\": \"7bdfbf35-e43c-4ef6-8e30-0ef7e3ff16cd\",\n    \"uid\": \"f587e180-0a5f-4e8b-b5bc-f7dc3a21b648\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:26:54.470364271Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:26:54.470319327Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:53.847382593Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:53.853301030Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:53.956731898Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:53.969253467Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:54.469344448Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:54.470285183Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"yqRVDMZce9p9\",\n        \"username\": \"user-95265ec9-e6b9-484d-8889-f3471af0c936\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:26:54Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:26:53.807309Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("95265ec9-e6b9-484d-8889-f3471af0c936"), "resourceVersion": String("7bdfbf35-e43c-4ef6-8e30-0ef7e3ff16cd"), "uid": String("f587e180-0a5f-4e8b-b5bc-f7dc3a21b648")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:26:54.470364271Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:26:54.470319327Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:26:53.847382593Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:26:53.853301030Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:26:53.956731898Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:26:53.969253467Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:26:54.469344448Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:26:54.470285183Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("yqRVDMZce9p9"), "username": String("user-95265ec9-e6b9-484d-8889-f3471af0c936")})})})})
[2022-05-09T12:26:54Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:26:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "95265ec9-e6b9-484d-8889-f3471af0c936"
[2022-05-09T12:26:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:26:53.807309Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"95265ec9-e6b9-484d-8889-f3471af0c936\",\n    \"resourceVersion\": \"7bdfbf35-e43c-4ef6-8e30-0ef7e3ff16cd\",\n    \"uid\": \"f587e180-0a5f-4e8b-b5bc-f7dc3a21b648\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:26:54.470364271Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:26:54.470319327Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:53.847382593Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:53.853301030Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:53.956731898Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:53.969253467Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:54.469344448Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:26:54.470285183Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"yqRVDMZce9p9\",\n        \"username\": \"user-95265ec9-e6b9-484d-8889-f3471af0c936\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:26:54Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:26:53.807309Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("95265ec9-e6b9-484d-8889-f3471af0c936"), "resourceVersion": String("7bdfbf35-e43c-4ef6-8e30-0ef7e3ff16cd"), "uid": String("f587e180-0a5f-4e8b-b5bc-f7dc3a21b648")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:26:54.470364271Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:26:54.470319327Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:26:53.847382593Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:26:53.853301030Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:26:53.956731898Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:26:53.969253467Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:26:54.469344448Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:26:54.470285183Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("yqRVDMZce9p9"), "username": String("user-95265ec9-e6b9-484d-8889-f3471af0c936")})})})})
[2022-05-09T12:26:54Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:26:54Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:26:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "95265ec9-e6b9-484d-8889-f3471af0c936" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:26:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:26:54Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:26:54Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:26:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:26:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk1MTMsImlhdCI6MTY1MjA5OTIxMywiYXV0aF90aW1lIjoxNjUyMDk5MjEwLCJqdGkiOiI5Y2Y2MGY2OS0zMjZjLTQ2NjQtYTAyNy05MDUwMDAwNDQ3NzIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJPb05peDZGd3BsTVdjajJyQ2Roem93Iiwic2Vzc2lvbl9zdGF0ZSI6ImEzM2NlYzFiLTUxMTYtNDlhNC04YjI1LTgyZTZmOGIyZDFmYiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImEzM2NlYzFiLTUxMTYtNDlhNC04YjI1LTgyZTZmOGIyZDFmYiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.B6UvD3qUFdZlQm7LJrM1jA77Sm_VMqMPjujeKdq-N7oYLFGLTraaycAsEnHG3PO4Z8eHIN7x3q9kV-m47ykLw5_i8kxp-mz2P9ORM5Smu3DxxtMccbRWw8ww8hYU9QfMBxZjpe9aIX6WvtZIbmWXnk2JgfRKHg_tskaHSq1tbTzwVq-s5jVtc6vJnYrWeFhau83GjgbuE6LGi8PJLnYLSBoSg2rrbz0P2PIb-gtea91Z3_ABH8hRJgLm1PWFWVNBVasUTSamfb83fxG3eQ0mnfLH6RF9UZKgcXGyKN2yTgb97fy4wPZ-lyWq6wcueTaRNGvAhbd66a8YRzT6R1EszQ\n", stderr: "" })
[2022-05-09T12:26:54Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:26:54Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:26:54Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:26:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "95265ec9-e6b9-484d-8889-f3471af0c936" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:26:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:26:54Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T12:26:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:26:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk1MTMsImlhdCI6MTY1MjA5OTIxMywiYXV0aF90aW1lIjoxNjUyMDk5MjEwLCJqdGkiOiI5Y2Y2MGY2OS0zMjZjLTQ2NjQtYTAyNy05MDUwMDAwNDQ3NzIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJPb05peDZGd3BsTVdjajJyQ2Roem93Iiwic2Vzc2lvbl9zdGF0ZSI6ImEzM2NlYzFiLTUxMTYtNDlhNC04YjI1LTgyZTZmOGIyZDFmYiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImEzM2NlYzFiLTUxMTYtNDlhNC04YjI1LTgyZTZmOGIyZDFmYiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.B6UvD3qUFdZlQm7LJrM1jA77Sm_VMqMPjujeKdq-N7oYLFGLTraaycAsEnHG3PO4Z8eHIN7x3q9kV-m47ykLw5_i8kxp-mz2P9ORM5Smu3DxxtMccbRWw8ww8hYU9QfMBxZjpe9aIX6WvtZIbmWXnk2JgfRKHg_tskaHSq1tbTzwVq-s5jVtc6vJnYrWeFhau83GjgbuE6LGi8PJLnYLSBoSg2rrbz0P2PIb-gtea91Z3_ABH8hRJgLm1PWFWVNBVasUTSamfb83fxG3eQ0mnfLH6RF9UZKgcXGyKN2yTgb97fy4wPZ-lyWq6wcueTaRNGvAhbd66a8YRzT6R1EszQ\n", stderr: "" })
[2022-05-09T12:26:54Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "f3568842-f01c-4021-9af6-77e42a2e9119", persistence: None, user_data: None }
[2022-05-09T12:26:54Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:26:54Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x56171794ce90
[2022-05-09T12:26:54Z DEBUG paho_mqtt::async_client] Connecting handle: 0x56171794ce90
[2022-05-09T12:26:54Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717897ee0, connectTimeout: 30, retryInterval: 0, ssl: 0x5617179ceca0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x5617178703d0, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk1MTMsImlhdCI6MTY1MjA5OTIxMywiYXV0aF90aW1lIjoxNjUyMDk5MjEwLCJqdGkiOiI5Y2Y2MGY2OS0zMjZjLTQ2NjQtYTAyNy05MDUwMDAwNDQ3NzIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJPb05peDZGd3BsTVdjajJyQ2Roem93Iiwic2Vzc2lvbl9zdGF0ZSI6ImEzM2NlYzFiLTUxMTYtNDlhNC04YjI1LTgyZTZmOGIyZDFmYiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImEzM2NlYzFiLTUxMTYtNDlhNC04YjI1LTgyZTZmOGIyZDFmYiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.B6UvD3qUFdZlQm7LJrM1jA77Sm_VMqMPjujeKdq-N7oYLFGLTraaycAsEnHG3PO4Z8eHIN7x3q9kV-m47ykLw5_i8kxp-mz2P9ORM5Smu3DxxtMccbRWw8ww8hYU9QfMBxZjpe9aIX6WvtZIbmWXnk2JgfRKHg_tskaHSq1tbTzwVq-s5jVtc6vJnYrWeFhau83GjgbuE6LGi8PJLnYLSBoSg2rrbz0P2PIb-gtea91Z3_ABH8hRJgLm1PWFWVNBVasUTSamfb83fxG3eQ0mnfLH6RF9UZKgcXGyKN2yTgb97fy4wPZ-lyWq6wcueTaRNGvAhbd66a8YRzT6R1EszQ"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:26:55Z DEBUG paho_mqtt::async_client] Subscribe to '"app/95265ec9-e6b9-484d-8889-f3471af0c936"' @ QOS 0
[2022-05-09T12:26:55Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:26:55Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:26:55Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:26:55Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:26:55Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:26:55Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:26:56Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:26:56Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:26:56Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:26:56Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:26:57Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:26:57Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:26:57Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:26:57Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:26:58Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:26:58Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:26:58Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:26:58Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:26:58Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 621, payload: 0x7f4b18015670, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b180158f0 } }, data: MessageData { topic: "app/95265ec9-e6b9-484d-8889-f3471af0c936", 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, 101, 54, 97, 54, 100, 97, 57, 98, 45, 97, 102, 51, 57, 45, 52, 101, 52, 51, 45, 56, 52, 49, 52, 45, 101, 52, 97, 52, 48, 55, 56, 53, 99, 97, 52, 99, 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, 57, 53, 50, 54, 53, 101, 99, 57, 37, 50, 68, 101, 54, 98, 57, 37, 50, 68, 52, 56, 52, 100, 37, 50, 68, 56, 56, 56, 57, 37, 50, 68, 102, 51, 52, 55, 49, 97, 102, 48, 99, 57, 51, 54, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 54, 58, 53, 56, 46, 55, 56, 55, 54, 57, 50, 55, 49, 56, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 57, 53, 50, 54, 53, 101, 99, 57, 37, 50, 68, 101, 54, 98, 57, 37, 50, 68, 52, 56, 52, 100, 37, 50, 68, 56, 56, 56, 57, 37, 50, 68, 102, 51, 52, 55, 49, 97, 102, 48, 99, 57, 51, 54, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 102, 53, 56, 55, 101, 49, 56, 48, 45, 48, 97, 53, 102, 45, 52, 101, 56, 98, 45, 98, 53, 98, 99, 45, 102, 55, 100, 99, 51, 97, 50, 49, 98, 54, 52, 56, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 56, 52, 51, 49, 97, 97, 54, 56, 45, 56, 49, 48, 98, 45, 52, 99, 101, 57, 45, 57, 53, 55, 55, 45, 53, 100, 97, 102, 102, 57, 99, 57, 52, 57, 97, 97, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 57, 53, 50, 54, 53, 101, 99, 57, 45, 101, 54, 98, 57, 45, 52, 56, 52, 100, 45, 56, 56, 56, 57, 45, 102, 51, 52, 55, 49, 97, 102, 48, 99, 57, 51, 54, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 49, 102, 101, 48, 49, 99, 98, 54, 45, 97, 51, 53, 57, 45, 52, 98, 98, 97, 45, 98, 53, 48, 55, 45, 52, 56, 99, 51, 54, 49, 101, 56, 53, 57, 101, 97, 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: 2, max_count: 10, length: 48, array: 0x7f4b180158f0 } } } }
[2022-05-09T12:26:58Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717c1c8d0
[2022-05-09T12:26:58Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/95265ec9-e6b9-484d-8889-f3471af0c936", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"e6a6da9b-af39-4e43-8414-e4a40785ca4c\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://95265ec9%2De6b9%2D484d%2D8889%2Df3471af0c936/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:26:58.787692718Z\",\"data\":{\"index\":3},\"partitionkey\":\"95265ec9%2De6b9%2D484d%2D8889%2Df3471af0c936/device1\",\"instance\":\"drogue\",\"applicationuid\":\"f587e180-0a5f-4e8b-b5bc-f7dc3a21b648\",\"deviceuid\":\"8431aa68-810b-4ce9-9577-5daff9c949aa\",\"application\":\"95265ec9-e6b9-484d-8889-f3471af0c936\",\"sender\":\"gateway1\",\"senderuid\":\"1fe01cb6-a359-4bba-b507-48c361e859ea\",\"device\":\"device1\"}" }
[2022-05-09T12:26:59Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:26:59Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:26:59Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:26:59Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:26:59Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "e15df9d3-b4be-4c50-87e3-f5c8529921ec", persistence: None, user_data: None }
[2022-05-09T12:26:59Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:26:59Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x56171794cc70
[2022-05-09T12:26:59Z DEBUG paho_mqtt::async_client] Connecting handle: 0x56171794cc70
[2022-05-09T12:26:59Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717b8ee20, password: 0x5617178a4e00, connectTimeout: 30, retryInterval: 0, ssl: 0x561717b62aa0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717b8d800, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@95265ec9-e6b9-484d-8889-f3471af0c936"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:27:00Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717ce44f0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717ce44f0 } } } }
[2022-05-09T12:27:00Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 640, payload: 0x7f4b18008110, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b180083a0 } }, data: MessageData { topic: "app/95265ec9-e6b9-484d-8889-f3471af0c936", 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, 100, 52, 102, 56, 49, 57, 98, 48, 45, 98, 102, 48, 100, 45, 52, 52, 99, 51, 45, 97, 100, 100, 97, 45, 49, 98, 54, 57, 52, 55, 99, 55, 50, 49, 56, 98, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 57, 53, 50, 54, 53, 101, 99, 57, 37, 50, 68, 101, 54, 98, 57, 37, 50, 68, 52, 56, 52, 100, 37, 50, 68, 56, 56, 56, 57, 37, 50, 68, 102, 51, 52, 55, 49, 97, 102, 48, 99, 57, 51, 54, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 54, 58, 53, 57, 46, 57, 48, 55, 56, 56, 50, 49, 51, 49, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 49, 102, 101, 48, 49, 99, 98, 54, 45, 97, 51, 53, 57, 45, 52, 98, 98, 97, 45, 98, 53, 48, 55, 45, 52, 56, 99, 51, 54, 49, 101, 56, 53, 57, 101, 97, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 102, 53, 56, 55, 101, 49, 56, 48, 45, 48, 97, 53, 102, 45, 52, 101, 56, 98, 45, 98, 53, 98, 99, 45, 102, 55, 100, 99, 51, 97, 50, 49, 98, 54, 52, 56, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 57, 53, 50, 54, 53, 101, 99, 57, 45, 101, 54, 98, 57, 45, 52, 56, 52, 100, 45, 56, 56, 56, 57, 45, 102, 51, 52, 55, 49, 97, 102, 48, 99, 57, 51, 54, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 49, 102, 101, 48, 49, 99, 98, 54, 45, 97, 51, 53, 57, 45, 52, 98, 98, 97, 45, 98, 53, 48, 55, 45, 52, 56, 99, 51, 54, 49, 101, 56, 53, 57, 101, 97, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 57, 53, 50, 54, 53, 101, 99, 57, 37, 50, 68, 101, 54, 98, 57, 37, 50, 68, 52, 56, 52, 100, 37, 50, 68, 56, 56, 56, 57, 37, 50, 68, 102, 51, 52, 55, 49, 97, 102, 48, 99, 57, 51, 54, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b180083a0 } } } }
[2022-05-09T12:27:00Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717c1c8d0
[2022-05-09T12:27:00Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:27:00Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/95265ec9-e6b9-484d-8889-f3471af0c936", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"d4f819b0-bf0d-44c3-adda-1b6947c7218b\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://95265ec9%2De6b9%2D484d%2D8889%2Df3471af0c936/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:26:59.907882131Z\",\"data\":{\"connected\":true},\"instance\":\"drogue\",\"deviceuid\":\"1fe01cb6-a359-4bba-b507-48c361e859ea\",\"applicationuid\":\"f587e180-0a5f-4e8b-b5bc-f7dc3a21b648\",\"application\":\"95265ec9-e6b9-484d-8889-f3471af0c936\",\"sender\":\"gateway1\",\"device\":\"gateway1\",\"senderuid\":\"1fe01cb6-a359-4bba-b507-48c361e859ea\",\"partitionkey\":\"95265ec9%2De6b9%2D484d%2D8889%2Df3471af0c936/gateway1\"}" }
[2022-05-09T12:27:01Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 630, payload: 0x7f4b1800a030, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1800a2b0 } }, data: MessageData { topic: "app/95265ec9-e6b9-484d-8889-f3471af0c936", 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, 51, 50, 50, 49, 49, 49, 98, 51, 45, 101, 57, 50, 98, 45, 52, 56, 48, 54, 45, 97, 48, 98, 52, 45, 52, 48, 55, 51, 101, 55, 57, 48, 52, 100, 53, 50, 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, 57, 53, 50, 54, 53, 101, 99, 57, 37, 50, 68, 101, 54, 98, 57, 37, 50, 68, 52, 56, 52, 100, 37, 50, 68, 56, 56, 56, 57, 37, 50, 68, 102, 51, 52, 55, 49, 97, 102, 48, 99, 57, 51, 54, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 55, 58, 48, 48, 46, 52, 50, 54, 54, 52, 57, 49, 53, 50, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 49, 102, 101, 48, 49, 99, 98, 54, 45, 97, 51, 53, 57, 45, 52, 98, 98, 97, 45, 98, 53, 48, 55, 45, 52, 56, 99, 51, 54, 49, 101, 56, 53, 57, 101, 97, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 57, 53, 50, 54, 53, 101, 99, 57, 45, 101, 54, 98, 57, 45, 52, 56, 52, 100, 45, 56, 56, 56, 57, 45, 102, 51, 52, 55, 49, 97, 102, 48, 99, 57, 51, 54, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 102, 53, 56, 55, 101, 49, 56, 48, 45, 48, 97, 53, 102, 45, 52, 101, 56, 98, 45, 98, 53, 98, 99, 45, 102, 55, 100, 99, 51, 97, 50, 49, 98, 54, 52, 56, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 57, 53, 50, 54, 53, 101, 99, 57, 37, 50, 68, 101, 54, 98, 57, 37, 50, 68, 52, 56, 52, 100, 37, 50, 68, 56, 56, 56, 57, 37, 50, 68, 102, 51, 52, 55, 49, 97, 102, 48, 99, 57, 51, 54, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 56, 52, 51, 49, 97, 97, 54, 56, 45, 56, 49, 48, 98, 45, 52, 99, 101, 57, 45, 57, 53, 55, 55, 45, 53, 100, 97, 102, 102, 57, 99, 57, 52, 57, 97, 97, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1800a2b0 } } } }
[2022-05-09T12:27:01Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717c1c8d0
[2022-05-09T12:27:01Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/95265ec9-e6b9-484d-8889-f3471af0c936", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"322111b3-e92b-4806-a0b4-4073e7904d52\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://95265ec9%2De6b9%2D484d%2D8889%2Df3471af0c936/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:27:00.426649152Z\",\"data_base64\":\"\",\"senderuid\":\"1fe01cb6-a359-4bba-b507-48c361e859ea\",\"application\":\"95265ec9-e6b9-484d-8889-f3471af0c936\",\"instance\":\"drogue\",\"sender\":\"gateway1\",\"applicationuid\":\"f587e180-0a5f-4e8b-b5bc-f7dc3a21b648\",\"partitionkey\":\"95265ec9%2De6b9%2D484d%2D8889%2Df3471af0c936/device1\",\"device\":\"device1\",\"deviceuid\":\"8431aa68-810b-4ce9-9577-5daff9c949aa\"}" }
[2022-05-09T12:27:01Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 641, payload: 0x7f4b1800a5a0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1800a830 } }, data: MessageData { topic: "app/95265ec9-e6b9-484d-8889-f3471af0c936", 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, 98, 101, 97, 51, 52, 101, 56, 97, 45, 100, 97, 50, 97, 45, 52, 98, 102, 57, 45, 98, 98, 57, 50, 45, 100, 48, 49, 100, 54, 97, 101, 51, 57, 51, 56, 48, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 57, 53, 50, 54, 53, 101, 99, 57, 37, 50, 68, 101, 54, 98, 57, 37, 50, 68, 52, 56, 52, 100, 37, 50, 68, 56, 56, 56, 57, 37, 50, 68, 102, 51, 52, 55, 49, 97, 102, 48, 99, 57, 51, 54, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 55, 58, 48, 49, 46, 52, 50, 56, 51, 53, 52, 56, 51, 51, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 49, 102, 101, 48, 49, 99, 98, 54, 45, 97, 51, 53, 57, 45, 52, 98, 98, 97, 45, 98, 53, 48, 55, 45, 52, 56, 99, 51, 54, 49, 101, 56, 53, 57, 101, 97, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 57, 53, 50, 54, 53, 101, 99, 57, 45, 101, 54, 98, 57, 45, 52, 56, 52, 100, 45, 56, 56, 56, 57, 45, 102, 51, 52, 55, 49, 97, 102, 48, 99, 57, 51, 54, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 57, 53, 50, 54, 53, 101, 99, 57, 37, 50, 68, 101, 54, 98, 57, 37, 50, 68, 52, 56, 52, 100, 37, 50, 68, 56, 56, 56, 57, 37, 50, 68, 102, 51, 52, 55, 49, 97, 102, 48, 99, 57, 51, 54, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 102, 53, 56, 55, 101, 49, 56, 48, 45, 48, 97, 53, 102, 45, 52, 101, 56, 98, 45, 98, 53, 98, 99, 45, 102, 55, 100, 99, 51, 97, 50, 49, 98, 54, 52, 56, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 49, 102, 101, 48, 49, 99, 98, 54, 45, 97, 51, 53, 57, 45, 52, 98, 98, 97, 45, 98, 53, 48, 55, 45, 52, 56, 99, 51, 54, 49, 101, 56, 53, 57, 101, 97, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1800a830 } } } }
[2022-05-09T12:27:01Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b18009bd0
[2022-05-09T12:27:01Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/95265ec9-e6b9-484d-8889-f3471af0c936", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"bea34e8a-da2a-4bf9-bb92-d01d6ae39380\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://95265ec9%2De6b9%2D484d%2D8889%2Df3471af0c936/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:27:01.428354833Z\",\"data\":{\"connected\":false},\"instance\":\"drogue\",\"deviceuid\":\"1fe01cb6-a359-4bba-b507-48c361e859ea\",\"application\":\"95265ec9-e6b9-484d-8889-f3471af0c936\",\"device\":\"gateway1\",\"sender\":\"gateway1\",\"partitionkey\":\"95265ec9%2De6b9%2D484d%2D8889%2Df3471af0c936/gateway1\",\"applicationuid\":\"f587e180-0a5f-4e8b-b5bc-f7dc3a21b648\",\"senderuid\":\"1fe01cb6-a359-4bba-b507-48c361e859ea\"}" }
[2022-05-09T12:27:01Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:27:01Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:27:01Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:27:01Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "95265ec9-e6b9-484d-8889-f3471af0c936", device: "device1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "95265ec9-e6b9-484d-8889-f3471af0c936", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:27:01Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:27:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "95265ec9-e6b9-484d-8889-f3471af0c936" "device1"
[2022-05-09T12:27:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:27:01Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:27:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "95265ec9-e6b9-484d-8889-f3471af0c936" "gateway1"
[2022-05-09T12:27:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:27:01Z INFO  drogue_cloud_tests::resources::apps] Destroy application '95265ec9-e6b9-484d-8889-f3471af0c936'
[2022-05-09T12:27:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "95265ec9-e6b9-484d-8889-f3471af0c936"
[2022-05-09T12:27:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 95265ec9-e6b9-484d-8889-f3471af0c936 deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_1::integration_version_3::integration_ws_1

Duration: 15s

Test output
-------------- TEST START --------------
[2022-05-09T12:27:04Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:27:04Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:27:04Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:27:04Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:27:04Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:27:05Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:27:06Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:27:06Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:27:06Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:27:06Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:27:08Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDEwMjgsImlhdCI6MTY1MjA5OTIyOCwianRpIjoiMGM5ODM2Y2MtMzQ4MC00NDU0LWIzNTctODg4YmZjZDM1MGU0IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImRXR05OQ0N4azlHckZCLXJLWFhvT2ciLCJzZXNzaW9uX3N0YXRlIjoiNzQ1MDMwNDQtYTk2NC00Mzk5LTgyMDQtZDdiNGJmYmNiYWI1Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6Ijc0NTAzMDQ0LWE5NjQtNDM5OS04MjA0LWQ3YjRiZmJjYmFiNSJ9.UNpagcLrc5olpVrW7l-Gcj8lYd_Npar6LGDOfvwq7BE
[2022-05-09T12:27:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:27:08Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:27:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDEwMjgsImlhdCI6MTY1MjA5OTIyOCwianRpIjoiMGM5ODM2Y2MtMzQ4MC00NDU0LWIzNTctODg4YmZjZDM1MGU0IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImRXR05OQ0N4azlHckZCLXJLWFhvT2ciLCJzZXNzaW9uX3N0YXRlIjoiNzQ1MDMwNDQtYTk2NC00Mzk5LTgyMDQtZDdiNGJmYmNiYWI1Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6Ijc0NTAzMDQ0LWE5NjQtNDM5OS04MjA0LWQ3YjRiZmJjYmFiNSJ9.UNpagcLrc5olpVrW7l-Gcj8lYd_Npar6LGDOfvwq7BE" "--context" "system-tests"
[2022-05-09T12:27:08Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:27:09Z INFO  drogue_cloud_tests::resources::apps] Create application: 85319a71-e6d0-41c2-bc6b-73f0c5644b71
[2022-05-09T12:27:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "85319a71-e6d0-41c2-bc6b-73f0c5644b71"
[2022-05-09T12:27:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 85319a71-e6d0-41c2-bc6b-73f0c5644b71 created.\n", stderr: "" })
[2022-05-09T12:27:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "85319a71-e6d0-41c2-bc6b-73f0c5644b71"
[2022-05-09T12:27:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:27:09.121451Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"85319a71-e6d0-41c2-bc6b-73f0c5644b71\",\n    \"resourceVersion\": \"f5f865cb-7935-4d08-86f9-71b488add362\",\n    \"uid\": \"fe791a90-ad5c-403a-9b2c-0f13ce7d0032\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:27:09.140981754Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:27:09.140961737Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:09.140930830Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:09.140932002Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:09.140932513Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:09.140933103Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:09.140933475Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:09.140938003Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:27:09Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:27:09.121451Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("85319a71-e6d0-41c2-bc6b-73f0c5644b71"), "resourceVersion": String("f5f865cb-7935-4d08-86f9-71b488add362"), "uid": String("fe791a90-ad5c-403a-9b2c-0f13ce7d0032")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:27:09.140981754Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:27:09.140961737Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:27:09.140930830Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:27:09.140932002Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:27:09.140932513Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:09.140933103Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:27:09.140933475Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:09.140938003Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T12:27:09Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:27:10Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "85319a71-e6d0-41c2-bc6b-73f0c5644b71"
[2022-05-09T12:27:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:27:09.121451Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"85319a71-e6d0-41c2-bc6b-73f0c5644b71\",\n    \"resourceVersion\": \"6403a6b9-0aaa-4d4b-b576-e4b16ef27b47\",\n    \"uid\": \"fe791a90-ad5c-403a-9b2c-0f13ce7d0032\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:27:09.421961773Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:27:09.421864911Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:09.158809264Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:09.165891374Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:09.233063753Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:09.239304254Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:09.421758010Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:09.421818574Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"GYDjqWSCLgbm\",\n        \"username\": \"user-85319a71-e6d0-41c2-bc6b-73f0c5644b71\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:27:10Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:27:09.121451Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("85319a71-e6d0-41c2-bc6b-73f0c5644b71"), "resourceVersion": String("6403a6b9-0aaa-4d4b-b576-e4b16ef27b47"), "uid": String("fe791a90-ad5c-403a-9b2c-0f13ce7d0032")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:27:09.421961773Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:27:09.421864911Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:27:09.158809264Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:27:09.165891374Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:27:09.233063753Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:09.239304254Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:27:09.421758010Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:09.421818574Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("GYDjqWSCLgbm"), "username": String("user-85319a71-e6d0-41c2-bc6b-73f0c5644b71")})})})})
[2022-05-09T12:27:10Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:27:10Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "85319a71-e6d0-41c2-bc6b-73f0c5644b71"
[2022-05-09T12:27:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:27:09.121451Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"85319a71-e6d0-41c2-bc6b-73f0c5644b71\",\n    \"resourceVersion\": \"6403a6b9-0aaa-4d4b-b576-e4b16ef27b47\",\n    \"uid\": \"fe791a90-ad5c-403a-9b2c-0f13ce7d0032\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:27:09.421961773Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:27:09.421864911Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:09.158809264Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:09.165891374Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:09.233063753Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:09.239304254Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:09.421758010Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:09.421818574Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"GYDjqWSCLgbm\",\n        \"username\": \"user-85319a71-e6d0-41c2-bc6b-73f0c5644b71\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:27:10Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:27:09.121451Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("85319a71-e6d0-41c2-bc6b-73f0c5644b71"), "resourceVersion": String("6403a6b9-0aaa-4d4b-b576-e4b16ef27b47"), "uid": String("fe791a90-ad5c-403a-9b2c-0f13ce7d0032")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:27:09.421961773Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:27:09.421864911Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:27:09.158809264Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:27:09.165891374Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:27:09.233063753Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:09.239304254Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:27:09.421758010Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:09.421818574Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("GYDjqWSCLgbm"), "username": String("user-85319a71-e6d0-41c2-bc6b-73f0c5644b71")})})})})
[2022-05-09T12:27:10Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:27:10Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:27:10Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "85319a71-e6d0-41c2-bc6b-73f0c5644b71" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:27:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:27:10Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:27:10Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:27:10Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:27:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk1MjgsImlhdCI6MTY1MjA5OTIyOCwiYXV0aF90aW1lIjoxNjUyMDk5MjI1LCJqdGkiOiJjODIxMDM3Yy1hZmRiLTQ3YWQtOTAzYi0wMDc0ZmMxNDUxZWEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJkV0dOTkNDeGs5R3JGQi1yS1hYb09nIiwic2Vzc2lvbl9zdGF0ZSI6Ijc0NTAzMDQ0LWE5NjQtNDM5OS04MjA0LWQ3YjRiZmJjYmFiNSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6Ijc0NTAzMDQ0LWE5NjQtNDM5OS04MjA0LWQ3YjRiZmJjYmFiNSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.L8tbbPSiwtEbVUh9IvRflSSMvZoikvAxRNtVFgZDrkq-lckZMgF7IW4ElBBaqeg9NpDzS2OItP4SfqOWxid-T_yt5lXG5kCZGngltE3NQkap8ZZ37vLD3ztDPpqiHCzoUxCeys2oF-QCXc4Hj7UElxyfhnBPnQMJni_FpB-vNuARe6QeNlGH6-iU8bNN6eYsY7chI7xBHjpThsQz7sUhs8k2Q8j94nLgpsEykJCOIXuDGN6pZYDwaLajatSVYsDZHj8QWN1XRAqsL3eaRLEnWgzKWnAQgj3mQFeKkn0gSIwewB5kO84SeDYpqORU_hmpq41PseGELxscQDkbHA_Fww\n", stderr: "" })
[2022-05-09T12:27:10Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:27:10Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:27:10Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:27:10Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "85319a71-e6d0-41c2-bc6b-73f0c5644b71" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:27:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:27:10Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T12:27:10Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:27:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk1MjgsImlhdCI6MTY1MjA5OTIyOCwiYXV0aF90aW1lIjoxNjUyMDk5MjI1LCJqdGkiOiJjODIxMDM3Yy1hZmRiLTQ3YWQtOTAzYi0wMDc0ZmMxNDUxZWEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJkV0dOTkNDeGs5R3JGQi1yS1hYb09nIiwic2Vzc2lvbl9zdGF0ZSI6Ijc0NTAzMDQ0LWE5NjQtNDM5OS04MjA0LWQ3YjRiZmJjYmFiNSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6Ijc0NTAzMDQ0LWE5NjQtNDM5OS04MjA0LWQ3YjRiZmJjYmFiNSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.L8tbbPSiwtEbVUh9IvRflSSMvZoikvAxRNtVFgZDrkq-lckZMgF7IW4ElBBaqeg9NpDzS2OItP4SfqOWxid-T_yt5lXG5kCZGngltE3NQkap8ZZ37vLD3ztDPpqiHCzoUxCeys2oF-QCXc4Hj7UElxyfhnBPnQMJni_FpB-vNuARe6QeNlGH6-iU8bNN6eYsY7chI7xBHjpThsQz7sUhs8k2Q8j94nLgpsEykJCOIXuDGN6pZYDwaLajatSVYsDZHj8QWN1XRAqsL3eaRLEnWgzKWnAQgj3mQFeKkn0gSIwewB5kO84SeDYpqORU_hmpq41PseGELxscQDkbHA_Fww\n", stderr: "" })
[2022-05-09T12:27:10Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "4406db90-93f2-43c6-b229-acd7197740d6", persistence: None, user_data: None }
[2022-05-09T12:27:10Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:27:10Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717a1ea80
[2022-05-09T12:27:10Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717a1ea80
[2022-05-09T12:27:10Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717aa6180, connectTimeout: 30, retryInterval: 0, ssl: 0x561717b65150, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717aa7450, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk1MjgsImlhdCI6MTY1MjA5OTIyOCwiYXV0aF90aW1lIjoxNjUyMDk5MjI1LCJqdGkiOiJjODIxMDM3Yy1hZmRiLTQ3YWQtOTAzYi0wMDc0ZmMxNDUxZWEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJkV0dOTkNDeGs5R3JGQi1yS1hYb09nIiwic2Vzc2lvbl9zdGF0ZSI6Ijc0NTAzMDQ0LWE5NjQtNDM5OS04MjA0LWQ3YjRiZmJjYmFiNSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6Ijc0NTAzMDQ0LWE5NjQtNDM5OS04MjA0LWQ3YjRiZmJjYmFiNSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.L8tbbPSiwtEbVUh9IvRflSSMvZoikvAxRNtVFgZDrkq-lckZMgF7IW4ElBBaqeg9NpDzS2OItP4SfqOWxid-T_yt5lXG5kCZGngltE3NQkap8ZZ37vLD3ztDPpqiHCzoUxCeys2oF-QCXc4Hj7UElxyfhnBPnQMJni_FpB-vNuARe6QeNlGH6-iU8bNN6eYsY7chI7xBHjpThsQz7sUhs8k2Q8j94nLgpsEykJCOIXuDGN6pZYDwaLajatSVYsDZHj8QWN1XRAqsL3eaRLEnWgzKWnAQgj3mQFeKkn0gSIwewB5kO84SeDYpqORU_hmpq41PseGELxscQDkbHA_Fww"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:27:10Z DEBUG paho_mqtt::async_client] Subscribe to '"app/85319a71-e6d0-41c2-bc6b-73f0c5644b71"' @ QOS 0
[2022-05-09T12:27:10Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:27:10Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:27:10Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:27:10Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:27:10Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:27:10Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:27:11Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:27:11Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:27:11Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:27:11Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:27:12Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:27:12Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:27:12Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:27:12Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:27:13Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:27:13Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:27:13Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:27:13Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:27:13Z 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: 0x7f4b1802d960, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x561717cab9a0 } }, data: MessageData { topic: "app/85319a71-e6d0-41c2-bc6b-73f0c5644b71", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x561717cab9a0 } } } }
[2022-05-09T12:27:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717c6d510, 0x5617179e4210
[2022-05-09T12:27:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x5617179e4210, 0x7f4b28000b90
[2022-05-09T12:27:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x5617179e4210, 0x7f4b28000c70
[2022-05-09T12:27:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000c70, 0x561717a2e4d0
[2022-05-09T12:27:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000c70, 0x7f4b28004db0
[2022-05-09T12:27:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004db0, 0x7f4b28000b90
[2022-05-09T12:27:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004db0, 0x7f4b280091e0
[2022-05-09T12:27:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280091e0, 0x7f4b28000b90
[2022-05-09T12:27:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280091e0, 0x7f4b28000b90
[2022-05-09T12:27:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280091e0, 0x7f4b28000b90
[2022-05-09T12:27:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280091e0, 0x561717a416e0
[2022-05-09T12:27:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280091e0, 0x7f4b28005ad0
[2022-05-09T12:27:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005ad0, 0x7f4b28000b90
[2022-05-09T12:27:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005ad0, 0x7f4b28005990
[2022-05-09T12:27:13Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28005990
[2022-05-09T12:27:13Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/85319a71-e6d0-41c2-bc6b-73f0c5644b71", content_type: Some("application/json"), user_properties: {"partitionkey": "85319a71%2De6d0%2D41c2%2Dbc6b%2D73f0c5644b71/device1", "device": "device1", "instance": "drogue", "senderuid": "ebbbad9f-6453-44b7-b9bd-efb856b71bf4", "source": "drogue://85319a71%2De6d0%2D41c2%2Dbc6b%2D73f0c5644b71/device1", "time": "2022-05-09T12:27:13.803248875+00:00", "application": "85319a71-e6d0-41c2-bc6b-73f0c5644b71", "id": "a2b5b953-2069-4ea8-9c2b-e3f9ca688d0f", "applicationuid": "fe791a90-ad5c-403a-9b2c-0f13ce7d0032", "deviceuid": "0cb2c635-e515-48e2-b09b-5a2bc3177607", "specversion": "1.0", "type": "io.drogue.event.v1", "subject": "warmup", "sender": "gateway1"}, payload: "{\"index\":3}" }
[2022-05-09T12:27:14Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:27:14Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:27:14Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:27:14Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:27:14Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "fb3ce008-91f9-4796-bc48-8224d34ce96d", persistence: None, user_data: None }
[2022-05-09T12:27:14Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:27:14Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717a8da60
[2022-05-09T12:27:14Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717a8da60
[2022-05-09T12:27:14Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717b39e30, password: 0x561717d8d9d0, connectTimeout: 30, retryInterval: 0, ssl: 0x561717b6cd30, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717d03a10, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@85319a71-e6d0-41c2-bc6b-73f0c5644b71"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:27:15Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 18, payload: 0x7f4b1802b460, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x5617179e0ba0 } }, data: MessageData { topic: "app/85319a71-e6d0-41c2-bc6b-73f0c5644b71", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x5617179e0ba0 } } } }
[2022-05-09T12:27:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000c70, 0x5617179e4210
[2022-05-09T12:27:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x5617179e4210, 0x7f4b1802dc20
[2022-05-09T12:27:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x5617179e4210, 0x7f4b28008eb0
[2022-05-09T12:27:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28008eb0, 0x7f4b180089a0
[2022-05-09T12:27:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28008eb0, 0x7f4b28005990
[2022-05-09T12:27:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005990, 0x7f4b1802dc20
[2022-05-09T12:27:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005990, 0x7f4b28004be0
[2022-05-09T12:27:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004be0, 0x7f4b1802dc20
[2022-05-09T12:27:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004be0, 0x7f4b18008740
[2022-05-09T12:27:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004be0, 0x7f4b1802dc20
[2022-05-09T12:27:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004be0, 0x7f4b28000c20
[2022-05-09T12:27:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000c20, 0x7f4b1802dc20
[2022-05-09T12:27:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000c20, 0x7f4b280054a0
[2022-05-09T12:27:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280054a0, 0x7f4b1802dc20
[2022-05-09T12:27:15Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b280054a0
[2022-05-09T12:27:15Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/85319a71-e6d0-41c2-bc6b-73f0c5644b71", content_type: Some("application/json"), user_properties: {"device": "gateway1", "source": "drogue://85319a71%2De6d0%2D41c2%2Dbc6b%2D73f0c5644b71/gateway1", "applicationuid": "fe791a90-ad5c-403a-9b2c-0f13ce7d0032", "specversion": "1.0", "id": "0e35b06a-83e6-414d-8a2b-c08a7c0bf80a", "deviceuid": "ebbbad9f-6453-44b7-b9bd-efb856b71bf4", "time": "2022-05-09T12:27:14.921656657+00:00", "partitionkey": "85319a71%2De6d0%2D41c2%2Dbc6b%2D73f0c5644b71/gateway1", "instance": "drogue", "sender": "gateway1", "subject": "connection", "type": "io.drogue.connection.v1", "application": "85319a71-e6d0-41c2-bc6b-73f0c5644b71", "senderuid": "ebbbad9f-6453-44b7-b9bd-efb856b71bf4"}, payload: "{\"connected\":true}" }
[2022-05-09T12:27:15Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717cc3b50 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717cc3b50 } } } }
[2022-05-09T12:27:15Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:27:16Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x561717cca870 } }, data: MessageData { topic: "app/85319a71-e6d0-41c2-bc6b-73f0c5644b71", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x561717cca870 } } } }
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280059d0, 0x7f4b28000c20
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000c20, 0x7f4b28008ce0
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000c20, 0x7f4b280054c0
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280054c0, 0x7f4b18031990
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280054c0, 0x7f4b28004be0
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004be0, 0x7f4b28008ce0
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004be0, 0x7f4b28008ce0
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004be0, 0x7f4b28008ce0
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004be0, 0x7f4b280091e0
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280091e0, 0x7f4b18031920
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280091e0, 0x7f4b28005af0
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005af0, 0x7f4b28008ce0
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005af0, 0x7f4b28005ad0
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005ad0, 0x7f4b28008ce0
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28005540
[2022-05-09T12:27:16Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/85319a71-e6d0-41c2-bc6b-73f0c5644b71", content_type: Some("application/octet-stream"), user_properties: {"application": "85319a71-e6d0-41c2-bc6b-73f0c5644b71", "sender": "gateway1", "partitionkey": "85319a71%2De6d0%2D41c2%2Dbc6b%2D73f0c5644b71/device1", "applicationuid": "fe791a90-ad5c-403a-9b2c-0f13ce7d0032", "specversion": "1.0", "subject": "telemetry", "time": "2022-05-09T12:27:15.438006587+00:00", "device": "device1", "instance": "drogue", "senderuid": "ebbbad9f-6453-44b7-b9bd-efb856b71bf4", "deviceuid": "0cb2c635-e515-48e2-b09b-5a2bc3177607", "source": "drogue://85319a71%2De6d0%2D41c2%2Dbc6b%2D73f0c5644b71/device1", "id": "f4fd8805-9807-432c-bdea-f737c9d34abd", "type": "io.drogue.event.v1"}, payload: "" }
[2022-05-09T12:27:16Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 19, payload: 0x7f4b1802b190, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717900500 } }, data: MessageData { topic: "app/85319a71-e6d0-41c2-bc6b-73f0c5644b71", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717900500 } } } }
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003770, 0x7f4b28004be0
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004be0, 0x7f4b180086c0
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004be0, 0x7f4b28005df0
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005df0, 0x7f4b18008810
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005df0, 0x7f4b280059d0
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280059d0, 0x7f4b180086c0
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280059d0, 0x7f4b28008eb0
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28008eb0, 0x7f4b280059d0
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280059d0, 0x7f4b180086c0
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280059d0, 0x7f4b180086c0
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280059d0, 0x7f4b180086c0
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280059d0, 0x7f4b180086c0
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280059d0, 0x7f4b18031e60
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280059d0, 0x7f4b28005570
[2022-05-09T12:27:16Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b280059d0
[2022-05-09T12:27:16Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/85319a71-e6d0-41c2-bc6b-73f0c5644b71", content_type: Some("application/json"), user_properties: {"id": "0f91df22-55c2-4643-ab90-7bbf018e17fc", "type": "io.drogue.connection.v1", "source": "drogue://85319a71%2De6d0%2D41c2%2Dbc6b%2D73f0c5644b71/gateway1", "application": "85319a71-e6d0-41c2-bc6b-73f0c5644b71", "applicationuid": "fe791a90-ad5c-403a-9b2c-0f13ce7d0032", "subject": "connection", "device": "gateway1", "instance": "drogue", "senderuid": "ebbbad9f-6453-44b7-b9bd-efb856b71bf4", "specversion": "1.0", "time": "2022-05-09T12:27:16.441530577+00:00", "partitionkey": "85319a71%2De6d0%2D41c2%2Dbc6b%2D73f0c5644b71/gateway1", "deviceuid": "ebbbad9f-6453-44b7-b9bd-efb856b71bf4", "sender": "gateway1"}, payload: "{\"connected\":false}" }
[2022-05-09T12:27:16Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:27:16Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:27:16Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:27:16Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "85319a71-e6d0-41c2-bc6b-73f0c5644b71", device: "device1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "85319a71-e6d0-41c2-bc6b-73f0c5644b71", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:27:16Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:27:16Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "85319a71-e6d0-41c2-bc6b-73f0c5644b71" "device1"
[2022-05-09T12:27:16Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:27:16Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:27:16Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "85319a71-e6d0-41c2-bc6b-73f0c5644b71" "gateway1"
[2022-05-09T12:27:16Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:27:16Z INFO  drogue_cloud_tests::resources::apps] Destroy application '85319a71-e6d0-41c2-bc6b-73f0c5644b71'
[2022-05-09T12:27:16Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "85319a71-e6d0-41c2-bc6b-73f0c5644b71"
[2022-05-09T12:27:16Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 85319a71-e6d0-41c2-bc6b-73f0c5644b71 deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_1::integration_version_3::integration_ws_2

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T12:27:18Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:27:18Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:27:18Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:27:18Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:27:18Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:27:20Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:27:21Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:27:21Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:27:21Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:27:21Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:27:23Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDEwNDMsImlhdCI6MTY1MjA5OTI0MywianRpIjoiZjI1NThkM2ItMWIxZS00ODU5LTkyZTQtZTQ1OTc2YzkwNTZmIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ik9lX0lva2ZuUWhPelFxS3RqRkQyekEiLCJzZXNzaW9uX3N0YXRlIjoiZTgyZDJiMDYtYThlOC00ZDExLWJlNGUtNGU5N2MzZTRhYjhkIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImU4MmQyYjA2LWE4ZTgtNGQxMS1iZTRlLTRlOTdjM2U0YWI4ZCJ9.mBj6wNL7bt0GyViR_rZ2h0HKwlyQF3MQ5S1jC92fyrg
[2022-05-09T12:27:23Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:27:23Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:27:23Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDEwNDMsImlhdCI6MTY1MjA5OTI0MywianRpIjoiZjI1NThkM2ItMWIxZS00ODU5LTkyZTQtZTQ1OTc2YzkwNTZmIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ik9lX0lva2ZuUWhPelFxS3RqRkQyekEiLCJzZXNzaW9uX3N0YXRlIjoiZTgyZDJiMDYtYThlOC00ZDExLWJlNGUtNGU5N2MzZTRhYjhkIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImU4MmQyYjA2LWE4ZTgtNGQxMS1iZTRlLTRlOTdjM2U0YWI4ZCJ9.mBj6wNL7bt0GyViR_rZ2h0HKwlyQF3MQ5S1jC92fyrg" "--context" "system-tests"
[2022-05-09T12:27:23Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:27:24Z INFO  drogue_cloud_tests::resources::apps] Create application: 3d21913c-bbfe-4b7a-8e64-6bf0737c062b
[2022-05-09T12:27:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "3d21913c-bbfe-4b7a-8e64-6bf0737c062b"
[2022-05-09T12:27:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 3d21913c-bbfe-4b7a-8e64-6bf0737c062b created.\n", stderr: "" })
[2022-05-09T12:27:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "3d21913c-bbfe-4b7a-8e64-6bf0737c062b"
[2022-05-09T12:27:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:27:24.049977Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"3d21913c-bbfe-4b7a-8e64-6bf0737c062b\",\n    \"resourceVersion\": \"0bc0ec16-7543-4f92-b156-b7fc1a8e9959\",\n    \"uid\": \"128134ca-1bee-433b-954b-7487da36671e\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:27:24.064834962Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:27:24.064910864Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:24.064754842Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:24.064756315Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:24.064757126Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:24.064757888Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:24.064758459Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:24.064811709Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:27:24Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:27:24.049977Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("3d21913c-bbfe-4b7a-8e64-6bf0737c062b"), "resourceVersion": String("0bc0ec16-7543-4f92-b156-b7fc1a8e9959"), "uid": String("128134ca-1bee-433b-954b-7487da36671e")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:27:24.064834962Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:24.064910864Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:27:24.064754842Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:27:24.064756315Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:27:24.064757126Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:24.064757888Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:27:24.064758459Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:24.064811709Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T12:27:24Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:27:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "3d21913c-bbfe-4b7a-8e64-6bf0737c062b"
[2022-05-09T12:27:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:27:24.049977Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"3d21913c-bbfe-4b7a-8e64-6bf0737c062b\",\n    \"resourceVersion\": \"ed064a14-5174-4666-a2af-7c4144c407f8\",\n    \"uid\": \"128134ca-1bee-433b-954b-7487da36671e\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:27:24.402560836Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:27:24.402671894Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:24.109414204Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:24.119225493Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:24.192154314Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:24.204963193Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:24.402511313Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:24.402533074Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"JTrhBko4lHOc\",\n        \"username\": \"user-3d21913c-bbfe-4b7a-8e64-6bf0737c062b\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:27:25Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:27:24.049977Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("3d21913c-bbfe-4b7a-8e64-6bf0737c062b"), "resourceVersion": String("ed064a14-5174-4666-a2af-7c4144c407f8"), "uid": String("128134ca-1bee-433b-954b-7487da36671e")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:27:24.402560836Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:24.402671894Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:27:24.109414204Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:27:24.119225493Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:27:24.192154314Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:24.204963193Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:27:24.402511313Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:24.402533074Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("JTrhBko4lHOc"), "username": String("user-3d21913c-bbfe-4b7a-8e64-6bf0737c062b")})})})})
[2022-05-09T12:27:25Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:27:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "3d21913c-bbfe-4b7a-8e64-6bf0737c062b"
[2022-05-09T12:27:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:27:24.049977Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"3d21913c-bbfe-4b7a-8e64-6bf0737c062b\",\n    \"resourceVersion\": \"ed064a14-5174-4666-a2af-7c4144c407f8\",\n    \"uid\": \"128134ca-1bee-433b-954b-7487da36671e\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:27:24.402560836Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:27:24.402671894Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:24.109414204Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:24.119225493Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:24.192154314Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:24.204963193Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:24.402511313Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:24.402533074Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"JTrhBko4lHOc\",\n        \"username\": \"user-3d21913c-bbfe-4b7a-8e64-6bf0737c062b\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:27:25Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:27:24.049977Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("3d21913c-bbfe-4b7a-8e64-6bf0737c062b"), "resourceVersion": String("ed064a14-5174-4666-a2af-7c4144c407f8"), "uid": String("128134ca-1bee-433b-954b-7487da36671e")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:27:24.402560836Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:24.402671894Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:27:24.109414204Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:27:24.119225493Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:27:24.192154314Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:24.204963193Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:27:24.402511313Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:24.402533074Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("JTrhBko4lHOc"), "username": String("user-3d21913c-bbfe-4b7a-8e64-6bf0737c062b")})})})})
[2022-05-09T12:27:25Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:27:25Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:27:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "3d21913c-bbfe-4b7a-8e64-6bf0737c062b" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:27:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:27:25Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:27:25Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:27:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:27:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk1NDMsImlhdCI6MTY1MjA5OTI0MywiYXV0aF90aW1lIjoxNjUyMDk5MjQwLCJqdGkiOiJkNDJlOGRlMi01MmE4LTQ4YzctYTIwMS0xOTcxZmRmYzU5MDQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJPZV9Jb2tmblFoT3pRcUt0akZEMnpBIiwic2Vzc2lvbl9zdGF0ZSI6ImU4MmQyYjA2LWE4ZTgtNGQxMS1iZTRlLTRlOTdjM2U0YWI4ZCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImU4MmQyYjA2LWE4ZTgtNGQxMS1iZTRlLTRlOTdjM2U0YWI4ZCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.JEzJb7q1TIEWB77ZSj7As9Dxoka2o3GLEdZ9EfHHTJFHaoS8Mg33dygIaNyHLnhFvfMaI4oX0iU9XviF6nV_9-q9mKm_tGvj92XuH9xQjrGt7oeMNormJVmApLW0r45GJV3M26XuClUEeaN-UamKqMbHxNZN2lw93oHW3yYYnldknj7W6_UW6I-OXdf2e8gsLDvWEN4FCjws-JNYz7feoXgabWEYBT1P-YV7YtF1WEIdbUoC0am_5G1F7ELiA09WdC7BLnwozGqxCizmUA-kke9MTUbnPY6_2jVU4YBlH20CyoYBOqTQgxHRysBYXk7kIRWQoERG5POL81CLLqgTpw\n", stderr: "" })
[2022-05-09T12:27:25Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:27:25Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:27:25Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:27:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "3d21913c-bbfe-4b7a-8e64-6bf0737c062b" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:27:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:27:25Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T12:27:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:27:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk1NDMsImlhdCI6MTY1MjA5OTI0MywiYXV0aF90aW1lIjoxNjUyMDk5MjQwLCJqdGkiOiJkNDJlOGRlMi01MmE4LTQ4YzctYTIwMS0xOTcxZmRmYzU5MDQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJPZV9Jb2tmblFoT3pRcUt0akZEMnpBIiwic2Vzc2lvbl9zdGF0ZSI6ImU4MmQyYjA2LWE4ZTgtNGQxMS1iZTRlLTRlOTdjM2U0YWI4ZCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImU4MmQyYjA2LWE4ZTgtNGQxMS1iZTRlLTRlOTdjM2U0YWI4ZCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.JEzJb7q1TIEWB77ZSj7As9Dxoka2o3GLEdZ9EfHHTJFHaoS8Mg33dygIaNyHLnhFvfMaI4oX0iU9XviF6nV_9-q9mKm_tGvj92XuH9xQjrGt7oeMNormJVmApLW0r45GJV3M26XuClUEeaN-UamKqMbHxNZN2lw93oHW3yYYnldknj7W6_UW6I-OXdf2e8gsLDvWEN4FCjws-JNYz7feoXgabWEYBT1P-YV7YtF1WEIdbUoC0am_5G1F7ELiA09WdC7BLnwozGqxCizmUA-kke9MTUbnPY6_2jVU4YBlH20CyoYBOqTQgxHRysBYXk7kIRWQoERG5POL81CLLqgTpw\n", stderr: "" })
[2022-05-09T12:27:25Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "acab53cf-5ffe-47e1-b923-5eb105089e2b", persistence: None, user_data: None }
[2022-05-09T12:27:25Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:27:25Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717877340
[2022-05-09T12:27:25Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717877340
[2022-05-09T12:27:25Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717c80510, connectTimeout: 30, retryInterval: 0, ssl: 0x561717b39110, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717a9f720, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk1NDMsImlhdCI6MTY1MjA5OTI0MywiYXV0aF90aW1lIjoxNjUyMDk5MjQwLCJqdGkiOiJkNDJlOGRlMi01MmE4LTQ4YzctYTIwMS0xOTcxZmRmYzU5MDQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJPZV9Jb2tmblFoT3pRcUt0akZEMnpBIiwic2Vzc2lvbl9zdGF0ZSI6ImU4MmQyYjA2LWE4ZTgtNGQxMS1iZTRlLTRlOTdjM2U0YWI4ZCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImU4MmQyYjA2LWE4ZTgtNGQxMS1iZTRlLTRlOTdjM2U0YWI4ZCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.JEzJb7q1TIEWB77ZSj7As9Dxoka2o3GLEdZ9EfHHTJFHaoS8Mg33dygIaNyHLnhFvfMaI4oX0iU9XviF6nV_9-q9mKm_tGvj92XuH9xQjrGt7oeMNormJVmApLW0r45GJV3M26XuClUEeaN-UamKqMbHxNZN2lw93oHW3yYYnldknj7W6_UW6I-OXdf2e8gsLDvWEN4FCjws-JNYz7feoXgabWEYBT1P-YV7YtF1WEIdbUoC0am_5G1F7ELiA09WdC7BLnwozGqxCizmUA-kke9MTUbnPY6_2jVU4YBlH20CyoYBOqTQgxHRysBYXk7kIRWQoERG5POL81CLLqgTpw"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:27:25Z DEBUG paho_mqtt::async_client] Subscribe to '"app/3d21913c-bbfe-4b7a-8e64-6bf0737c062b"' @ QOS 0
[2022-05-09T12:27:25Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:27:25Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:27:25Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:27:25Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:27:25Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:27:25Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:27:26Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:27:26Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:27:26Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:27:26Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:27:27Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:27:27Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:27:27Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:27:27Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:27:28Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:27:28Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:27:28Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:27:28Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:27:28Z 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: 0x7f4b1c016a80, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x7f4b1c008160 } }, data: MessageData { topic: "app/3d21913c-bbfe-4b7a-8e64-6bf0737c062b", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x7f4b1c008160 } } } }
[2022-05-09T12:27:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717d8e350, 0x7f4b28004fb0
[2022-05-09T12:27:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004fb0, 0x7f4b28004de0
[2022-05-09T12:27:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004fb0, 0x7f4b28005e10
[2022-05-09T12:27:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005e10, 0x56171789b760
[2022-05-09T12:27:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005e10, 0x7f4b28003c90
[2022-05-09T12:27:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003c90, 0x7f4b28004de0
[2022-05-09T12:27:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003c90, 0x7f4b28003cf0
[2022-05-09T12:27:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003cf0, 0x7f4b28004de0
[2022-05-09T12:27:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003cf0, 0x7f4b28004de0
[2022-05-09T12:27:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003cf0, 0x7f4b28004de0
[2022-05-09T12:27:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003cf0, 0x7f4b28004540
[2022-05-09T12:27:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004540, 0x7f4b28004de0
[2022-05-09T12:27:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004540, 0x7f4b280045d0
[2022-05-09T12:27:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280045d0, 0x7f4b30003b30
[2022-05-09T12:27:28Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b280045d0
[2022-05-09T12:27:28Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/3d21913c-bbfe-4b7a-8e64-6bf0737c062b", content_type: Some("application/json"), user_properties: {"partitionkey": "3d21913c%2Dbbfe%2D4b7a%2D8e64%2D6bf0737c062b/device1", "senderuid": "fbf38f0e-f119-47c6-a357-ef08fbd5406c", "device": "device1", "specversion": "1.0", "source": "drogue://3d21913c%2Dbbfe%2D4b7a%2D8e64%2D6bf0737c062b/device1", "subject": "warmup", "type": "io.drogue.event.v1", "deviceuid": "66ad8602-c2f8-4404-a1d7-5f6a45b2c5fc", "applicationuid": "128134ca-1bee-433b-954b-7487da36671e", "id": "8734fcd1-9020-4085-9f15-62388df327d1", "time": "2022-05-09T12:27:28.827176959+00:00", "instance": "drogue", "application": "3d21913c-bbfe-4b7a-8e64-6bf0737c062b", "sender": "gateway1"}, payload: "{\"index\":3}" }
[2022-05-09T12:27:29Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:27:29Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:27:29Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:27:29Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:27:29Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "f47bfb96-cff1-423a-94eb-59b3affbe18a", persistence: None, user_data: None }
[2022-05-09T12:27:29Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:27:29Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717ad5900
[2022-05-09T12:27:29Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717ad5900
[2022-05-09T12:27:29Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717c79bb0, password: 0x561717aba730, connectTimeout: 30, retryInterval: 0, ssl: 0x561717c78870, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717c78590, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@3d21913c-bbfe-4b7a-8e64-6bf0737c062b"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:27:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 18, payload: 0x7f4b1c027480, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x7f4b1c027730 } }, data: MessageData { topic: "app/3d21913c-bbfe-4b7a-8e64-6bf0737c062b", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x7f4b1c027730 } } } }
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004610, 0x7f4b28005010
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005010, 0x7f4b1c0084b0
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005010, 0x7f4b28004540
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004540, 0x7f4b1c0085d0
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004540, 0x7f4b280045d0
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280045d0, 0x7f4b1c0084b0
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280045d0, 0x7f4b1c0084b0
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280045d0, 0x7f4b1c0084b0
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280045d0, 0x7f4b1c0084b0
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280045d0, 0x7f4b28004610
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004610, 0x7f4b1c01bac0
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004610, 0x7f4b1c0084b0
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004610, 0x7f4b28003cb0
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003cb0, 0x7f4b28004610
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28004610
[2022-05-09T12:27:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/3d21913c-bbfe-4b7a-8e64-6bf0737c062b", content_type: Some("application/json"), user_properties: {"sender": "gateway1", "subject": "connection", "deviceuid": "fbf38f0e-f119-47c6-a357-ef08fbd5406c", "time": "2022-05-09T12:27:29.948802556+00:00", "source": "drogue://3d21913c%2Dbbfe%2D4b7a%2D8e64%2D6bf0737c062b/gateway1", "applicationuid": "128134ca-1bee-433b-954b-7487da36671e", "partitionkey": "3d21913c%2Dbbfe%2D4b7a%2D8e64%2D6bf0737c062b/gateway1", "senderuid": "fbf38f0e-f119-47c6-a357-ef08fbd5406c", "device": "gateway1", "specversion": "1.0", "id": "7ab73ab2-9d47-4b94-ab0e-74f22de41072", "type": "io.drogue.connection.v1", "application": "3d21913c-bbfe-4b7a-8e64-6bf0737c062b", "instance": "drogue"}, payload: "{\"connected\":true}" }
[2022-05-09T12:27:30Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717bf9430 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717bf9430 } } } }
[2022-05-09T12:27:30Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:27:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 19, payload: 0x7f4b1c00ab10, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x7f4b1c00b580 } }, data: MessageData { topic: "app/3d21913c-bbfe-4b7a-8e64-6bf0737c062b", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x7f4b1c00b580 } } } }
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003cf0, 0x7f4b28004560
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004560, 0x7f4b1c0084b0
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004560, 0x7f4b28004630
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004630, 0x7f4b1c02f8d0
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004630, 0x7f4b28004650
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004650, 0x7f4b1c0084b0
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004650, 0x7f4b1c0084b0
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004650, 0x7f4b28004ff0
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004ff0, 0x7f4b1c0084b0
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004ff0, 0x7f4b28003c90
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003c90, 0x7f4b1c02fbf0
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003c90, 0x7f4b1c0084b0
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003c90, 0x7f4b1c0084b0
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003c90, 0x7f4b28004670
[2022-05-09T12:27:30Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28004670
[2022-05-09T12:27:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/3d21913c-bbfe-4b7a-8e64-6bf0737c062b", content_type: Some("application/json"), user_properties: {"source": "drogue://3d21913c%2Dbbfe%2D4b7a%2D8e64%2D6bf0737c062b/gateway1", "application": "3d21913c-bbfe-4b7a-8e64-6bf0737c062b", "instance": "drogue", "applicationuid": "128134ca-1bee-433b-954b-7487da36671e", "type": "io.drogue.connection.v1", "subject": "connection", "deviceuid": "fbf38f0e-f119-47c6-a357-ef08fbd5406c", "partitionkey": "3d21913c%2Dbbfe%2D4b7a%2D8e64%2D6bf0737c062b/gateway1", "senderuid": "fbf38f0e-f119-47c6-a357-ef08fbd5406c", "id": "2746face-bd27-4784-b54f-2ee7d442e094", "specversion": "1.0", "sender": "gateway1", "time": "2022-05-09T12:27:30.476044631+00:00", "device": "gateway1"}, payload: "{\"connected\":false}" }
[2022-05-09T12:27:31Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x7f4b1c00c1a0 } }, data: MessageData { topic: "app/3d21913c-bbfe-4b7a-8e64-6bf0737c062b", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x7f4b1c00c1a0 } } } }
[2022-05-09T12:27:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005010, 0x7f4b28004540
[2022-05-09T12:27:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004540, 0x7f4b1c016990
[2022-05-09T12:27:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004540, 0x7f4b28004560
[2022-05-09T12:27:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004560, 0x7f4b1c01b930
[2022-05-09T12:27:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004560, 0x7f4b280046b0
[2022-05-09T12:27:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280046b0, 0x7f4b1c016990
[2022-05-09T12:27:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280046b0, 0x7f4b280044f0
[2022-05-09T12:27:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280044f0, 0x7f4b280046b0
[2022-05-09T12:27:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280046b0, 0x7f4b1c016990
[2022-05-09T12:27:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280046b0, 0x7f4b1c016990
[2022-05-09T12:27:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280046b0, 0x7f4b1c016990
[2022-05-09T12:27:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280046b0, 0x7f4b1c00ab30
[2022-05-09T12:27:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280046b0, 0x7f4b1c016990
[2022-05-09T12:27:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280046b0, 0x7f4b28004ff0
[2022-05-09T12:27:31Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28004710
[2022-05-09T12:27:31Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/3d21913c-bbfe-4b7a-8e64-6bf0737c062b", content_type: Some("application/octet-stream"), user_properties: {"source": "drogue://3d21913c%2Dbbfe%2D4b7a%2D8e64%2D6bf0737c062b/device1", "subject": "telemetry", "device": "device1", "application": "3d21913c-bbfe-4b7a-8e64-6bf0737c062b", "id": "839835f1-2ffd-4b55-8a36-f2f379e8b572", "deviceuid": "66ad8602-c2f8-4404-a1d7-5f6a45b2c5fc", "type": "io.drogue.event.v1", "instance": "drogue", "partitionkey": "3d21913c%2Dbbfe%2D4b7a%2D8e64%2D6bf0737c062b/device1", "applicationuid": "128134ca-1bee-433b-954b-7487da36671e", "specversion": "1.0", "senderuid": "fbf38f0e-f119-47c6-a357-ef08fbd5406c", "sender": "gateway1", "time": "2022-05-09T12:27:30.475010331+00:00"}, payload: "" }
[2022-05-09T12:27:31Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:27:31Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:27:31Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:27:31Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "3d21913c-bbfe-4b7a-8e64-6bf0737c062b", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "3d21913c-bbfe-4b7a-8e64-6bf0737c062b", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:27:31Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:27:31Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "3d21913c-bbfe-4b7a-8e64-6bf0737c062b" "device1"
[2022-05-09T12:27:31Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:27:31Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:27:31Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "3d21913c-bbfe-4b7a-8e64-6bf0737c062b" "gateway1"
[2022-05-09T12:27:31Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:27:31Z INFO  drogue_cloud_tests::resources::apps] Destroy application '3d21913c-bbfe-4b7a-8e64-6bf0737c062b'
[2022-05-09T12:27:31Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "3d21913c-bbfe-4b7a-8e64-6bf0737c062b"
[2022-05-09T12:27:31Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 3d21913c-bbfe-4b7a-8e64-6bf0737c062b deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_2::integration_version_1::integration_ws_1

Duration: 15s

Test output
-------------- TEST START --------------
[2022-05-09T12:27:33Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:27:33Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:27:33Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:27:33Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:27:33Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:27:34Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:27:36Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:27:36Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:27:36Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:27:36Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:27:37Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDEwNTcsImlhdCI6MTY1MjA5OTI1NywianRpIjoiM2YwZWNkYTAtNDA0NC00YWM2LWEwMmUtNGQ5ODgyNDYzM2Q0IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlNvSEtKX0JqMTdYTzFPaHk3N2FFZ0EiLCJzZXNzaW9uX3N0YXRlIjoiYzk0ZDc5N2ItYWRjYy00YmI5LWEzNTQtYjAzZjYxNDgzNjM2Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImM5NGQ3OTdiLWFkY2MtNGJiOS1hMzU0LWIwM2Y2MTQ4MzYzNiJ9.SaiTFHAN15PqRZEXbETWHYfl2htUNYlR7zSKDqkWv2k
[2022-05-09T12:27:37Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:27:37Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:27:37Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDEwNTcsImlhdCI6MTY1MjA5OTI1NywianRpIjoiM2YwZWNkYTAtNDA0NC00YWM2LWEwMmUtNGQ5ODgyNDYzM2Q0IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlNvSEtKX0JqMTdYTzFPaHk3N2FFZ0EiLCJzZXNzaW9uX3N0YXRlIjoiYzk0ZDc5N2ItYWRjYy00YmI5LWEzNTQtYjAzZjYxNDgzNjM2Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImM5NGQ3OTdiLWFkY2MtNGJiOS1hMzU0LWIwM2Y2MTQ4MzYzNiJ9.SaiTFHAN15PqRZEXbETWHYfl2htUNYlR7zSKDqkWv2k" "--context" "system-tests"
[2022-05-09T12:27:38Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:27:38Z INFO  drogue_cloud_tests::resources::apps] Create application: 51c01f1b-604c-40ff-8639-59ce32664577
[2022-05-09T12:27:38Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "51c01f1b-604c-40ff-8639-59ce32664577"
[2022-05-09T12:27:38Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 51c01f1b-604c-40ff-8639-59ce32664577 created.\n", stderr: "" })
[2022-05-09T12:27:38Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "51c01f1b-604c-40ff-8639-59ce32664577"
[2022-05-09T12:27:38Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:27:38.724457Z\",\n    \"generation\": 1,\n    \"name\": \"51c01f1b-604c-40ff-8639-59ce32664577\",\n    \"resourceVersion\": \"f0ad1755-d856-4fef-a545-e8d33bea8d85\",\n    \"uid\": \"3fe4ac01-7caf-4ec9-bae6-d0de964b8806\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:27:38.741539068Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2022-05-09T12:27:38Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:27:38.724457Z"), "generation": Number(1), "name": String("51c01f1b-604c-40ff-8639-59ce32664577"), "resourceVersion": String("f0ad1755-d856-4fef-a545-e8d33bea8d85"), "uid": String("3fe4ac01-7caf-4ec9-bae6-d0de964b8806")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:27:38.741539068Z"), "status": String("True"), "type": String("Ready")})])})})
[2022-05-09T12:27:38Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:27:39Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "51c01f1b-604c-40ff-8639-59ce32664577"
[2022-05-09T12:27:39Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:27:38.724457Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"51c01f1b-604c-40ff-8639-59ce32664577\",\n    \"resourceVersion\": \"4535988a-561c-47a6-ba21-8bac03b17f9d\",\n    \"uid\": \"3fe4ac01-7caf-4ec9-bae6-d0de964b8806\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:27:39.068054340Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:27:39.068019545Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:38.785919026Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:38.792287077Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:38.861196623Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:38.868769313Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:39.067971926Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:39.067991242Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"zhecvN011yI9\",\n        \"username\": \"user-51c01f1b-604c-40ff-8639-59ce32664577\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:27:39Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:27:38.724457Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("51c01f1b-604c-40ff-8639-59ce32664577"), "resourceVersion": String("4535988a-561c-47a6-ba21-8bac03b17f9d"), "uid": String("3fe4ac01-7caf-4ec9-bae6-d0de964b8806")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:27:39.068054340Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:27:39.068019545Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:27:38.785919026Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:27:38.792287077Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:27:38.861196623Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:38.868769313Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:27:39.067971926Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:39.067991242Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("zhecvN011yI9"), "username": String("user-51c01f1b-604c-40ff-8639-59ce32664577")})})})})
[2022-05-09T12:27:39Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:27:39Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "51c01f1b-604c-40ff-8639-59ce32664577"
[2022-05-09T12:27:39Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:27:38.724457Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"51c01f1b-604c-40ff-8639-59ce32664577\",\n    \"resourceVersion\": \"4535988a-561c-47a6-ba21-8bac03b17f9d\",\n    \"uid\": \"3fe4ac01-7caf-4ec9-bae6-d0de964b8806\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:27:39.068054340Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:27:39.068019545Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:38.785919026Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:38.792287077Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:38.861196623Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:38.868769313Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:39.067971926Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:39.067991242Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"zhecvN011yI9\",\n        \"username\": \"user-51c01f1b-604c-40ff-8639-59ce32664577\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:27:39Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:27:38.724457Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("51c01f1b-604c-40ff-8639-59ce32664577"), "resourceVersion": String("4535988a-561c-47a6-ba21-8bac03b17f9d"), "uid": String("3fe4ac01-7caf-4ec9-bae6-d0de964b8806")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:27:39.068054340Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:27:39.068019545Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:27:38.785919026Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:27:38.792287077Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:27:38.861196623Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:38.868769313Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:27:39.067971926Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:39.067991242Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("zhecvN011yI9"), "username": String("user-51c01f1b-604c-40ff-8639-59ce32664577")})})})})
[2022-05-09T12:27:39Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:27:39Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:27:39Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "51c01f1b-604c-40ff-8639-59ce32664577" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:27:39Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:27:39Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:27:39Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:27:39Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:27:39Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk1NTgsImlhdCI6MTY1MjA5OTI1OCwiYXV0aF90aW1lIjoxNjUyMDk5MjU1LCJqdGkiOiI0YzZhODc3ZC1iZTVkLTRmOTktYjU4NS0yZTlhZDRiM2MzNjEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJTb0hLSl9CajE3WE8xT2h5NzdhRWdBIiwic2Vzc2lvbl9zdGF0ZSI6ImM5NGQ3OTdiLWFkY2MtNGJiOS1hMzU0LWIwM2Y2MTQ4MzYzNiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImM5NGQ3OTdiLWFkY2MtNGJiOS1hMzU0LWIwM2Y2MTQ4MzYzNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.EezZT616zGqQwtBYNfVH_s2ID-TrV7vdyJ3haZ_x_4h5rVToeYsodoj2zo8j91xWioCsPFrPMc1yxDxnTgJeaSLDXOBZsNbTr7LM5nhnUYWaR1mjZE3DGq75b1TKpwQ3GW1QnJcxnJ3A6tBRrC50mht_V0EBsVRwiGWDsbAxWeM7918vny0Ivr5QJRg_dgt-f0Q8JuQO_-KXVLXZ0pOZWj4lCLvoNBKJbUvLrXDwsVFwAYaihsN-0yr5g2SXxuMLhKmV1Y3mtYiIQOs7P3VPKO9UdtD6gpYtDDRyDXBsu_p7q4fNFWx0JFq3LF_yzIDJoguIWLOMumdoTRxyb6Uepg\n", stderr: "" })
[2022-05-09T12:27:39Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:27:39Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:27:39Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:27:39Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "51c01f1b-604c-40ff-8639-59ce32664577" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:27:39Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:27:39Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T12:27:39Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:27:39Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk1NTgsImlhdCI6MTY1MjA5OTI1OCwiYXV0aF90aW1lIjoxNjUyMDk5MjU1LCJqdGkiOiI0YzZhODc3ZC1iZTVkLTRmOTktYjU4NS0yZTlhZDRiM2MzNjEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJTb0hLSl9CajE3WE8xT2h5NzdhRWdBIiwic2Vzc2lvbl9zdGF0ZSI6ImM5NGQ3OTdiLWFkY2MtNGJiOS1hMzU0LWIwM2Y2MTQ4MzYzNiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImM5NGQ3OTdiLWFkY2MtNGJiOS1hMzU0LWIwM2Y2MTQ4MzYzNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.EezZT616zGqQwtBYNfVH_s2ID-TrV7vdyJ3haZ_x_4h5rVToeYsodoj2zo8j91xWioCsPFrPMc1yxDxnTgJeaSLDXOBZsNbTr7LM5nhnUYWaR1mjZE3DGq75b1TKpwQ3GW1QnJcxnJ3A6tBRrC50mht_V0EBsVRwiGWDsbAxWeM7918vny0Ivr5QJRg_dgt-f0Q8JuQO_-KXVLXZ0pOZWj4lCLvoNBKJbUvLrXDwsVFwAYaihsN-0yr5g2SXxuMLhKmV1Y3mtYiIQOs7P3VPKO9UdtD6gpYtDDRyDXBsu_p7q4fNFWx0JFq3LF_yzIDJoguIWLOMumdoTRxyb6Uepg\n", stderr: "" })
[2022-05-09T12:27:39Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "dafb11e4-f9a3-4adb-a028-3262bb8b6183", persistence: None, user_data: None }
[2022-05-09T12:27:39Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:27:39Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717ba6b50
[2022-05-09T12:27:39Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717ba6b50
[2022-05-09T12:27:39Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717ba5220, connectTimeout: 30, retryInterval: 0, ssl: 0x561717ce34e0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717ba6420, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk1NTgsImlhdCI6MTY1MjA5OTI1OCwiYXV0aF90aW1lIjoxNjUyMDk5MjU1LCJqdGkiOiI0YzZhODc3ZC1iZTVkLTRmOTktYjU4NS0yZTlhZDRiM2MzNjEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJTb0hLSl9CajE3WE8xT2h5NzdhRWdBIiwic2Vzc2lvbl9zdGF0ZSI6ImM5NGQ3OTdiLWFkY2MtNGJiOS1hMzU0LWIwM2Y2MTQ4MzYzNiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImM5NGQ3OTdiLWFkY2MtNGJiOS1hMzU0LWIwM2Y2MTQ4MzYzNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.EezZT616zGqQwtBYNfVH_s2ID-TrV7vdyJ3haZ_x_4h5rVToeYsodoj2zo8j91xWioCsPFrPMc1yxDxnTgJeaSLDXOBZsNbTr7LM5nhnUYWaR1mjZE3DGq75b1TKpwQ3GW1QnJcxnJ3A6tBRrC50mht_V0EBsVRwiGWDsbAxWeM7918vny0Ivr5QJRg_dgt-f0Q8JuQO_-KXVLXZ0pOZWj4lCLvoNBKJbUvLrXDwsVFwAYaihsN-0yr5g2SXxuMLhKmV1Y3mtYiIQOs7P3VPKO9UdtD6gpYtDDRyDXBsu_p7q4fNFWx0JFq3LF_yzIDJoguIWLOMumdoTRxyb6Uepg"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:27:39Z DEBUG paho_mqtt::async_client] Subscribe to '"app/51c01f1b-604c-40ff-8639-59ce32664577"' @ QOS 0
[2022-05-09T12:27:39Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:27:39Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:27:39Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:27:39Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:27:39Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:27:40Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:27:41Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:27:41Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:27:41Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:27:41Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:27:42Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:27:42Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:27:42Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:27:42Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:27:43Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:27:43Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:27:43Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:27:43Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 621, payload: 0x7f4b18008270, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/51c01f1b-604c-40ff-8639-59ce32664577", 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, 55, 56, 50, 53, 49, 54, 48, 99, 45, 57, 55, 56, 99, 45, 52, 49, 54, 50, 45, 57, 102, 98, 98, 45, 51, 51, 54, 51, 52, 98, 55, 50, 98, 51, 57, 56, 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, 53, 49, 99, 48, 49, 102, 49, 98, 37, 50, 68, 54, 48, 52, 99, 37, 50, 68, 52, 48, 102, 102, 37, 50, 68, 56, 54, 51, 57, 37, 50, 68, 53, 57, 99, 101, 51, 50, 54, 54, 52, 53, 55, 55, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 55, 58, 52, 51, 46, 56, 50, 57, 50, 56, 51, 54, 57, 51, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 48, 101, 51, 52, 51, 54, 56, 57, 45, 98, 54, 48, 52, 45, 52, 55, 57, 57, 45, 97, 98, 49, 102, 45, 57, 100, 97, 55, 49, 49, 56, 48, 49, 97, 97, 53, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 53, 49, 99, 48, 49, 102, 49, 98, 45, 54, 48, 52, 99, 45, 52, 48, 102, 102, 45, 56, 54, 51, 57, 45, 53, 57, 99, 101, 51, 50, 54, 54, 52, 53, 55, 55, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 53, 51, 56, 49, 56, 56, 48, 102, 45, 49, 101, 99, 101, 45, 52, 53, 50, 51, 45, 97, 52, 54, 50, 45, 99, 48, 99, 50, 52, 48, 55, 50, 99, 101, 53, 99, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 51, 102, 101, 52, 97, 99, 48, 49, 45, 55, 99, 97, 102, 45, 52, 101, 99, 57, 45, 98, 97, 101, 54, 45, 100, 48, 100, 101, 57, 54, 52, 98, 56, 56, 48, 54, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 53, 49, 99, 48, 49, 102, 49, 98, 37, 50, 68, 54, 48, 52, 99, 37, 50, 68, 52, 48, 102, 102, 37, 50, 68, 56, 54, 51, 57, 37, 50, 68, 53, 57, 99, 101, 51, 50, 54, 54, 52, 53, 55, 55, 47, 100, 101, 118, 105, 99, 101, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:27:43Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/51c01f1b-604c-40ff-8639-59ce32664577", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"7825160c-978c-4162-9fbb-33634b72b398\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://51c01f1b%2D604c%2D40ff%2D8639%2D59ce32664577/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:27:43.829283693Z\",\"data\":{\"index\":3},\"senderuid\":\"0e343689-b604-4799-ab1f-9da711801aa5\",\"application\":\"51c01f1b-604c-40ff-8639-59ce32664577\",\"instance\":\"drogue\",\"deviceuid\":\"5381880f-1ece-4523-a462-c0c24072ce5c\",\"applicationuid\":\"3fe4ac01-7caf-4ec9-bae6-d0de964b8806\",\"sender\":\"gateway1\",\"device\":\"device1\",\"partitionkey\":\"51c01f1b%2D604c%2D40ff%2D8639%2D59ce32664577/device1\"}" }
[2022-05-09T12:27:43Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:27:44Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:27:44Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:27:44Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:27:44Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:27:44Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "9687d081-23af-46cb-8ee0-1aabb0ac0982", persistence: None, user_data: None }
[2022-05-09T12:27:44Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:27:44Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717b69c50
[2022-05-09T12:27:44Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717b69c50
[2022-05-09T12:27:44Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717bc3d90, password: 0x561717a3ed80, connectTimeout: 30, retryInterval: 0, ssl: 0x561717b93430, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717beb280, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@51c01f1b-604c-40ff-8639-59ce32664577"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:27:45Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 640, payload: 0x7f4b18030e20, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/51c01f1b-604c-40ff-8639-59ce32664577", 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, 100, 56, 51, 49, 51, 54, 50, 49, 45, 54, 102, 51, 102, 45, 52, 99, 100, 48, 45, 97, 52, 48, 55, 45, 49, 57, 55, 56, 51, 48, 57, 54, 51, 100, 50, 98, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 53, 49, 99, 48, 49, 102, 49, 98, 37, 50, 68, 54, 48, 52, 99, 37, 50, 68, 52, 48, 102, 102, 37, 50, 68, 56, 54, 51, 57, 37, 50, 68, 53, 57, 99, 101, 51, 50, 54, 54, 52, 53, 55, 55, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 55, 58, 52, 52, 46, 57, 55, 55, 53, 55, 50, 48, 49, 57, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 48, 101, 51, 52, 51, 54, 56, 57, 45, 98, 54, 48, 52, 45, 52, 55, 57, 57, 45, 97, 98, 49, 102, 45, 57, 100, 97, 55, 49, 49, 56, 48, 49, 97, 97, 53, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 51, 102, 101, 52, 97, 99, 48, 49, 45, 55, 99, 97, 102, 45, 52, 101, 99, 57, 45, 98, 97, 101, 54, 45, 100, 48, 100, 101, 57, 54, 52, 98, 56, 56, 48, 54, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 48, 101, 51, 52, 51, 54, 56, 57, 45, 98, 54, 48, 52, 45, 52, 55, 57, 57, 45, 97, 98, 49, 102, 45, 57, 100, 97, 55, 49, 49, 56, 48, 49, 97, 97, 53, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 53, 49, 99, 48, 49, 102, 49, 98, 45, 54, 48, 52, 99, 45, 52, 48, 102, 102, 45, 56, 54, 51, 57, 45, 53, 57, 99, 101, 51, 50, 54, 54, 52, 53, 55, 55, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 53, 49, 99, 48, 49, 102, 49, 98, 37, 50, 68, 54, 48, 52, 99, 37, 50, 68, 52, 48, 102, 102, 37, 50, 68, 56, 54, 51, 57, 37, 50, 68, 53, 57, 99, 101, 51, 50, 54, 54, 52, 53, 55, 55, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:27:45Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717ca0100 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717ca0100 } } } }
[2022-05-09T12:27:45Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/51c01f1b-604c-40ff-8639-59ce32664577", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"d8313621-6f3f-4cd0-a407-197830963d2b\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://51c01f1b%2D604c%2D40ff%2D8639%2D59ce32664577/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:27:44.977572019Z\",\"data\":{\"connected\":true},\"deviceuid\":\"0e343689-b604-4799-ab1f-9da711801aa5\",\"sender\":\"gateway1\",\"instance\":\"drogue\",\"applicationuid\":\"3fe4ac01-7caf-4ec9-bae6-d0de964b8806\",\"senderuid\":\"0e343689-b604-4799-ab1f-9da711801aa5\",\"application\":\"51c01f1b-604c-40ff-8639-59ce32664577\",\"partitionkey\":\"51c01f1b%2D604c%2D40ff%2D8639%2D59ce32664577/gateway1\",\"device\":\"gateway1\"}" }
[2022-05-09T12:27:45Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:27:45Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 641, payload: 0x7f4b180310b0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/51c01f1b-604c-40ff-8639-59ce32664577", 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, 99, 51, 100, 97, 102, 52, 51, 101, 45, 99, 57, 48, 53, 45, 52, 50, 57, 53, 45, 98, 54, 99, 49, 45, 48, 52, 52, 56, 97, 48, 53, 56, 101, 49, 53, 97, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 53, 49, 99, 48, 49, 102, 49, 98, 37, 50, 68, 54, 48, 52, 99, 37, 50, 68, 52, 48, 102, 102, 37, 50, 68, 56, 54, 51, 57, 37, 50, 68, 53, 57, 99, 101, 51, 50, 54, 54, 52, 53, 55, 55, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 55, 58, 52, 53, 46, 53, 52, 55, 55, 49, 54, 56, 55, 49, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 53, 49, 99, 48, 49, 102, 49, 98, 45, 54, 48, 52, 99, 45, 52, 48, 102, 102, 45, 56, 54, 51, 57, 45, 53, 57, 99, 101, 51, 50, 54, 54, 52, 53, 55, 55, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 51, 102, 101, 52, 97, 99, 48, 49, 45, 55, 99, 97, 102, 45, 52, 101, 99, 57, 45, 98, 97, 101, 54, 45, 100, 48, 100, 101, 57, 54, 52, 98, 56, 56, 48, 54, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 48, 101, 51, 52, 51, 54, 56, 57, 45, 98, 54, 48, 52, 45, 52, 55, 57, 57, 45, 97, 98, 49, 102, 45, 57, 100, 97, 55, 49, 49, 56, 48, 49, 97, 97, 53, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 53, 49, 99, 48, 49, 102, 49, 98, 37, 50, 68, 54, 48, 52, 99, 37, 50, 68, 52, 48, 102, 102, 37, 50, 68, 56, 54, 51, 57, 37, 50, 68, 53, 57, 99, 101, 51, 50, 54, 54, 52, 53, 55, 55, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 48, 101, 51, 52, 51, 54, 56, 57, 45, 98, 54, 48, 52, 45, 52, 55, 57, 57, 45, 97, 98, 49, 102, 45, 57, 100, 97, 55, 49, 49, 56, 48, 49, 97, 97, 53, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:27:45Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/51c01f1b-604c-40ff-8639-59ce32664577", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"c3daf43e-c905-4295-b6c1-0448a058e15a\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://51c01f1b%2D604c%2D40ff%2D8639%2D59ce32664577/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:27:45.547716871Z\",\"data\":{\"connected\":false},\"application\":\"51c01f1b-604c-40ff-8639-59ce32664577\",\"device\":\"gateway1\",\"sender\":\"gateway1\",\"applicationuid\":\"3fe4ac01-7caf-4ec9-bae6-d0de964b8806\",\"senderuid\":\"0e343689-b604-4799-ab1f-9da711801aa5\",\"partitionkey\":\"51c01f1b%2D604c%2D40ff%2D8639%2D59ce32664577/gateway1\",\"instance\":\"drogue\",\"deviceuid\":\"0e343689-b604-4799-ab1f-9da711801aa5\"}" }
[2022-05-09T12:27:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 630, payload: 0x7f4b18030e20, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/51c01f1b-604c-40ff-8639-59ce32664577", 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, 48, 54, 102, 51, 50, 99, 53, 49, 45, 50, 101, 102, 53, 45, 52, 102, 57, 56, 45, 97, 49, 102, 57, 45, 49, 50, 55, 102, 97, 50, 55, 49, 102, 56, 48, 55, 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, 53, 49, 99, 48, 49, 102, 49, 98, 37, 50, 68, 54, 48, 52, 99, 37, 50, 68, 52, 48, 102, 102, 37, 50, 68, 56, 54, 51, 57, 37, 50, 68, 53, 57, 99, 101, 51, 50, 54, 54, 52, 53, 55, 55, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 55, 58, 52, 53, 46, 53, 52, 55, 51, 57, 48, 49, 51, 56, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 51, 102, 101, 52, 97, 99, 48, 49, 45, 55, 99, 97, 102, 45, 52, 101, 99, 57, 45, 98, 97, 101, 54, 45, 100, 48, 100, 101, 57, 54, 52, 98, 56, 56, 48, 54, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 53, 49, 99, 48, 49, 102, 49, 98, 37, 50, 68, 54, 48, 52, 99, 37, 50, 68, 52, 48, 102, 102, 37, 50, 68, 56, 54, 51, 57, 37, 50, 68, 53, 57, 99, 101, 51, 50, 54, 54, 52, 53, 55, 55, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 53, 51, 56, 49, 56, 56, 48, 102, 45, 49, 101, 99, 101, 45, 52, 53, 50, 51, 45, 97, 52, 54, 50, 45, 99, 48, 99, 50, 52, 48, 55, 50, 99, 101, 53, 99, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 48, 101, 51, 52, 51, 54, 56, 57, 45, 98, 54, 48, 52, 45, 52, 55, 57, 57, 45, 97, 98, 49, 102, 45, 57, 100, 97, 55, 49, 49, 56, 48, 49, 97, 97, 53, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 53, 49, 99, 48, 49, 102, 49, 98, 45, 54, 48, 52, 99, 45, 52, 48, 102, 102, 45, 56, 54, 51, 57, 45, 53, 57, 99, 101, 51, 50, 54, 54, 52, 53, 55, 55, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:27:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/51c01f1b-604c-40ff-8639-59ce32664577", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"06f32c51-2ef5-4f98-a1f9-127fa271f807\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://51c01f1b%2D604c%2D40ff%2D8639%2D59ce32664577/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:27:45.547390138Z\",\"data_base64\":\"\",\"sender\":\"gateway1\",\"applicationuid\":\"3fe4ac01-7caf-4ec9-bae6-d0de964b8806\",\"partitionkey\":\"51c01f1b%2D604c%2D40ff%2D8639%2D59ce32664577/device1\",\"instance\":\"drogue\",\"device\":\"device1\",\"deviceuid\":\"5381880f-1ece-4523-a462-c0c24072ce5c\",\"senderuid\":\"0e343689-b604-4799-ab1f-9da711801aa5\",\"application\":\"51c01f1b-604c-40ff-8639-59ce32664577\"}" }
[2022-05-09T12:27:46Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:27:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:27:46Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:27:46Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "51c01f1b-604c-40ff-8639-59ce32664577", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "51c01f1b-604c-40ff-8639-59ce32664577", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:27:46Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:27:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "51c01f1b-604c-40ff-8639-59ce32664577" "device1"
[2022-05-09T12:27:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:27:46Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:27:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "51c01f1b-604c-40ff-8639-59ce32664577" "gateway1"
[2022-05-09T12:27:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:27:46Z INFO  drogue_cloud_tests::resources::apps] Destroy application '51c01f1b-604c-40ff-8639-59ce32664577'
[2022-05-09T12:27:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "51c01f1b-604c-40ff-8639-59ce32664577"
[2022-05-09T12:27:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 51c01f1b-604c-40ff-8639-59ce32664577 deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_2::integration_version_1::integration_ws_2

Duration: 15s

Test output
-------------- TEST START --------------
[2022-05-09T12:27:48Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:27:48Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:27:48Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:27:48Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:27: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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:27:49Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:27:51Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:27:51Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:27:51Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:27:51Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:27:53Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDEwNzIsImlhdCI6MTY1MjA5OTI3MiwianRpIjoiZGM5YWRmOGMtZjU3Zi00ZGFiLTk0MGMtMTcwNmEyYWZhNjMwIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlUtTVdETVlOQWlfdmpTSGF0T2dJeVEiLCJzZXNzaW9uX3N0YXRlIjoiYTY4ODRlOTItZmNmMS00NGIyLThmNWQtYzM2M2UwMzdiNjM5Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImE2ODg0ZTkyLWZjZjEtNDRiMi04ZjVkLWMzNjNlMDM3YjYzOSJ9.ftGAXPiW7JdpfC-FPrumS0JNzMvqQYH24NNunqJ4Qb4
[2022-05-09T12:27:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:27:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:27:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDEwNzIsImlhdCI6MTY1MjA5OTI3MiwianRpIjoiZGM5YWRmOGMtZjU3Zi00ZGFiLTk0MGMtMTcwNmEyYWZhNjMwIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlUtTVdETVlOQWlfdmpTSGF0T2dJeVEiLCJzZXNzaW9uX3N0YXRlIjoiYTY4ODRlOTItZmNmMS00NGIyLThmNWQtYzM2M2UwMzdiNjM5Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImE2ODg0ZTkyLWZjZjEtNDRiMi04ZjVkLWMzNjNlMDM3YjYzOSJ9.ftGAXPiW7JdpfC-FPrumS0JNzMvqQYH24NNunqJ4Qb4" "--context" "system-tests"
[2022-05-09T12:27:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:27:53Z INFO  drogue_cloud_tests::resources::apps] Create application: 3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2
[2022-05-09T12:27:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2"
[2022-05-09T12:27:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2 created.\n", stderr: "" })
[2022-05-09T12:27:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2"
[2022-05-09T12:27:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:27:53.737923Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2\",\n    \"resourceVersion\": \"8cc1b084-3ba8-4f96-b67d-54ac75fc8483\",\n    \"uid\": \"6dbf7896-9467-475e-a5c2-7e502243028e\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:27:53.751546053Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:27:53.751586228Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:53.751498964Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:53.751500657Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:53.751501499Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:53.751502521Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:53.751504014Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:53.751512861Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:27:53Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:27:53.737923Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2"), "resourceVersion": String("8cc1b084-3ba8-4f96-b67d-54ac75fc8483"), "uid": String("6dbf7896-9467-475e-a5c2-7e502243028e")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:27:53.751546053Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:53.751586228Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:27:53.751498964Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:27:53.751500657Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:27:53.751501499Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:53.751502521Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:27:53.751504014Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:53.751512861Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T12:27:53Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:27:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2"
[2022-05-09T12:27:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:27:53.737923Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2\",\n    \"resourceVersion\": \"05a228c0-38f2-455c-bf9c-644c250c41fd\",\n    \"uid\": \"6dbf7896-9467-475e-a5c2-7e502243028e\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:27:54.037535604Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:27:54.037646232Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:53.777276791Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:53.786759603Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:53.846696103Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:53.853961497Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:54.037489046Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:54.037507Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"OYQhZFIBvPTc\",\n        \"username\": \"user-3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:27:54Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:27:53.737923Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2"), "resourceVersion": String("05a228c0-38f2-455c-bf9c-644c250c41fd"), "uid": String("6dbf7896-9467-475e-a5c2-7e502243028e")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:27:54.037535604Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:54.037646232Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:27:53.777276791Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:27:53.786759603Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:27:53.846696103Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:53.853961497Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:27:54.037489046Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:54.037507Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("OYQhZFIBvPTc"), "username": String("user-3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2")})})})})
[2022-05-09T12:27:54Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:27:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2"
[2022-05-09T12:27:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:27:53.737923Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2\",\n    \"resourceVersion\": \"05a228c0-38f2-455c-bf9c-644c250c41fd\",\n    \"uid\": \"6dbf7896-9467-475e-a5c2-7e502243028e\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:27:54.037535604Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:27:54.037646232Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:53.777276791Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:53.786759603Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:53.846696103Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:53.853961497Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:54.037489046Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:27:54.037507Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"OYQhZFIBvPTc\",\n        \"username\": \"user-3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:27:54Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:27:53.737923Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2"), "resourceVersion": String("05a228c0-38f2-455c-bf9c-644c250c41fd"), "uid": String("6dbf7896-9467-475e-a5c2-7e502243028e")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:27:54.037535604Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:54.037646232Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:27:53.777276791Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:27:53.786759603Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:27:53.846696103Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:53.853961497Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:27:54.037489046Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:27:54.037507Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("OYQhZFIBvPTc"), "username": String("user-3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2")})})})})
[2022-05-09T12:27:54Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:27:54Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:27:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:27:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:27:54Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:27:54Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:27:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:27:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk1NzMsImlhdCI6MTY1MjA5OTI3MywiYXV0aF90aW1lIjoxNjUyMDk5MjcwLCJqdGkiOiIzNzhhYTI1NC05OGZiLTRjZWMtYWE1Mi03OTU0MDU3YjljYTkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJVLU1XRE1ZTkFpX3ZqU0hhdE9nSXlRIiwic2Vzc2lvbl9zdGF0ZSI6ImE2ODg0ZTkyLWZjZjEtNDRiMi04ZjVkLWMzNjNlMDM3YjYzOSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImE2ODg0ZTkyLWZjZjEtNDRiMi04ZjVkLWMzNjNlMDM3YjYzOSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.hGo284gkMGVNpR--LlGb5f7uY-R-xB2-h_lRwjiBbo9JrqEVIgmHjDbiSFifEmrIJju87mOW79lwd5yX6JSUNBlmbExY-n4omEvz-ZWJPhPUyhc70CsQXRbXe7l7KLiYXCpCNdI3KMhHVnpIBAW2pt7e6Ylr1oYRqisgM5TKouJaDI5AIlv_Fswgk0INAVDrNaZPJpz5aLsQgBBdmWenyOEy_t33ysBB1ks8V6ducI0CYbyaAjAgUJSF4oZWhvP6bXuHbWuFcOu1lB_nw1iyZOTedxW8wc3QRwqx0t-YSjha8dxFiElUyPGRjNpCMYM4ipGhrJdPNvtiYF-Kg_u07A\n", stderr: "" })
[2022-05-09T12:27:54Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:27:54Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:27:54Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:27:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:27:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:27:54Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T12:27:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:27:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk1NzMsImlhdCI6MTY1MjA5OTI3MywiYXV0aF90aW1lIjoxNjUyMDk5MjcwLCJqdGkiOiIzNzhhYTI1NC05OGZiLTRjZWMtYWE1Mi03OTU0MDU3YjljYTkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJVLU1XRE1ZTkFpX3ZqU0hhdE9nSXlRIiwic2Vzc2lvbl9zdGF0ZSI6ImE2ODg0ZTkyLWZjZjEtNDRiMi04ZjVkLWMzNjNlMDM3YjYzOSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImE2ODg0ZTkyLWZjZjEtNDRiMi04ZjVkLWMzNjNlMDM3YjYzOSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.hGo284gkMGVNpR--LlGb5f7uY-R-xB2-h_lRwjiBbo9JrqEVIgmHjDbiSFifEmrIJju87mOW79lwd5yX6JSUNBlmbExY-n4omEvz-ZWJPhPUyhc70CsQXRbXe7l7KLiYXCpCNdI3KMhHVnpIBAW2pt7e6Ylr1oYRqisgM5TKouJaDI5AIlv_Fswgk0INAVDrNaZPJpz5aLsQgBBdmWenyOEy_t33ysBB1ks8V6ducI0CYbyaAjAgUJSF4oZWhvP6bXuHbWuFcOu1lB_nw1iyZOTedxW8wc3QRwqx0t-YSjha8dxFiElUyPGRjNpCMYM4ipGhrJdPNvtiYF-Kg_u07A\n", stderr: "" })
[2022-05-09T12:27:54Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "907e5bc7-4be5-4a5d-acef-1c060b3194ac", persistence: None, user_data: None }
[2022-05-09T12:27:54Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:27:54Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717af2170
[2022-05-09T12:27:54Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717af2170
[2022-05-09T12:27:54Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x56171797ece0, connectTimeout: 30, retryInterval: 0, ssl: 0x561717b93430, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717981060, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk1NzMsImlhdCI6MTY1MjA5OTI3MywiYXV0aF90aW1lIjoxNjUyMDk5MjcwLCJqdGkiOiIzNzhhYTI1NC05OGZiLTRjZWMtYWE1Mi03OTU0MDU3YjljYTkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJVLU1XRE1ZTkFpX3ZqU0hhdE9nSXlRIiwic2Vzc2lvbl9zdGF0ZSI6ImE2ODg0ZTkyLWZjZjEtNDRiMi04ZjVkLWMzNjNlMDM3YjYzOSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImE2ODg0ZTkyLWZjZjEtNDRiMi04ZjVkLWMzNjNlMDM3YjYzOSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.hGo284gkMGVNpR--LlGb5f7uY-R-xB2-h_lRwjiBbo9JrqEVIgmHjDbiSFifEmrIJju87mOW79lwd5yX6JSUNBlmbExY-n4omEvz-ZWJPhPUyhc70CsQXRbXe7l7KLiYXCpCNdI3KMhHVnpIBAW2pt7e6Ylr1oYRqisgM5TKouJaDI5AIlv_Fswgk0INAVDrNaZPJpz5aLsQgBBdmWenyOEy_t33ysBB1ks8V6ducI0CYbyaAjAgUJSF4oZWhvP6bXuHbWuFcOu1lB_nw1iyZOTedxW8wc3QRwqx0t-YSjha8dxFiElUyPGRjNpCMYM4ipGhrJdPNvtiYF-Kg_u07A"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:27:54Z DEBUG paho_mqtt::async_client] Subscribe to '"app/3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2"' @ QOS 0
[2022-05-09T12:27:54Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:27:54Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:27:54Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:27:54Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:27:54Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:27:55Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:27:56Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:27:56Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:27:56Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:27:56Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:27:57Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:27:57Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:27:57Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:27:57Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:27:58Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:27:58Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:27:58Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:27:58Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:27:58Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 621, payload: 0x7f4b1802d1f0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2", 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, 52, 51, 53, 49, 50, 50, 56, 101, 45, 57, 49, 57, 98, 45, 52, 98, 55, 57, 45, 97, 98, 53, 102, 45, 56, 99, 48, 102, 48, 51, 48, 51, 50, 100, 50, 50, 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, 51, 99, 50, 56, 51, 55, 102, 99, 37, 50, 68, 55, 49, 102, 98, 37, 50, 68, 52, 98, 50, 101, 37, 50, 68, 98, 51, 101, 53, 37, 50, 68, 100, 56, 51, 56, 101, 57, 102, 97, 99, 54, 102, 50, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 55, 58, 53, 56, 46, 56, 54, 54, 54, 48, 53, 50, 56, 49, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 50, 51, 53, 57, 53, 48, 56, 102, 45, 48, 50, 48, 56, 45, 52, 57, 102, 101, 45, 98, 99, 56, 99, 45, 101, 52, 97, 56, 52, 54, 57, 102, 56, 48, 100, 53, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 53, 99, 53, 100, 54, 101, 57, 51, 45, 97, 53, 56, 51, 45, 52, 99, 55, 48, 45, 97, 54, 50, 53, 45, 54, 56, 55, 54, 53, 49, 53, 54, 50, 102, 51, 54, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 54, 100, 98, 102, 55, 56, 57, 54, 45, 57, 52, 54, 55, 45, 52, 55, 53, 101, 45, 97, 53, 99, 50, 45, 55, 101, 53, 48, 50, 50, 52, 51, 48, 50, 56, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 51, 99, 50, 56, 51, 55, 102, 99, 37, 50, 68, 55, 49, 102, 98, 37, 50, 68, 52, 98, 50, 101, 37, 50, 68, 98, 51, 101, 53, 37, 50, 68, 100, 56, 51, 56, 101, 57, 102, 97, 99, 54, 102, 50, 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, 51, 99, 50, 56, 51, 55, 102, 99, 45, 55, 49, 102, 98, 45, 52, 98, 50, 101, 45, 98, 51, 101, 53, 45, 100, 56, 51, 56, 101, 57, 102, 97, 99, 54, 102, 50, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:27:58Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"4351228e-919b-4b79-ab5f-8c0f03032d22\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://3c2837fc%2D71fb%2D4b2e%2Db3e5%2Dd838e9fac6f2/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:27:58.866605281Z\",\"data\":{\"index\":3},\"sender\":\"gateway1\",\"instance\":\"drogue\",\"deviceuid\":\"2359508f-0208-49fe-bc8c-e4a8469f80d5\",\"senderuid\":\"5c5d6e93-a583-4c70-a625-687651562f36\",\"applicationuid\":\"6dbf7896-9467-475e-a5c2-7e502243028e\",\"device\":\"device1\",\"partitionkey\":\"3c2837fc%2D71fb%2D4b2e%2Db3e5%2Dd838e9fac6f2/device1\",\"application\":\"3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2\"}" }
[2022-05-09T12:27:59Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:27:59Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:27:59Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:27:59Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:27:59Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "e1b5d1dd-da68-4d0a-88ec-e5f938aca12d", persistence: None, user_data: None }
[2022-05-09T12:27:59Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:27:59Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717c6e1a0
[2022-05-09T12:27:59Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717c6e1a0
[2022-05-09T12:27:59Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717beeb10, password: 0x561717bfc620, connectTimeout: 30, retryInterval: 0, ssl: 0x561717d532a0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717bedd60, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:28:00Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 640, payload: 0x7f4b18029ec0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2", 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, 57, 98, 54, 99, 51, 51, 98, 45, 56, 97, 52, 53, 45, 52, 55, 52, 53, 45, 98, 55, 51, 57, 45, 52, 53, 48, 54, 102, 54, 101, 55, 100, 101, 54, 54, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 51, 99, 50, 56, 51, 55, 102, 99, 37, 50, 68, 55, 49, 102, 98, 37, 50, 68, 52, 98, 50, 101, 37, 50, 68, 98, 51, 101, 53, 37, 50, 68, 100, 56, 51, 56, 101, 57, 102, 97, 99, 54, 102, 50, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 55, 58, 53, 57, 46, 57, 56, 54, 52, 49, 51, 49, 55, 48, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 54, 100, 98, 102, 55, 56, 57, 54, 45, 57, 52, 54, 55, 45, 52, 55, 53, 101, 45, 97, 53, 99, 50, 45, 55, 101, 53, 48, 50, 50, 52, 51, 48, 50, 56, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 53, 99, 53, 100, 54, 101, 57, 51, 45, 97, 53, 56, 51, 45, 52, 99, 55, 48, 45, 97, 54, 50, 53, 45, 54, 56, 55, 54, 53, 49, 53, 54, 50, 102, 51, 54, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 51, 99, 50, 56, 51, 55, 102, 99, 45, 55, 49, 102, 98, 45, 52, 98, 50, 101, 45, 98, 51, 101, 53, 45, 100, 56, 51, 56, 101, 57, 102, 97, 99, 54, 102, 50, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 53, 99, 53, 100, 54, 101, 57, 51, 45, 97, 53, 56, 51, 45, 52, 99, 55, 48, 45, 97, 54, 50, 53, 45, 54, 56, 55, 54, 53, 49, 53, 54, 50, 102, 51, 54, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 51, 99, 50, 56, 51, 55, 102, 99, 37, 50, 68, 55, 49, 102, 98, 37, 50, 68, 52, 98, 50, 101, 37, 50, 68, 98, 51, 101, 53, 37, 50, 68, 100, 56, 51, 56, 101, 57, 102, 97, 99, 54, 102, 50, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:28:00Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"89b6c33b-8a45-4745-b739-4506f6e7de66\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://3c2837fc%2D71fb%2D4b2e%2Db3e5%2Dd838e9fac6f2/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:27:59.986413170Z\",\"data\":{\"connected\":true},\"applicationuid\":\"6dbf7896-9467-475e-a5c2-7e502243028e\",\"senderuid\":\"5c5d6e93-a583-4c70-a625-687651562f36\",\"sender\":\"gateway1\",\"device\":\"gateway1\",\"application\":\"3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2\",\"deviceuid\":\"5c5d6e93-a583-4c70-a625-687651562f36\",\"partitionkey\":\"3c2837fc%2D71fb%2D4b2e%2Db3e5%2Dd838e9fac6f2/gateway1\",\"instance\":\"drogue\"}" }
[2022-05-09T12:28:00Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717aeb740 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717aeb740 } } } }
[2022-05-09T12:28:00Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:28:01Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 630, payload: 0x7f4b18007ad0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2", 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, 55, 55, 51, 97, 49, 52, 97, 100, 45, 57, 50, 55, 52, 45, 52, 57, 56, 55, 45, 98, 56, 53, 100, 45, 57, 48, 50, 48, 98, 57, 100, 51, 55, 101, 57, 55, 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, 51, 99, 50, 56, 51, 55, 102, 99, 37, 50, 68, 55, 49, 102, 98, 37, 50, 68, 52, 98, 50, 101, 37, 50, 68, 98, 51, 101, 53, 37, 50, 68, 100, 56, 51, 56, 101, 57, 102, 97, 99, 54, 102, 50, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 56, 58, 48, 48, 46, 53, 54, 48, 52, 57, 48, 57, 55, 57, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 53, 99, 53, 100, 54, 101, 57, 51, 45, 97, 53, 56, 51, 45, 52, 99, 55, 48, 45, 97, 54, 50, 53, 45, 54, 56, 55, 54, 53, 49, 53, 54, 50, 102, 51, 54, 34, 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, 51, 99, 50, 56, 51, 55, 102, 99, 37, 50, 68, 55, 49, 102, 98, 37, 50, 68, 52, 98, 50, 101, 37, 50, 68, 98, 51, 101, 53, 37, 50, 68, 100, 56, 51, 56, 101, 57, 102, 97, 99, 54, 102, 50, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 51, 99, 50, 56, 51, 55, 102, 99, 45, 55, 49, 102, 98, 45, 52, 98, 50, 101, 45, 98, 51, 101, 53, 45, 100, 56, 51, 56, 101, 57, 102, 97, 99, 54, 102, 50, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 54, 100, 98, 102, 55, 56, 57, 54, 45, 57, 52, 54, 55, 45, 52, 55, 53, 101, 45, 97, 53, 99, 50, 45, 55, 101, 53, 48, 50, 50, 52, 51, 48, 50, 56, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 50, 51, 53, 57, 53, 48, 56, 102, 45, 48, 50, 48, 56, 45, 52, 57, 102, 101, 45, 98, 99, 56, 99, 45, 101, 52, 97, 56, 52, 54, 57, 102, 56, 48, 100, 53, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:28:01Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"773a14ad-9274-4987-b85d-9020b9d37e97\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://3c2837fc%2D71fb%2D4b2e%2Db3e5%2Dd838e9fac6f2/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:28:00.560490979Z\",\"data_base64\":\"\",\"senderuid\":\"5c5d6e93-a583-4c70-a625-687651562f36\",\"instance\":\"drogue\",\"partitionkey\":\"3c2837fc%2D71fb%2D4b2e%2Db3e5%2Dd838e9fac6f2/device1\",\"sender\":\"gateway1\",\"device\":\"device1\",\"application\":\"3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2\",\"applicationuid\":\"6dbf7896-9467-475e-a5c2-7e502243028e\",\"deviceuid\":\"2359508f-0208-49fe-bc8c-e4a8469f80d5\"}" }
[2022-05-09T12:28:01Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 641, payload: 0x7f4b1802a410, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2", 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, 57, 49, 50, 100, 56, 53, 52, 98, 45, 50, 101, 50, 56, 45, 52, 101, 48, 55, 45, 98, 57, 49, 97, 45, 101, 48, 57, 55, 52, 101, 55, 51, 98, 55, 101, 56, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 51, 99, 50, 56, 51, 55, 102, 99, 37, 50, 68, 55, 49, 102, 98, 37, 50, 68, 52, 98, 50, 101, 37, 50, 68, 98, 51, 101, 53, 37, 50, 68, 100, 56, 51, 56, 101, 57, 102, 97, 99, 54, 102, 50, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 56, 58, 48, 49, 46, 52, 53, 56, 55, 54, 54, 55, 48, 52, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 51, 99, 50, 56, 51, 55, 102, 99, 45, 55, 49, 102, 98, 45, 52, 98, 50, 101, 45, 98, 51, 101, 53, 45, 100, 56, 51, 56, 101, 57, 102, 97, 99, 54, 102, 50, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 51, 99, 50, 56, 51, 55, 102, 99, 37, 50, 68, 55, 49, 102, 98, 37, 50, 68, 52, 98, 50, 101, 37, 50, 68, 98, 51, 101, 53, 37, 50, 68, 100, 56, 51, 56, 101, 57, 102, 97, 99, 54, 102, 50, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 53, 99, 53, 100, 54, 101, 57, 51, 45, 97, 53, 56, 51, 45, 52, 99, 55, 48, 45, 97, 54, 50, 53, 45, 54, 56, 55, 54, 53, 49, 53, 54, 50, 102, 51, 54, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 54, 100, 98, 102, 55, 56, 57, 54, 45, 57, 52, 54, 55, 45, 52, 55, 53, 101, 45, 97, 53, 99, 50, 45, 55, 101, 53, 48, 50, 50, 52, 51, 48, 50, 56, 101, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 53, 99, 53, 100, 54, 101, 57, 51, 45, 97, 53, 56, 51, 45, 52, 99, 55, 48, 45, 97, 54, 50, 53, 45, 54, 56, 55, 54, 53, 49, 53, 54, 50, 102, 51, 54, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:28:01Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"912d854b-2e28-4e07-b91a-e0974e73b7e8\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://3c2837fc%2D71fb%2D4b2e%2Db3e5%2Dd838e9fac6f2/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:28:01.458766704Z\",\"data\":{\"connected\":false},\"application\":\"3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2\",\"device\":\"gateway1\",\"partitionkey\":\"3c2837fc%2D71fb%2D4b2e%2Db3e5%2Dd838e9fac6f2/gateway1\",\"deviceuid\":\"5c5d6e93-a583-4c70-a625-687651562f36\",\"sender\":\"gateway1\",\"applicationuid\":\"6dbf7896-9467-475e-a5c2-7e502243028e\",\"instance\":\"drogue\",\"senderuid\":\"5c5d6e93-a583-4c70-a625-687651562f36\"}" }
[2022-05-09T12:28:01Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:28:01Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:28:01Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:28:01Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2", device: "device1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:28:01Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:28:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2" "device1"
[2022-05-09T12:28:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:28:01Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:28:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2" "gateway1"
[2022-05-09T12:28:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:28:01Z INFO  drogue_cloud_tests::resources::apps] Destroy application '3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2'
[2022-05-09T12:28:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2"
[2022-05-09T12:28:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 3c2837fc-71fb-4b2e-b3e5-d838e9fac6f2 deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_2::integration_version_2::integration_ws_1

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T12:28:03Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:28:03Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:28:03Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:28:03Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:28:03Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:28:04Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:28:06Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:28:06Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:28:06Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:28:06Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:28:08Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDEwODgsImlhdCI6MTY1MjA5OTI4OCwianRpIjoiNTdiMTcwN2ItNDU0MC00NTE0LWEwMDctYWJhYjkzZTU5M2FkIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IkNvVEFScThFNGNFSlNpRlRIZlBKdGciLCJzZXNzaW9uX3N0YXRlIjoiOWI1YWY4MDUtZWJiYy00YWZjLWJhNmMtYjI0MzAyNDk0ZTc4Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjliNWFmODA1LWViYmMtNGFmYy1iYTZjLWIyNDMwMjQ5NGU3OCJ9.SaLzxbhkLhAHonKR7Yz5XQA4b1aTx00FqoL-xVOZ9ZI
[2022-05-09T12:28:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:28:08Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:28:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDEwODgsImlhdCI6MTY1MjA5OTI4OCwianRpIjoiNTdiMTcwN2ItNDU0MC00NTE0LWEwMDctYWJhYjkzZTU5M2FkIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IkNvVEFScThFNGNFSlNpRlRIZlBKdGciLCJzZXNzaW9uX3N0YXRlIjoiOWI1YWY4MDUtZWJiYy00YWZjLWJhNmMtYjI0MzAyNDk0ZTc4Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjliNWFmODA1LWViYmMtNGFmYy1iYTZjLWIyNDMwMjQ5NGU3OCJ9.SaLzxbhkLhAHonKR7Yz5XQA4b1aTx00FqoL-xVOZ9ZI" "--context" "system-tests"
[2022-05-09T12:28:08Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:28:08Z INFO  drogue_cloud_tests::resources::apps] Create application: c5847fce-5bf1-4f26-8f83-a63ffbdddd42
[2022-05-09T12:28:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "c5847fce-5bf1-4f26-8f83-a63ffbdddd42"
[2022-05-09T12:28:08Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App c5847fce-5bf1-4f26-8f83-a63ffbdddd42 created.\n", stderr: "" })
[2022-05-09T12:28:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "c5847fce-5bf1-4f26-8f83-a63ffbdddd42"
[2022-05-09T12:28:08Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:28:08.875294Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"c5847fce-5bf1-4f26-8f83-a63ffbdddd42\",\n    \"resourceVersion\": \"ea5cf988-7ef3-4f95-b431-4f21e3cd0c0a\",\n    \"uid\": \"71275424-c283-404b-8e1d-cc29c11e9028\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:28:08.892099319Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:28:08.892506673Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:08.892032042Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:08.892033525Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:08.892034197Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:08.892035059Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:08.892036321Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:08.892058963Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:28:08Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:28:08.875294Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("c5847fce-5bf1-4f26-8f83-a63ffbdddd42"), "resourceVersion": String("ea5cf988-7ef3-4f95-b431-4f21e3cd0c0a"), "uid": String("71275424-c283-404b-8e1d-cc29c11e9028")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:28:08.892099319Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:08.892506673Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:28:08.892032042Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:28:08.892033525Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:28:08.892034197Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:08.892035059Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:28:08.892036321Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:08.892058963Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T12:28:08Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:28:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "c5847fce-5bf1-4f26-8f83-a63ffbdddd42"
[2022-05-09T12:28:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:28:08.875294Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"c5847fce-5bf1-4f26-8f83-a63ffbdddd42\",\n    \"resourceVersion\": \"84e2dc7d-d6d5-44f9-923e-a37ed865ed77\",\n    \"uid\": \"71275424-c283-404b-8e1d-cc29c11e9028\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:28:09.188987367Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:28:09.189030428Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:08.914758389Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:08.920843308Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:08.980058876Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:08.986204761Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:09.188939146Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:09.188960306Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"b1PFdcUe49vs\",\n        \"username\": \"user-c5847fce-5bf1-4f26-8f83-a63ffbdddd42\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:28:09Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:28:08.875294Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("c5847fce-5bf1-4f26-8f83-a63ffbdddd42"), "resourceVersion": String("84e2dc7d-d6d5-44f9-923e-a37ed865ed77"), "uid": String("71275424-c283-404b-8e1d-cc29c11e9028")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:28:09.188987367Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:09.189030428Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:28:08.914758389Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:28:08.920843308Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:28:08.980058876Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:08.986204761Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:28:09.188939146Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:09.188960306Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("b1PFdcUe49vs"), "username": String("user-c5847fce-5bf1-4f26-8f83-a63ffbdddd42")})})})})
[2022-05-09T12:28:09Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:28:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "c5847fce-5bf1-4f26-8f83-a63ffbdddd42"
[2022-05-09T12:28:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:28:08.875294Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"c5847fce-5bf1-4f26-8f83-a63ffbdddd42\",\n    \"resourceVersion\": \"84e2dc7d-d6d5-44f9-923e-a37ed865ed77\",\n    \"uid\": \"71275424-c283-404b-8e1d-cc29c11e9028\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:28:09.188987367Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:28:09.189030428Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:08.914758389Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:08.920843308Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:08.980058876Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:08.986204761Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:09.188939146Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:09.188960306Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"b1PFdcUe49vs\",\n        \"username\": \"user-c5847fce-5bf1-4f26-8f83-a63ffbdddd42\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:28:09Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:28:08.875294Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("c5847fce-5bf1-4f26-8f83-a63ffbdddd42"), "resourceVersion": String("84e2dc7d-d6d5-44f9-923e-a37ed865ed77"), "uid": String("71275424-c283-404b-8e1d-cc29c11e9028")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:28:09.188987367Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:09.189030428Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:28:08.914758389Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:28:08.920843308Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:28:08.980058876Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:08.986204761Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:28:09.188939146Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:09.188960306Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("b1PFdcUe49vs"), "username": String("user-c5847fce-5bf1-4f26-8f83-a63ffbdddd42")})})})})
[2022-05-09T12:28:09Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:28:09Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:28:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "c5847fce-5bf1-4f26-8f83-a63ffbdddd42" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:28:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:28:09Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:28:09Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:28:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:28:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk1ODgsImlhdCI6MTY1MjA5OTI4OCwiYXV0aF90aW1lIjoxNjUyMDk5Mjg1LCJqdGkiOiJkYzM2MTJlYS1mNWEzLTRkMmUtODMxNy04Y2JhNDE1MTE5NjMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJDb1RBUnE4RTRjRUpTaUZUSGZQSnRnIiwic2Vzc2lvbl9zdGF0ZSI6IjliNWFmODA1LWViYmMtNGFmYy1iYTZjLWIyNDMwMjQ5NGU3OCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjliNWFmODA1LWViYmMtNGFmYy1iYTZjLWIyNDMwMjQ5NGU3OCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.bcOjLURhgYjlZJs7eXarCJnpvD4-aduN4ufbUanKtDTsYHRowjH5Tlww-NArsyc7racVN44EfY7y9V2qTKWBJQFZoF4kCd62zpKseoX2gSrFCGprT7qkLNMmprr5WDAs174PE-lXIFX7ipqKlW3THZPqrx5ASO7x-mGPZUZouczCuT8Gu4anxgc44kLoStkGD3dKC-Kt6reZWnwbl2CWoy75gFFFH8RcwuVYIoJZpLEA46yuZSRUx49FF5omYeV-cVn6MCd_QWecNV5nmoriEc8EkqR5QSuf1eujEUZIkg8FZYJh2_D9Vpn5Ki9h4Lf2Fofjg8hywGvezkSaIe529Q\n", stderr: "" })
[2022-05-09T12:28:09Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:28:09Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:28:09Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:28:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "c5847fce-5bf1-4f26-8f83-a63ffbdddd42" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:28:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:28:10Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T12:28:10Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:28:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk1ODgsImlhdCI6MTY1MjA5OTI4OCwiYXV0aF90aW1lIjoxNjUyMDk5Mjg1LCJqdGkiOiJkYzM2MTJlYS1mNWEzLTRkMmUtODMxNy04Y2JhNDE1MTE5NjMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJDb1RBUnE4RTRjRUpTaUZUSGZQSnRnIiwic2Vzc2lvbl9zdGF0ZSI6IjliNWFmODA1LWViYmMtNGFmYy1iYTZjLWIyNDMwMjQ5NGU3OCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjliNWFmODA1LWViYmMtNGFmYy1iYTZjLWIyNDMwMjQ5NGU3OCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.bcOjLURhgYjlZJs7eXarCJnpvD4-aduN4ufbUanKtDTsYHRowjH5Tlww-NArsyc7racVN44EfY7y9V2qTKWBJQFZoF4kCd62zpKseoX2gSrFCGprT7qkLNMmprr5WDAs174PE-lXIFX7ipqKlW3THZPqrx5ASO7x-mGPZUZouczCuT8Gu4anxgc44kLoStkGD3dKC-Kt6reZWnwbl2CWoy75gFFFH8RcwuVYIoJZpLEA46yuZSRUx49FF5omYeV-cVn6MCd_QWecNV5nmoriEc8EkqR5QSuf1eujEUZIkg8FZYJh2_D9Vpn5Ki9h4Lf2Fofjg8hywGvezkSaIe529Q\n", stderr: "" })
[2022-05-09T12:28:10Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "89bd27fd-5de3-4264-8592-44654a5861e5", persistence: None, user_data: None }
[2022-05-09T12:28:10Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:28:10Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x5617179e65a0
[2022-05-09T12:28:10Z DEBUG paho_mqtt::async_client] Connecting handle: 0x5617179e65a0
[2022-05-09T12:28:10Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717cfe020, connectTimeout: 30, retryInterval: 0, ssl: 0x5617179f0c00, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x5617178aa9d0, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk1ODgsImlhdCI6MTY1MjA5OTI4OCwiYXV0aF90aW1lIjoxNjUyMDk5Mjg1LCJqdGkiOiJkYzM2MTJlYS1mNWEzLTRkMmUtODMxNy04Y2JhNDE1MTE5NjMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJDb1RBUnE4RTRjRUpTaUZUSGZQSnRnIiwic2Vzc2lvbl9zdGF0ZSI6IjliNWFmODA1LWViYmMtNGFmYy1iYTZjLWIyNDMwMjQ5NGU3OCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjliNWFmODA1LWViYmMtNGFmYy1iYTZjLWIyNDMwMjQ5NGU3OCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.bcOjLURhgYjlZJs7eXarCJnpvD4-aduN4ufbUanKtDTsYHRowjH5Tlww-NArsyc7racVN44EfY7y9V2qTKWBJQFZoF4kCd62zpKseoX2gSrFCGprT7qkLNMmprr5WDAs174PE-lXIFX7ipqKlW3THZPqrx5ASO7x-mGPZUZouczCuT8Gu4anxgc44kLoStkGD3dKC-Kt6reZWnwbl2CWoy75gFFFH8RcwuVYIoJZpLEA46yuZSRUx49FF5omYeV-cVn6MCd_QWecNV5nmoriEc8EkqR5QSuf1eujEUZIkg8FZYJh2_D9Vpn5Ki9h4Lf2Fofjg8hywGvezkSaIe529Q"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:28:10Z DEBUG paho_mqtt::async_client] Subscribe to '"app/c5847fce-5bf1-4f26-8f83-a63ffbdddd42"' @ QOS 0
[2022-05-09T12:28:10Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:28:10Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:28:10Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:28:10Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:28:10Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:28:10Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:28:11Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:28:11Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:28:11Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:28:11Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:28:12Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:28:12Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:28:12Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:28:12Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:28:13Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:28:13Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:28:13Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:28:13Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:28:13Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 621, payload: 0x7f4b1c006c60, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c006ee0 } }, data: MessageData { topic: "app/c5847fce-5bf1-4f26-8f83-a63ffbdddd42", 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, 55, 56, 101, 51, 48, 54, 55, 50, 45, 53, 97, 53, 99, 45, 52, 99, 50, 51, 45, 98, 48, 100, 54, 45, 56, 98, 56, 100, 97, 53, 53, 56, 99, 55, 49, 54, 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, 53, 56, 52, 55, 102, 99, 101, 37, 50, 68, 53, 98, 102, 49, 37, 50, 68, 52, 102, 50, 54, 37, 50, 68, 56, 102, 56, 51, 37, 50, 68, 97, 54, 51, 102, 102, 98, 100, 100, 100, 100, 52, 50, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 56, 58, 49, 51, 46, 56, 54, 55, 57, 52, 52, 57, 52, 52, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 99, 53, 56, 52, 55, 102, 99, 101, 37, 50, 68, 53, 98, 102, 49, 37, 50, 68, 52, 102, 50, 54, 37, 50, 68, 56, 102, 56, 51, 37, 50, 68, 97, 54, 51, 102, 102, 98, 100, 100, 100, 100, 52, 50, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 55, 49, 50, 55, 53, 52, 50, 52, 45, 99, 50, 56, 51, 45, 52, 48, 52, 98, 45, 56, 101, 49, 100, 45, 99, 99, 50, 57, 99, 49, 49, 101, 57, 48, 50, 56, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 56, 55, 100, 54, 102, 102, 54, 50, 45, 101, 49, 97, 53, 45, 52, 51, 101, 98, 45, 98, 49, 101, 49, 45, 98, 55, 97, 54, 100, 50, 52, 48, 48, 57, 99, 57, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 52, 98, 51, 51, 102, 50, 54, 98, 45, 102, 53, 53, 54, 45, 52, 50, 52, 98, 45, 56, 102, 50, 51, 45, 54, 53, 56, 49, 102, 55, 49, 51, 98, 53, 57, 50, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 99, 53, 56, 52, 55, 102, 99, 101, 45, 53, 98, 102, 49, 45, 52, 102, 50, 54, 45, 56, 102, 56, 51, 45, 97, 54, 51, 102, 102, 98, 100, 100, 100, 100, 52, 50, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c006ee0 } } } }
[2022-05-09T12:28:13Z DEBUG paho_mqtt::properties] Dropping string property: 0x56171797e560
[2022-05-09T12:28:13Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/c5847fce-5bf1-4f26-8f83-a63ffbdddd42", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"78e30672-5a5c-4c23-b0d6-8b8da558c716\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://c5847fce%2D5bf1%2D4f26%2D8f83%2Da63ffbdddd42/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:28:13.867944944Z\",\"data\":{\"index\":3},\"sender\":\"gateway1\",\"partitionkey\":\"c5847fce%2D5bf1%2D4f26%2D8f83%2Da63ffbdddd42/device1\",\"applicationuid\":\"71275424-c283-404b-8e1d-cc29c11e9028\",\"deviceuid\":\"87d6ff62-e1a5-43eb-b1e1-b7a6d24009c9\",\"device\":\"device1\",\"senderuid\":\"4b33f26b-f556-424b-8f23-6581f713b592\",\"instance\":\"drogue\",\"application\":\"c5847fce-5bf1-4f26-8f83-a63ffbdddd42\"}" }
[2022-05-09T12:28:14Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:28:14Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:28:14Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:28:14Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:28:14Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "9e768525-7294-4bd2-8216-5d9828b2b04b", persistence: None, user_data: None }
[2022-05-09T12:28:14Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:28:14Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717c19cd0
[2022-05-09T12:28:14Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717c19cd0
[2022-05-09T12:28:14Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x5617178e2140, password: 0x56171795a060, connectTimeout: 30, retryInterval: 0, ssl: 0x561717881d60, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x5617178a3ad0, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@c5847fce-5bf1-4f26-8f83-a63ffbdddd42"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:28:15Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717cc4ba0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717cc4ba0 } } } }
[2022-05-09T12:28:15Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 640, payload: 0x7f4b1c00fb40, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c00fdd0 } }, data: MessageData { topic: "app/c5847fce-5bf1-4f26-8f83-a63ffbdddd42", 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, 98, 50, 51, 52, 101, 98, 51, 101, 45, 49, 51, 101, 55, 45, 52, 97, 51, 102, 45, 56, 97, 57, 100, 45, 102, 52, 54, 97, 98, 99, 99, 49, 101, 56, 99, 101, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 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, 53, 56, 52, 55, 102, 99, 101, 37, 50, 68, 53, 98, 102, 49, 37, 50, 68, 52, 102, 50, 54, 37, 50, 68, 56, 102, 56, 51, 37, 50, 68, 97, 54, 51, 102, 102, 98, 100, 100, 100, 100, 52, 50, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 56, 58, 49, 52, 46, 57, 56, 53, 57, 56, 53, 49, 50, 48, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 99, 53, 56, 52, 55, 102, 99, 101, 37, 50, 68, 53, 98, 102, 49, 37, 50, 68, 52, 102, 50, 54, 37, 50, 68, 56, 102, 56, 51, 37, 50, 68, 97, 54, 51, 102, 102, 98, 100, 100, 100, 100, 52, 50, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 52, 98, 51, 51, 102, 50, 54, 98, 45, 102, 53, 53, 54, 45, 52, 50, 52, 98, 45, 56, 102, 50, 51, 45, 54, 53, 56, 49, 102, 55, 49, 51, 98, 53, 57, 50, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 52, 98, 51, 51, 102, 50, 54, 98, 45, 102, 53, 53, 54, 45, 52, 50, 52, 98, 45, 56, 102, 50, 51, 45, 54, 53, 56, 49, 102, 55, 49, 51, 98, 53, 57, 50, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 99, 53, 56, 52, 55, 102, 99, 101, 45, 53, 98, 102, 49, 45, 52, 102, 50, 54, 45, 56, 102, 56, 51, 45, 97, 54, 51, 102, 102, 98, 100, 100, 100, 100, 52, 50, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 55, 49, 50, 55, 53, 52, 50, 52, 45, 99, 50, 56, 51, 45, 52, 48, 52, 98, 45, 56, 101, 49, 100, 45, 99, 99, 50, 57, 99, 49, 49, 101, 57, 48, 50, 56, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c00fdd0 } } } }
[2022-05-09T12:28:15Z DEBUG paho_mqtt::properties] Dropping string property: 0x56171797e560
[2022-05-09T12:28:15Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:28:15Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/c5847fce-5bf1-4f26-8f83-a63ffbdddd42", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"b234eb3e-13e7-4a3f-8a9d-f46abcc1e8ce\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://c5847fce%2D5bf1%2D4f26%2D8f83%2Da63ffbdddd42/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:28:14.985985120Z\",\"data\":{\"connected\":true},\"device\":\"gateway1\",\"partitionkey\":\"c5847fce%2D5bf1%2D4f26%2D8f83%2Da63ffbdddd42/gateway1\",\"senderuid\":\"4b33f26b-f556-424b-8f23-6581f713b592\",\"instance\":\"drogue\",\"deviceuid\":\"4b33f26b-f556-424b-8f23-6581f713b592\",\"application\":\"c5847fce-5bf1-4f26-8f83-a63ffbdddd42\",\"applicationuid\":\"71275424-c283-404b-8e1d-cc29c11e9028\",\"sender\":\"gateway1\"}" }
[2022-05-09T12:28:16Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 630, payload: 0x7f4b1c00b140, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c00b3c0 } }, data: MessageData { topic: "app/c5847fce-5bf1-4f26-8f83-a63ffbdddd42", 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, 49, 101, 98, 97, 100, 56, 56, 99, 45, 50, 97, 53, 102, 45, 52, 97, 97, 55, 45, 98, 52, 99, 55, 45, 98, 101, 97, 52, 51, 51, 56, 54, 101, 99, 49, 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, 53, 56, 52, 55, 102, 99, 101, 37, 50, 68, 53, 98, 102, 49, 37, 50, 68, 52, 102, 50, 54, 37, 50, 68, 56, 102, 56, 51, 37, 50, 68, 97, 54, 51, 102, 102, 98, 100, 100, 100, 100, 52, 50, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 56, 58, 49, 53, 46, 53, 54, 50, 50, 49, 50, 48, 57, 56, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 99, 53, 56, 52, 55, 102, 99, 101, 45, 53, 98, 102, 49, 45, 52, 102, 50, 54, 45, 56, 102, 56, 51, 45, 97, 54, 51, 102, 102, 98, 100, 100, 100, 100, 52, 50, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 99, 53, 56, 52, 55, 102, 99, 101, 37, 50, 68, 53, 98, 102, 49, 37, 50, 68, 52, 102, 50, 54, 37, 50, 68, 56, 102, 56, 51, 37, 50, 68, 97, 54, 51, 102, 102, 98, 100, 100, 100, 100, 52, 50, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 52, 98, 51, 51, 102, 50, 54, 98, 45, 102, 53, 53, 54, 45, 52, 50, 52, 98, 45, 56, 102, 50, 51, 45, 54, 53, 56, 49, 102, 55, 49, 51, 98, 53, 57, 50, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 55, 49, 50, 55, 53, 52, 50, 52, 45, 99, 50, 56, 51, 45, 52, 48, 52, 98, 45, 56, 101, 49, 100, 45, 99, 99, 50, 57, 99, 49, 49, 101, 57, 48, 50, 56, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 56, 55, 100, 54, 102, 102, 54, 50, 45, 101, 49, 97, 53, 45, 52, 51, 101, 98, 45, 98, 49, 101, 49, 45, 98, 55, 97, 54, 100, 50, 52, 48, 48, 57, 99, 57, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c00b3c0 } } } }
[2022-05-09T12:28:16Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717ae6e40
[2022-05-09T12:28:16Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/c5847fce-5bf1-4f26-8f83-a63ffbdddd42", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"1ebad88c-2a5f-4aa7-b4c7-bea43386ec15\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://c5847fce%2D5bf1%2D4f26%2D8f83%2Da63ffbdddd42/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:28:15.562212098Z\",\"data_base64\":\"\",\"application\":\"c5847fce-5bf1-4f26-8f83-a63ffbdddd42\",\"sender\":\"gateway1\",\"partitionkey\":\"c5847fce%2D5bf1%2D4f26%2D8f83%2Da63ffbdddd42/device1\",\"instance\":\"drogue\",\"senderuid\":\"4b33f26b-f556-424b-8f23-6581f713b592\",\"applicationuid\":\"71275424-c283-404b-8e1d-cc29c11e9028\",\"device\":\"device1\",\"deviceuid\":\"87d6ff62-e1a5-43eb-b1e1-b7a6d24009c9\"}" }
[2022-05-09T12:28:16Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 641, payload: 0x7f4b1c00e840, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c00b3c0 } }, data: MessageData { topic: "app/c5847fce-5bf1-4f26-8f83-a63ffbdddd42", 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, 53, 52, 99, 102, 100, 50, 100, 98, 45, 51, 52, 51, 52, 45, 52, 49, 97, 100, 45, 57, 56, 99, 102, 45, 99, 55, 48, 97, 55, 52, 54, 97, 54, 55, 54, 49, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 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, 53, 56, 52, 55, 102, 99, 101, 37, 50, 68, 53, 98, 102, 49, 37, 50, 68, 52, 102, 50, 54, 37, 50, 68, 56, 102, 56, 51, 37, 50, 68, 97, 54, 51, 102, 102, 98, 100, 100, 100, 100, 52, 50, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 56, 58, 49, 54, 46, 52, 54, 54, 57, 51, 48, 56, 50, 54, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 52, 98, 51, 51, 102, 50, 54, 98, 45, 102, 53, 53, 54, 45, 52, 50, 52, 98, 45, 56, 102, 50, 51, 45, 54, 53, 56, 49, 102, 55, 49, 51, 98, 53, 57, 50, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 55, 49, 50, 55, 53, 52, 50, 52, 45, 99, 50, 56, 51, 45, 52, 48, 52, 98, 45, 56, 101, 49, 100, 45, 99, 99, 50, 57, 99, 49, 49, 101, 57, 48, 50, 56, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 52, 98, 51, 51, 102, 50, 54, 98, 45, 102, 53, 53, 54, 45, 52, 50, 52, 98, 45, 56, 102, 50, 51, 45, 54, 53, 56, 49, 102, 55, 49, 51, 98, 53, 57, 50, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 99, 53, 56, 52, 55, 102, 99, 101, 37, 50, 68, 53, 98, 102, 49, 37, 50, 68, 52, 102, 50, 54, 37, 50, 68, 56, 102, 56, 51, 37, 50, 68, 97, 54, 51, 102, 102, 98, 100, 100, 100, 100, 52, 50, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 99, 53, 56, 52, 55, 102, 99, 101, 45, 53, 98, 102, 49, 45, 52, 102, 50, 54, 45, 56, 102, 56, 51, 45, 97, 54, 51, 102, 102, 98, 100, 100, 100, 100, 52, 50, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c00b3c0 } } } }
[2022-05-09T12:28:16Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b1c00c060
[2022-05-09T12:28:16Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/c5847fce-5bf1-4f26-8f83-a63ffbdddd42", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"54cfd2db-3434-41ad-98cf-c70a746a6761\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://c5847fce%2D5bf1%2D4f26%2D8f83%2Da63ffbdddd42/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:28:16.466930826Z\",\"data\":{\"connected\":false},\"senderuid\":\"4b33f26b-f556-424b-8f23-6581f713b592\",\"device\":\"gateway1\",\"instance\":\"drogue\",\"applicationuid\":\"71275424-c283-404b-8e1d-cc29c11e9028\",\"deviceuid\":\"4b33f26b-f556-424b-8f23-6581f713b592\",\"partitionkey\":\"c5847fce%2D5bf1%2D4f26%2D8f83%2Da63ffbdddd42/gateway1\",\"application\":\"c5847fce-5bf1-4f26-8f83-a63ffbdddd42\",\"sender\":\"gateway1\"}" }
[2022-05-09T12:28:16Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:28:16Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:28:16Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:28:16Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "c5847fce-5bf1-4f26-8f83-a63ffbdddd42", device: "device1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "c5847fce-5bf1-4f26-8f83-a63ffbdddd42", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:28:16Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:28:16Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "c5847fce-5bf1-4f26-8f83-a63ffbdddd42" "device1"
[2022-05-09T12:28:16Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:28:16Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:28:16Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "c5847fce-5bf1-4f26-8f83-a63ffbdddd42" "gateway1"
[2022-05-09T12:28:16Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:28:16Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'c5847fce-5bf1-4f26-8f83-a63ffbdddd42'
[2022-05-09T12:28:16Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "c5847fce-5bf1-4f26-8f83-a63ffbdddd42"
[2022-05-09T12:28:16Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App c5847fce-5bf1-4f26-8f83-a63ffbdddd42 deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_2::integration_version_2::integration_ws_2

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T12:28:18Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:28:18Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:28:18Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:28:18Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:28:18Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:28:19Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:28:21Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:28:21Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:28:21Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:28:21Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:28:23Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDExMDMsImlhdCI6MTY1MjA5OTMwMywianRpIjoiMDJhMTA0NDUtYjBmZi00NWU2LTkwODktMDM5YjEzMmZiM2IzIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IkJueVJfUXlsbEpneUZZYTFqNHQyTXciLCJzZXNzaW9uX3N0YXRlIjoiZjI0OTk1ZjItY2MwYS00YzBmLTg4OTktZjI4YjEzZTJhZGQ2Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImYyNDk5NWYyLWNjMGEtNGMwZi04ODk5LWYyOGIxM2UyYWRkNiJ9.-a6OZi9kek2OCDq2ZR7JrHnyxz9mEe50flOAlbWP42s
[2022-05-09T12:28:23Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:28:23Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:28:23Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDExMDMsImlhdCI6MTY1MjA5OTMwMywianRpIjoiMDJhMTA0NDUtYjBmZi00NWU2LTkwODktMDM5YjEzMmZiM2IzIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IkJueVJfUXlsbEpneUZZYTFqNHQyTXciLCJzZXNzaW9uX3N0YXRlIjoiZjI0OTk1ZjItY2MwYS00YzBmLTg4OTktZjI4YjEzZTJhZGQ2Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImYyNDk5NWYyLWNjMGEtNGMwZi04ODk5LWYyOGIxM2UyYWRkNiJ9.-a6OZi9kek2OCDq2ZR7JrHnyxz9mEe50flOAlbWP42s" "--context" "system-tests"
[2022-05-09T12:28:23Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:28:23Z INFO  drogue_cloud_tests::resources::apps] Create application: 5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3
[2022-05-09T12:28:23Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3"
[2022-05-09T12:28:23Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3 created.\n", stderr: "" })
[2022-05-09T12:28:23Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3"
[2022-05-09T12:28:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:28:23.972512Z\",\n    \"generation\": 0,\n    \"name\": \"5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3\",\n    \"resourceVersion\": \"62561052-f9a2-4311-8f3e-05db79d884c9\",\n    \"uid\": \"5adeb54b-76c5-4c0e-855f-f3556150abe8\"\n  }\n}\n", stderr: "" })
[2022-05-09T12:28:24Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:28:23.972512Z"), "generation": Number(0), "name": String("5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3"), "resourceVersion": String("62561052-f9a2-4311-8f3e-05db79d884c9"), "uid": String("5adeb54b-76c5-4c0e-855f-f3556150abe8")})})
[2022-05-09T12:28:24Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:28:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3"
[2022-05-09T12:28:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:28:23.972512Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3\",\n    \"resourceVersion\": \"535dd0c7-3185-40b9-98d7-cc3124995c29\",\n    \"uid\": \"5adeb54b-76c5-4c0e-855f-f3556150abe8\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:28:24.293646164Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:28:24.293679437Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:24.032170650Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:24.040761238Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:24.110225003Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:24.116331504Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:24.293602312Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:24.293619704Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"iQ9w87pxqjq5\",\n        \"username\": \"user-5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:28:25Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:28:23.972512Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3"), "resourceVersion": String("535dd0c7-3185-40b9-98d7-cc3124995c29"), "uid": String("5adeb54b-76c5-4c0e-855f-f3556150abe8")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:28:24.293646164Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:24.293679437Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:28:24.032170650Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:28:24.040761238Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:28:24.110225003Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:24.116331504Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:28:24.293602312Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:24.293619704Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("iQ9w87pxqjq5"), "username": String("user-5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3")})})})})
[2022-05-09T12:28:25Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:28:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3"
[2022-05-09T12:28:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:28:23.972512Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3\",\n    \"resourceVersion\": \"535dd0c7-3185-40b9-98d7-cc3124995c29\",\n    \"uid\": \"5adeb54b-76c5-4c0e-855f-f3556150abe8\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:28:24.293646164Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:28:24.293679437Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:24.032170650Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:24.040761238Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:24.110225003Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:24.116331504Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:24.293602312Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:24.293619704Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"iQ9w87pxqjq5\",\n        \"username\": \"user-5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:28:25Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:28:23.972512Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3"), "resourceVersion": String("535dd0c7-3185-40b9-98d7-cc3124995c29"), "uid": String("5adeb54b-76c5-4c0e-855f-f3556150abe8")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:28:24.293646164Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:24.293679437Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:28:24.032170650Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:28:24.040761238Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:28:24.110225003Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:24.116331504Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:28:24.293602312Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:24.293619704Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("iQ9w87pxqjq5"), "username": String("user-5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3")})})})})
[2022-05-09T12:28:25Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:28:25Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:28:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:28:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:28:25Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:28:25Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:28:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:28:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk2MDMsImlhdCI6MTY1MjA5OTMwMywiYXV0aF90aW1lIjoxNjUyMDk5MzAwLCJqdGkiOiI0MGJkOTgzYy1kZjUyLTQwZGMtYTQ1Yi02M2VkYmMyZDVkYzkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJCbnlSX1F5bGxKZ3lGWWExajR0Mk13Iiwic2Vzc2lvbl9zdGF0ZSI6ImYyNDk5NWYyLWNjMGEtNGMwZi04ODk5LWYyOGIxM2UyYWRkNiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImYyNDk5NWYyLWNjMGEtNGMwZi04ODk5LWYyOGIxM2UyYWRkNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.e098F2_PxVLu9eiP_UjiCZrz6wGSAWhtgXcwkc0vQ631ShFFE2EMJ8ggSSfwWSoD_d5-KIf79Ot3blSOYBO4uJHKfGmr3kOPssW8219j9vGTEcNqvi0zoBJmMde0GtqUcHG3rIT4JYfwG-RxaIqS84J3rwNrQvTng0zAYOne2CeudppglQWT8PrXGfmwKQLHFC__8hY6oRicnu_X3tYAZWAfrUU9XGTm81UpyxuLgoAEnpZPa02nSC83mca4nvKloAwCZz6gBkRlBw-GzzcUaSNyzougHhgdG1Dj6zFzFbw2eu8T97xfJ1XOjVuotS_2qXgFAy4mK4WvnWDrXwN7Yw\n", stderr: "" })
[2022-05-09T12:28:25Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:28:25Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:28:25Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:28:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:28:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:28:25Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T12:28:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:28:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk2MDMsImlhdCI6MTY1MjA5OTMwMywiYXV0aF90aW1lIjoxNjUyMDk5MzAwLCJqdGkiOiI0MGJkOTgzYy1kZjUyLTQwZGMtYTQ1Yi02M2VkYmMyZDVkYzkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJCbnlSX1F5bGxKZ3lGWWExajR0Mk13Iiwic2Vzc2lvbl9zdGF0ZSI6ImYyNDk5NWYyLWNjMGEtNGMwZi04ODk5LWYyOGIxM2UyYWRkNiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImYyNDk5NWYyLWNjMGEtNGMwZi04ODk5LWYyOGIxM2UyYWRkNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.e098F2_PxVLu9eiP_UjiCZrz6wGSAWhtgXcwkc0vQ631ShFFE2EMJ8ggSSfwWSoD_d5-KIf79Ot3blSOYBO4uJHKfGmr3kOPssW8219j9vGTEcNqvi0zoBJmMde0GtqUcHG3rIT4JYfwG-RxaIqS84J3rwNrQvTng0zAYOne2CeudppglQWT8PrXGfmwKQLHFC__8hY6oRicnu_X3tYAZWAfrUU9XGTm81UpyxuLgoAEnpZPa02nSC83mca4nvKloAwCZz6gBkRlBw-GzzcUaSNyzougHhgdG1Dj6zFzFbw2eu8T97xfJ1XOjVuotS_2qXgFAy4mK4WvnWDrXwN7Yw\n", stderr: "" })
[2022-05-09T12:28:25Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "13e954da-ee34-4b7e-8893-c63d8915025c", persistence: None, user_data: None }
[2022-05-09T12:28:25Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:28:25Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717ce33c0
[2022-05-09T12:28:25Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717ce33c0
[2022-05-09T12:28:25Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717894890, connectTimeout: 30, retryInterval: 0, ssl: 0x5617178c60d0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717ce3040, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk2MDMsImlhdCI6MTY1MjA5OTMwMywiYXV0aF90aW1lIjoxNjUyMDk5MzAwLCJqdGkiOiI0MGJkOTgzYy1kZjUyLTQwZGMtYTQ1Yi02M2VkYmMyZDVkYzkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJCbnlSX1F5bGxKZ3lGWWExajR0Mk13Iiwic2Vzc2lvbl9zdGF0ZSI6ImYyNDk5NWYyLWNjMGEtNGMwZi04ODk5LWYyOGIxM2UyYWRkNiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImYyNDk5NWYyLWNjMGEtNGMwZi04ODk5LWYyOGIxM2UyYWRkNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.e098F2_PxVLu9eiP_UjiCZrz6wGSAWhtgXcwkc0vQ631ShFFE2EMJ8ggSSfwWSoD_d5-KIf79Ot3blSOYBO4uJHKfGmr3kOPssW8219j9vGTEcNqvi0zoBJmMde0GtqUcHG3rIT4JYfwG-RxaIqS84J3rwNrQvTng0zAYOne2CeudppglQWT8PrXGfmwKQLHFC__8hY6oRicnu_X3tYAZWAfrUU9XGTm81UpyxuLgoAEnpZPa02nSC83mca4nvKloAwCZz6gBkRlBw-GzzcUaSNyzougHhgdG1Dj6zFzFbw2eu8T97xfJ1XOjVuotS_2qXgFAy4mK4WvnWDrXwN7Yw"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:28:25Z DEBUG paho_mqtt::async_client] Subscribe to '"app/5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3"' @ QOS 0
[2022-05-09T12:28:25Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:28:25Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:28:25Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:28:25Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:28:25Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:28:25Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:28:26Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:28:26Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:28:26Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:28:26Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:28:27Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:28:27Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:28:27Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:28:27Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:28:28Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:28:28Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:28:28Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:28:28Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:28:28Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 621, payload: 0x7f4b1c01e100, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c0008d0 } }, data: MessageData { topic: "app/5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3", 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, 51, 102, 55, 49, 51, 56, 98, 48, 45, 101, 54, 50, 54, 45, 52, 98, 54, 57, 45, 56, 99, 56, 50, 45, 53, 99, 51, 97, 48, 100, 57, 51, 102, 100, 102, 55, 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, 53, 51, 49, 51, 98, 57, 97, 57, 37, 50, 68, 57, 102, 99, 57, 37, 50, 68, 52, 53, 97, 54, 37, 50, 68, 98, 99, 99, 57, 37, 50, 68, 98, 55, 50, 50, 49, 101, 57, 55, 98, 99, 100, 51, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 56, 58, 50, 56, 46, 57, 52, 55, 49, 53, 49, 57, 52, 57, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 53, 97, 100, 101, 98, 53, 52, 98, 45, 55, 54, 99, 53, 45, 52, 99, 48, 101, 45, 56, 53, 53, 102, 45, 102, 51, 53, 53, 54, 49, 53, 48, 97, 98, 101, 56, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 53, 51, 49, 51, 98, 57, 97, 57, 45, 57, 102, 99, 57, 45, 52, 53, 97, 54, 45, 98, 99, 99, 57, 45, 98, 55, 50, 50, 49, 101, 57, 55, 98, 99, 100, 51, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 53, 51, 49, 51, 98, 57, 97, 57, 37, 50, 68, 57, 102, 99, 57, 37, 50, 68, 52, 53, 97, 54, 37, 50, 68, 98, 99, 99, 57, 37, 50, 68, 98, 55, 50, 50, 49, 101, 57, 55, 98, 99, 100, 51, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 48, 99, 49, 101, 53, 48, 55, 99, 45, 102, 48, 101, 52, 45, 52, 51, 54, 56, 45, 56, 102, 100, 98, 45, 57, 48, 52, 49, 98, 48, 55, 49, 48, 55, 48, 98, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 56, 51, 97, 99, 102, 53, 100, 48, 45, 54, 51, 97, 52, 45, 52, 55, 48, 57, 45, 56, 51, 48, 52, 45, 50, 52, 102, 102, 56, 53, 101, 101, 49, 97, 102, 55, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c0008d0 } } } }
[2022-05-09T12:28:28Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717830d90
[2022-05-09T12:28:28Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"3f7138b0-e626-4b69-8c82-5c3a0d93fdf7\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://5313b9a9%2D9fc9%2D45a6%2Dbcc9%2Db7221e97bcd3/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:28:28.947151949Z\",\"data\":{\"index\":3},\"applicationuid\":\"5adeb54b-76c5-4c0e-855f-f3556150abe8\",\"sender\":\"gateway1\",\"instance\":\"drogue\",\"device\":\"device1\",\"application\":\"5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3\",\"partitionkey\":\"5313b9a9%2D9fc9%2D45a6%2Dbcc9%2Db7221e97bcd3/device1\",\"deviceuid\":\"0c1e507c-f0e4-4368-8fdb-9041b071070b\",\"senderuid\":\"83acf5d0-63a4-4709-8304-24ff85ee1af7\"}" }
[2022-05-09T12:28:29Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:28:29Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:28:29Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:28:29Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:28:29Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "5ed7794e-d4d8-4b0b-9658-cf3d1859d7bd", persistence: None, user_data: None }
[2022-05-09T12:28:29Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:28:29Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x5617178c7370
[2022-05-09T12:28:29Z DEBUG paho_mqtt::async_client] Connecting handle: 0x5617178c7370
[2022-05-09T12:28:29Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717c2b4f0, password: 0x561717839350, connectTimeout: 30, retryInterval: 0, ssl: 0x561717895f30, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717b96a80, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:28:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 640, payload: 0x7f4b1c01a960, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c01abf0 } }, data: MessageData { topic: "app/5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3", 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, 48, 49, 52, 50, 55, 53, 52, 52, 45, 48, 56, 99, 48, 45, 52, 98, 99, 100, 45, 98, 54, 52, 98, 45, 101, 99, 57, 102, 55, 57, 102, 49, 48, 57, 51, 98, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 53, 51, 49, 51, 98, 57, 97, 57, 37, 50, 68, 57, 102, 99, 57, 37, 50, 68, 52, 53, 97, 54, 37, 50, 68, 98, 99, 99, 57, 37, 50, 68, 98, 55, 50, 50, 49, 101, 57, 55, 98, 99, 100, 51, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 56, 58, 51, 48, 46, 48, 54, 52, 52, 49, 49, 55, 50, 51, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 53, 51, 49, 51, 98, 57, 97, 57, 45, 57, 102, 99, 57, 45, 52, 53, 97, 54, 45, 98, 99, 99, 57, 45, 98, 55, 50, 50, 49, 101, 57, 55, 98, 99, 100, 51, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 53, 51, 49, 51, 98, 57, 97, 57, 37, 50, 68, 57, 102, 99, 57, 37, 50, 68, 52, 53, 97, 54, 37, 50, 68, 98, 99, 99, 57, 37, 50, 68, 98, 55, 50, 50, 49, 101, 57, 55, 98, 99, 100, 51, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 56, 51, 97, 99, 102, 53, 100, 48, 45, 54, 51, 97, 52, 45, 52, 55, 48, 57, 45, 56, 51, 48, 52, 45, 50, 52, 102, 102, 56, 53, 101, 101, 49, 97, 102, 55, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 56, 51, 97, 99, 102, 53, 100, 48, 45, 54, 51, 97, 52, 45, 52, 55, 48, 57, 45, 56, 51, 48, 52, 45, 50, 52, 102, 102, 56, 53, 101, 101, 49, 97, 102, 55, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 53, 97, 100, 101, 98, 53, 52, 98, 45, 55, 54, 99, 53, 45, 52, 99, 48, 101, 45, 56, 53, 53, 102, 45, 102, 51, 53, 53, 54, 49, 53, 48, 97, 98, 101, 56, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c01abf0 } } } }
[2022-05-09T12:28:30Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717ccc060
[2022-05-09T12:28:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"01427544-08c0-4bcd-b64b-ec9f79f1093b\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://5313b9a9%2D9fc9%2D45a6%2Dbcc9%2Db7221e97bcd3/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:28:30.064411723Z\",\"data\":{\"connected\":true},\"sender\":\"gateway1\",\"application\":\"5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3\",\"partitionkey\":\"5313b9a9%2D9fc9%2D45a6%2Dbcc9%2Db7221e97bcd3/gateway1\",\"senderuid\":\"83acf5d0-63a4-4709-8304-24ff85ee1af7\",\"deviceuid\":\"83acf5d0-63a4-4709-8304-24ff85ee1af7\",\"instance\":\"drogue\",\"applicationuid\":\"5adeb54b-76c5-4c0e-855f-f3556150abe8\",\"device\":\"gateway1\"}" }
[2022-05-09T12:28:30Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717ccf190 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717ccf190 } } } }
[2022-05-09T12:28:30Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:28:31Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 630, payload: 0x7f4b1c006450, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c01abf0 } }, data: MessageData { topic: "app/5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3", 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, 48, 52, 99, 52, 51, 101, 52, 56, 45, 99, 53, 53, 54, 45, 52, 52, 48, 55, 45, 57, 53, 99, 54, 45, 57, 102, 102, 100, 102, 49, 98, 49, 49, 54, 53, 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, 53, 51, 49, 51, 98, 57, 97, 57, 37, 50, 68, 57, 102, 99, 57, 37, 50, 68, 52, 53, 97, 54, 37, 50, 68, 98, 99, 99, 57, 37, 50, 68, 98, 55, 50, 50, 49, 101, 57, 55, 98, 99, 100, 51, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 56, 58, 51, 48, 46, 53, 54, 55, 51, 49, 53, 50, 56, 57, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 48, 99, 49, 101, 53, 48, 55, 99, 45, 102, 48, 101, 52, 45, 52, 51, 54, 56, 45, 56, 102, 100, 98, 45, 57, 48, 52, 49, 98, 48, 55, 49, 48, 55, 48, 98, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 53, 97, 100, 101, 98, 53, 52, 98, 45, 55, 54, 99, 53, 45, 52, 99, 48, 101, 45, 56, 53, 53, 102, 45, 102, 51, 53, 53, 54, 49, 53, 48, 97, 98, 101, 56, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 53, 51, 49, 51, 98, 57, 97, 57, 45, 57, 102, 99, 57, 45, 52, 53, 97, 54, 45, 98, 99, 99, 57, 45, 98, 55, 50, 50, 49, 101, 57, 55, 98, 99, 100, 51, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 56, 51, 97, 99, 102, 53, 100, 48, 45, 54, 51, 97, 52, 45, 52, 55, 48, 57, 45, 56, 51, 48, 52, 45, 50, 52, 102, 102, 56, 53, 101, 101, 49, 97, 102, 55, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 53, 51, 49, 51, 98, 57, 97, 57, 37, 50, 68, 57, 102, 99, 57, 37, 50, 68, 52, 53, 97, 54, 37, 50, 68, 98, 99, 99, 57, 37, 50, 68, 98, 55, 50, 50, 49, 101, 57, 55, 98, 99, 100, 51, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c01abf0 } } } }
[2022-05-09T12:28:31Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b1c00d9d0
[2022-05-09T12:28:31Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"04c43e48-c556-4407-95c6-9ffdf1b11655\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://5313b9a9%2D9fc9%2D45a6%2Dbcc9%2Db7221e97bcd3/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:28:30.567315289Z\",\"data_base64\":\"\",\"deviceuid\":\"0c1e507c-f0e4-4368-8fdb-9041b071070b\",\"device\":\"device1\",\"applicationuid\":\"5adeb54b-76c5-4c0e-855f-f3556150abe8\",\"application\":\"5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3\",\"instance\":\"drogue\",\"senderuid\":\"83acf5d0-63a4-4709-8304-24ff85ee1af7\",\"partitionkey\":\"5313b9a9%2D9fc9%2D45a6%2Dbcc9%2Db7221e97bcd3/device1\",\"sender\":\"gateway1\"}" }
[2022-05-09T12:28:31Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 641, payload: 0x7f4b1c01b080, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c01b310 } }, data: MessageData { topic: "app/5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3", 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, 55, 49, 56, 52, 56, 52, 48, 97, 45, 56, 56, 57, 101, 45, 52, 98, 100, 99, 45, 56, 56, 55, 102, 45, 50, 97, 99, 97, 101, 102, 102, 97, 99, 98, 102, 56, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 53, 51, 49, 51, 98, 57, 97, 57, 37, 50, 68, 57, 102, 99, 57, 37, 50, 68, 52, 53, 97, 54, 37, 50, 68, 98, 99, 99, 57, 37, 50, 68, 98, 55, 50, 50, 49, 101, 57, 55, 98, 99, 100, 51, 47, 103, 97, 116, 101, 119, 97, 121, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 56, 58, 51, 49, 46, 52, 54, 57, 49, 52, 49, 51, 49, 52, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 53, 51, 49, 51, 98, 57, 97, 57, 37, 50, 68, 57, 102, 99, 57, 37, 50, 68, 52, 53, 97, 54, 37, 50, 68, 98, 99, 99, 57, 37, 50, 68, 98, 55, 50, 50, 49, 101, 57, 55, 98, 99, 100, 51, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 53, 97, 100, 101, 98, 53, 52, 98, 45, 55, 54, 99, 53, 45, 52, 99, 48, 101, 45, 56, 53, 53, 102, 45, 102, 51, 53, 53, 54, 49, 53, 48, 97, 98, 101, 56, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 53, 51, 49, 51, 98, 57, 97, 57, 45, 57, 102, 99, 57, 45, 52, 53, 97, 54, 45, 98, 99, 99, 57, 45, 98, 55, 50, 50, 49, 101, 57, 55, 98, 99, 100, 51, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 56, 51, 97, 99, 102, 53, 100, 48, 45, 54, 51, 97, 52, 45, 52, 55, 48, 57, 45, 56, 51, 48, 52, 45, 50, 52, 102, 102, 56, 53, 101, 101, 49, 97, 102, 55, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 56, 51, 97, 99, 102, 53, 100, 48, 45, 54, 51, 97, 52, 45, 52, 55, 48, 57, 45, 56, 51, 48, 52, 45, 50, 52, 102, 102, 56, 53, 101, 101, 49, 97, 102, 55, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c01b310 } } } }
[2022-05-09T12:28:31Z DEBUG paho_mqtt::properties] Dropping string property: 0x5617179f12c0
[2022-05-09T12:28:31Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"7184840a-889e-4bdc-887f-2acaeffacbf8\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://5313b9a9%2D9fc9%2D45a6%2Dbcc9%2Db7221e97bcd3/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:28:31.469141314Z\",\"data\":{\"connected\":false},\"partitionkey\":\"5313b9a9%2D9fc9%2D45a6%2Dbcc9%2Db7221e97bcd3/gateway1\",\"applicationuid\":\"5adeb54b-76c5-4c0e-855f-f3556150abe8\",\"application\":\"5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3\",\"device\":\"gateway1\",\"instance\":\"drogue\",\"deviceuid\":\"83acf5d0-63a4-4709-8304-24ff85ee1af7\",\"senderuid\":\"83acf5d0-63a4-4709-8304-24ff85ee1af7\",\"sender\":\"gateway1\"}" }
[2022-05-09T12:28:31Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:28:31Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:28:31Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:28:31Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3", device: "device1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:28:31Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:28:31Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3" "device1"
[2022-05-09T12:28:31Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:28:31Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:28:31Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3" "gateway1"
[2022-05-09T12:28:31Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:28:31Z INFO  drogue_cloud_tests::resources::apps] Destroy application '5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3'
[2022-05-09T12:28:31Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3"
[2022-05-09T12:28:31Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 5313b9a9-9fc9-45a6-bcc9-b7221e97bcd3 deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_2::integration_version_3::integration_ws_1

Duration: 15s

Test output
-------------- TEST START --------------
[2022-05-09T12:28:33Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:28:33Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:28:33Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:28:33Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:28:33Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:28:34Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:28:36Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:28:36Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:28:36Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:28:36Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:28:38Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDExMTgsImlhdCI6MTY1MjA5OTMxOCwianRpIjoiYTAxNDBhNjEtZGNhMS00ZmYzLTg3NTYtYzZhZDJlOWJkMmJlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Imk3NlVBY1Z5d0ZxdlQ1NXp3UWdMZVEiLCJzZXNzaW9uX3N0YXRlIjoiZjZlZDcxNzUtODY0My00NmQ5LWIzN2MtZTk1YWM4ZDA5NTUzIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImY2ZWQ3MTc1LTg2NDMtNDZkOS1iMzdjLWU5NWFjOGQwOTU1MyJ9.1PGc-TGEsRmPOZwS-8hk3X5M3diTRAgeSbApvWYc7C8
[2022-05-09T12:28:38Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:28:38Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:28:38Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDExMTgsImlhdCI6MTY1MjA5OTMxOCwianRpIjoiYTAxNDBhNjEtZGNhMS00ZmYzLTg3NTYtYzZhZDJlOWJkMmJlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Imk3NlVBY1Z5d0ZxdlQ1NXp3UWdMZVEiLCJzZXNzaW9uX3N0YXRlIjoiZjZlZDcxNzUtODY0My00NmQ5LWIzN2MtZTk1YWM4ZDA5NTUzIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImY2ZWQ3MTc1LTg2NDMtNDZkOS1iMzdjLWU5NWFjOGQwOTU1MyJ9.1PGc-TGEsRmPOZwS-8hk3X5M3diTRAgeSbApvWYc7C8" "--context" "system-tests"
[2022-05-09T12:28:38Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:28:38Z INFO  drogue_cloud_tests::resources::apps] Create application: d56dea0e-40d5-458a-81d1-09f1605282db
[2022-05-09T12:28:38Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "d56dea0e-40d5-458a-81d1-09f1605282db"
[2022-05-09T12:28:38Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App d56dea0e-40d5-458a-81d1-09f1605282db created.\n", stderr: "" })
[2022-05-09T12:28:38Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "d56dea0e-40d5-458a-81d1-09f1605282db"
[2022-05-09T12:28:39Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:28:38.968929Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"d56dea0e-40d5-458a-81d1-09f1605282db\",\n    \"resourceVersion\": \"7cd14854-ad4b-4e37-980a-17c97d53363e\",\n    \"uid\": \"84aaaac7-af26-41ac-9432-4ffc15ea7201\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:28:38.984327473Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:28:38.984349625Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:38.984272070Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:38.984273372Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:38.984274234Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:38.984275446Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:38.984276368Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:38.984287289Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:28:39Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:28:38.968929Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("d56dea0e-40d5-458a-81d1-09f1605282db"), "resourceVersion": String("7cd14854-ad4b-4e37-980a-17c97d53363e"), "uid": String("84aaaac7-af26-41ac-9432-4ffc15ea7201")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:28:38.984327473Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:38.984349625Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:28:38.984272070Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:28:38.984273372Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:28:38.984274234Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:38.984275446Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:28:38.984276368Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:38.984287289Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T12:28:39Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:28:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "d56dea0e-40d5-458a-81d1-09f1605282db"
[2022-05-09T12:28:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:28:38.968929Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"d56dea0e-40d5-458a-81d1-09f1605282db\",\n    \"resourceVersion\": \"4eb039f8-b2ca-4fb0-974a-fd7b01d85b0c\",\n    \"uid\": \"84aaaac7-af26-41ac-9432-4ffc15ea7201\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:28:39.285449120Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:28:39.285587280Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:39.018847103Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:39.023976701Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:39.083990807Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:39.091550352Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:39.285327653Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:39.285414806Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"mRM0Rc1HyFx0\",\n        \"username\": \"user-d56dea0e-40d5-458a-81d1-09f1605282db\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:28:40Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:28:38.968929Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("d56dea0e-40d5-458a-81d1-09f1605282db"), "resourceVersion": String("4eb039f8-b2ca-4fb0-974a-fd7b01d85b0c"), "uid": String("84aaaac7-af26-41ac-9432-4ffc15ea7201")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:28:39.285449120Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:39.285587280Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:28:39.018847103Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:28:39.023976701Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:28:39.083990807Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:39.091550352Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:28:39.285327653Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:39.285414806Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("mRM0Rc1HyFx0"), "username": String("user-d56dea0e-40d5-458a-81d1-09f1605282db")})})})})
[2022-05-09T12:28:40Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:28:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "d56dea0e-40d5-458a-81d1-09f1605282db"
[2022-05-09T12:28:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:28:38.968929Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"d56dea0e-40d5-458a-81d1-09f1605282db\",\n    \"resourceVersion\": \"4eb039f8-b2ca-4fb0-974a-fd7b01d85b0c\",\n    \"uid\": \"84aaaac7-af26-41ac-9432-4ffc15ea7201\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:28:39.285449120Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:28:39.285587280Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:39.018847103Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:39.023976701Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:39.083990807Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:39.091550352Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:39.285327653Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:39.285414806Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"mRM0Rc1HyFx0\",\n        \"username\": \"user-d56dea0e-40d5-458a-81d1-09f1605282db\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:28:40Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:28:38.968929Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("d56dea0e-40d5-458a-81d1-09f1605282db"), "resourceVersion": String("4eb039f8-b2ca-4fb0-974a-fd7b01d85b0c"), "uid": String("84aaaac7-af26-41ac-9432-4ffc15ea7201")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:28:39.285449120Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:39.285587280Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:28:39.018847103Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:28:39.023976701Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:28:39.083990807Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:39.091550352Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:28:39.285327653Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:39.285414806Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("mRM0Rc1HyFx0"), "username": String("user-d56dea0e-40d5-458a-81d1-09f1605282db")})})})})
[2022-05-09T12:28:40Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:28:40Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:28:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "d56dea0e-40d5-458a-81d1-09f1605282db" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:28:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:28:40Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:28:40Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:28:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:28:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk2MTgsImlhdCI6MTY1MjA5OTMxOCwiYXV0aF90aW1lIjoxNjUyMDk5MzE1LCJqdGkiOiJmOGU0MmNiZi1hOWI2LTRjNjAtOWI0My0yNDQ4Yjk4NDlmNjQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJpNzZVQWNWeXdGcXZUNTV6d1FnTGVRIiwic2Vzc2lvbl9zdGF0ZSI6ImY2ZWQ3MTc1LTg2NDMtNDZkOS1iMzdjLWU5NWFjOGQwOTU1MyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImY2ZWQ3MTc1LTg2NDMtNDZkOS1iMzdjLWU5NWFjOGQwOTU1MyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.h7Cjr-wdxvuUe6Ado29ruGoLa2K4BOXAdDa24KLD7k2QGvdTi4pjq54OYMl5D4xpYtR7cA3Pt6iVNnS5DE66Z9sXLwOyTGtZsGQrfNY6vNhP4R3pc0WS1_5L50Gh43nFTrINQeL5sPx533i3SKhwm-610N8BbEZDew6Z7CPdpY0yfXkZmsDo7XCDsxYAGw8OghfgTpygY92J0wGUhEi1eBEUw30UCfBrsW6j2-7HgeuVjMhYRbQctoi2CnxG4IRvG8R5XiEXru07U3O5EOyX9zcgjgv9U8MesRnnt-Tr3d6Ki7LDQVBj5Hl7K1glpeDGMvn05s2LumjFRZgFEPcS0g\n", stderr: "" })
[2022-05-09T12:28:40Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:28:40Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:28:40Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:28:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "d56dea0e-40d5-458a-81d1-09f1605282db" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:28:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:28:40Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T12:28:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:28:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk2MTgsImlhdCI6MTY1MjA5OTMxOCwiYXV0aF90aW1lIjoxNjUyMDk5MzE1LCJqdGkiOiJmOGU0MmNiZi1hOWI2LTRjNjAtOWI0My0yNDQ4Yjk4NDlmNjQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJpNzZVQWNWeXdGcXZUNTV6d1FnTGVRIiwic2Vzc2lvbl9zdGF0ZSI6ImY2ZWQ3MTc1LTg2NDMtNDZkOS1iMzdjLWU5NWFjOGQwOTU1MyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImY2ZWQ3MTc1LTg2NDMtNDZkOS1iMzdjLWU5NWFjOGQwOTU1MyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.h7Cjr-wdxvuUe6Ado29ruGoLa2K4BOXAdDa24KLD7k2QGvdTi4pjq54OYMl5D4xpYtR7cA3Pt6iVNnS5DE66Z9sXLwOyTGtZsGQrfNY6vNhP4R3pc0WS1_5L50Gh43nFTrINQeL5sPx533i3SKhwm-610N8BbEZDew6Z7CPdpY0yfXkZmsDo7XCDsxYAGw8OghfgTpygY92J0wGUhEi1eBEUw30UCfBrsW6j2-7HgeuVjMhYRbQctoi2CnxG4IRvG8R5XiEXru07U3O5EOyX9zcgjgv9U8MesRnnt-Tr3d6Ki7LDQVBj5Hl7K1glpeDGMvn05s2LumjFRZgFEPcS0g\n", stderr: "" })
[2022-05-09T12:28:40Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "f8df9e30-728c-4440-a691-6f9864e5bde4", persistence: None, user_data: None }
[2022-05-09T12:28:40Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:28:40Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x56171798c4c0
[2022-05-09T12:28:40Z DEBUG paho_mqtt::async_client] Connecting handle: 0x56171798c4c0
[2022-05-09T12:28:40Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x56171798aaa0, connectTimeout: 30, retryInterval: 0, ssl: 0x561717b67130, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x56171798c770, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk2MTgsImlhdCI6MTY1MjA5OTMxOCwiYXV0aF90aW1lIjoxNjUyMDk5MzE1LCJqdGkiOiJmOGU0MmNiZi1hOWI2LTRjNjAtOWI0My0yNDQ4Yjk4NDlmNjQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJpNzZVQWNWeXdGcXZUNTV6d1FnTGVRIiwic2Vzc2lvbl9zdGF0ZSI6ImY2ZWQ3MTc1LTg2NDMtNDZkOS1iMzdjLWU5NWFjOGQwOTU1MyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImY2ZWQ3MTc1LTg2NDMtNDZkOS1iMzdjLWU5NWFjOGQwOTU1MyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.h7Cjr-wdxvuUe6Ado29ruGoLa2K4BOXAdDa24KLD7k2QGvdTi4pjq54OYMl5D4xpYtR7cA3Pt6iVNnS5DE66Z9sXLwOyTGtZsGQrfNY6vNhP4R3pc0WS1_5L50Gh43nFTrINQeL5sPx533i3SKhwm-610N8BbEZDew6Z7CPdpY0yfXkZmsDo7XCDsxYAGw8OghfgTpygY92J0wGUhEi1eBEUw30UCfBrsW6j2-7HgeuVjMhYRbQctoi2CnxG4IRvG8R5XiEXru07U3O5EOyX9zcgjgv9U8MesRnnt-Tr3d6Ki7LDQVBj5Hl7K1glpeDGMvn05s2LumjFRZgFEPcS0g"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:28:40Z DEBUG paho_mqtt::async_client] Subscribe to '"app/d56dea0e-40d5-458a-81d1-09f1605282db"' @ QOS 0
[2022-05-09T12:28:40Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:28:40Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:28:40Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:28:40Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:28:40Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:28:40Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:28:41Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:28:41Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:28:41Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:28:41Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:28:42Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:28:42Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:28:42Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:28:42Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:28:43Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:28:43Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:28:43Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:28:43Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:28:43Z 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: 0x7f4b18015ce0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x7f4b18015f80 } }, data: MessageData { topic: "app/d56dea0e-40d5-458a-81d1-09f1605282db", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x7f4b18015f80 } } } }
[2022-05-09T12:28:43Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x56171788b350, 0x561717cbc330
[2022-05-09T12:28:43Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717cbc330, 0x561717cf9ae0
[2022-05-09T12:28:43Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717cbc330, 0x7f4b300083a0
[2022-05-09T12:28:43Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300083a0, 0x561717c77b50
[2022-05-09T12:28:43Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300083a0, 0x7f4b30004d20
[2022-05-09T12:28:43Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004d20, 0x561717cf9ae0
[2022-05-09T12:28:43Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004d20, 0x7f4b30004ab0
[2022-05-09T12:28:43Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004ab0, 0x561717cf9ae0
[2022-05-09T12:28:43Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004ab0, 0x561717cf9ae0
[2022-05-09T12:28:43Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004ab0, 0x561717cbdf20
[2022-05-09T12:28:43Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004ab0, 0x561717cf9ae0
[2022-05-09T12:28:43Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004ab0, 0x7f4b300087c0
[2022-05-09T12:28:43Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300087c0, 0x7f4b30004ab0
[2022-05-09T12:28:43Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004ab0, 0x561717cf9ae0
[2022-05-09T12:28:43Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b30004ab0
[2022-05-09T12:28:43Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/d56dea0e-40d5-458a-81d1-09f1605282db", content_type: Some("application/json"), user_properties: {"device": "device1", "source": "drogue://d56dea0e%2D40d5%2D458a%2D81d1%2D09f1605282db/device1", "time": "2022-05-09T12:28:43.919676778+00:00", "instance": "drogue", "sender": "gateway1", "partitionkey": "d56dea0e%2D40d5%2D458a%2D81d1%2D09f1605282db/device1", "id": "b3d10b88-bdc4-49d7-96ac-0fc82b466e32", "deviceuid": "2679c048-51af-4173-bdbc-e4469208dcf8", "subject": "warmup", "senderuid": "f39ee6ee-56f5-4941-886a-73ac8f771914", "applicationuid": "84aaaac7-af26-41ac-9432-4ffc15ea7201", "type": "io.drogue.event.v1", "specversion": "1.0", "application": "d56dea0e-40d5-458a-81d1-09f1605282db"}, payload: "{\"index\":3}" }
[2022-05-09T12:28:44Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:28:44Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:28:44Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:28:44Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:28:44Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "c6ecf7aa-9dca-4e9b-8b3e-09befca10360", persistence: None, user_data: None }
[2022-05-09T12:28:44Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:28:44Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717a9e730
[2022-05-09T12:28:44Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717a9e730
[2022-05-09T12:28:44Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717d00ae0, password: 0x5617179a1d30, connectTimeout: 30, retryInterval: 0, ssl: 0x561717cbe720, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717d00c70, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@d56dea0e-40d5-458a-81d1-09f1605282db"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:28:45Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 18, payload: 0x7f4b1800b3f0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x7f4b1800b670 } }, data: MessageData { topic: "app/d56dea0e-40d5-458a-81d1-09f1605282db", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x7f4b1800b670 } } } }
[2022-05-09T12:28:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717b58cc0, 0x561717b57a30
[2022-05-09T12:28:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717b57a30, 0x561717be8e80
[2022-05-09T12:28:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717b57a30, 0x7f4b28003960
[2022-05-09T12:28:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003960, 0x561717b56610
[2022-05-09T12:28:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003960, 0x7f4b280063f0
[2022-05-09T12:28:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280063f0, 0x561717be8e80
[2022-05-09T12:28:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280063f0, 0x7f4b280057c0
[2022-05-09T12:28:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280063f0, 0x7f4b280056e0
[2022-05-09T12:28:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280063f0, 0x7f4b28003ab0
[2022-05-09T12:28:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003ab0, 0x5617179e4b60
[2022-05-09T12:28:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003ab0, 0x7f4b280056e0
[2022-05-09T12:28:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003ab0, 0x7f4b280056e0
[2022-05-09T12:28:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003ab0, 0x7f4b280056e0
[2022-05-09T12:28:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003ab0, 0x7f4b280056e0
[2022-05-09T12:28:45Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28003ab0
[2022-05-09T12:28:45Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/d56dea0e-40d5-458a-81d1-09f1605282db", content_type: Some("application/json"), user_properties: {"partitionkey": "d56dea0e%2D40d5%2D458a%2D81d1%2D09f1605282db/gateway1", "senderuid": "f39ee6ee-56f5-4941-886a-73ac8f771914", "applicationuid": "84aaaac7-af26-41ac-9432-4ffc15ea7201", "application": "d56dea0e-40d5-458a-81d1-09f1605282db", "source": "drogue://d56dea0e%2D40d5%2D458a%2D81d1%2D09f1605282db/gateway1", "sender": "gateway1", "specversion": "1.0", "deviceuid": "f39ee6ee-56f5-4941-886a-73ac8f771914", "time": "2022-05-09T12:28:45.036146269+00:00", "instance": "drogue", "subject": "connection", "id": "9f9c6d4b-be06-4c42-9381-d0258f01577b", "type": "io.drogue.connection.v1", "device": "gateway1"}, payload: "{\"connected\":true}" }
[2022-05-09T12:28:45Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x5617179ae710 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x5617179ae710 } } } }
[2022-05-09T12:28:45Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:28:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x7f4b18009a30 } }, data: MessageData { topic: "app/d56dea0e-40d5-458a-81d1-09f1605282db", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x7f4b18009a30 } } } }
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300087e0, 0x7f4b300083a0
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300083a0, 0x7f4b18015f00
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300083a0, 0x7f4b30004ad0
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004ad0, 0x7f4b180163f0
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004ad0, 0x7f4b30004280
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004280, 0x7f4b18015f00
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004280, 0x7f4b18015f00
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004280, 0x7f4b1801aed0
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004280, 0x7f4b18015f00
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004280, 0x7f4b300041d0
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300041d0, 0x7f4b18015f00
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300041d0, 0x7f4b30004060
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004060, 0x7f4b18015f00
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004060, 0x7f4b30004350
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b30008800
[2022-05-09T12:28:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/d56dea0e-40d5-458a-81d1-09f1605282db", content_type: Some("application/octet-stream"), user_properties: {"id": "b1cf7bd0-290f-4899-a8a2-e0fd023966dd", "time": "2022-05-09T12:28:45.574575492+00:00", "partitionkey": "d56dea0e%2D40d5%2D458a%2D81d1%2D09f1605282db/device1", "sender": "gateway1", "type": "io.drogue.event.v1", "subject": "telemetry", "instance": "drogue", "senderuid": "f39ee6ee-56f5-4941-886a-73ac8f771914", "application": "d56dea0e-40d5-458a-81d1-09f1605282db", "specversion": "1.0", "device": "device1", "deviceuid": "2679c048-51af-4173-bdbc-e4469208dcf8", "source": "drogue://d56dea0e%2D40d5%2D458a%2D81d1%2D09f1605282db/device1", "applicationuid": "84aaaac7-af26-41ac-9432-4ffc15ea7201"}, payload: "" }
[2022-05-09T12:28:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 19, payload: 0x7f4b1802c950, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x7f4b1800a660 } }, data: MessageData { topic: "app/d56dea0e-40d5-458a-81d1-09f1605282db", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x7f4b1800a660 } } } }
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717b57a30, 0x7f4b280049e0
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280049e0, 0x7f4b1800ba30
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280049e0, 0x7f4b280063f0
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280063f0, 0x7f4b1802f460
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280063f0, 0x7f4b28006bf0
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28006bf0, 0x7f4b1800ba30
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28006bf0, 0x7f4b1800ba30
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28006bf0, 0x7f4b28005030
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005030, 0x7f4b28006bf0
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28006bf0, 0x7f4b1800ba30
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28006bf0, 0x7f4b1802fe80
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28006bf0, 0x7f4b1800ba30
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28006bf0, 0x7f4b280068c0
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280068c0, 0x7f4b1800ba30
[2022-05-09T12:28:46Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b280068c0
[2022-05-09T12:28:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/d56dea0e-40d5-458a-81d1-09f1605282db", content_type: Some("application/json"), user_properties: {"source": "drogue://d56dea0e%2D40d5%2D458a%2D81d1%2D09f1605282db/gateway1", "subject": "connection", "sender": "gateway1", "specversion": "1.0", "device": "gateway1", "partitionkey": "d56dea0e%2D40d5%2D458a%2D81d1%2D09f1605282db/gateway1", "id": "b1726713-97f9-4a8d-b15a-1ee09c17f009", "instance": "drogue", "type": "io.drogue.connection.v1", "time": "2022-05-09T12:28:46.474391919+00:00", "application": "d56dea0e-40d5-458a-81d1-09f1605282db", "senderuid": "f39ee6ee-56f5-4941-886a-73ac8f771914", "applicationuid": "84aaaac7-af26-41ac-9432-4ffc15ea7201", "deviceuid": "f39ee6ee-56f5-4941-886a-73ac8f771914"}, payload: "{\"connected\":false}" }
[2022-05-09T12:28:46Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:28:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:28:46Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:28:46Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "d56dea0e-40d5-458a-81d1-09f1605282db", device: "device1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "d56dea0e-40d5-458a-81d1-09f1605282db", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:28:46Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:28:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "d56dea0e-40d5-458a-81d1-09f1605282db" "device1"
[2022-05-09T12:28:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:28:46Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:28:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "d56dea0e-40d5-458a-81d1-09f1605282db" "gateway1"
[2022-05-09T12:28:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:28:46Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'd56dea0e-40d5-458a-81d1-09f1605282db'
[2022-05-09T12:28:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "d56dea0e-40d5-458a-81d1-09f1605282db"
[2022-05-09T12:28:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App d56dea0e-40d5-458a-81d1-09f1605282db deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_2::integration_version_3::integration_ws_2

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T12:28:48Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:28:48Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:28:48Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:28:48Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:28: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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:28:49Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:28:51Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:28:51Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:28:51Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:28:51Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:28:53Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDExMzMsImlhdCI6MTY1MjA5OTMzMywianRpIjoiMWU4YmYyZDgtYzI2My00MTJhLThiZDMtZDQ0NDY2ZTVjMWI3IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImJWTEl1OHJQUmZEeFFBQzM0R1NMRmciLCJzZXNzaW9uX3N0YXRlIjoiYjA2YWZkMGMtMjdhOC00YjhlLWI0ZjQtYWNmMzkwZjFhYTNkIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImIwNmFmZDBjLTI3YTgtNGI4ZS1iNGY0LWFjZjM5MGYxYWEzZCJ9.M-5PjOjzTPmGe_OoLbglmB2cIgaIw5jv-IX1e2t8kUQ
[2022-05-09T12:28:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:28:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:28:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDExMzMsImlhdCI6MTY1MjA5OTMzMywianRpIjoiMWU4YmYyZDgtYzI2My00MTJhLThiZDMtZDQ0NDY2ZTVjMWI3IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImJWTEl1OHJQUmZEeFFBQzM0R1NMRmciLCJzZXNzaW9uX3N0YXRlIjoiYjA2YWZkMGMtMjdhOC00YjhlLWI0ZjQtYWNmMzkwZjFhYTNkIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImIwNmFmZDBjLTI3YTgtNGI4ZS1iNGY0LWFjZjM5MGYxYWEzZCJ9.M-5PjOjzTPmGe_OoLbglmB2cIgaIw5jv-IX1e2t8kUQ" "--context" "system-tests"
[2022-05-09T12:28:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:28:53Z INFO  drogue_cloud_tests::resources::apps] Create application: 161e7d54-8684-48c8-b93b-000010fb996f
[2022-05-09T12:28:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "161e7d54-8684-48c8-b93b-000010fb996f"
[2022-05-09T12:28:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 161e7d54-8684-48c8-b93b-000010fb996f created.\n", stderr: "" })
[2022-05-09T12:28:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "161e7d54-8684-48c8-b93b-000010fb996f"
[2022-05-09T12:28:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:28:53.872405Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"161e7d54-8684-48c8-b93b-000010fb996f\",\n    \"resourceVersion\": \"c0e75d80-5059-4f17-930c-f579eab4dc43\",\n    \"uid\": \"885cc18c-0af1-4581-b978-6495ad5753fc\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:28:53.895097388Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:28:53.895287254Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:53.895029731Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:53.895031214Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:53.895031865Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:53.895032657Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:53.895033869Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:53.895072932Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:28:53Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:28:53.872405Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("161e7d54-8684-48c8-b93b-000010fb996f"), "resourceVersion": String("c0e75d80-5059-4f17-930c-f579eab4dc43"), "uid": String("885cc18c-0af1-4581-b978-6495ad5753fc")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:28:53.895097388Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:53.895287254Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:28:53.895029731Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:28:53.895031214Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:28:53.895031865Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:53.895032657Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:28:53.895033869Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:53.895072932Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T12:28:53Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:28:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "161e7d54-8684-48c8-b93b-000010fb996f"
[2022-05-09T12:28:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:28:53.872405Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"161e7d54-8684-48c8-b93b-000010fb996f\",\n    \"resourceVersion\": \"e4cc6f52-376a-4247-bd2f-2a54bfc48ea7\",\n    \"uid\": \"885cc18c-0af1-4581-b978-6495ad5753fc\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:28:54.513887339Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:28:54.513949256Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:53.920299205Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:53.925932208Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:54.004814884Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:54.016337922Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:54.513747407Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:54.513856261Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"NTk4Mej0448s\",\n        \"username\": \"user-161e7d54-8684-48c8-b93b-000010fb996f\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:28:54Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:28:53.872405Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("161e7d54-8684-48c8-b93b-000010fb996f"), "resourceVersion": String("e4cc6f52-376a-4247-bd2f-2a54bfc48ea7"), "uid": String("885cc18c-0af1-4581-b978-6495ad5753fc")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:28:54.513887339Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:54.513949256Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:28:53.920299205Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:28:53.925932208Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:28:54.004814884Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:54.016337922Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:28:54.513747407Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:54.513856261Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("NTk4Mej0448s"), "username": String("user-161e7d54-8684-48c8-b93b-000010fb996f")})})})})
[2022-05-09T12:28:54Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:28:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "161e7d54-8684-48c8-b93b-000010fb996f"
[2022-05-09T12:28:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:28:53.872405Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"161e7d54-8684-48c8-b93b-000010fb996f\",\n    \"resourceVersion\": \"e4cc6f52-376a-4247-bd2f-2a54bfc48ea7\",\n    \"uid\": \"885cc18c-0af1-4581-b978-6495ad5753fc\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:28:54.513887339Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:28:54.513949256Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:53.920299205Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:53.925932208Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:54.004814884Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:54.016337922Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:54.513747407Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:28:54.513856261Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"NTk4Mej0448s\",\n        \"username\": \"user-161e7d54-8684-48c8-b93b-000010fb996f\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:28:54Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:28:53.872405Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("161e7d54-8684-48c8-b93b-000010fb996f"), "resourceVersion": String("e4cc6f52-376a-4247-bd2f-2a54bfc48ea7"), "uid": String("885cc18c-0af1-4581-b978-6495ad5753fc")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:28:54.513887339Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:54.513949256Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:28:53.920299205Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:28:53.925932208Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:28:54.004814884Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:54.016337922Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:28:54.513747407Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:28:54.513856261Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("NTk4Mej0448s"), "username": String("user-161e7d54-8684-48c8-b93b-000010fb996f")})})})})
[2022-05-09T12:28:54Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:28:54Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T12:28:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "161e7d54-8684-48c8-b93b-000010fb996f" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:28:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T12:28:54Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:28:54Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:28:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:28:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk2MzMsImlhdCI6MTY1MjA5OTMzMywiYXV0aF90aW1lIjoxNjUyMDk5MzMwLCJqdGkiOiI0ZjE5YTk3OS1jMGFiLTQ0MzAtYjkxMy00NmQ0NDUyNzkzZGYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJiVkxJdThyUFJmRHhRQUMzNEdTTEZnIiwic2Vzc2lvbl9zdGF0ZSI6ImIwNmFmZDBjLTI3YTgtNGI4ZS1iNGY0LWFjZjM5MGYxYWEzZCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImIwNmFmZDBjLTI3YTgtNGI4ZS1iNGY0LWFjZjM5MGYxYWEzZCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.Ylhj3MPXCDpt99ps0n5JnESrpgo_z3ai9qS-QD2K1grH6tyBT7vMeAkHnedjO4p5a6SL_LqtOoAnXx5GdScTCRLhn4QSZYWyq8O--3L5Knvik-Sq7VeWrEP4Yzs6VNFQ-ARvjCShDBGgcV3lzVqrYN266-VsmeGgBvJ3ZAWZZPfg7DoG5XDvnlpn4AxQKichDqrhw5VlcHCucYaEubTJruZwhXAKjIS5T1IUAN-OzBLJT1p19RNMxdQV6jBOOQacOfDqkExXQn51zN_WMRM3IQBe8-EdU_GK4ykR-1ZfBRi6tKrFZ0H56d0wa3L3RUwx3Eu2YLT12ThRdbNHXEu_Bg\n", stderr: "" })
[2022-05-09T12:28:55Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:28:55Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:28:55Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:28:55Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "161e7d54-8684-48c8-b93b-000010fb996f" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T12:28:55Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:28:55Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T12:28:55Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:28:55Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk2MzMsImlhdCI6MTY1MjA5OTMzMywiYXV0aF90aW1lIjoxNjUyMDk5MzMwLCJqdGkiOiI0ZjE5YTk3OS1jMGFiLTQ0MzAtYjkxMy00NmQ0NDUyNzkzZGYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJiVkxJdThyUFJmRHhRQUMzNEdTTEZnIiwic2Vzc2lvbl9zdGF0ZSI6ImIwNmFmZDBjLTI3YTgtNGI4ZS1iNGY0LWFjZjM5MGYxYWEzZCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImIwNmFmZDBjLTI3YTgtNGI4ZS1iNGY0LWFjZjM5MGYxYWEzZCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.Ylhj3MPXCDpt99ps0n5JnESrpgo_z3ai9qS-QD2K1grH6tyBT7vMeAkHnedjO4p5a6SL_LqtOoAnXx5GdScTCRLhn4QSZYWyq8O--3L5Knvik-Sq7VeWrEP4Yzs6VNFQ-ARvjCShDBGgcV3lzVqrYN266-VsmeGgBvJ3ZAWZZPfg7DoG5XDvnlpn4AxQKichDqrhw5VlcHCucYaEubTJruZwhXAKjIS5T1IUAN-OzBLJT1p19RNMxdQV6jBOOQacOfDqkExXQn51zN_WMRM3IQBe8-EdU_GK4ykR-1ZfBRi6tKrFZ0H56d0wa3L3RUwx3Eu2YLT12ThRdbNHXEu_Bg\n", stderr: "" })
[2022-05-09T12:28:55Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "83feacdc-f917-46cc-9842-410d02b71f35", persistence: None, user_data: None }
[2022-05-09T12:28:55Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:28:55Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717c9f6b0
[2022-05-09T12:28:55Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717c9f6b0
[2022-05-09T12:28:55Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717a1d820, connectTimeout: 30, retryInterval: 0, ssl: 0x561717c9faa0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717c9ea10, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk2MzMsImlhdCI6MTY1MjA5OTMzMywiYXV0aF90aW1lIjoxNjUyMDk5MzMwLCJqdGkiOiI0ZjE5YTk3OS1jMGFiLTQ0MzAtYjkxMy00NmQ0NDUyNzkzZGYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJiVkxJdThyUFJmRHhRQUMzNEdTTEZnIiwic2Vzc2lvbl9zdGF0ZSI6ImIwNmFmZDBjLTI3YTgtNGI4ZS1iNGY0LWFjZjM5MGYxYWEzZCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImIwNmFmZDBjLTI3YTgtNGI4ZS1iNGY0LWFjZjM5MGYxYWEzZCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.Ylhj3MPXCDpt99ps0n5JnESrpgo_z3ai9qS-QD2K1grH6tyBT7vMeAkHnedjO4p5a6SL_LqtOoAnXx5GdScTCRLhn4QSZYWyq8O--3L5Knvik-Sq7VeWrEP4Yzs6VNFQ-ARvjCShDBGgcV3lzVqrYN266-VsmeGgBvJ3ZAWZZPfg7DoG5XDvnlpn4AxQKichDqrhw5VlcHCucYaEubTJruZwhXAKjIS5T1IUAN-OzBLJT1p19RNMxdQV6jBOOQacOfDqkExXQn51zN_WMRM3IQBe8-EdU_GK4ykR-1ZfBRi6tKrFZ0H56d0wa3L3RUwx3Eu2YLT12ThRdbNHXEu_Bg"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:28:55Z DEBUG paho_mqtt::async_client] Subscribe to '"app/161e7d54-8684-48c8-b93b-000010fb996f"' @ QOS 0
[2022-05-09T12:28:55Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:28:55Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:28:55Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:28:55Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:28:55Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:28:55Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:28:56Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:28:56Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:28:56Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:28:56Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:28:57Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:28:57Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:28:57Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:28:57Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:28:58Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:28:58Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T12:28:58Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:28:58Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1
[2022-05-09T12:28:58Z 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: 0x7f4b1802f040, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x561717899bf0 } }, data: MessageData { topic: "app/161e7d54-8684-48c8-b93b-000010fb996f", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x561717899bf0 } } } }
[2022-05-09T12:28:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x5617178984f0, 0x7f4b28003ed0
[2022-05-09T12:28:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003ed0, 0x7f4b28005990
[2022-05-09T12:28:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003ed0, 0x5617178984b0
[2022-05-09T12:28:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x5617178984b0, 0x561717d51c80
[2022-05-09T12:28:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x5617178984b0, 0x7f4b28003960
[2022-05-09T12:28:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003960, 0x7f4b28005990
[2022-05-09T12:28:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003960, 0x561717ca3ce0
[2022-05-09T12:28:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003960, 0x7f4b28005990
[2022-05-09T12:28:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003960, 0x7f4b28005990
[2022-05-09T12:28:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003960, 0x7f4b28003040
[2022-05-09T12:28:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003040, 0x7f4b28005990
[2022-05-09T12:28:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003040, 0x7f4b28005990
[2022-05-09T12:28:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003040, 0x7f4b28003120
[2022-05-09T12:28:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003120, 0x7f4b28003040
[2022-05-09T12:28:58Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28003040
[2022-05-09T12:28:58Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/161e7d54-8684-48c8-b93b-000010fb996f", content_type: Some("application/json"), user_properties: {"type": "io.drogue.event.v1", "senderuid": "aeaa43af-32d3-4509-afe3-9536232eeaa7", "time": "2022-05-09T12:28:58.923952352+00:00", "deviceuid": "21e6e213-76a0-44e2-9279-9d91896aa404", "sender": "gateway1", "instance": "drogue", "id": "8252affb-9c5e-4c28-89e2-4de8914a530a", "partitionkey": "161e7d54%2D8684%2D48c8%2Db93b%2D000010fb996f/device1", "specversion": "1.0", "subject": "warmup", "application": "161e7d54-8684-48c8-b93b-000010fb996f", "applicationuid": "885cc18c-0af1-4581-b978-6495ad5753fc", "source": "drogue://161e7d54%2D8684%2D48c8%2Db93b%2D000010fb996f/device1", "device": "device1"}, payload: "{\"index\":3}" }
[2022-05-09T12:28:59Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:28:59Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:28:59Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:28:59Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T12:28:59Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "c639a86a-d73a-4a85-9968-33959c0b7cc9", persistence: None, user_data: None }
[2022-05-09T12:28:59Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:28:59Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x56171787f900
[2022-05-09T12:28:59Z DEBUG paho_mqtt::async_client] Connecting handle: 0x56171787f900
[2022-05-09T12:28:59Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717b58cd0, password: 0x5617179e2f10, connectTimeout: 30, retryInterval: 0, ssl: 0x561717be8e00, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717b58a40, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("gateway1@161e7d54-8684-48c8-b93b-000010fb996f"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:29:00Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 18, payload: 0x7f4b1800f380, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717c81170 } }, data: MessageData { topic: "app/161e7d54-8684-48c8-b93b-000010fb996f", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x561717c81170 } } } }
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002ca0, 0x5617178984b0
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x5617178984b0, 0x7f4b1802f320
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x5617178984b0, 0x7f4b280075f0
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280075f0, 0x7f4b1802f420
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280075f0, 0x7f4b28003040
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003040, 0x7f4b1802f320
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003040, 0x7f4b28003960
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003960, 0x7f4b1802f320
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003960, 0x7f4b28003160
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003160, 0x7f4b28003960
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003960, 0x7f4b1802f320
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003960, 0x7f4b18016920
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003960, 0x7f4b1802f320
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003960, 0x7f4b1802f320
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28003960
[2022-05-09T12:29:00Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/161e7d54-8684-48c8-b93b-000010fb996f", content_type: Some("application/json"), user_properties: {"partitionkey": "161e7d54%2D8684%2D48c8%2Db93b%2D000010fb996f/gateway1", "source": "drogue://161e7d54%2D8684%2D48c8%2Db93b%2D000010fb996f/gateway1", "time": "2022-05-09T12:29:00.042381849+00:00", "type": "io.drogue.connection.v1", "id": "d8e3dcd3-0e58-4353-bc3a-b89b12b38209", "sender": "gateway1", "applicationuid": "885cc18c-0af1-4581-b978-6495ad5753fc", "deviceuid": "aeaa43af-32d3-4509-afe3-9536232eeaa7", "application": "161e7d54-8684-48c8-b93b-000010fb996f", "subject": "connection", "device": "gateway1", "senderuid": "aeaa43af-32d3-4509-afe3-9536232eeaa7", "specversion": "1.0", "instance": "drogue"}, payload: "{\"connected\":true}" }
[2022-05-09T12:29:00Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717a45050 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717a45050 } } } }
[2022-05-09T12:29:00Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:29:00Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 19, payload: 0x7f4b18007a30, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x5617179f1800 } }, data: MessageData { topic: "app/161e7d54-8684-48c8-b93b-000010fb996f", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x5617179f1800 } } } }
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b1802f040, 0x7f4b1802f060
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b1802f060, 0x7f4b1802f320
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b1802f060, 0x7f4b28003180
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003180, 0x7f4b180319a0
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003180, 0x7f4b28004d60
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004d60, 0x7f4b1802f320
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004d60, 0x7f4b1802f320
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004d60, 0x7f4b28003160
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003160, 0x7f4b28004d60
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003160, 0x7f4b1802f320
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003160, 0x7f4b18031cc0
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003160, 0x7f4b1802f320
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003160, 0x7f4b28003040
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003040, 0x7f4b1802f320
[2022-05-09T12:29:00Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28003040
[2022-05-09T12:29:00Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/161e7d54-8684-48c8-b93b-000010fb996f", content_type: Some("application/json"), user_properties: {"senderuid": "aeaa43af-32d3-4509-afe3-9536232eeaa7", "deviceuid": "aeaa43af-32d3-4509-afe3-9536232eeaa7", "sender": "gateway1", "applicationuid": "885cc18c-0af1-4581-b978-6495ad5753fc", "instance": "drogue", "device": "gateway1", "partitionkey": "161e7d54%2D8684%2D48c8%2Db93b%2D000010fb996f/gateway1", "application": "161e7d54-8684-48c8-b93b-000010fb996f", "type": "io.drogue.connection.v1", "id": "4e9befcd-545c-4248-93ba-f9d3ff17c5d5", "subject": "connection", "source": "drogue://161e7d54%2D8684%2D48c8%2Db93b%2D000010fb996f/gateway1", "time": "2022-05-09T12:29:00.582019368+00:00", "specversion": "1.0"}, payload: "{\"connected\":false}" }
[2022-05-09T12:29:01Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x561717cea600 } }, data: MessageData { topic: "app/161e7d54-8684-48c8-b93b-000010fb996f", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x561717cea600 } } } }
[2022-05-09T12:29:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003160, 0x7f4b28002c80
[2022-05-09T12:29:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002c80, 0x7f4b18017a90
[2022-05-09T12:29:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002c80, 0x7f4b28002ca0
[2022-05-09T12:29:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002ca0, 0x7f4b18004fd0
[2022-05-09T12:29:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002ca0, 0x7f4b280075f0
[2022-05-09T12:29:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280075f0, 0x7f4b18017a90
[2022-05-09T12:29:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280075f0, 0x7f4b28003ed0
[2022-05-09T12:29:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003ed0, 0x7f4b18017a90
[2022-05-09T12:29:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003ed0, 0x7f4b18017a90
[2022-05-09T12:29:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003ed0, 0x7f4b18017a90
[2022-05-09T12:29:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003ed0, 0x7f4b28004b40
[2022-05-09T12:29:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28004b40, 0x7f4b28003ed0
[2022-05-09T12:29:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003ed0, 0x7f4b1801d1f0
[2022-05-09T12:29:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28003ed0, 0x7f4b18017a90
[2022-05-09T12:29:01Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28003260
[2022-05-09T12:29:01Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/161e7d54-8684-48c8-b93b-000010fb996f", content_type: Some("application/octet-stream"), user_properties: {"id": "7f212647-3d2a-429a-bd7f-02248186332a", "specversion": "1.0", "source": "drogue://161e7d54%2D8684%2D48c8%2Db93b%2D000010fb996f/device1", "time": "2022-05-09T12:29:00.581101177+00:00", "application": "161e7d54-8684-48c8-b93b-000010fb996f", "applicationuid": "885cc18c-0af1-4581-b978-6495ad5753fc", "senderuid": "aeaa43af-32d3-4509-afe3-9536232eeaa7", "sender": "gateway1", "type": "io.drogue.event.v1", "instance": "drogue", "partitionkey": "161e7d54%2D8684%2D48c8%2Db93b%2D000010fb996f/device1", "subject": "telemetry", "device": "device1", "deviceuid": "21e6e213-76a0-44e2-9279-9d91896aa404"}, payload: "" }
[2022-05-09T12:29:01Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:29:01Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:29:01Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:29:01Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "161e7d54-8684-48c8-b93b-000010fb996f", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "161e7d54-8684-48c8-b93b-000010fb996f", device: "gateway1", sender: "gateway1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:29:01Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:29:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "161e7d54-8684-48c8-b93b-000010fb996f" "device1"
[2022-05-09T12:29:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:29:01Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T12:29:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "161e7d54-8684-48c8-b93b-000010fb996f" "gateway1"
[2022-05-09T12:29:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T12:29:01Z INFO  drogue_cloud_tests::resources::apps] Destroy application '161e7d54-8684-48c8-b93b-000010fb996f'
[2022-05-09T12:29:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "161e7d54-8684-48c8-b93b-000010fb996f"
[2022-05-09T12:29:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 161e7d54-8684-48c8-b93b-000010fb996f deleted.\n", stderr: "" })

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

Duration: 14s

❌ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::endpoint_ws_1::integration_version_1::integration_ws_2

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T12:29:18Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:29:18Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:29:18Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:29:18Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:29:18Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:29:19Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:29:20Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:29:20Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:29:20Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:29:20Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:29:22Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDExNjIsImlhdCI6MTY1MjA5OTM2MiwianRpIjoiYzA5ZjcyOGQtOTJjZC00YTk1LWEwYjAtMjVmZGYzMTllZmQ5IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6InhLZFJud1RCY0xDN3FMUTNFZ2dsREEiLCJzZXNzaW9uX3N0YXRlIjoiNWUxNDE5OGYtYzJhZS00ODI3LWEzNGYtOTVhMmYyNjlhYWYwIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjVlMTQxOThmLWMyYWUtNDgyNy1hMzRmLTk1YTJmMjY5YWFmMCJ9.qRbHbd6_fpG7viHJGFUbFWCgmqaXeb8WBB52LgRQaxw
[2022-05-09T12:29:22Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:29:22Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:29:22Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDExNjIsImlhdCI6MTY1MjA5OTM2MiwianRpIjoiYzA5ZjcyOGQtOTJjZC00YTk1LWEwYjAtMjVmZGYzMTllZmQ5IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6InhLZFJud1RCY0xDN3FMUTNFZ2dsREEiLCJzZXNzaW9uX3N0YXRlIjoiNWUxNDE5OGYtYzJhZS00ODI3LWEzNGYtOTVhMmYyNjlhYWYwIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjVlMTQxOThmLWMyYWUtNDgyNy1hMzRmLTk1YTJmMjY5YWFmMCJ9.qRbHbd6_fpG7viHJGFUbFWCgmqaXeb8WBB52LgRQaxw" "--context" "system-tests"
[2022-05-09T12:29:22Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:29:23Z INFO  drogue_cloud_tests::resources::apps] Create application: 70a0c575-e886-4d26-ba1b-3b0820911aef
[2022-05-09T12:29:23Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "70a0c575-e886-4d26-ba1b-3b0820911aef"
[2022-05-09T12:29:23Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 70a0c575-e886-4d26-ba1b-3b0820911aef created.\n", stderr: "" })
[2022-05-09T12:29:23Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "70a0c575-e886-4d26-ba1b-3b0820911aef"
[2022-05-09T12:29:23Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:29:23.277836Z\",\n    \"generation\": 1,\n    \"name\": \"70a0c575-e886-4d26-ba1b-3b0820911aef\",\n    \"resourceVersion\": \"96a94d9a-ce9c-49b9-9f5a-9cb611c77209\",\n    \"uid\": \"530ec90c-c398-4a3e-817f-bcc45563221c\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:29:23.292514294Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2022-05-09T12:29:23Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:29:23.277836Z"), "generation": Number(1), "name": String("70a0c575-e886-4d26-ba1b-3b0820911aef"), "resourceVersion": String("96a94d9a-ce9c-49b9-9f5a-9cb611c77209"), "uid": String("530ec90c-c398-4a3e-817f-bcc45563221c")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:29:23.292514294Z"), "status": String("True"), "type": String("Ready")})])})})
[2022-05-09T12:29:23Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:29:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "70a0c575-e886-4d26-ba1b-3b0820911aef"
[2022-05-09T12:29:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:29:23.277836Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"70a0c575-e886-4d26-ba1b-3b0820911aef\",\n    \"resourceVersion\": \"196aa2f1-1ed8-4b1a-bef4-05fbbb8b75d8\",\n    \"uid\": \"530ec90c-c398-4a3e-817f-bcc45563221c\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:29:23.627278996Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:29:23.627181574Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:29:23.329272380Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:29:23.336897719Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:29:23.393799168Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:29:23.399550452Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:29:23.627131319Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:29:23.627153361Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"emWGf6NGdJjB\",\n        \"username\": \"user-70a0c575-e886-4d26-ba1b-3b0820911aef\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:29:24Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:29:23.277836Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("70a0c575-e886-4d26-ba1b-3b0820911aef"), "resourceVersion": String("196aa2f1-1ed8-4b1a-bef4-05fbbb8b75d8"), "uid": String("530ec90c-c398-4a3e-817f-bcc45563221c")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:29:23.627278996Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:29:23.627181574Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:29:23.329272380Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:29:23.336897719Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:29:23.393799168Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:29:23.399550452Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:29:23.627131319Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:29:23.627153361Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("emWGf6NGdJjB"), "username": String("user-70a0c575-e886-4d26-ba1b-3b0820911aef")})})})})
[2022-05-09T12:29:24Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:29:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "70a0c575-e886-4d26-ba1b-3b0820911aef"
[2022-05-09T12:29:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:29:23.277836Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"70a0c575-e886-4d26-ba1b-3b0820911aef\",\n    \"resourceVersion\": \"196aa2f1-1ed8-4b1a-bef4-05fbbb8b75d8\",\n    \"uid\": \"530ec90c-c398-4a3e-817f-bcc45563221c\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:29:23.627278996Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:29:23.627181574Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:29:23.329272380Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:29:23.336897719Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:29:23.393799168Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:29:23.399550452Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:29:23.627131319Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:29:23.627153361Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"emWGf6NGdJjB\",\n        \"username\": \"user-70a0c575-e886-4d26-ba1b-3b0820911aef\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:29:24Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:29:23.277836Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("70a0c575-e886-4d26-ba1b-3b0820911aef"), "resourceVersion": String("196aa2f1-1ed8-4b1a-bef4-05fbbb8b75d8"), "uid": String("530ec90c-c398-4a3e-817f-bcc45563221c")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:29:23.627278996Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:29:23.627181574Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:29:23.329272380Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:29:23.336897719Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:29:23.393799168Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:29:23.399550452Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:29:23.627131319Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:29:23.627153361Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("emWGf6NGdJjB"), "username": String("user-70a0c575-e886-4d26-ba1b-3b0820911aef")})})})})
[2022-05-09T12:29:24Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:29:24Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:29:24Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:29:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:29:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk2NjIsImlhdCI6MTY1MjA5OTM2MiwiYXV0aF90aW1lIjoxNjUyMDk5MzU5LCJqdGkiOiJlNDViM2E3Yi02NTI0LTQyZGItODI0MC0xMGE2MmZlN2I0YzAiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ4S2RSbndUQmNMQzdxTFEzRWdnbERBIiwic2Vzc2lvbl9zdGF0ZSI6IjVlMTQxOThmLWMyYWUtNDgyNy1hMzRmLTk1YTJmMjY5YWFmMCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjVlMTQxOThmLWMyYWUtNDgyNy1hMzRmLTk1YTJmMjY5YWFmMCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.VQXrWort8vz65rNfJkCHwvM0tLp6FBbO9vBsNG5WsDRTwLgtuU1tboVY3_zQYttsDDTrmQnQHdLPuti-bwNogz4b1bCkQdHuUkKMRyduSCk6czSDIsHoDNU89fP4kfIsnaZ9Y8fIixuJejz8JNtVDQ7EEsPUEgtLisTQ45AKXz2d56JwK72BBiqm81QXuDLKrbm_7Ov8qO-KdaKbV1wmyJGwOzZN-jetC5lUNX0ZXeByHLyDaDwUxYj23fdcUCLfd_HnnKbXSGlw58jIC4ma5RFIfQD75QMCGlzff6bsywDq_KAmfVP7K9V1gOcziseL0lv0xcpGd1qFZVppUd1l5Q\n", stderr: "" })
[2022-05-09T12:29:24Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:29:24Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:29:24Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:29:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "70a0c575-e886-4d26-ba1b-3b0820911aef" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:29:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:29:24Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T12:29:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:29:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk2NjIsImlhdCI6MTY1MjA5OTM2MiwiYXV0aF90aW1lIjoxNjUyMDk5MzU5LCJqdGkiOiJlNDViM2E3Yi02NTI0LTQyZGItODI0MC0xMGE2MmZlN2I0YzAiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ4S2RSbndUQmNMQzdxTFEzRWdnbERBIiwic2Vzc2lvbl9zdGF0ZSI6IjVlMTQxOThmLWMyYWUtNDgyNy1hMzRmLTk1YTJmMjY5YWFmMCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjVlMTQxOThmLWMyYWUtNDgyNy1hMzRmLTk1YTJmMjY5YWFmMCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.VQXrWort8vz65rNfJkCHwvM0tLp6FBbO9vBsNG5WsDRTwLgtuU1tboVY3_zQYttsDDTrmQnQHdLPuti-bwNogz4b1bCkQdHuUkKMRyduSCk6czSDIsHoDNU89fP4kfIsnaZ9Y8fIixuJejz8JNtVDQ7EEsPUEgtLisTQ45AKXz2d56JwK72BBiqm81QXuDLKrbm_7Ov8qO-KdaKbV1wmyJGwOzZN-jetC5lUNX0ZXeByHLyDaDwUxYj23fdcUCLfd_HnnKbXSGlw58jIC4ma5RFIfQD75QMCGlzff6bsywDq_KAmfVP7K9V1gOcziseL0lv0xcpGd1qFZVppUd1l5Q\n", stderr: "" })
[2022-05-09T12:29:24Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "e406359b-f31e-417c-b803-1871be0a3a37", persistence: None, user_data: None }
[2022-05-09T12:29:24Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:29:24Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717d50080
[2022-05-09T12:29:24Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717d50080
[2022-05-09T12:29:24Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717955a80, connectTimeout: 30, retryInterval: 0, ssl: 0x561717b8eaf0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717c34110, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk2NjIsImlhdCI6MTY1MjA5OTM2MiwiYXV0aF90aW1lIjoxNjUyMDk5MzU5LCJqdGkiOiJlNDViM2E3Yi02NTI0LTQyZGItODI0MC0xMGE2MmZlN2I0YzAiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ4S2RSbndUQmNMQzdxTFEzRWdnbERBIiwic2Vzc2lvbl9zdGF0ZSI6IjVlMTQxOThmLWMyYWUtNDgyNy1hMzRmLTk1YTJmMjY5YWFmMCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjVlMTQxOThmLWMyYWUtNDgyNy1hMzRmLTk1YTJmMjY5YWFmMCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.VQXrWort8vz65rNfJkCHwvM0tLp6FBbO9vBsNG5WsDRTwLgtuU1tboVY3_zQYttsDDTrmQnQHdLPuti-bwNogz4b1bCkQdHuUkKMRyduSCk6czSDIsHoDNU89fP4kfIsnaZ9Y8fIixuJejz8JNtVDQ7EEsPUEgtLisTQ45AKXz2d56JwK72BBiqm81QXuDLKrbm_7Ov8qO-KdaKbV1wmyJGwOzZN-jetC5lUNX0ZXeByHLyDaDwUxYj23fdcUCLfd_HnnKbXSGlw58jIC4ma5RFIfQD75QMCGlzff6bsywDq_KAmfVP7K9V1gOcziseL0lv0xcpGd1qFZVppUd1l5Q"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:29:24Z DEBUG paho_mqtt::async_client] Subscribe to '"app/70a0c575-e886-4d26-ba1b-3b0820911aef"' @ QOS 0
[2022-05-09T12:29:24Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:29:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:29:24Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:29:24Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:29:24Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:29:24Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:29:25Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:29:25Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:29:25Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:29:25Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:29:26Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:29:26Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:29:26Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:29:26Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:29:27Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:29:27Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:29:27Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:29:27Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:29:28Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 620, payload: 0x7f4b1c015ef0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/70a0c575-e886-4d26-ba1b-3b0820911aef", 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, 54, 98, 57, 55, 99, 55, 57, 56, 45, 49, 53, 100, 102, 45, 52, 101, 98, 53, 45, 97, 48, 98, 98, 45, 49, 97, 102, 57, 98, 55, 52, 55, 57, 57, 53, 50, 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, 55, 48, 97, 48, 99, 53, 55, 53, 37, 50, 68, 101, 56, 56, 54, 37, 50, 68, 52, 100, 50, 54, 37, 50, 68, 98, 97, 49, 98, 37, 50, 68, 51, 98, 48, 56, 50, 48, 57, 49, 49, 97, 101, 102, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 57, 58, 50, 55, 46, 57, 51, 53, 49, 53, 52, 49, 50, 50, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 100, 100, 55, 52, 101, 48, 53, 57, 45, 48, 49, 54, 52, 45, 52, 57, 49, 101, 45, 57, 97, 101, 48, 45, 99, 52, 54, 50, 101, 56, 102, 55, 56, 56, 53, 57, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 55, 48, 97, 48, 99, 53, 55, 53, 37, 50, 68, 101, 56, 56, 54, 37, 50, 68, 52, 100, 50, 54, 37, 50, 68, 98, 97, 49, 98, 37, 50, 68, 51, 98, 48, 56, 50, 48, 57, 49, 49, 97, 101, 102, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 53, 51, 48, 101, 99, 57, 48, 99, 45, 99, 51, 57, 56, 45, 52, 97, 51, 101, 45, 56, 49, 55, 102, 45, 98, 99, 99, 52, 53, 53, 54, 51, 50, 50, 49, 99, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 55, 48, 97, 48, 99, 53, 55, 53, 45, 101, 56, 56, 54, 45, 52, 100, 50, 54, 45, 98, 97, 49, 98, 45, 51, 98, 48, 56, 50, 48, 57, 49, 49, 97, 101, 102, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 100, 100, 55, 52, 101, 48, 53, 57, 45, 48, 49, 54, 52, 45, 52, 57, 49, 101, 45, 57, 97, 101, 48, 45, 99, 52, 54, 50, 101, 56, 102, 55, 56, 56, 53, 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 } } } }
[2022-05-09T12:29:28Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/70a0c575-e886-4d26-ba1b-3b0820911aef", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"6b97c798-15df-4eb5-a0bb-1af9b7479952\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://70a0c575%2De886%2D4d26%2Dba1b%2D3b0820911aef/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:29:27.935154122Z\",\"data\":{\"index\":3},\"deviceuid\":\"dd74e059-0164-491e-9ae0-c462e8f78859\",\"partitionkey\":\"70a0c575%2De886%2D4d26%2Dba1b%2D3b0820911aef/device1\",\"instance\":\"drogue\",\"applicationuid\":\"530ec90c-c398-4a3e-817f-bcc45563221c\",\"sender\":\"device1\",\"application\":\"70a0c575-e886-4d26-ba1b-3b0820911aef\",\"senderuid\":\"dd74e059-0164-491e-9ae0-c462e8f78859\",\"device\":\"device1\"}" }
[2022-05-09T12:29:28Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:29:28Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:29:28Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:29:28Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry
[2022-05-09T12:29:28Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "5c05cbc1-9c79-4211-9f41-cce51bf9e60e", persistence: None, user_data: None }
[2022-05-09T12:29:28Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:29:28Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717ae9490
[2022-05-09T12:29:28Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717ae9490
[2022-05-09T12:29:28Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x561717becd40, password: 0x561717ca5910, connectTimeout: 30, retryInterval: 0, ssl: 0x561717ce4690, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717c1e780, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("device1@70a0c575-e886-4d26-ba1b-3b0820911aef"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:29:29Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717869df0 } }, data: MessageData { topic: "telemetry", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717869df0 } } } }
[2022-05-09T12:29:29Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:29:29Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 636, payload: 0x7f4b1c00cb50, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/70a0c575-e886-4d26-ba1b-3b0820911aef", 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, 101, 53, 54, 56, 57, 57, 102, 45, 97, 53, 56, 100, 45, 52, 57, 52, 57, 45, 57, 51, 101, 48, 45, 49, 53, 53, 48, 53, 49, 52, 54, 100, 56, 50, 98, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 55, 48, 97, 48, 99, 53, 55, 53, 37, 50, 68, 101, 56, 56, 54, 37, 50, 68, 52, 100, 50, 54, 37, 50, 68, 98, 97, 49, 98, 37, 50, 68, 51, 98, 48, 56, 50, 48, 57, 49, 49, 97, 101, 102, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 57, 58, 50, 57, 46, 49, 53, 52, 53, 56, 56, 52, 52, 57, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 53, 51, 48, 101, 99, 57, 48, 99, 45, 99, 51, 57, 56, 45, 52, 97, 51, 101, 45, 56, 49, 55, 102, 45, 98, 99, 99, 52, 53, 53, 54, 51, 50, 50, 49, 99, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 100, 100, 55, 52, 101, 48, 53, 57, 45, 48, 49, 54, 52, 45, 52, 57, 49, 101, 45, 57, 97, 101, 48, 45, 99, 52, 54, 50, 101, 56, 102, 55, 56, 56, 53, 57, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 55, 48, 97, 48, 99, 53, 55, 53, 37, 50, 68, 101, 56, 56, 54, 37, 50, 68, 52, 100, 50, 54, 37, 50, 68, 98, 97, 49, 98, 37, 50, 68, 51, 98, 48, 56, 50, 48, 57, 49, 49, 97, 101, 102, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 55, 48, 97, 48, 99, 53, 55, 53, 45, 101, 56, 56, 54, 45, 52, 100, 50, 54, 45, 98, 97, 49, 98, 45, 51, 98, 48, 56, 50, 48, 57, 49, 49, 97, 101, 102, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 100, 100, 55, 52, 101, 48, 53, 57, 45, 48, 49, 54, 52, 45, 52, 57, 49, 101, 45, 57, 97, 101, 48, 45, 99, 52, 54, 50, 101, 56, 102, 55, 56, 56, 53, 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 } } } }
[2022-05-09T12:29:29Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/70a0c575-e886-4d26-ba1b-3b0820911aef", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"8e56899f-a58d-4949-93e0-15505146d82b\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://70a0c575%2De886%2D4d26%2Dba1b%2D3b0820911aef/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:29:29.154588449Z\",\"data\":{\"connected\":true},\"applicationuid\":\"530ec90c-c398-4a3e-817f-bcc45563221c\",\"senderuid\":\"dd74e059-0164-491e-9ae0-c462e8f78859\",\"partitionkey\":\"70a0c575%2De886%2D4d26%2Dba1b%2D3b0820911aef/device1\",\"sender\":\"device1\",\"instance\":\"drogue\",\"application\":\"70a0c575-e886-4d26-ba1b-3b0820911aef\",\"deviceuid\":\"dd74e059-0164-491e-9ae0-c462e8f78859\",\"device\":\"device1\"}" }
[2022-05-09T12:29:29Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 637, payload: 0x7f4b1c00a940, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/70a0c575-e886-4d26-ba1b-3b0820911aef", 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, 99, 51, 51, 52, 53, 101, 98, 51, 45, 49, 100, 98, 49, 45, 52, 51, 102, 100, 45, 98, 53, 100, 99, 45, 100, 55, 50, 50, 102, 56, 56, 100, 55, 100, 57, 49, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 55, 48, 97, 48, 99, 53, 55, 53, 37, 50, 68, 101, 56, 56, 54, 37, 50, 68, 52, 100, 50, 54, 37, 50, 68, 98, 97, 49, 98, 37, 50, 68, 51, 98, 48, 56, 50, 48, 57, 49, 49, 97, 101, 102, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 57, 58, 50, 57, 46, 54, 49, 56, 54, 49, 49, 55, 57, 49, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 55, 48, 97, 48, 99, 53, 55, 53, 37, 50, 68, 101, 56, 56, 54, 37, 50, 68, 52, 100, 50, 54, 37, 50, 68, 98, 97, 49, 98, 37, 50, 68, 51, 98, 48, 56, 50, 48, 57, 49, 49, 97, 101, 102, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 53, 51, 48, 101, 99, 57, 48, 99, 45, 99, 51, 57, 56, 45, 52, 97, 51, 101, 45, 56, 49, 55, 102, 45, 98, 99, 99, 52, 53, 53, 54, 51, 50, 50, 49, 99, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 100, 100, 55, 52, 101, 48, 53, 57, 45, 48, 49, 54, 52, 45, 52, 57, 49, 101, 45, 57, 97, 101, 48, 45, 99, 52, 54, 50, 101, 56, 102, 55, 56, 56, 53, 57, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 55, 48, 97, 48, 99, 53, 55, 53, 45, 101, 56, 56, 54, 45, 52, 100, 50, 54, 45, 98, 97, 49, 98, 45, 51, 98, 48, 56, 50, 48, 57, 49, 49, 97, 101, 102, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 100, 100, 55, 52, 101, 48, 53, 57, 45, 48, 49, 54, 52, 45, 52, 57, 49, 101, 45, 57, 97, 101, 48, 45, 99, 52, 54, 50, 101, 56, 102, 55, 56, 56, 53, 57, 34, 44, 34, 115, 101, 110, 100, 101, 114, 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 } } } }
[2022-05-09T12:29:29Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/70a0c575-e886-4d26-ba1b-3b0820911aef", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"c3345eb3-1db1-43fd-b5dc-d722f88d7d91\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://70a0c575%2De886%2D4d26%2Dba1b%2D3b0820911aef/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:29:29.618611791Z\",\"data\":{\"connected\":false},\"partitionkey\":\"70a0c575%2De886%2D4d26%2Dba1b%2D3b0820911aef/device1\",\"device\":\"device1\",\"instance\":\"drogue\",\"applicationuid\":\"530ec90c-c398-4a3e-817f-bcc45563221c\",\"deviceuid\":\"dd74e059-0164-491e-9ae0-c462e8f78859\",\"application\":\"70a0c575-e886-4d26-ba1b-3b0820911aef\",\"senderuid\":\"dd74e059-0164-491e-9ae0-c462e8f78859\",\"sender\":\"device1\"}" }
[2022-05-09T12:29:29Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 629, payload: 0x7f4b1c00ae80, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/70a0c575-e886-4d26-ba1b-3b0820911aef", 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, 97, 51, 50, 48, 49, 52, 98, 51, 45, 56, 98, 100, 98, 45, 52, 56, 56, 99, 45, 97, 55, 49, 51, 45, 100, 48, 50, 102, 57, 54, 54, 98, 97, 56, 98, 55, 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, 55, 48, 97, 48, 99, 53, 55, 53, 37, 50, 68, 101, 56, 56, 54, 37, 50, 68, 52, 100, 50, 54, 37, 50, 68, 98, 97, 49, 98, 37, 50, 68, 51, 98, 48, 56, 50, 48, 57, 49, 49, 97, 101, 102, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 50, 57, 58, 50, 57, 46, 54, 49, 52, 55, 52, 57, 53, 55, 57, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 53, 51, 48, 101, 99, 57, 48, 99, 45, 99, 51, 57, 56, 45, 52, 97, 51, 101, 45, 56, 49, 55, 102, 45, 98, 99, 99, 52, 53, 53, 54, 51, 50, 50, 49, 99, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 55, 48, 97, 48, 99, 53, 55, 53, 37, 50, 68, 101, 56, 56, 54, 37, 50, 68, 52, 100, 50, 54, 37, 50, 68, 98, 97, 49, 98, 37, 50, 68, 51, 98, 48, 56, 50, 48, 57, 49, 49, 97, 101, 102, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 100, 100, 55, 52, 101, 48, 53, 57, 45, 48, 49, 54, 52, 45, 52, 57, 49, 101, 45, 57, 97, 101, 48, 45, 99, 52, 54, 50, 101, 56, 102, 55, 56, 56, 53, 57, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 100, 100, 55, 52, 101, 48, 53, 57, 45, 48, 49, 54, 52, 45, 52, 57, 49, 101, 45, 57, 97, 101, 48, 45, 99, 52, 54, 50, 101, 56, 102, 55, 56, 56, 53, 57, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 55, 48, 97, 48, 99, 53, 55, 53, 45, 101, 56, 56, 54, 45, 52, 100, 50, 54, 45, 98, 97, 49, 98, 45, 51, 98, 48, 56, 50, 48, 57, 49, 49, 97, 101, 102, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:29:29Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/70a0c575-e886-4d26-ba1b-3b0820911aef", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"a32014b3-8bdb-488c-a713-d02f966ba8b7\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://70a0c575%2De886%2D4d26%2Dba1b%2D3b0820911aef/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:29:29.614749579Z\",\"data_base64\":\"\",\"applicationuid\":\"530ec90c-c398-4a3e-817f-bcc45563221c\",\"sender\":\"device1\",\"partitionkey\":\"70a0c575%2De886%2D4d26%2Dba1b%2D3b0820911aef/device1\",\"instance\":\"drogue\",\"senderuid\":\"dd74e059-0164-491e-9ae0-c462e8f78859\",\"device\":\"device1\",\"deviceuid\":\"dd74e059-0164-491e-9ae0-c462e8f78859\",\"application\":\"70a0c575-e886-4d26-ba1b-3b0820911aef\"}" }
[2022-05-09T12:29:29Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:29:29Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:29:29Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:29:29Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "70a0c575-e886-4d26-ba1b-3b0820911aef", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "70a0c575-e886-4d26-ba1b-3b0820911aef", device: "device1", sender: "device1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:29:29Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:29:29Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "70a0c575-e886-4d26-ba1b-3b0820911aef" "device1"
[2022-05-09T12:29:30Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:29:30Z INFO  drogue_cloud_tests::resources::apps] Destroy application '70a0c575-e886-4d26-ba1b-3b0820911aef'
[2022-05-09T12:29:30Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "70a0c575-e886-4d26-ba1b-3b0820911aef"
[2022-05-09T12:29:30Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 70a0c575-e886-4d26-ba1b-3b0820911aef deleted.\n", stderr: "" })

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

Duration: 14s

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

Duration: 14s

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

Duration: 14s

❌ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::endpoint_ws_1::integration_version_3::integration_ws_2

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T12:30:14Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:30:14Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:30:14Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:30:14Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:30:14Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:30:15Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:30:16Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:30:16Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:30:16Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:30: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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:30:18Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDEyMTgsImlhdCI6MTY1MjA5OTQxOCwianRpIjoiYWE4ODYwMmQtNmNmOC00OTg5LWIwM2YtNTRkMTZiYWRjZWI5IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ik9CZWR6V0Q0RHhpUVNldVRZRWY1M3ciLCJzZXNzaW9uX3N0YXRlIjoiMGMwM2Y2MzItOWI5Ny00NWM3LWE1OGEtNzNiODdmNDY0YTY5Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjBjMDNmNjMyLTliOTctNDVjNy1hNThhLTczYjg3ZjQ2NGE2OSJ9.1BxlFGNVzRWlqmJcSl4BzCoLOK_9BSYoPqcduDkTO7A
[2022-05-09T12:30:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:30:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:30:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDEyMTgsImlhdCI6MTY1MjA5OTQxOCwianRpIjoiYWE4ODYwMmQtNmNmOC00OTg5LWIwM2YtNTRkMTZiYWRjZWI5IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ik9CZWR6V0Q0RHhpUVNldVRZRWY1M3ciLCJzZXNzaW9uX3N0YXRlIjoiMGMwM2Y2MzItOWI5Ny00NWM3LWE1OGEtNzNiODdmNDY0YTY5Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjBjMDNmNjMyLTliOTctNDVjNy1hNThhLTczYjg3ZjQ2NGE2OSJ9.1BxlFGNVzRWlqmJcSl4BzCoLOK_9BSYoPqcduDkTO7A" "--context" "system-tests"
[2022-05-09T12:30:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:30:19Z INFO  drogue_cloud_tests::resources::apps] Create application: 64326bb8-e93f-47ff-9af7-64001866d3c1
[2022-05-09T12:30:19Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "64326bb8-e93f-47ff-9af7-64001866d3c1"
[2022-05-09T12:30:19Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 64326bb8-e93f-47ff-9af7-64001866d3c1 created.\n", stderr: "" })
[2022-05-09T12:30:19Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "64326bb8-e93f-47ff-9af7-64001866d3c1"
[2022-05-09T12:30:19Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:30:19.606537Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"64326bb8-e93f-47ff-9af7-64001866d3c1\",\n    \"resourceVersion\": \"54eb7bbf-589f-4d90-9dfd-786f1f31d21b\",\n    \"uid\": \"d5e729fd-e654-4337-bcba-7796a36ba68a\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:30:19.626145301Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:30:19.626117759Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:30:19.626083756Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:30:19.626084668Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:30:19.626085138Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:30:19.626086020Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:30:19.626086581Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:30:19.626092171Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:30:19Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:30:19.606537Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("64326bb8-e93f-47ff-9af7-64001866d3c1"), "resourceVersion": String("54eb7bbf-589f-4d90-9dfd-786f1f31d21b"), "uid": String("d5e729fd-e654-4337-bcba-7796a36ba68a")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:30:19.626145301Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:30:19.626117759Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:30:19.626083756Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:30:19.626084668Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:30:19.626085138Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:30:19.626086020Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:30:19.626086581Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:30:19.626092171Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T12:30:19Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:30:20Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "64326bb8-e93f-47ff-9af7-64001866d3c1"
[2022-05-09T12:30:20Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:30:19.606537Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"64326bb8-e93f-47ff-9af7-64001866d3c1\",\n    \"resourceVersion\": \"8490fc41-6dd0-434e-93b8-2c1588ff3799\",\n    \"uid\": \"d5e729fd-e654-4337-bcba-7796a36ba68a\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:30:19.993154177Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:30:19.993082271Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:30:19.662849055Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:30:19.667856345Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:30:19.750713184Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:30:19.760465240Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:30:19.993038709Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:30:19.993055471Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"zGzFwQ4tYjXT\",\n        \"username\": \"user-64326bb8-e93f-47ff-9af7-64001866d3c1\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:30:20Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:30:19.606537Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("64326bb8-e93f-47ff-9af7-64001866d3c1"), "resourceVersion": String("8490fc41-6dd0-434e-93b8-2c1588ff3799"), "uid": String("d5e729fd-e654-4337-bcba-7796a36ba68a")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:30:19.993154177Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:30:19.993082271Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:30:19.662849055Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:30:19.667856345Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:30:19.750713184Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:30:19.760465240Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:30:19.993038709Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:30:19.993055471Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("zGzFwQ4tYjXT"), "username": String("user-64326bb8-e93f-47ff-9af7-64001866d3c1")})})})})
[2022-05-09T12:30:20Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:30:20Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "64326bb8-e93f-47ff-9af7-64001866d3c1"
[2022-05-09T12:30:20Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:30:19.606537Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"64326bb8-e93f-47ff-9af7-64001866d3c1\",\n    \"resourceVersion\": \"8490fc41-6dd0-434e-93b8-2c1588ff3799\",\n    \"uid\": \"d5e729fd-e654-4337-bcba-7796a36ba68a\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:30:19.993154177Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:30:19.993082271Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:30:19.662849055Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:30:19.667856345Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:30:19.750713184Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:30:19.760465240Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:30:19.993038709Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:30:19.993055471Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"zGzFwQ4tYjXT\",\n        \"username\": \"user-64326bb8-e93f-47ff-9af7-64001866d3c1\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:30:20Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:30:19.606537Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("64326bb8-e93f-47ff-9af7-64001866d3c1"), "resourceVersion": String("8490fc41-6dd0-434e-93b8-2c1588ff3799"), "uid": String("d5e729fd-e654-4337-bcba-7796a36ba68a")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:30:19.993154177Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:30:19.993082271Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:30:19.662849055Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:30:19.667856345Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:30:19.750713184Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:30:19.760465240Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:30:19.993038709Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:30:19.993055471Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("zGzFwQ4tYjXT"), "username": String("user-64326bb8-e93f-47ff-9af7-64001866d3c1")})})})})
[2022-05-09T12:30:20Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:30:20Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:30:20Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:30:20Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:30:20Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk3MTgsImlhdCI6MTY1MjA5OTQxOCwiYXV0aF90aW1lIjoxNjUyMDk5NDE1LCJqdGkiOiJmZTBlMGQ4Zi05MjIzLTQxOGQtOGZkMi1kYjE0ZTJiY2QxZWEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJPQmVkeldENER4aVFTZXVUWUVmNTN3Iiwic2Vzc2lvbl9zdGF0ZSI6IjBjMDNmNjMyLTliOTctNDVjNy1hNThhLTczYjg3ZjQ2NGE2OSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjBjMDNmNjMyLTliOTctNDVjNy1hNThhLTczYjg3ZjQ2NGE2OSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.HtP-aPNVFiDPRCediHRqVpyUSS17j-ZD3HIDf1k8XD3PW7a9FFghoU7mM9kryft1CvX1LRzdme7hFeCwZTgp2zxO2ypYiSpdLs2BOYHNSqe_HPb5JFtrMRjHnphorkEApFCb6gB4bJDABMbvjTuh3x2Epwoi20jze7568OXwaRSUBHAnw7URlJN5VyEDomdLxKBbD_8_BvvUtM7Gc4PSIMxERqHuSvcPvxJFAJl5C3a41NripTZHQUv3U2bsWAiyq8vl09smSVjMB6K02cahARdlWja8iANUGtVMPO947ysUKVUDh8icognpdXGcwIAS29QrgmgF0-xPFu8kbeHejg\n", stderr: "" })
[2022-05-09T12:30:20Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:30:20Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:30:20Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:30:20Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "64326bb8-e93f-47ff-9af7-64001866d3c1" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:30:20Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:30:20Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T12:30:20Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:30:20Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk3MTgsImlhdCI6MTY1MjA5OTQxOCwiYXV0aF90aW1lIjoxNjUyMDk5NDE1LCJqdGkiOiJmZTBlMGQ4Zi05MjIzLTQxOGQtOGZkMi1kYjE0ZTJiY2QxZWEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJPQmVkeldENER4aVFTZXVUWUVmNTN3Iiwic2Vzc2lvbl9zdGF0ZSI6IjBjMDNmNjMyLTliOTctNDVjNy1hNThhLTczYjg3ZjQ2NGE2OSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjBjMDNmNjMyLTliOTctNDVjNy1hNThhLTczYjg3ZjQ2NGE2OSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.HtP-aPNVFiDPRCediHRqVpyUSS17j-ZD3HIDf1k8XD3PW7a9FFghoU7mM9kryft1CvX1LRzdme7hFeCwZTgp2zxO2ypYiSpdLs2BOYHNSqe_HPb5JFtrMRjHnphorkEApFCb6gB4bJDABMbvjTuh3x2Epwoi20jze7568OXwaRSUBHAnw7URlJN5VyEDomdLxKBbD_8_BvvUtM7Gc4PSIMxERqHuSvcPvxJFAJl5C3a41NripTZHQUv3U2bsWAiyq8vl09smSVjMB6K02cahARdlWja8iANUGtVMPO947ysUKVUDh8icognpdXGcwIAS29QrgmgF0-xPFu8kbeHejg\n", stderr: "" })
[2022-05-09T12:30:20Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "f68dc645-f8be-450a-966b-0326d3e94964", persistence: None, user_data: None }
[2022-05-09T12:30:20Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:30:20Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x56171793e360
[2022-05-09T12:30:20Z DEBUG paho_mqtt::async_client] Connecting handle: 0x56171793e360
[2022-05-09T12:30:20Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717d58950, connectTimeout: 30, retryInterval: 0, ssl: 0x561717ccf190, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x5617179eefe0, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk3MTgsImlhdCI6MTY1MjA5OTQxOCwiYXV0aF90aW1lIjoxNjUyMDk5NDE1LCJqdGkiOiJmZTBlMGQ4Zi05MjIzLTQxOGQtOGZkMi1kYjE0ZTJiY2QxZWEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJPQmVkeldENER4aVFTZXVUWUVmNTN3Iiwic2Vzc2lvbl9zdGF0ZSI6IjBjMDNmNjMyLTliOTctNDVjNy1hNThhLTczYjg3ZjQ2NGE2OSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjBjMDNmNjMyLTliOTctNDVjNy1hNThhLTczYjg3ZjQ2NGE2OSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.HtP-aPNVFiDPRCediHRqVpyUSS17j-ZD3HIDf1k8XD3PW7a9FFghoU7mM9kryft1CvX1LRzdme7hFeCwZTgp2zxO2ypYiSpdLs2BOYHNSqe_HPb5JFtrMRjHnphorkEApFCb6gB4bJDABMbvjTuh3x2Epwoi20jze7568OXwaRSUBHAnw7URlJN5VyEDomdLxKBbD_8_BvvUtM7Gc4PSIMxERqHuSvcPvxJFAJl5C3a41NripTZHQUv3U2bsWAiyq8vl09smSVjMB6K02cahARdlWja8iANUGtVMPO947ysUKVUDh8icognpdXGcwIAS29QrgmgF0-xPFu8kbeHejg"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:30:20Z DEBUG paho_mqtt::async_client] Subscribe to '"app/64326bb8-e93f-47ff-9af7-64001866d3c1"' @ QOS 0
[2022-05-09T12:30:20Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:30:20Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:30:20Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:30:20Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:30:20Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:30:20Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:30:21Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:30:21Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:30:21Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:30:21Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:30:22Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:30:22Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:30:22Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:30:22Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:30:23Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:30:23Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:30:23Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:30:23Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:30:24Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:30:24Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:30:24Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:30:24Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:30:24Z 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: 0x7f4b1c016280, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 573, array: 0x561717ce1820 } }, data: MessageData { topic: "app/64326bb8-e93f-47ff-9af7-64001866d3c1", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 52, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 573, array: 0x561717ce1820 } } } }
[2022-05-09T12:30:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x5617179a95e0, 0x7f4b300043e0
[2022-05-09T12:30:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300043e0, 0x561717b553f0
[2022-05-09T12:30:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300043e0, 0x7f4b30004210
[2022-05-09T12:30:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004210, 0x561717ca1dc0
[2022-05-09T12:30:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004210, 0x7f4b300046d0
[2022-05-09T12:30:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300046d0, 0x561717b553f0
[2022-05-09T12:30:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300046d0, 0x561717c0f770
[2022-05-09T12:30:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300046d0, 0x7f4b30001920
[2022-05-09T12:30:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001920, 0x561717b553f0
[2022-05-09T12:30:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001920, 0x561717b553f0
[2022-05-09T12:30:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001920, 0x561717b553f0
[2022-05-09T12:30:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001920, 0x7f4b3000a410
[2022-05-09T12:30:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b3000a410, 0x7f4b30001920
[2022-05-09T12:30:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001920, 0x561717b553f0
[2022-05-09T12:30:24Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b30001920
[2022-05-09T12:30:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/64326bb8-e93f-47ff-9af7-64001866d3c1", content_type: Some("application/json"), user_properties: {"type": "io.drogue.event.v1", "specversion": "1.0", "sender": "device1", "time": "2022-05-09T12:30:24.979407218+00:00", "senderuid": "fc903de7-24d9-4e8f-82bb-2c8ceeb22ba3", "subject": "warmup", "id": "279256fc-7110-4edc-b691-3da6983d6e47", "partitionkey": "64326bb8%2De93f%2D47ff%2D9af7%2D64001866d3c1/device1", "applicationuid": "d5e729fd-e654-4337-bcba-7796a36ba68a", "source": "drogue://64326bb8%2De93f%2D47ff%2D9af7%2D64001866d3c1/device1", "deviceuid": "fc903de7-24d9-4e8f-82bb-2c8ceeb22ba3", "device": "device1", "application": "64326bb8-e93f-47ff-9af7-64001866d3c1", "instance": "drogue"}, payload: "{\"index\":4}" }
[2022-05-09T12:30:25Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 4 attempts
[2022-05-09T12:30:25Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 4
[2022-05-09T12:30:25Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:30:25Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry
[2022-05-09T12:30:25Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "c88d799e-d272-4ef7-a620-54a95b814bd9", persistence: None, user_data: None }
[2022-05-09T12:30:25Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:30:25Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717ce31a0
[2022-05-09T12:30:25Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717ce31a0
[2022-05-09T12:30:25Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x561717c7be20, password: 0x56171797fef0, connectTimeout: 30, retryInterval: 0, ssl: 0x561717911090, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717ce30a0, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("device1@64326bb8-e93f-47ff-9af7-64001866d3c1"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:30:26Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 18, payload: 0x7f4b1c00ce30, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 582, array: 0x561717842210 } }, data: MessageData { topic: "app/64326bb8-e93f-47ff-9af7-64001866d3c1", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 582, array: 0x561717842210 } } } }
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717be7f70, 0x561717bed280
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717bed280, 0x7f4b280079c0
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717bed280, 0x561717bcaf10
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717bcaf10, 0x56171786a890
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717bcaf10, 0x7f4b28001370
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001370, 0x7f4b280079c0
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001370, 0x56171786cc40
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001370, 0x7f4b280079c0
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001370, 0x7f4b28004f80
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001370, 0x7f4b28004f80
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001370, 0x7f4b28002200
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002200, 0x7f4b28004f80
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002200, 0x7f4b28004f80
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28002200, 0x7f4b28001760
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28001760
[2022-05-09T12:30:26Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717d57b40 } }, data: MessageData { topic: "telemetry", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717d57b40 } } } }
[2022-05-09T12:30:26Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/64326bb8-e93f-47ff-9af7-64001866d3c1", content_type: Some("application/json"), user_properties: {"senderuid": "fc903de7-24d9-4e8f-82bb-2c8ceeb22ba3", "sender": "device1", "id": "1def5ca0-0299-4cf2-ade0-ad94e26c874c", "partitionkey": "64326bb8%2De93f%2D47ff%2D9af7%2D64001866d3c1/device1", "subject": "connection", "device": "device1", "type": "io.drogue.connection.v1", "instance": "drogue", "specversion": "1.0", "time": "2022-05-09T12:30:26.107321614+00:00", "deviceuid": "fc903de7-24d9-4e8f-82bb-2c8ceeb22ba3", "source": "drogue://64326bb8%2De93f%2D47ff%2D9af7%2D64001866d3c1/device1", "application": "64326bb8-e93f-47ff-9af7-64001866d3c1", "applicationuid": "d5e729fd-e654-4337-bcba-7796a36ba68a"}, payload: "{\"connected\":true}" }
[2022-05-09T12:30:26Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:30:26Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 19, payload: 0x7f4b1c00a350, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 582, array: 0x561717b68610 } }, data: MessageData { topic: "app/64326bb8-e93f-47ff-9af7-64001866d3c1", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 582, array: 0x561717b68610 } } } }
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b3000a430, 0x7f4b30004550
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004550, 0x7f4b1c0165b0
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004550, 0x561717a8d2c0
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717a8d2c0, 0x7f4b1c0166b0
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717a8d2c0, 0x7f4b30001920
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001920, 0x7f4b1c0165b0
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001920, 0x7f4b30001cf0
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001cf0, 0x7f4b1c01c090
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001cf0, 0x7f4b1c0165b0
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001cf0, 0x7f4b30004ca0
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004ca0, 0x7f4b1c0165b0
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004ca0, 0x7f4b1c0165b0
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004ca0, 0x7f4b3000a410
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b3000a410, 0x7f4b1c0165b0
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b3000a410
[2022-05-09T12:30:26Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/64326bb8-e93f-47ff-9af7-64001866d3c1", content_type: Some("application/json"), user_properties: {"time": "2022-05-09T12:30:26.688631977+00:00", "id": "e003cea4-a88e-421e-be94-455c554e152d", "source": "drogue://64326bb8%2De93f%2D47ff%2D9af7%2D64001866d3c1/device1", "type": "io.drogue.connection.v1", "specversion": "1.0", "subject": "connection", "deviceuid": "fc903de7-24d9-4e8f-82bb-2c8ceeb22ba3", "partitionkey": "64326bb8%2De93f%2D47ff%2D9af7%2D64001866d3c1/device1", "senderuid": "fc903de7-24d9-4e8f-82bb-2c8ceeb22ba3", "device": "device1", "applicationuid": "d5e729fd-e654-4337-bcba-7796a36ba68a", "instance": "drogue", "sender": "device1", "application": "64326bb8-e93f-47ff-9af7-64001866d3c1"}, payload: "{\"connected\":false}" }
[2022-05-09T12:30:26Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 584, array: 0x561717c6e8b0 } }, data: MessageData { topic: "app/64326bb8-e93f-47ff-9af7-64001866d3c1", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 584, array: 0x561717c6e8b0 } } } }
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b1c016280, 0x7f4b1c0162a0
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b1c0162a0, 0x7f4b1c003060
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b1c0162a0, 0x561717a8d2c0
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717a8d2c0, 0x7f4b1c01b920
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717a8d2c0, 0x7f4b30001cf0
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001cf0, 0x7f4b1c003060
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001cf0, 0x7f4b30004ca0
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004ca0, 0x7f4b1c003060
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004ca0, 0x7f4b1c003060
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004ca0, 0x7f4b30004c60
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004c60, 0x7f4b1c0302e0
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004c60, 0x7f4b1c003060
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004c60, 0x7f4b300043e0
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300043e0, 0x7f4b1c003060
[2022-05-09T12:30:26Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b3000aab0
[2022-05-09T12:30:26Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/64326bb8-e93f-47ff-9af7-64001866d3c1", content_type: Some("application/octet-stream"), user_properties: {"device": "device1", "partitionkey": "64326bb8%2De93f%2D47ff%2D9af7%2D64001866d3c1/device1", "source": "drogue://64326bb8%2De93f%2D47ff%2D9af7%2D64001866d3c1/device1", "specversion": "1.0", "id": "981652d3-71b8-44a6-9439-cfedba36644e", "type": "io.drogue.event.v1", "senderuid": "fc903de7-24d9-4e8f-82bb-2c8ceeb22ba3", "application": "64326bb8-e93f-47ff-9af7-64001866d3c1", "sender": "device1", "time": "2022-05-09T12:30:26.685375069+00:00", "instance": "drogue", "applicationuid": "d5e729fd-e654-4337-bcba-7796a36ba68a", "subject": "telemetry", "deviceuid": "fc903de7-24d9-4e8f-82bb-2c8ceeb22ba3"}, payload: "" }
[2022-05-09T12:30:26Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:30:26Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:30:26Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:30:26Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "64326bb8-e93f-47ff-9af7-64001866d3c1", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "64326bb8-e93f-47ff-9af7-64001866d3c1", device: "device1", sender: "device1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:30:27Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:30:27Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "64326bb8-e93f-47ff-9af7-64001866d3c1" "device1"
[2022-05-09T12:30:27Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:30:27Z INFO  drogue_cloud_tests::resources::apps] Destroy application '64326bb8-e93f-47ff-9af7-64001866d3c1'
[2022-05-09T12:30:27Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "64326bb8-e93f-47ff-9af7-64001866d3c1"
[2022-05-09T12:30:27Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 64326bb8-e93f-47ff-9af7-64001866d3c1 deleted.\n", stderr: "" })

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

Duration: 14s

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

Duration: 15s

❌ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::endpoint_ws_2::integration_version_2::integration_ws_1

Duration: 16s

Test output
-------------- TEST START --------------
[2022-05-09T12:30:58Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:30:58Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:30:58Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:30:58Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:30:58Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:31:00Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:31:01Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:31:01Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:31:01Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:31:01Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:31:03Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDEyNjMsImlhdCI6MTY1MjA5OTQ2MywianRpIjoiYzk5NmU5MzMtN2JhOC00ZmE1LWFiM2ItOTJlYzI4ZmQyOWQyIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjZ0U2hVcndqR1F3MEpiZkdZRzQyOHciLCJzZXNzaW9uX3N0YXRlIjoiNWMwOTVjMmQtMjA1Yi00ZjVjLTk5YjQtYzhmZTc2NjQxOGUzIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjVjMDk1YzJkLTIwNWItNGY1Yy05OWI0LWM4ZmU3NjY0MThlMyJ9.EDS9OOQovZu3AraBSlK4k0XRJ_K4XTMuVY_Z6t5YSKc
[2022-05-09T12:31:03Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:31:03Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:31:03Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDEyNjMsImlhdCI6MTY1MjA5OTQ2MywianRpIjoiYzk5NmU5MzMtN2JhOC00ZmE1LWFiM2ItOTJlYzI4ZmQyOWQyIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjZ0U2hVcndqR1F3MEpiZkdZRzQyOHciLCJzZXNzaW9uX3N0YXRlIjoiNWMwOTVjMmQtMjA1Yi00ZjVjLTk5YjQtYzhmZTc2NjQxOGUzIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjVjMDk1YzJkLTIwNWItNGY1Yy05OWI0LWM4ZmU3NjY0MThlMyJ9.EDS9OOQovZu3AraBSlK4k0XRJ_K4XTMuVY_Z6t5YSKc" "--context" "system-tests"
[2022-05-09T12:31:04Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:31:04Z INFO  drogue_cloud_tests::resources::apps] Create application: 097efbca-940b-4465-8ee4-d3d23fd7221a
[2022-05-09T12:31:04Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "097efbca-940b-4465-8ee4-d3d23fd7221a"
[2022-05-09T12:31:04Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 097efbca-940b-4465-8ee4-d3d23fd7221a created.\n", stderr: "" })
[2022-05-09T12:31:04Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "097efbca-940b-4465-8ee4-d3d23fd7221a"
[2022-05-09T12:31:04Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:31:04.671125Z\",\n    \"generation\": 1,\n    \"name\": \"097efbca-940b-4465-8ee4-d3d23fd7221a\",\n    \"resourceVersion\": \"aa554743-fb65-43a3-95a8-0429a0544217\",\n    \"uid\": \"93418f46-bd16-40e6-ac66-92242bb1210c\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:31:04.685550794Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2022-05-09T12:31:04Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:31:04.671125Z"), "generation": Number(1), "name": String("097efbca-940b-4465-8ee4-d3d23fd7221a"), "resourceVersion": String("aa554743-fb65-43a3-95a8-0429a0544217"), "uid": String("93418f46-bd16-40e6-ac66-92242bb1210c")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:31:04.685550794Z"), "status": String("True"), "type": String("Ready")})])})})
[2022-05-09T12:31:04Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:31:05Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "097efbca-940b-4465-8ee4-d3d23fd7221a"
[2022-05-09T12:31:05Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:31:04.671125Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"097efbca-940b-4465-8ee4-d3d23fd7221a\",\n    \"resourceVersion\": \"e51c77d0-9970-46ec-bb68-1dc67c7aeb3d\",\n    \"uid\": \"93418f46-bd16-40e6-ac66-92242bb1210c\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:31:05.082270974Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:31:05.082216181Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:31:04.723581196Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:31:04.733108592Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:31:04.803347661Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:31:04.809423374Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:31:05.082000296Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:31:05.082025974Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"QFbI4GoLHOEo\",\n        \"username\": \"user-097efbca-940b-4465-8ee4-d3d23fd7221a\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:31:05Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:31:04.671125Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("097efbca-940b-4465-8ee4-d3d23fd7221a"), "resourceVersion": String("e51c77d0-9970-46ec-bb68-1dc67c7aeb3d"), "uid": String("93418f46-bd16-40e6-ac66-92242bb1210c")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:31:05.082270974Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:31:05.082216181Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:31:04.723581196Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:31:04.733108592Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:31:04.803347661Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:31:04.809423374Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:31:05.082000296Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:31:05.082025974Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("QFbI4GoLHOEo"), "username": String("user-097efbca-940b-4465-8ee4-d3d23fd7221a")})})})})
[2022-05-09T12:31:05Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:31:05Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "097efbca-940b-4465-8ee4-d3d23fd7221a"
[2022-05-09T12:31:05Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:31:04.671125Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"097efbca-940b-4465-8ee4-d3d23fd7221a\",\n    \"resourceVersion\": \"e51c77d0-9970-46ec-bb68-1dc67c7aeb3d\",\n    \"uid\": \"93418f46-bd16-40e6-ac66-92242bb1210c\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:31:05.082270974Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:31:05.082216181Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:31:04.723581196Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:31:04.733108592Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:31:04.803347661Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:31:04.809423374Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:31:05.082000296Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:31:05.082025974Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"QFbI4GoLHOEo\",\n        \"username\": \"user-097efbca-940b-4465-8ee4-d3d23fd7221a\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:31:05Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:31:04.671125Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("097efbca-940b-4465-8ee4-d3d23fd7221a"), "resourceVersion": String("e51c77d0-9970-46ec-bb68-1dc67c7aeb3d"), "uid": String("93418f46-bd16-40e6-ac66-92242bb1210c")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:31:05.082270974Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:31:05.082216181Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:31:04.723581196Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:31:04.733108592Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:31:04.803347661Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:31:04.809423374Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:31:05.082000296Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:31:05.082025974Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("QFbI4GoLHOEo"), "username": String("user-097efbca-940b-4465-8ee4-d3d23fd7221a")})})})})
[2022-05-09T12:31:05Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:31:05Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:31:05Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:31:05Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:31:05Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk3NjQsImlhdCI6MTY1MjA5OTQ2NCwiYXV0aF90aW1lIjoxNjUyMDk5NDYwLCJqdGkiOiI0YWYxNDEzNi00YTI0LTQzMGMtOWQzYi0xYTA1MTZjY2VhNjciLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI2dFNoVXJ3akdRdzBKYmZHWUc0Mjh3Iiwic2Vzc2lvbl9zdGF0ZSI6IjVjMDk1YzJkLTIwNWItNGY1Yy05OWI0LWM4ZmU3NjY0MThlMyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjVjMDk1YzJkLTIwNWItNGY1Yy05OWI0LWM4ZmU3NjY0MThlMyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.K_9rXscxZrxeMUr7TMCk6bQAu3w5j-g-D30GPRus4bxrLGIqb_yD1mzxx5be8QmwVQw8PBbrldNGDpLiucG9ERAq8gYk5M0TuNo-L-8-jaBNxm6-mP_Nb_6S43IIpRkDKsvI3fEDb47ZGNZWVQwsqKJ-lFkN5XAOXqCXMr5q8IFoawda4QSjK7bAh7kQYOY4SZaWDnId5C8pFs-kHLcUkGLtPQg8o3iHmO0EXs2mmVlwWjSlGg0tfufxJylqHHSTu0mwCQU1pyJSzTPMpAm5aX0UQDVF4l1zKSHfbIPOR94E4WYCfVCIwugTz1mU2tn0hCQgfGuBTTRQJHQtgCmBag\n", stderr: "" })
[2022-05-09T12:31:05Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:31:05Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:31:05Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:31:05Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "097efbca-940b-4465-8ee4-d3d23fd7221a" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:31:05Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:31:05Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T12:31:05Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:31:05Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk3NjQsImlhdCI6MTY1MjA5OTQ2NCwiYXV0aF90aW1lIjoxNjUyMDk5NDYwLCJqdGkiOiI0YWYxNDEzNi00YTI0LTQzMGMtOWQzYi0xYTA1MTZjY2VhNjciLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI2dFNoVXJ3akdRdzBKYmZHWUc0Mjh3Iiwic2Vzc2lvbl9zdGF0ZSI6IjVjMDk1YzJkLTIwNWItNGY1Yy05OWI0LWM4ZmU3NjY0MThlMyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjVjMDk1YzJkLTIwNWItNGY1Yy05OWI0LWM4ZmU3NjY0MThlMyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.K_9rXscxZrxeMUr7TMCk6bQAu3w5j-g-D30GPRus4bxrLGIqb_yD1mzxx5be8QmwVQw8PBbrldNGDpLiucG9ERAq8gYk5M0TuNo-L-8-jaBNxm6-mP_Nb_6S43IIpRkDKsvI3fEDb47ZGNZWVQwsqKJ-lFkN5XAOXqCXMr5q8IFoawda4QSjK7bAh7kQYOY4SZaWDnId5C8pFs-kHLcUkGLtPQg8o3iHmO0EXs2mmVlwWjSlGg0tfufxJylqHHSTu0mwCQU1pyJSzTPMpAm5aX0UQDVF4l1zKSHfbIPOR94E4WYCfVCIwugTz1mU2tn0hCQgfGuBTTRQJHQtgCmBag\n", stderr: "" })
[2022-05-09T12:31:05Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "b5784815-e7da-4437-9d67-5f794dcbf221", persistence: None, user_data: None }
[2022-05-09T12:31:05Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:31:05Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717cc8cd0
[2022-05-09T12:31:05Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717cc8cd0
[2022-05-09T12:31:05Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717cbdfe0, connectTimeout: 30, retryInterval: 0, ssl: 0x5617179ea6e0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717cbe7e0, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk3NjQsImlhdCI6MTY1MjA5OTQ2NCwiYXV0aF90aW1lIjoxNjUyMDk5NDYwLCJqdGkiOiI0YWYxNDEzNi00YTI0LTQzMGMtOWQzYi0xYTA1MTZjY2VhNjciLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI2dFNoVXJ3akdRdzBKYmZHWUc0Mjh3Iiwic2Vzc2lvbl9zdGF0ZSI6IjVjMDk1YzJkLTIwNWItNGY1Yy05OWI0LWM4ZmU3NjY0MThlMyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjVjMDk1YzJkLTIwNWItNGY1Yy05OWI0LWM4ZmU3NjY0MThlMyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.K_9rXscxZrxeMUr7TMCk6bQAu3w5j-g-D30GPRus4bxrLGIqb_yD1mzxx5be8QmwVQw8PBbrldNGDpLiucG9ERAq8gYk5M0TuNo-L-8-jaBNxm6-mP_Nb_6S43IIpRkDKsvI3fEDb47ZGNZWVQwsqKJ-lFkN5XAOXqCXMr5q8IFoawda4QSjK7bAh7kQYOY4SZaWDnId5C8pFs-kHLcUkGLtPQg8o3iHmO0EXs2mmVlwWjSlGg0tfufxJylqHHSTu0mwCQU1pyJSzTPMpAm5aX0UQDVF4l1zKSHfbIPOR94E4WYCfVCIwugTz1mU2tn0hCQgfGuBTTRQJHQtgCmBag"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:31:05Z DEBUG paho_mqtt::async_client] Subscribe to '"app/097efbca-940b-4465-8ee4-d3d23fd7221a"' @ QOS 0
[2022-05-09T12:31:05Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:31:05Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:31:05Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:31:05Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:31:05Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:31:05Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:31:06Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:31:06Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:31:06Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:31:06Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:31:07Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:31:07Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:31:07Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:31:08Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:31:09Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:31:09Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:31:09Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:31:09Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:31:10Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:31:10Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:31:10Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:31:10Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:31:10Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 620, payload: 0x7f4b18014510, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b18014790 } }, data: MessageData { topic: "app/097efbca-940b-4465-8ee4-d3d23fd7221a", 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, 102, 48, 48, 57, 100, 54, 102, 51, 45, 97, 54, 53, 100, 45, 52, 98, 49, 100, 45, 56, 99, 99, 49, 45, 98, 57, 56, 48, 101, 97, 49, 100, 98, 57, 48, 56, 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, 48, 57, 55, 101, 102, 98, 99, 97, 37, 50, 68, 57, 52, 48, 98, 37, 50, 68, 52, 52, 54, 53, 37, 50, 68, 56, 101, 101, 52, 37, 50, 68, 100, 51, 100, 50, 51, 102, 100, 55, 50, 50, 49, 97, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 51, 49, 58, 49, 48, 46, 48, 53, 48, 54, 56, 55, 53, 50, 51, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 52, 125, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 53, 52, 52, 51, 50, 57, 97, 98, 45, 53, 98, 57, 57, 45, 52, 56, 100, 54, 45, 57, 98, 53, 55, 45, 50, 54, 100, 52, 101, 100, 101, 52, 98, 48, 56, 102, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 57, 55, 101, 102, 98, 99, 97, 45, 57, 52, 48, 98, 45, 52, 52, 54, 53, 45, 56, 101, 101, 52, 45, 100, 51, 100, 50, 51, 102, 100, 55, 50, 50, 49, 97, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 57, 51, 52, 49, 56, 102, 52, 54, 45, 98, 100, 49, 54, 45, 52, 48, 101, 54, 45, 97, 99, 54, 54, 45, 57, 50, 50, 52, 50, 98, 98, 49, 50, 49, 48, 99, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 53, 52, 52, 51, 50, 57, 97, 98, 45, 53, 98, 57, 57, 45, 52, 56, 100, 54, 45, 57, 98, 53, 55, 45, 50, 54, 100, 52, 101, 100, 101, 52, 98, 48, 56, 102, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 57, 55, 101, 102, 98, 99, 97, 37, 50, 68, 57, 52, 48, 98, 37, 50, 68, 52, 52, 54, 53, 37, 50, 68, 56, 101, 101, 52, 37, 50, 68, 100, 51, 100, 50, 51, 102, 100, 55, 50, 50, 49, 97, 47, 100, 101, 118, 105, 99, 101, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b18014790 } } } }
[2022-05-09T12:31:10Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717d028d0
[2022-05-09T12:31:10Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/097efbca-940b-4465-8ee4-d3d23fd7221a", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"f009d6f3-a65d-4b1d-8cc1-b980ea1db908\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://097efbca%2D940b%2D4465%2D8ee4%2Dd3d23fd7221a/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:31:10.050687523Z\",\"data\":{\"index\":4},\"deviceuid\":\"544329ab-5b99-48d6-9b57-26d4ede4b08f\",\"instance\":\"drogue\",\"device\":\"device1\",\"application\":\"097efbca-940b-4465-8ee4-d3d23fd7221a\",\"applicationuid\":\"93418f46-bd16-40e6-ac66-92242bb1210c\",\"senderuid\":\"544329ab-5b99-48d6-9b57-26d4ede4b08f\",\"sender\":\"device1\",\"partitionkey\":\"097efbca%2D940b%2D4465%2D8ee4%2Dd3d23fd7221a/device1\"}" }
[2022-05-09T12:31:11Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 4 attempts
[2022-05-09T12:31:11Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 4
[2022-05-09T12:31:11Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:31:11Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry
[2022-05-09T12:31:11Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "a653b3c5-9afc-4b1c-8990-4787903d62d1", persistence: None, user_data: None }
[2022-05-09T12:31:11Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:31:11Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717acde40
[2022-05-09T12:31:11Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717acde40
[2022-05-09T12:31:11Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x561717ca95d0, password: 0x561717ccac40, connectTimeout: 30, retryInterval: 0, ssl: 0x56171783b7f0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717ca8850, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("device1@097efbca-940b-4465-8ee4-d3d23fd7221a"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:31:11Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717943b60 } }, data: MessageData { topic: "telemetry", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717943b60 } } } }
[2022-05-09T12:31:11Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 636, payload: 0x7f4b18026f20, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b180271b0 } }, data: MessageData { topic: "app/097efbca-940b-4465-8ee4-d3d23fd7221a", 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, 51, 57, 97, 97, 57, 51, 54, 53, 45, 101, 100, 50, 100, 45, 52, 97, 102, 99, 45, 97, 99, 52, 97, 45, 57, 101, 56, 100, 97, 54, 50, 57, 102, 97, 100, 54, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 48, 57, 55, 101, 102, 98, 99, 97, 37, 50, 68, 57, 52, 48, 98, 37, 50, 68, 52, 52, 54, 53, 37, 50, 68, 56, 101, 101, 52, 37, 50, 68, 100, 51, 100, 50, 51, 102, 100, 55, 50, 50, 49, 97, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 51, 49, 58, 49, 49, 46, 49, 54, 57, 50, 50, 56, 53, 53, 52, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 57, 55, 101, 102, 98, 99, 97, 37, 50, 68, 57, 52, 48, 98, 37, 50, 68, 52, 52, 54, 53, 37, 50, 68, 56, 101, 101, 52, 37, 50, 68, 100, 51, 100, 50, 51, 102, 100, 55, 50, 50, 49, 97, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 53, 52, 52, 51, 50, 57, 97, 98, 45, 53, 98, 57, 57, 45, 52, 56, 100, 54, 45, 57, 98, 53, 55, 45, 50, 54, 100, 52, 101, 100, 101, 52, 98, 48, 56, 102, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 57, 51, 52, 49, 56, 102, 52, 54, 45, 98, 100, 49, 54, 45, 52, 48, 101, 54, 45, 97, 99, 54, 54, 45, 57, 50, 50, 52, 50, 98, 98, 49, 50, 49, 48, 99, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 53, 52, 52, 51, 50, 57, 97, 98, 45, 53, 98, 57, 57, 45, 52, 56, 100, 54, 45, 57, 98, 53, 55, 45, 50, 54, 100, 52, 101, 100, 101, 52, 98, 48, 56, 102, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 57, 55, 101, 102, 98, 99, 97, 45, 57, 52, 48, 98, 45, 52, 52, 54, 53, 45, 56, 101, 101, 52, 45, 100, 51, 100, 50, 51, 102, 100, 55, 50, 50, 49, 97, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b180271b0 } } } }
[2022-05-09T12:31:11Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717d028d0
[2022-05-09T12:31:11Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/097efbca-940b-4465-8ee4-d3d23fd7221a", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"39aa9365-ed2d-4afc-ac4a-9e8da629fad6\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://097efbca%2D940b%2D4465%2D8ee4%2Dd3d23fd7221a/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:31:11.169228554Z\",\"data\":{\"connected\":true},\"sender\":\"device1\",\"partitionkey\":\"097efbca%2D940b%2D4465%2D8ee4%2Dd3d23fd7221a/device1\",\"deviceuid\":\"544329ab-5b99-48d6-9b57-26d4ede4b08f\",\"applicationuid\":\"93418f46-bd16-40e6-ac66-92242bb1210c\",\"device\":\"device1\",\"instance\":\"drogue\",\"senderuid\":\"544329ab-5b99-48d6-9b57-26d4ede4b08f\",\"application\":\"097efbca-940b-4465-8ee4-d3d23fd7221a\"}" }
[2022-05-09T12:31:11Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:31:11Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 637, payload: 0x7f4b180024b0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b180271b0 } }, data: MessageData { topic: "app/097efbca-940b-4465-8ee4-d3d23fd7221a", 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, 98, 98, 49, 49, 99, 53, 55, 100, 45, 97, 49, 52, 53, 45, 52, 100, 101, 50, 45, 97, 53, 53, 49, 45, 52, 49, 101, 48, 101, 57, 98, 51, 57, 54, 53, 57, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 48, 57, 55, 101, 102, 98, 99, 97, 37, 50, 68, 57, 52, 48, 98, 37, 50, 68, 52, 52, 54, 53, 37, 50, 68, 56, 101, 101, 52, 37, 50, 68, 100, 51, 100, 50, 51, 102, 100, 55, 50, 50, 49, 97, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 51, 49, 58, 49, 49, 46, 55, 51, 54, 51, 49, 50, 57, 50, 50, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 57, 55, 101, 102, 98, 99, 97, 45, 57, 52, 48, 98, 45, 52, 52, 54, 53, 45, 56, 101, 101, 52, 45, 100, 51, 100, 50, 51, 102, 100, 55, 50, 50, 49, 97, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 57, 51, 52, 49, 56, 102, 52, 54, 45, 98, 100, 49, 54, 45, 52, 48, 101, 54, 45, 97, 99, 54, 54, 45, 57, 50, 50, 52, 50, 98, 98, 49, 50, 49, 48, 99, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 53, 52, 52, 51, 50, 57, 97, 98, 45, 53, 98, 57, 57, 45, 52, 56, 100, 54, 45, 57, 98, 53, 55, 45, 50, 54, 100, 52, 101, 100, 101, 52, 98, 48, 56, 102, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 57, 55, 101, 102, 98, 99, 97, 37, 50, 68, 57, 52, 48, 98, 37, 50, 68, 52, 52, 54, 53, 37, 50, 68, 56, 101, 101, 52, 37, 50, 68, 100, 51, 100, 50, 51, 102, 100, 55, 50, 50, 49, 97, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 53, 52, 52, 51, 50, 57, 97, 98, 45, 53, 98, 57, 57, 45, 52, 56, 100, 54, 45, 57, 98, 53, 55, 45, 50, 54, 100, 52, 101, 100, 101, 52, 98, 48, 56, 102, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b180271b0 } } } }
[2022-05-09T12:31:11Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717d028d0
[2022-05-09T12:31:11Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/097efbca-940b-4465-8ee4-d3d23fd7221a", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"bb11c57d-a145-4de2-a551-41e0e9b39659\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://097efbca%2D940b%2D4465%2D8ee4%2Dd3d23fd7221a/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:31:11.736312922Z\",\"data\":{\"connected\":false},\"application\":\"097efbca-940b-4465-8ee4-d3d23fd7221a\",\"applicationuid\":\"93418f46-bd16-40e6-ac66-92242bb1210c\",\"device\":\"device1\",\"sender\":\"device1\",\"instance\":\"drogue\",\"deviceuid\":\"544329ab-5b99-48d6-9b57-26d4ede4b08f\",\"partitionkey\":\"097efbca%2D940b%2D4465%2D8ee4%2Dd3d23fd7221a/device1\",\"senderuid\":\"544329ab-5b99-48d6-9b57-26d4ede4b08f\"}" }
[2022-05-09T12:31:12Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 629, payload: 0x7f4b18026f20, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b180271a0 } }, data: MessageData { topic: "app/097efbca-940b-4465-8ee4-d3d23fd7221a", 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, 50, 99, 98, 97, 54, 48, 100, 102, 45, 97, 48, 53, 54, 45, 52, 55, 102, 98, 45, 57, 48, 97, 54, 45, 50, 98, 55, 49, 98, 53, 100, 49, 97, 49, 48, 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, 48, 57, 55, 101, 102, 98, 99, 97, 37, 50, 68, 57, 52, 48, 98, 37, 50, 68, 52, 52, 54, 53, 37, 50, 68, 56, 101, 101, 52, 37, 50, 68, 100, 51, 100, 50, 51, 102, 100, 55, 50, 50, 49, 97, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 51, 49, 58, 49, 49, 46, 55, 50, 57, 53, 48, 56, 51, 48, 51, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 53, 52, 52, 51, 50, 57, 97, 98, 45, 53, 98, 57, 57, 45, 52, 56, 100, 54, 45, 57, 98, 53, 55, 45, 50, 54, 100, 52, 101, 100, 101, 52, 98, 48, 56, 102, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 53, 52, 52, 51, 50, 57, 97, 98, 45, 53, 98, 57, 57, 45, 52, 56, 100, 54, 45, 57, 98, 53, 55, 45, 50, 54, 100, 52, 101, 100, 101, 52, 98, 48, 56, 102, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 57, 55, 101, 102, 98, 99, 97, 45, 57, 52, 48, 98, 45, 52, 52, 54, 53, 45, 56, 101, 101, 52, 45, 100, 51, 100, 50, 51, 102, 100, 55, 50, 50, 49, 97, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 57, 55, 101, 102, 98, 99, 97, 37, 50, 68, 57, 52, 48, 98, 37, 50, 68, 52, 52, 54, 53, 37, 50, 68, 56, 101, 101, 52, 37, 50, 68, 100, 51, 100, 50, 51, 102, 100, 55, 50, 50, 49, 97, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 57, 51, 52, 49, 56, 102, 52, 54, 45, 98, 100, 49, 54, 45, 52, 48, 101, 54, 45, 97, 99, 54, 54, 45, 57, 50, 50, 52, 50, 98, 98, 49, 50, 49, 48, 99, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b180271a0 } } } }
[2022-05-09T12:31:12Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717d028d0
[2022-05-09T12:31:12Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/097efbca-940b-4465-8ee4-d3d23fd7221a", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"2cba60df-a056-47fb-90a6-2b71b5d1a105\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://097efbca%2D940b%2D4465%2D8ee4%2Dd3d23fd7221a/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:31:11.729508303Z\",\"data_base64\":\"\",\"deviceuid\":\"544329ab-5b99-48d6-9b57-26d4ede4b08f\",\"senderuid\":\"544329ab-5b99-48d6-9b57-26d4ede4b08f\",\"application\":\"097efbca-940b-4465-8ee4-d3d23fd7221a\",\"partitionkey\":\"097efbca%2D940b%2D4465%2D8ee4%2Dd3d23fd7221a/device1\",\"sender\":\"device1\",\"device\":\"device1\",\"instance\":\"drogue\",\"applicationuid\":\"93418f46-bd16-40e6-ac66-92242bb1210c\"}" }
[2022-05-09T12:31:12Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:31:12Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:31:12Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:31:12Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "097efbca-940b-4465-8ee4-d3d23fd7221a", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "097efbca-940b-4465-8ee4-d3d23fd7221a", device: "device1", sender: "device1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:31:12Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:31:12Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "097efbca-940b-4465-8ee4-d3d23fd7221a" "device1"
[2022-05-09T12:31:12Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:31:12Z INFO  drogue_cloud_tests::resources::apps] Destroy application '097efbca-940b-4465-8ee4-d3d23fd7221a'
[2022-05-09T12:31:12Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "097efbca-940b-4465-8ee4-d3d23fd7221a"
[2022-05-09T12:31:12Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 097efbca-940b-4465-8ee4-d3d23fd7221a deleted.\n", stderr: "" })

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

Duration: 14s

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

Duration: 15s

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

Duration: 15s

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

Duration: 14s

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

Duration: 14s

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

Duration: 14s

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

Duration: 14s

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

Duration: 16s

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

Duration: 14s

❌ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::endpoint_ws_2::integration_version_1::integration_ws_1

Duration: 15s

Test output
-------------- TEST START --------------
[2022-05-09T12:33:27Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:33:27Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:33:27Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:33:27Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:33:27Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:33:28Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:33:29Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:33:29Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:33:29Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:33:29Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:33:31Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDE0MTEsImlhdCI6MTY1MjA5OTYxMSwianRpIjoiOTQ3MTFmMDgtZjlhMS00YzVhLTlkOWItNjgxMzgzY2M2YTE3IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Inc4cDdhV0t0TGdpNWY0WXdiaWZYRXciLCJzZXNzaW9uX3N0YXRlIjoiNGY3NDcxNTEtN2RmMy00YWIzLThiOTItNDI4NTk3ODM2YTM4Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjRmNzQ3MTUxLTdkZjMtNGFiMy04YjkyLTQyODU5NzgzNmEzOCJ9.gWfphYXnBgJZY1r5d9gFl321sRpiZIgSTX6vgJdSzCs
[2022-05-09T12:33:31Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:33:31Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:33:31Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDE0MTEsImlhdCI6MTY1MjA5OTYxMSwianRpIjoiOTQ3MTFmMDgtZjlhMS00YzVhLTlkOWItNjgxMzgzY2M2YTE3IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Inc4cDdhV0t0TGdpNWY0WXdiaWZYRXciLCJzZXNzaW9uX3N0YXRlIjoiNGY3NDcxNTEtN2RmMy00YWIzLThiOTItNDI4NTk3ODM2YTM4Iiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjRmNzQ3MTUxLTdkZjMtNGFiMy04YjkyLTQyODU5NzgzNmEzOCJ9.gWfphYXnBgJZY1r5d9gFl321sRpiZIgSTX6vgJdSzCs" "--context" "system-tests"
[2022-05-09T12:33:31Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:33:32Z INFO  drogue_cloud_tests::resources::apps] Create application: a4b59fdb-43df-4d81-8aab-c1e3eac34938
[2022-05-09T12:33:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "a4b59fdb-43df-4d81-8aab-c1e3eac34938"
[2022-05-09T12:33:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App a4b59fdb-43df-4d81-8aab-c1e3eac34938 created.\n", stderr: "" })
[2022-05-09T12:33:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "a4b59fdb-43df-4d81-8aab-c1e3eac34938"
[2022-05-09T12:33:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:33:32.317076Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"a4b59fdb-43df-4d81-8aab-c1e3eac34938\",\n    \"resourceVersion\": \"0dba1f37-f65a-4993-a98d-3e8de2983abd\",\n    \"uid\": \"2cfafe7e-8e5c-4894-b0f4-bd31b54a22df\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:33:32.338942368Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:33:32.338913173Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:33:32.338883808Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:33:32.338884559Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:33:32.338885231Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:33:32.338885702Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:33:32.338886052Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:33:32.338890050Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:33:32Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:33:32.317076Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("a4b59fdb-43df-4d81-8aab-c1e3eac34938"), "resourceVersion": String("0dba1f37-f65a-4993-a98d-3e8de2983abd"), "uid": String("2cfafe7e-8e5c-4894-b0f4-bd31b54a22df")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:33:32.338942368Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:33:32.338913173Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:33:32.338883808Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:33:32.338884559Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:33:32.338885231Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:33:32.338885702Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:33:32.338886052Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:33:32.338890050Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T12:33:32Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:33:33Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "a4b59fdb-43df-4d81-8aab-c1e3eac34938"
[2022-05-09T12:33:33Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:33:32.317076Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"a4b59fdb-43df-4d81-8aab-c1e3eac34938\",\n    \"resourceVersion\": \"5877815f-d957-4b37-9fc0-dc18f0f064e5\",\n    \"uid\": \"2cfafe7e-8e5c-4894-b0f4-bd31b54a22df\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:33:32.648054561Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:33:32.647944675Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:33:32.361421149Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:33:32.367289734Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:33:32.409152342Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:33:32.414826412Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:33:32.647832684Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:33:32.647878190Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"ewQPMB9PsQZG\",\n        \"username\": \"user-a4b59fdb-43df-4d81-8aab-c1e3eac34938\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:33:33Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:33:32.317076Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("a4b59fdb-43df-4d81-8aab-c1e3eac34938"), "resourceVersion": String("5877815f-d957-4b37-9fc0-dc18f0f064e5"), "uid": String("2cfafe7e-8e5c-4894-b0f4-bd31b54a22df")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:33:32.648054561Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:33:32.647944675Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:33:32.361421149Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:33:32.367289734Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:33:32.409152342Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:33:32.414826412Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:33:32.647832684Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:33:32.647878190Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("ewQPMB9PsQZG"), "username": String("user-a4b59fdb-43df-4d81-8aab-c1e3eac34938")})})})})
[2022-05-09T12:33:33Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:33:33Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "a4b59fdb-43df-4d81-8aab-c1e3eac34938"
[2022-05-09T12:33:33Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:33:32.317076Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"a4b59fdb-43df-4d81-8aab-c1e3eac34938\",\n    \"resourceVersion\": \"5877815f-d957-4b37-9fc0-dc18f0f064e5\",\n    \"uid\": \"2cfafe7e-8e5c-4894-b0f4-bd31b54a22df\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:33:32.648054561Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:33:32.647944675Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:33:32.361421149Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:33:32.367289734Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:33:32.409152342Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:33:32.414826412Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:33:32.647832684Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:33:32.647878190Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"ewQPMB9PsQZG\",\n        \"username\": \"user-a4b59fdb-43df-4d81-8aab-c1e3eac34938\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:33:33Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:33:32.317076Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("a4b59fdb-43df-4d81-8aab-c1e3eac34938"), "resourceVersion": String("5877815f-d957-4b37-9fc0-dc18f0f064e5"), "uid": String("2cfafe7e-8e5c-4894-b0f4-bd31b54a22df")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:33:32.648054561Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:33:32.647944675Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:33:32.361421149Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:33:32.367289734Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:33:32.409152342Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:33:32.414826412Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:33:32.647832684Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:33:32.647878190Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("ewQPMB9PsQZG"), "username": String("user-a4b59fdb-43df-4d81-8aab-c1e3eac34938")})})})})
[2022-05-09T12:33:33Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:33:33Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:33:33Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:33:33Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:33:33Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk5MTEsImlhdCI6MTY1MjA5OTYxMSwiYXV0aF90aW1lIjoxNjUyMDk5NjA4LCJqdGkiOiIyMjY2M2U2NS03NmU5LTQxZGYtOWEyNC00Mjc3YTdhNGQ5NWUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ3OHA3YVdLdExnaTVmNFl3YmlmWEV3Iiwic2Vzc2lvbl9zdGF0ZSI6IjRmNzQ3MTUxLTdkZjMtNGFiMy04YjkyLTQyODU5NzgzNmEzOCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjRmNzQ3MTUxLTdkZjMtNGFiMy04YjkyLTQyODU5NzgzNmEzOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.L_E-RRO_3qKo818mQ4jRjNiYzpRDkDae87D529gPK8CY-CHkFDUJA21zRjK4DE5vst4KfVagzgBa-5Hz9TVLrAqrw_nVS_jqKGh20nPqBpYF2ULgwm6Ms5g6tRnb_-YgfVC6GIzVGTh4Se5yBfRsVDR27KsSlbFmlKTfGUPoksOdNtETG1qybPANDGj5Xax8bOy9zV5B2TnAflLwxAN1I5XsF8lb3EYxrWPxq9oRQpDSPi4lvPB_vxOGV7XNQNpNclSRkYUTY_wOO_tLBjYfiJVgDqMyLmoqSHL9_H4uaVqwm9rhvu52ZLchLJSix5XfAVlE0GAFvajjodfjOnGoaA\n", stderr: "" })
[2022-05-09T12:33:33Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:33:33Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:33:33Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:33:33Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "a4b59fdb-43df-4d81-8aab-c1e3eac34938" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:33:33Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:33:33Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T12:33:33Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:33:33Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk5MTEsImlhdCI6MTY1MjA5OTYxMSwiYXV0aF90aW1lIjoxNjUyMDk5NjA4LCJqdGkiOiIyMjY2M2U2NS03NmU5LTQxZGYtOWEyNC00Mjc3YTdhNGQ5NWUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ3OHA3YVdLdExnaTVmNFl3YmlmWEV3Iiwic2Vzc2lvbl9zdGF0ZSI6IjRmNzQ3MTUxLTdkZjMtNGFiMy04YjkyLTQyODU5NzgzNmEzOCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjRmNzQ3MTUxLTdkZjMtNGFiMy04YjkyLTQyODU5NzgzNmEzOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.L_E-RRO_3qKo818mQ4jRjNiYzpRDkDae87D529gPK8CY-CHkFDUJA21zRjK4DE5vst4KfVagzgBa-5Hz9TVLrAqrw_nVS_jqKGh20nPqBpYF2ULgwm6Ms5g6tRnb_-YgfVC6GIzVGTh4Se5yBfRsVDR27KsSlbFmlKTfGUPoksOdNtETG1qybPANDGj5Xax8bOy9zV5B2TnAflLwxAN1I5XsF8lb3EYxrWPxq9oRQpDSPi4lvPB_vxOGV7XNQNpNclSRkYUTY_wOO_tLBjYfiJVgDqMyLmoqSHL9_H4uaVqwm9rhvu52ZLchLJSix5XfAVlE0GAFvajjodfjOnGoaA\n", stderr: "" })
[2022-05-09T12:33:33Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "3294c55f-9f33-4cdb-836d-915506d58bc5", persistence: None, user_data: None }
[2022-05-09T12:33:33Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:33:33Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717ae7ff0
[2022-05-09T12:33:33Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717ae7ff0
[2022-05-09T12:33:33Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x56171792c0a0, connectTimeout: 30, retryInterval: 0, ssl: 0x561717b521c0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 4, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717ae9f60, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk5MTEsImlhdCI6MTY1MjA5OTYxMSwiYXV0aF90aW1lIjoxNjUyMDk5NjA4LCJqdGkiOiIyMjY2M2U2NS03NmU5LTQxZGYtOWEyNC00Mjc3YTdhNGQ5NWUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ3OHA3YVdLdExnaTVmNFl3YmlmWEV3Iiwic2Vzc2lvbl9zdGF0ZSI6IjRmNzQ3MTUxLTdkZjMtNGFiMy04YjkyLTQyODU5NzgzNmEzOCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjRmNzQ3MTUxLTdkZjMtNGFiMy04YjkyLTQyODU5NzgzNmEzOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.L_E-RRO_3qKo818mQ4jRjNiYzpRDkDae87D529gPK8CY-CHkFDUJA21zRjK4DE5vst4KfVagzgBa-5Hz9TVLrAqrw_nVS_jqKGh20nPqBpYF2ULgwm6Ms5g6tRnb_-YgfVC6GIzVGTh4Se5yBfRsVDR27KsSlbFmlKTfGUPoksOdNtETG1qybPANDGj5Xax8bOy9zV5B2TnAflLwxAN1I5XsF8lb3EYxrWPxq9oRQpDSPi4lvPB_vxOGV7XNQNpNclSRkYUTY_wOO_tLBjYfiJVgDqMyLmoqSHL9_H4uaVqwm9rhvu52ZLchLJSix5XfAVlE0GAFvajjodfjOnGoaA"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:33:33Z DEBUG paho_mqtt::async_client] Subscribe to '"app/a4b59fdb-43df-4d81-8aab-c1e3eac34938"' @ QOS 0
[2022-05-09T12:33:33Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:33:33Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:33:33Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:33:33Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:33:33Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:33:34Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:33:35Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:33:35Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:33:35Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:33:35Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:33:36Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:33:36Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:33:36Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:33:36Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:33:37Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:33:37Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:33:37Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:33:37Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:33:37Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 620, payload: 0x7f4b1c0088e0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/a4b59fdb-43df-4d81-8aab-c1e3eac34938", 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, 102, 100, 51, 101, 97, 100, 100, 48, 45, 97, 100, 52, 97, 45, 52, 100, 56, 97, 45, 56, 52, 98, 54, 45, 102, 56, 99, 57, 54, 57, 99, 50, 52, 57, 52, 51, 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, 97, 52, 98, 53, 57, 102, 100, 98, 37, 50, 68, 52, 51, 100, 102, 37, 50, 68, 52, 100, 56, 49, 37, 50, 68, 56, 97, 97, 98, 37, 50, 68, 99, 49, 101, 51, 101, 97, 99, 51, 52, 57, 51, 56, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 51, 51, 58, 51, 55, 46, 49, 55, 55, 57, 52, 50, 48, 51, 50, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 50, 99, 102, 97, 102, 101, 55, 101, 45, 56, 101, 53, 99, 45, 52, 56, 57, 52, 45, 98, 48, 102, 52, 45, 98, 100, 51, 49, 98, 53, 52, 97, 50, 50, 100, 102, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 97, 52, 98, 53, 57, 102, 100, 98, 45, 52, 51, 100, 102, 45, 52, 100, 56, 49, 45, 56, 97, 97, 98, 45, 99, 49, 101, 51, 101, 97, 99, 51, 52, 57, 51, 56, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 102, 50, 102, 101, 97, 101, 49, 100, 45, 55, 50, 100, 55, 45, 52, 48, 48, 48, 45, 97, 53, 54, 49, 45, 52, 57, 54, 48, 101, 97, 101, 99, 55, 102, 55, 51, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 97, 52, 98, 53, 57, 102, 100, 98, 37, 50, 68, 52, 51, 100, 102, 37, 50, 68, 52, 100, 56, 49, 37, 50, 68, 56, 97, 97, 98, 37, 50, 68, 99, 49, 101, 51, 101, 97, 99, 51, 52, 57, 51, 56, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 102, 50, 102, 101, 97, 101, 49, 100, 45, 55, 50, 100, 55, 45, 52, 48, 48, 48, 45, 97, 53, 54, 49, 45, 52, 57, 54, 48, 101, 97, 101, 99, 55, 102, 55, 51, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:33:37Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/a4b59fdb-43df-4d81-8aab-c1e3eac34938", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"fd3eadd0-ad4a-4d8a-84b6-f8c969c24943\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://a4b59fdb%2D43df%2D4d81%2D8aab%2Dc1e3eac34938/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:33:37.177942032Z\",\"data\":{\"index\":3},\"sender\":\"device1\",\"applicationuid\":\"2cfafe7e-8e5c-4894-b0f4-bd31b54a22df\",\"instance\":\"drogue\",\"application\":\"a4b59fdb-43df-4d81-8aab-c1e3eac34938\",\"deviceuid\":\"f2feae1d-72d7-4000-a561-4960eaec7f73\",\"device\":\"device1\",\"partitionkey\":\"a4b59fdb%2D43df%2D4d81%2D8aab%2Dc1e3eac34938/device1\",\"senderuid\":\"f2feae1d-72d7-4000-a561-4960eaec7f73\"}" }
[2022-05-09T12:33:38Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:33:38Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:33:38Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:33:38Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry
[2022-05-09T12:33:38Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "fcec167e-3ed4-4b75-9732-97023b57a0dd", persistence: None, user_data: None }
[2022-05-09T12:33:38Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:33:38Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717c0ee00
[2022-05-09T12:33:38Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717c0ee00
[2022-05-09T12:33:38Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717b40630, password: 0x561717910d70, connectTimeout: 30, retryInterval: 0, ssl: 0x561717bcabd0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717c0f0a0, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("device1@a4b59fdb-43df-4d81-8aab-c1e3eac34938"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:33:38Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 636, payload: 0x7f4b1c02b040, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/a4b59fdb-43df-4d81-8aab-c1e3eac34938", 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, 98, 50, 48, 51, 53, 97, 51, 97, 45, 52, 100, 100, 50, 45, 52, 99, 57, 101, 45, 56, 50, 49, 98, 45, 48, 101, 97, 53, 51, 56, 97, 55, 53, 53, 51, 48, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 97, 52, 98, 53, 57, 102, 100, 98, 37, 50, 68, 52, 51, 100, 102, 37, 50, 68, 52, 100, 56, 49, 37, 50, 68, 56, 97, 97, 98, 37, 50, 68, 99, 49, 101, 51, 101, 97, 99, 51, 52, 57, 51, 56, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 51, 51, 58, 51, 56, 46, 51, 49, 48, 54, 54, 56, 48, 56, 54, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 50, 99, 102, 97, 102, 101, 55, 101, 45, 56, 101, 53, 99, 45, 52, 56, 57, 52, 45, 98, 48, 102, 52, 45, 98, 100, 51, 49, 98, 53, 52, 97, 50, 50, 100, 102, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 97, 52, 98, 53, 57, 102, 100, 98, 37, 50, 68, 52, 51, 100, 102, 37, 50, 68, 52, 100, 56, 49, 37, 50, 68, 56, 97, 97, 98, 37, 50, 68, 99, 49, 101, 51, 101, 97, 99, 51, 52, 57, 51, 56, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 102, 50, 102, 101, 97, 101, 49, 100, 45, 55, 50, 100, 55, 45, 52, 48, 48, 48, 45, 97, 53, 54, 49, 45, 52, 57, 54, 48, 101, 97, 101, 99, 55, 102, 55, 51, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 97, 52, 98, 53, 57, 102, 100, 98, 45, 52, 51, 100, 102, 45, 52, 100, 56, 49, 45, 56, 97, 97, 98, 45, 99, 49, 101, 51, 101, 97, 99, 51, 52, 57, 51, 56, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 102, 50, 102, 101, 97, 101, 49, 100, 45, 55, 50, 100, 55, 45, 52, 48, 48, 48, 45, 97, 53, 54, 49, 45, 52, 57, 54, 48, 101, 97, 101, 99, 55, 102, 55, 51, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:33:38Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/a4b59fdb-43df-4d81-8aab-c1e3eac34938", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"b2035a3a-4dd2-4c9e-821b-0ea538a75530\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://a4b59fdb%2D43df%2D4d81%2D8aab%2Dc1e3eac34938/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:33:38.310668086Z\",\"data\":{\"connected\":true},\"instance\":\"drogue\",\"applicationuid\":\"2cfafe7e-8e5c-4894-b0f4-bd31b54a22df\",\"device\":\"device1\",\"partitionkey\":\"a4b59fdb%2D43df%2D4d81%2D8aab%2Dc1e3eac34938/device1\",\"sender\":\"device1\",\"senderuid\":\"f2feae1d-72d7-4000-a561-4960eaec7f73\",\"application\":\"a4b59fdb-43df-4d81-8aab-c1e3eac34938\",\"deviceuid\":\"f2feae1d-72d7-4000-a561-4960eaec7f73\"}" }
[2022-05-09T12:33:38Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717bbf1a0 } }, data: MessageData { topic: "telemetry", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717bbf1a0 } } } }
[2022-05-09T12:33:38Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:33:38Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 637, payload: 0x7f4b1c000ce0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/a4b59fdb-43df-4d81-8aab-c1e3eac34938", 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, 100, 102, 54, 102, 55, 101, 57, 51, 45, 98, 54, 48, 101, 45, 52, 55, 100, 98, 45, 57, 53, 101, 50, 45, 102, 99, 52, 100, 53, 98, 51, 99, 97, 101, 101, 99, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 97, 52, 98, 53, 57, 102, 100, 98, 37, 50, 68, 52, 51, 100, 102, 37, 50, 68, 52, 100, 56, 49, 37, 50, 68, 56, 97, 97, 98, 37, 50, 68, 99, 49, 101, 51, 101, 97, 99, 51, 52, 57, 51, 56, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 51, 51, 58, 51, 56, 46, 56, 55, 54, 50, 54, 57, 55, 49, 53, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 97, 52, 98, 53, 57, 102, 100, 98, 45, 52, 51, 100, 102, 45, 52, 100, 56, 49, 45, 56, 97, 97, 98, 45, 99, 49, 101, 51, 101, 97, 99, 51, 52, 57, 51, 56, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 50, 99, 102, 97, 102, 101, 55, 101, 45, 56, 101, 53, 99, 45, 52, 56, 57, 52, 45, 98, 48, 102, 52, 45, 98, 100, 51, 49, 98, 53, 52, 97, 50, 50, 100, 102, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 102, 50, 102, 101, 97, 101, 49, 100, 45, 55, 50, 100, 55, 45, 52, 48, 48, 48, 45, 97, 53, 54, 49, 45, 52, 57, 54, 48, 101, 97, 101, 99, 55, 102, 55, 51, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 97, 52, 98, 53, 57, 102, 100, 98, 37, 50, 68, 52, 51, 100, 102, 37, 50, 68, 52, 100, 56, 49, 37, 50, 68, 56, 97, 97, 98, 37, 50, 68, 99, 49, 101, 51, 101, 97, 99, 51, 52, 57, 51, 56, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 102, 50, 102, 101, 97, 101, 49, 100, 45, 55, 50, 100, 55, 45, 52, 48, 48, 48, 45, 97, 53, 54, 49, 45, 52, 57, 54, 48, 101, 97, 101, 99, 55, 102, 55, 51, 34, 44, 34, 115, 101, 110, 100, 101, 114, 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 } } } }
[2022-05-09T12:33:38Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/a4b59fdb-43df-4d81-8aab-c1e3eac34938", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"df6f7e93-b60e-47db-95e2-fc4d5b3caeec\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://a4b59fdb%2D43df%2D4d81%2D8aab%2Dc1e3eac34938/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:33:38.876269715Z\",\"data\":{\"connected\":false},\"instance\":\"drogue\",\"application\":\"a4b59fdb-43df-4d81-8aab-c1e3eac34938\",\"applicationuid\":\"2cfafe7e-8e5c-4894-b0f4-bd31b54a22df\",\"device\":\"device1\",\"deviceuid\":\"f2feae1d-72d7-4000-a561-4960eaec7f73\",\"partitionkey\":\"a4b59fdb%2D43df%2D4d81%2D8aab%2Dc1e3eac34938/device1\",\"senderuid\":\"f2feae1d-72d7-4000-a561-4960eaec7f73\",\"sender\":\"device1\"}" }
[2022-05-09T12:33:39Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 629, payload: 0x7f4b1c00bee0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/a4b59fdb-43df-4d81-8aab-c1e3eac34938", 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, 102, 100, 53, 48, 98, 102, 57, 99, 45, 99, 102, 101, 53, 45, 52, 48, 102, 97, 45, 97, 50, 100, 101, 45, 50, 100, 49, 97, 55, 49, 52, 99, 101, 100, 51, 52, 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, 97, 52, 98, 53, 57, 102, 100, 98, 37, 50, 68, 52, 51, 100, 102, 37, 50, 68, 52, 100, 56, 49, 37, 50, 68, 56, 97, 97, 98, 37, 50, 68, 99, 49, 101, 51, 101, 97, 99, 51, 52, 57, 51, 56, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 51, 51, 58, 51, 56, 46, 56, 55, 51, 53, 49, 55, 48, 49, 52, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 97, 52, 98, 53, 57, 102, 100, 98, 45, 52, 51, 100, 102, 45, 52, 100, 56, 49, 45, 56, 97, 97, 98, 45, 99, 49, 101, 51, 101, 97, 99, 51, 52, 57, 51, 56, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 97, 52, 98, 53, 57, 102, 100, 98, 37, 50, 68, 52, 51, 100, 102, 37, 50, 68, 52, 100, 56, 49, 37, 50, 68, 56, 97, 97, 98, 37, 50, 68, 99, 49, 101, 51, 101, 97, 99, 51, 52, 57, 51, 56, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 102, 50, 102, 101, 97, 101, 49, 100, 45, 55, 50, 100, 55, 45, 52, 48, 48, 48, 45, 97, 53, 54, 49, 45, 52, 57, 54, 48, 101, 97, 101, 99, 55, 102, 55, 51, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 50, 99, 102, 97, 102, 101, 55, 101, 45, 56, 101, 53, 99, 45, 52, 56, 57, 52, 45, 98, 48, 102, 52, 45, 98, 100, 51, 49, 98, 53, 52, 97, 50, 50, 100, 102, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 102, 50, 102, 101, 97, 101, 49, 100, 45, 55, 50, 100, 55, 45, 52, 48, 48, 48, 45, 97, 53, 54, 49, 45, 52, 57, 54, 48, 101, 97, 101, 99, 55, 102, 55, 51, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T12:33:39Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/a4b59fdb-43df-4d81-8aab-c1e3eac34938", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"fd50bf9c-cfe5-40fa-a2de-2d1a714ced34\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://a4b59fdb%2D43df%2D4d81%2D8aab%2Dc1e3eac34938/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:33:38.873517014Z\",\"data_base64\":\"\",\"application\":\"a4b59fdb-43df-4d81-8aab-c1e3eac34938\",\"device\":\"device1\",\"sender\":\"device1\",\"partitionkey\":\"a4b59fdb%2D43df%2D4d81%2D8aab%2Dc1e3eac34938/device1\",\"deviceuid\":\"f2feae1d-72d7-4000-a561-4960eaec7f73\",\"instance\":\"drogue\",\"applicationuid\":\"2cfafe7e-8e5c-4894-b0f4-bd31b54a22df\",\"senderuid\":\"f2feae1d-72d7-4000-a561-4960eaec7f73\"}" }
[2022-05-09T12:33:39Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:33:39Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:33:39Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:33:39Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "a4b59fdb-43df-4d81-8aab-c1e3eac34938", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "a4b59fdb-43df-4d81-8aab-c1e3eac34938", device: "device1", sender: "device1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:33:39Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:33:39Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "a4b59fdb-43df-4d81-8aab-c1e3eac34938" "device1"
[2022-05-09T12:33:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:33:40Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'a4b59fdb-43df-4d81-8aab-c1e3eac34938'
[2022-05-09T12:33:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "a4b59fdb-43df-4d81-8aab-c1e3eac34938"
[2022-05-09T12:33:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App a4b59fdb-43df-4d81-8aab-c1e3eac34938 deleted.\n", stderr: "" })

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

Duration: 14s

❌ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::endpoint_ws_2::integration_version_2::integration_ws_1

Duration: 15s

Test output
-------------- TEST START --------------
[2022-05-09T12:33:56Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:33:56Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:33:56Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:33:57Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:33:57Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:33:58Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:33:59Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:33:59Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:33:59Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:33:59Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:34:01Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDE0NDEsImlhdCI6MTY1MjA5OTY0MSwianRpIjoiMDYwMzNmZTMtN2E5ZC00OTljLWIyYmMtZTI5YzA2ZjU0NmI3IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlBTN0Zhb0xRNHZSSTNXMXgyVDNKRVEiLCJzZXNzaW9uX3N0YXRlIjoiMTIzZWY4ZmEtM2Q4Zi00NjhjLTg3YTgtZDRjMjAyNzQyNjgzIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjEyM2VmOGZhLTNkOGYtNDY4Yy04N2E4LWQ0YzIwMjc0MjY4MyJ9.uFl1LGPMCrefESKy-nsrRUjPqZha-Nd-o8ldRhSTluQ
[2022-05-09T12:34:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:34:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:34:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDE0NDEsImlhdCI6MTY1MjA5OTY0MSwianRpIjoiMDYwMzNmZTMtN2E5ZC00OTljLWIyYmMtZTI5YzA2ZjU0NmI3IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlBTN0Zhb0xRNHZSSTNXMXgyVDNKRVEiLCJzZXNzaW9uX3N0YXRlIjoiMTIzZWY4ZmEtM2Q4Zi00NjhjLTg3YTgtZDRjMjAyNzQyNjgzIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjEyM2VmOGZhLTNkOGYtNDY4Yy04N2E4LWQ0YzIwMjc0MjY4MyJ9.uFl1LGPMCrefESKy-nsrRUjPqZha-Nd-o8ldRhSTluQ" "--context" "system-tests"
[2022-05-09T12:34:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:34:02Z INFO  drogue_cloud_tests::resources::apps] Create application: afe652fa-9ad0-4eeb-aed1-d24757780570
[2022-05-09T12:34:02Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "afe652fa-9ad0-4eeb-aed1-d24757780570"
[2022-05-09T12:34:02Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App afe652fa-9ad0-4eeb-aed1-d24757780570 created.\n", stderr: "" })
[2022-05-09T12:34:02Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "afe652fa-9ad0-4eeb-aed1-d24757780570"
[2022-05-09T12:34:02Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:34:02.292207Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"afe652fa-9ad0-4eeb-aed1-d24757780570\",\n    \"resourceVersion\": \"1bc8ac05-9e0b-48ba-b50b-2908f482a15b\",\n    \"uid\": \"a234e2f3-d5cd-4c0d-b7c2-c4177eea8f62\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:34:02.304414280Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:34:02.304468903Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:02.304379535Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:02.304381840Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:02.304382591Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:02.304383372Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:02.304383844Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:02.304390496Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:34:02Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:34:02.292207Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("afe652fa-9ad0-4eeb-aed1-d24757780570"), "resourceVersion": String("1bc8ac05-9e0b-48ba-b50b-2908f482a15b"), "uid": String("a234e2f3-d5cd-4c0d-b7c2-c4177eea8f62")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:34:02.304414280Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:34:02.304468903Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:34:02.304379535Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:34:02.304381840Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:34:02.304382591Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:34:02.304383372Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:34:02.304383844Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:34:02.304390496Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T12:34:02Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:34:03Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "afe652fa-9ad0-4eeb-aed1-d24757780570"
[2022-05-09T12:34:03Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:34:02.292207Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"afe652fa-9ad0-4eeb-aed1-d24757780570\",\n    \"resourceVersion\": \"9ba67f0b-f147-41a9-a447-93bfee35f4ea\",\n    \"uid\": \"a234e2f3-d5cd-4c0d-b7c2-c4177eea8f62\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:34:02.647183054Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:34:02.647218030Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:02.332949588Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:02.340097322Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:02.415468064Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:02.422306546Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:02.647138060Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:02.647157356Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"HZ6ouU8mKwpn\",\n        \"username\": \"user-afe652fa-9ad0-4eeb-aed1-d24757780570\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:34:03Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:34:02.292207Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("afe652fa-9ad0-4eeb-aed1-d24757780570"), "resourceVersion": String("9ba67f0b-f147-41a9-a447-93bfee35f4ea"), "uid": String("a234e2f3-d5cd-4c0d-b7c2-c4177eea8f62")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:34:02.647183054Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:34:02.647218030Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:34:02.332949588Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:34:02.340097322Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:34:02.415468064Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:34:02.422306546Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:34:02.647138060Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:34:02.647157356Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("HZ6ouU8mKwpn"), "username": String("user-afe652fa-9ad0-4eeb-aed1-d24757780570")})})})})
[2022-05-09T12:34:03Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:34:03Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "afe652fa-9ad0-4eeb-aed1-d24757780570"
[2022-05-09T12:34:03Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:34:02.292207Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"afe652fa-9ad0-4eeb-aed1-d24757780570\",\n    \"resourceVersion\": \"9ba67f0b-f147-41a9-a447-93bfee35f4ea\",\n    \"uid\": \"a234e2f3-d5cd-4c0d-b7c2-c4177eea8f62\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:34:02.647183054Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:34:02.647218030Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:02.332949588Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:02.340097322Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:02.415468064Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:02.422306546Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:02.647138060Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:02.647157356Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"HZ6ouU8mKwpn\",\n        \"username\": \"user-afe652fa-9ad0-4eeb-aed1-d24757780570\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:34:03Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:34:02.292207Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("afe652fa-9ad0-4eeb-aed1-d24757780570"), "resourceVersion": String("9ba67f0b-f147-41a9-a447-93bfee35f4ea"), "uid": String("a234e2f3-d5cd-4c0d-b7c2-c4177eea8f62")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:34:02.647183054Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:34:02.647218030Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:34:02.332949588Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:34:02.340097322Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:34:02.415468064Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:34:02.422306546Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:34:02.647138060Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:34:02.647157356Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("HZ6ouU8mKwpn"), "username": String("user-afe652fa-9ad0-4eeb-aed1-d24757780570")})})})})
[2022-05-09T12:34:03Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:34:03Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:34:03Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:34:03Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:34:03Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk5NDEsImlhdCI6MTY1MjA5OTY0MSwiYXV0aF90aW1lIjoxNjUyMDk5NjM4LCJqdGkiOiIxMmNiNzM5OS1jNTNhLTQ2NjQtOTlkNC0xNTVhMTU2ZDE4ZWYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJQUzdGYW9MUTR2UkkzVzF4MlQzSkVRIiwic2Vzc2lvbl9zdGF0ZSI6IjEyM2VmOGZhLTNkOGYtNDY4Yy04N2E4LWQ0YzIwMjc0MjY4MyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjEyM2VmOGZhLTNkOGYtNDY4Yy04N2E4LWQ0YzIwMjc0MjY4MyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.S6HWR0qWRuJ_FrgWPIArqJaXKHHcovloDqXd3PGLDaecjxQDw4udpab_t_Qlw9lDMuJzmdAfGF4yYf58DWNLvvMc7E8dHb_1FChVNckJcL93W_STrrbn4Mwz7HoFYXmr6autVcPJftLMaXojrpxiqd1p3aHtKn40rZRtkrpDOqkgZrLjg0iFkpRzg8LK0eDtfh5Mu0bGJupgBS3YEnzHqz1ilo40UCgr9Yq1roEsnDeBp4lHUeFuRj86GRVbsrunzZRlkC_4TnJtsCiJk5muMFp3xcMj7_-omdrYwwLd8tqWrC8zuZJIuVqgeoGdtFuawnhbYZIEzAjpXhpKPC_O3g\n", stderr: "" })
[2022-05-09T12:34:03Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:34:03Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:34:03Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:34:03Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "afe652fa-9ad0-4eeb-aed1-d24757780570" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:34:03Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:34:03Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T12:34:03Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:34:03Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk5NDEsImlhdCI6MTY1MjA5OTY0MSwiYXV0aF90aW1lIjoxNjUyMDk5NjM4LCJqdGkiOiIxMmNiNzM5OS1jNTNhLTQ2NjQtOTlkNC0xNTVhMTU2ZDE4ZWYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJQUzdGYW9MUTR2UkkzVzF4MlQzSkVRIiwic2Vzc2lvbl9zdGF0ZSI6IjEyM2VmOGZhLTNkOGYtNDY4Yy04N2E4LWQ0YzIwMjc0MjY4MyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjEyM2VmOGZhLTNkOGYtNDY4Yy04N2E4LWQ0YzIwMjc0MjY4MyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.S6HWR0qWRuJ_FrgWPIArqJaXKHHcovloDqXd3PGLDaecjxQDw4udpab_t_Qlw9lDMuJzmdAfGF4yYf58DWNLvvMc7E8dHb_1FChVNckJcL93W_STrrbn4Mwz7HoFYXmr6autVcPJftLMaXojrpxiqd1p3aHtKn40rZRtkrpDOqkgZrLjg0iFkpRzg8LK0eDtfh5Mu0bGJupgBS3YEnzHqz1ilo40UCgr9Yq1roEsnDeBp4lHUeFuRj86GRVbsrunzZRlkC_4TnJtsCiJk5muMFp3xcMj7_-omdrYwwLd8tqWrC8zuZJIuVqgeoGdtFuawnhbYZIEzAjpXhpKPC_O3g\n", stderr: "" })
[2022-05-09T12:34:03Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "e5cb7cbf-0d05-475b-9e97-e030ccb5de0f", persistence: None, user_data: None }
[2022-05-09T12:34:03Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:34:03Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717a55a00
[2022-05-09T12:34:03Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717a55a00
[2022-05-09T12:34:03Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717947940, connectTimeout: 30, retryInterval: 0, ssl: 0x561717a39280, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717f4ed30, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk5NDEsImlhdCI6MTY1MjA5OTY0MSwiYXV0aF90aW1lIjoxNjUyMDk5NjM4LCJqdGkiOiIxMmNiNzM5OS1jNTNhLTQ2NjQtOTlkNC0xNTVhMTU2ZDE4ZWYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJQUzdGYW9MUTR2UkkzVzF4MlQzSkVRIiwic2Vzc2lvbl9zdGF0ZSI6IjEyM2VmOGZhLTNkOGYtNDY4Yy04N2E4LWQ0YzIwMjc0MjY4MyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjEyM2VmOGZhLTNkOGYtNDY4Yy04N2E4LWQ0YzIwMjc0MjY4MyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.S6HWR0qWRuJ_FrgWPIArqJaXKHHcovloDqXd3PGLDaecjxQDw4udpab_t_Qlw9lDMuJzmdAfGF4yYf58DWNLvvMc7E8dHb_1FChVNckJcL93W_STrrbn4Mwz7HoFYXmr6autVcPJftLMaXojrpxiqd1p3aHtKn40rZRtkrpDOqkgZrLjg0iFkpRzg8LK0eDtfh5Mu0bGJupgBS3YEnzHqz1ilo40UCgr9Yq1roEsnDeBp4lHUeFuRj86GRVbsrunzZRlkC_4TnJtsCiJk5muMFp3xcMj7_-omdrYwwLd8tqWrC8zuZJIuVqgeoGdtFuawnhbYZIEzAjpXhpKPC_O3g"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:34:03Z DEBUG paho_mqtt::async_client] Subscribe to '"app/afe652fa-9ad0-4eeb-aed1-d24757780570"' @ QOS 0
[2022-05-09T12:34:03Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:34:03Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:34:03Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:34:03Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:34:03Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:34:04Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:34:05Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:34:05Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:34:05Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:34:05Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:34:06Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:34:06Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:34:06Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:34:06Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:34:07Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:34:07Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:34:07Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:34:07Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:34:07Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 620, payload: 0x7f4b1801a920, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1801aba0 } }, data: MessageData { topic: "app/afe652fa-9ad0-4eeb-aed1-d24757780570", 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, 98, 50, 97, 54, 52, 54, 50, 99, 45, 51, 53, 51, 57, 45, 52, 55, 56, 55, 45, 56, 101, 99, 57, 45, 98, 98, 99, 52, 53, 55, 100, 102, 101, 53, 102, 49, 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, 97, 102, 101, 54, 53, 50, 102, 97, 37, 50, 68, 57, 97, 100, 48, 37, 50, 68, 52, 101, 101, 98, 37, 50, 68, 97, 101, 100, 49, 37, 50, 68, 100, 50, 52, 55, 53, 55, 55, 56, 48, 53, 55, 48, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 51, 52, 58, 48, 55, 46, 49, 57, 51, 48, 48, 49, 57, 55, 50, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 97, 102, 101, 54, 53, 50, 102, 97, 45, 57, 97, 100, 48, 45, 52, 101, 101, 98, 45, 97, 101, 100, 49, 45, 100, 50, 52, 55, 53, 55, 55, 56, 48, 53, 55, 48, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 97, 50, 51, 52, 101, 50, 102, 51, 45, 100, 53, 99, 100, 45, 52, 99, 48, 100, 45, 98, 55, 99, 50, 45, 99, 52, 49, 55, 55, 101, 101, 97, 56, 102, 54, 50, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 99, 56, 56, 51, 57, 54, 100, 49, 45, 54, 49, 52, 98, 45, 52, 97, 49, 101, 45, 98, 57, 52, 97, 45, 57, 49, 99, 54, 56, 50, 51, 56, 56, 55, 53, 97, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 97, 102, 101, 54, 53, 50, 102, 97, 37, 50, 68, 57, 97, 100, 48, 37, 50, 68, 52, 101, 101, 98, 37, 50, 68, 97, 101, 100, 49, 37, 50, 68, 100, 50, 52, 55, 53, 55, 55, 56, 48, 53, 55, 48, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 99, 56, 56, 51, 57, 54, 100, 49, 45, 54, 49, 52, 98, 45, 52, 97, 49, 101, 45, 98, 57, 52, 97, 45, 57, 49, 99, 54, 56, 50, 51, 56, 56, 55, 53, 97, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1801aba0 } } } }
[2022-05-09T12:34:07Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717a40e30
[2022-05-09T12:34:07Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/afe652fa-9ad0-4eeb-aed1-d24757780570", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"b2a6462c-3539-4787-8ec9-bbc457dfe5f1\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://afe652fa%2D9ad0%2D4eeb%2Daed1%2Dd24757780570/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:34:07.193001972Z\",\"data\":{\"index\":3},\"application\":\"afe652fa-9ad0-4eeb-aed1-d24757780570\",\"device\":\"device1\",\"instance\":\"drogue\",\"applicationuid\":\"a234e2f3-d5cd-4c0d-b7c2-c4177eea8f62\",\"deviceuid\":\"c88396d1-614b-4a1e-b94a-91c68238875a\",\"partitionkey\":\"afe652fa%2D9ad0%2D4eeb%2Daed1%2Dd24757780570/device1\",\"sender\":\"device1\",\"senderuid\":\"c88396d1-614b-4a1e-b94a-91c68238875a\"}" }
[2022-05-09T12:34:08Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:34:08Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:34:08Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:34:08Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry
[2022-05-09T12:34:08Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "4c31df18-40dd-4b31-bf22-6d40ea56ead4", persistence: None, user_data: None }
[2022-05-09T12:34:08Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:34:08Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x56171794afb0
[2022-05-09T12:34:08Z DEBUG paho_mqtt::async_client] Connecting handle: 0x56171794afb0
[2022-05-09T12:34:08Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717b8cd70, password: 0x561717b17730, connectTimeout: 30, retryInterval: 0, ssl: 0x561717b54d10, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717b8c700, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("device1@afe652fa-9ad0-4eeb-aed1-d24757780570"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:34:08Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 636, payload: 0x7f4b1802be20, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1802c0b0 } }, data: MessageData { topic: "app/afe652fa-9ad0-4eeb-aed1-d24757780570", 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, 54, 100, 55, 48, 48, 102, 51, 99, 45, 56, 49, 53, 51, 45, 52, 52, 50, 55, 45, 57, 52, 97, 48, 45, 49, 55, 98, 51, 54, 56, 53, 55, 51, 48, 49, 102, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 97, 102, 101, 54, 53, 50, 102, 97, 37, 50, 68, 57, 97, 100, 48, 37, 50, 68, 52, 101, 101, 98, 37, 50, 68, 97, 101, 100, 49, 37, 50, 68, 100, 50, 52, 55, 53, 55, 55, 56, 48, 53, 55, 48, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 51, 52, 58, 48, 56, 46, 50, 49, 50, 49, 56, 53, 50, 53, 54, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 97, 50, 51, 52, 101, 50, 102, 51, 45, 100, 53, 99, 100, 45, 52, 99, 48, 100, 45, 98, 55, 99, 50, 45, 99, 52, 49, 55, 55, 101, 101, 97, 56, 102, 54, 50, 34, 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, 97, 102, 101, 54, 53, 50, 102, 97, 37, 50, 68, 57, 97, 100, 48, 37, 50, 68, 52, 101, 101, 98, 37, 50, 68, 97, 101, 100, 49, 37, 50, 68, 100, 50, 52, 55, 53, 55, 55, 56, 48, 53, 55, 48, 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, 97, 102, 101, 54, 53, 50, 102, 97, 45, 57, 97, 100, 48, 45, 52, 101, 101, 98, 45, 97, 101, 100, 49, 45, 100, 50, 52, 55, 53, 55, 55, 56, 48, 53, 55, 48, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 99, 56, 56, 51, 57, 54, 100, 49, 45, 54, 49, 52, 98, 45, 52, 97, 49, 101, 45, 98, 57, 52, 97, 45, 57, 49, 99, 54, 56, 50, 51, 56, 56, 55, 53, 97, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 99, 56, 56, 51, 57, 54, 100, 49, 45, 54, 49, 52, 98, 45, 52, 97, 49, 101, 45, 98, 57, 52, 97, 45, 57, 49, 99, 54, 56, 50, 51, 56, 56, 55, 53, 97, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1802c0b0 } } } }
[2022-05-09T12:34:08Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717d54cf0
[2022-05-09T12:34:08Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717cc2180 } }, data: MessageData { topic: "telemetry", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717cc2180 } } } }
[2022-05-09T12:34:08Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/afe652fa-9ad0-4eeb-aed1-d24757780570", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"6d700f3c-8153-4427-94a0-17b36857301f\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://afe652fa%2D9ad0%2D4eeb%2Daed1%2Dd24757780570/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:34:08.212185256Z\",\"data\":{\"connected\":true},\"applicationuid\":\"a234e2f3-d5cd-4c0d-b7c2-c4177eea8f62\",\"instance\":\"drogue\",\"partitionkey\":\"afe652fa%2D9ad0%2D4eeb%2Daed1%2Dd24757780570/device1\",\"application\":\"afe652fa-9ad0-4eeb-aed1-d24757780570\",\"device\":\"device1\",\"deviceuid\":\"c88396d1-614b-4a1e-b94a-91c68238875a\",\"senderuid\":\"c88396d1-614b-4a1e-b94a-91c68238875a\",\"sender\":\"device1\"}" }
[2022-05-09T12:34:08Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:34:08Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 637, payload: 0x7f4b1801b270, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b18013d80 } }, data: MessageData { topic: "app/afe652fa-9ad0-4eeb-aed1-d24757780570", 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, 100, 99, 53, 57, 49, 97, 54, 45, 53, 97, 50, 98, 45, 52, 101, 101, 56, 45, 56, 97, 102, 51, 45, 99, 52, 97, 49, 57, 102, 55, 56, 97, 49, 54, 100, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 97, 102, 101, 54, 53, 50, 102, 97, 37, 50, 68, 57, 97, 100, 48, 37, 50, 68, 52, 101, 101, 98, 37, 50, 68, 97, 101, 100, 49, 37, 50, 68, 100, 50, 52, 55, 53, 55, 55, 56, 48, 53, 55, 48, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 51, 52, 58, 48, 56, 46, 56, 55, 56, 50, 55, 51, 52, 54, 52, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 97, 50, 51, 52, 101, 50, 102, 51, 45, 100, 53, 99, 100, 45, 52, 99, 48, 100, 45, 98, 55, 99, 50, 45, 99, 52, 49, 55, 55, 101, 101, 97, 56, 102, 54, 50, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 99, 56, 56, 51, 57, 54, 100, 49, 45, 54, 49, 52, 98, 45, 52, 97, 49, 101, 45, 98, 57, 52, 97, 45, 57, 49, 99, 54, 56, 50, 51, 56, 56, 55, 53, 97, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 97, 102, 101, 54, 53, 50, 102, 97, 45, 57, 97, 100, 48, 45, 52, 101, 101, 98, 45, 97, 101, 100, 49, 45, 100, 50, 52, 55, 53, 55, 55, 56, 48, 53, 55, 48, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 97, 102, 101, 54, 53, 50, 102, 97, 37, 50, 68, 57, 97, 100, 48, 37, 50, 68, 52, 101, 101, 98, 37, 50, 68, 97, 101, 100, 49, 37, 50, 68, 100, 50, 52, 55, 53, 55, 55, 56, 48, 53, 55, 48, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 99, 56, 56, 51, 57, 54, 100, 49, 45, 54, 49, 52, 98, 45, 52, 97, 49, 101, 45, 98, 57, 52, 97, 45, 57, 49, 99, 54, 56, 50, 51, 56, 56, 55, 53, 97, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b18013d80 } } } }
[2022-05-09T12:34:08Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717d54cf0
[2022-05-09T12:34:08Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/afe652fa-9ad0-4eeb-aed1-d24757780570", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"8dc591a6-5a2b-4ee8-8af3-c4a19f78a16d\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://afe652fa%2D9ad0%2D4eeb%2Daed1%2Dd24757780570/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:34:08.878273464Z\",\"data\":{\"connected\":false},\"applicationuid\":\"a234e2f3-d5cd-4c0d-b7c2-c4177eea8f62\",\"device\":\"device1\",\"senderuid\":\"c88396d1-614b-4a1e-b94a-91c68238875a\",\"application\":\"afe652fa-9ad0-4eeb-aed1-d24757780570\",\"partitionkey\":\"afe652fa%2D9ad0%2D4eeb%2Daed1%2Dd24757780570/device1\",\"sender\":\"device1\",\"deviceuid\":\"c88396d1-614b-4a1e-b94a-91c68238875a\",\"instance\":\"drogue\"}" }
[2022-05-09T12:34:09Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 629, payload: 0x7f4b18013f20, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1802be20 } }, data: MessageData { topic: "app/afe652fa-9ad0-4eeb-aed1-d24757780570", 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, 57, 54, 54, 57, 99, 52, 54, 50, 45, 57, 57, 55, 52, 45, 52, 49, 56, 102, 45, 57, 97, 50, 57, 45, 55, 100, 57, 50, 101, 53, 50, 102, 98, 53, 57, 102, 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, 97, 102, 101, 54, 53, 50, 102, 97, 37, 50, 68, 57, 97, 100, 48, 37, 50, 68, 52, 101, 101, 98, 37, 50, 68, 97, 101, 100, 49, 37, 50, 68, 100, 50, 52, 55, 53, 55, 55, 56, 48, 53, 55, 48, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 51, 52, 58, 48, 56, 46, 56, 55, 52, 50, 50, 48, 57, 49, 52, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 97, 102, 101, 54, 53, 50, 102, 97, 45, 57, 97, 100, 48, 45, 52, 101, 101, 98, 45, 97, 101, 100, 49, 45, 100, 50, 52, 55, 53, 55, 55, 56, 48, 53, 55, 48, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 97, 102, 101, 54, 53, 50, 102, 97, 37, 50, 68, 57, 97, 100, 48, 37, 50, 68, 52, 101, 101, 98, 37, 50, 68, 97, 101, 100, 49, 37, 50, 68, 100, 50, 52, 55, 53, 55, 55, 56, 48, 53, 55, 48, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 99, 56, 56, 51, 57, 54, 100, 49, 45, 54, 49, 52, 98, 45, 52, 97, 49, 101, 45, 98, 57, 52, 97, 45, 57, 49, 99, 54, 56, 50, 51, 56, 56, 55, 53, 97, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 97, 50, 51, 52, 101, 50, 102, 51, 45, 100, 53, 99, 100, 45, 52, 99, 48, 100, 45, 98, 55, 99, 50, 45, 99, 52, 49, 55, 55, 101, 101, 97, 56, 102, 54, 50, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 99, 56, 56, 51, 57, 54, 100, 49, 45, 54, 49, 52, 98, 45, 52, 97, 49, 101, 45, 98, 57, 52, 97, 45, 57, 49, 99, 54, 56, 50, 51, 56, 56, 55, 53, 97, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1802be20 } } } }
[2022-05-09T12:34:09Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717d54cf0
[2022-05-09T12:34:09Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/afe652fa-9ad0-4eeb-aed1-d24757780570", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"9669c462-9974-418f-9a29-7d92e52fb59f\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://afe652fa%2D9ad0%2D4eeb%2Daed1%2Dd24757780570/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:34:08.874220914Z\",\"data_base64\":\"\",\"application\":\"afe652fa-9ad0-4eeb-aed1-d24757780570\",\"device\":\"device1\",\"partitionkey\":\"afe652fa%2D9ad0%2D4eeb%2Daed1%2Dd24757780570/device1\",\"senderuid\":\"c88396d1-614b-4a1e-b94a-91c68238875a\",\"sender\":\"device1\",\"applicationuid\":\"a234e2f3-d5cd-4c0d-b7c2-c4177eea8f62\",\"deviceuid\":\"c88396d1-614b-4a1e-b94a-91c68238875a\",\"instance\":\"drogue\"}" }
[2022-05-09T12:34:09Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:34:09Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:34:09Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:34:09Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "afe652fa-9ad0-4eeb-aed1-d24757780570", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "afe652fa-9ad0-4eeb-aed1-d24757780570", device: "device1", sender: "device1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:34:09Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:34:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "afe652fa-9ad0-4eeb-aed1-d24757780570" "device1"
[2022-05-09T12:34:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:34:10Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'afe652fa-9ad0-4eeb-aed1-d24757780570'
[2022-05-09T12:34:10Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "afe652fa-9ad0-4eeb-aed1-d24757780570"
[2022-05-09T12:34:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App afe652fa-9ad0-4eeb-aed1-d24757780570 deleted.\n", stderr: "" })

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

Duration: 15s

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

Duration: 15s

❌ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::endpoint_ws_2::integration_version_3::integration_ws_2

Duration: 15s

Test output
-------------- TEST START --------------
[2022-05-09T12:34:42Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:34:42Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:34:42Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:34:42Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:34:42Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:34:43Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:34:44Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:34:44Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:34:44Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:34:44Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:34:46Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDE0ODYsImlhdCI6MTY1MjA5OTY4NiwianRpIjoiZDYyMzk4NWEtZWIzZS00ZjMxLWEwZjUtNjU4NTQ4MTM5NzcxIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlVfbTl5LUd1WXFEbnNpVWFuRURHNWciLCJzZXNzaW9uX3N0YXRlIjoiN2YzODAxZTYtNTE0Ny00MDY5LWE3NzAtN2QxOWUzZDIwMWUwIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjdmMzgwMWU2LTUxNDctNDA2OS1hNzcwLTdkMTllM2QyMDFlMCJ9.e7eSbGECXntbP-iTBNYGJ8LOPiH0st-Zha3-IMVPUPk
[2022-05-09T12:34:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:34:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:34:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDE0ODYsImlhdCI6MTY1MjA5OTY4NiwianRpIjoiZDYyMzk4NWEtZWIzZS00ZjMxLWEwZjUtNjU4NTQ4MTM5NzcxIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlVfbTl5LUd1WXFEbnNpVWFuRURHNWciLCJzZXNzaW9uX3N0YXRlIjoiN2YzODAxZTYtNTE0Ny00MDY5LWE3NzAtN2QxOWUzZDIwMWUwIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjdmMzgwMWU2LTUxNDctNDA2OS1hNzcwLTdkMTllM2QyMDFlMCJ9.e7eSbGECXntbP-iTBNYGJ8LOPiH0st-Zha3-IMVPUPk" "--context" "system-tests"
[2022-05-09T12:34:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:34:47Z INFO  drogue_cloud_tests::resources::apps] Create application: da43eed6-0a10-494e-8cab-22947c175f7d
[2022-05-09T12:34:47Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "da43eed6-0a10-494e-8cab-22947c175f7d"
[2022-05-09T12:34:47Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App da43eed6-0a10-494e-8cab-22947c175f7d created.\n", stderr: "" })
[2022-05-09T12:34:47Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "da43eed6-0a10-494e-8cab-22947c175f7d"
[2022-05-09T12:34:47Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:34:47.369165Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"da43eed6-0a10-494e-8cab-22947c175f7d\",\n    \"resourceVersion\": \"da09a320-944e-4edf-9a8c-26a4f623ffc3\",\n    \"uid\": \"c86af692-8d69-4f23-ac26-4f6e6e4b83cf\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:34:47.392950101Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:34:47.392888716Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:47.392848711Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:47.392850103Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:47.392850734Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:47.392852839Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:47.392853209Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:47.392859180Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:34:47Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:34:47.369165Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("da43eed6-0a10-494e-8cab-22947c175f7d"), "resourceVersion": String("da09a320-944e-4edf-9a8c-26a4f623ffc3"), "uid": String("c86af692-8d69-4f23-ac26-4f6e6e4b83cf")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:34:47.392950101Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:34:47.392888716Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:34:47.392848711Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:34:47.392850103Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:34:47.392850734Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:34:47.392852839Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:34:47.392853209Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:34:47.392859180Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T12:34:47Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:34:48Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "da43eed6-0a10-494e-8cab-22947c175f7d"
[2022-05-09T12:34:48Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:34:47.369165Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"da43eed6-0a10-494e-8cab-22947c175f7d\",\n    \"resourceVersion\": \"7f39dd4e-1aa9-4ec7-850f-8b0f532634d9\",\n    \"uid\": \"c86af692-8d69-4f23-ac26-4f6e6e4b83cf\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:34:47.716841757Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:34:47.716793758Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:47.421632054Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:47.427001232Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:47.487742462Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:47.493855895Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:47.716747080Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:47.716763220Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"DaOCAvF2Kd2N\",\n        \"username\": \"user-da43eed6-0a10-494e-8cab-22947c175f7d\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:34:48Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:34:47.369165Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("da43eed6-0a10-494e-8cab-22947c175f7d"), "resourceVersion": String("7f39dd4e-1aa9-4ec7-850f-8b0f532634d9"), "uid": String("c86af692-8d69-4f23-ac26-4f6e6e4b83cf")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:34:47.716841757Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:34:47.716793758Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:34:47.421632054Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:34:47.427001232Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:34:47.487742462Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:34:47.493855895Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:34:47.716747080Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:34:47.716763220Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("DaOCAvF2Kd2N"), "username": String("user-da43eed6-0a10-494e-8cab-22947c175f7d")})})})})
[2022-05-09T12:34:48Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:34:48Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "da43eed6-0a10-494e-8cab-22947c175f7d"
[2022-05-09T12:34:48Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:34:47.369165Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"da43eed6-0a10-494e-8cab-22947c175f7d\",\n    \"resourceVersion\": \"7f39dd4e-1aa9-4ec7-850f-8b0f532634d9\",\n    \"uid\": \"c86af692-8d69-4f23-ac26-4f6e6e4b83cf\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:34:47.716841757Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:34:47.716793758Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:47.421632054Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:47.427001232Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:47.487742462Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:47.493855895Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:47.716747080Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:34:47.716763220Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"DaOCAvF2Kd2N\",\n        \"username\": \"user-da43eed6-0a10-494e-8cab-22947c175f7d\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:34:48Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:34:47.369165Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("da43eed6-0a10-494e-8cab-22947c175f7d"), "resourceVersion": String("7f39dd4e-1aa9-4ec7-850f-8b0f532634d9"), "uid": String("c86af692-8d69-4f23-ac26-4f6e6e4b83cf")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:34:47.716841757Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:34:47.716793758Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:34:47.421632054Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:34:47.427001232Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:34:47.487742462Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:34:47.493855895Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:34:47.716747080Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:34:47.716763220Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("DaOCAvF2Kd2N"), "username": String("user-da43eed6-0a10-494e-8cab-22947c175f7d")})})})})
[2022-05-09T12:34:48Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:34:48Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:34:48Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:34:48Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:34:48Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk5ODYsImlhdCI6MTY1MjA5OTY4NiwiYXV0aF90aW1lIjoxNjUyMDk5NjgzLCJqdGkiOiI4NmNlMjFmMS1iNDZmLTRhNDMtOGVhMi0wYWExNGM4YzY2MzAiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJVX205eS1HdVlxRG5zaVVhbkVERzVnIiwic2Vzc2lvbl9zdGF0ZSI6IjdmMzgwMWU2LTUxNDctNDA2OS1hNzcwLTdkMTllM2QyMDFlMCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjdmMzgwMWU2LTUxNDctNDA2OS1hNzcwLTdkMTllM2QyMDFlMCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.igzazL6DzxFCpZXjIcuSNPrvrNTfOxSvSPUbhePf5xcSNysUdM2fAawaKzDlVfvHCNURxT_HD8wauQn5TKe3wXwVGVytfUUPxZlJxv6ijJ92WJj8op-Qia1iV-UpOA3R1Cpg7yVKTA2PkDcS4v3PbHa2UpS1-ctEmUAj9ytowaAt1GhqQrJEKW9w499wWmDex16LXDEMsb8Oq_G3BL6LqyQMf_t8aaHMVZfGh4hVOhGEBGhktNyboFUDXVrLKfm0vmG_NZkl-KxBFGa6FSyymhv5vikz_Dk30Nd5mkFbs3toXYCmNh7W3_rUAHgpwZb3sEA4fW0-bpxBtzSZ3H4cSw\n", stderr: "" })
[2022-05-09T12:34:48Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:34:48Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:34:48Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:34:48Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "da43eed6-0a10-494e-8cab-22947c175f7d" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:34:48Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:34:48Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T12:34:48Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:34:48Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk5ODYsImlhdCI6MTY1MjA5OTY4NiwiYXV0aF90aW1lIjoxNjUyMDk5NjgzLCJqdGkiOiI4NmNlMjFmMS1iNDZmLTRhNDMtOGVhMi0wYWExNGM4YzY2MzAiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJVX205eS1HdVlxRG5zaVVhbkVERzVnIiwic2Vzc2lvbl9zdGF0ZSI6IjdmMzgwMWU2LTUxNDctNDA2OS1hNzcwLTdkMTllM2QyMDFlMCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjdmMzgwMWU2LTUxNDctNDA2OS1hNzcwLTdkMTllM2QyMDFlMCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.igzazL6DzxFCpZXjIcuSNPrvrNTfOxSvSPUbhePf5xcSNysUdM2fAawaKzDlVfvHCNURxT_HD8wauQn5TKe3wXwVGVytfUUPxZlJxv6ijJ92WJj8op-Qia1iV-UpOA3R1Cpg7yVKTA2PkDcS4v3PbHa2UpS1-ctEmUAj9ytowaAt1GhqQrJEKW9w499wWmDex16LXDEMsb8Oq_G3BL6LqyQMf_t8aaHMVZfGh4hVOhGEBGhktNyboFUDXVrLKfm0vmG_NZkl-KxBFGa6FSyymhv5vikz_Dk30Nd5mkFbs3toXYCmNh7W3_rUAHgpwZb3sEA4fW0-bpxBtzSZ3H4cSw\n", stderr: "" })
[2022-05-09T12:34:48Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "7cf179af-65f1-4db8-9da9-5e92bf31594e", persistence: None, user_data: None }
[2022-05-09T12:34:48Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:34:48Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717a70d30
[2022-05-09T12:34:48Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717a70d30
[2022-05-09T12:34:48Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717a6fa80, connectTimeout: 30, retryInterval: 0, ssl: 0x561717b565d0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717f8e790, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIwOTk5ODYsImlhdCI6MTY1MjA5OTY4NiwiYXV0aF90aW1lIjoxNjUyMDk5NjgzLCJqdGkiOiI4NmNlMjFmMS1iNDZmLTRhNDMtOGVhMi0wYWExNGM4YzY2MzAiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJVX205eS1HdVlxRG5zaVVhbkVERzVnIiwic2Vzc2lvbl9zdGF0ZSI6IjdmMzgwMWU2LTUxNDctNDA2OS1hNzcwLTdkMTllM2QyMDFlMCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjdmMzgwMWU2LTUxNDctNDA2OS1hNzcwLTdkMTllM2QyMDFlMCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.igzazL6DzxFCpZXjIcuSNPrvrNTfOxSvSPUbhePf5xcSNysUdM2fAawaKzDlVfvHCNURxT_HD8wauQn5TKe3wXwVGVytfUUPxZlJxv6ijJ92WJj8op-Qia1iV-UpOA3R1Cpg7yVKTA2PkDcS4v3PbHa2UpS1-ctEmUAj9ytowaAt1GhqQrJEKW9w499wWmDex16LXDEMsb8Oq_G3BL6LqyQMf_t8aaHMVZfGh4hVOhGEBGhktNyboFUDXVrLKfm0vmG_NZkl-KxBFGa6FSyymhv5vikz_Dk30Nd5mkFbs3toXYCmNh7W3_rUAHgpwZb3sEA4fW0-bpxBtzSZ3H4cSw"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:34:48Z DEBUG paho_mqtt::async_client] Subscribe to '"app/da43eed6-0a10-494e-8cab-22947c175f7d"' @ QOS 0
[2022-05-09T12:34:48Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:34:48Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:34:48Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:34:48Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:34:48Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:34:49Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:34:50Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:34:50Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:34:50Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:34:50Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:34:51Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:34:51Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:34:51Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:34:51Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:34:52Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:34:52Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:34:52Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:34:52Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:34:52Z 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: 0x7f4b1c00c200, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 573, array: 0x5617178318f0 } }, data: MessageData { topic: "app/da43eed6-0a10-494e-8cab-22947c175f7d", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 573, array: 0x5617178318f0 } } } }
[2022-05-09T12:34:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717ae3160, 0x7f4b2800a510
[2022-05-09T12:34:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b2800a510, 0x7f4b28001290
[2022-05-09T12:34:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b2800a510, 0x7f4b28000c70
[2022-05-09T12:34:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000c70, 0x56171798bfb0
[2022-05-09T12:34:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000c70, 0x7f4b28001260
[2022-05-09T12:34:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000c70, 0x7f4b28001260
[2022-05-09T12:34:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000c70, 0x7f4b28001260
[2022-05-09T12:34:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28000c70, 0x7f4b2800a260
[2022-05-09T12:34:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b2800a260, 0x7f4b28001260
[2022-05-09T12:34:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b2800a260, 0x7f4b28001260
[2022-05-09T12:34:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b2800a260, 0x7f4b28001260
[2022-05-09T12:34:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b2800a260, 0x7f4b280015c0
[2022-05-09T12:34:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b280015c0, 0x7f4b2800a260
[2022-05-09T12:34:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b2800a260, 0x561717a04a40
[2022-05-09T12:34:52Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b2800a260
[2022-05-09T12:34:52Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/da43eed6-0a10-494e-8cab-22947c175f7d", content_type: Some("application/json"), user_properties: {"instance": "drogue", "id": "21f0e947-1f4b-4abe-a000-f136f967b61c", "device": "device1", "type": "io.drogue.event.v1", "time": "2022-05-09T12:34:52.237094709+00:00", "sender": "device1", "senderuid": "1b9737a6-f1b9-447d-ab7e-e89b77a1eeaa", "partitionkey": "da43eed6%2D0a10%2D494e%2D8cab%2D22947c175f7d/device1", "applicationuid": "c86af692-8d69-4f23-ac26-4f6e6e4b83cf", "subject": "warmup", "application": "da43eed6-0a10-494e-8cab-22947c175f7d", "specversion": "1.0", "deviceuid": "1b9737a6-f1b9-447d-ab7e-e89b77a1eeaa", "source": "drogue://da43eed6%2D0a10%2D494e%2D8cab%2D22947c175f7d/device1"}, payload: "{\"index\":3}" }
[2022-05-09T12:34:53Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:34:53Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:34:53Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:34:53Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry
[2022-05-09T12:34:53Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "547868f3-591a-48a7-8287-35ec9d56b1d4", persistence: None, user_data: None }
[2022-05-09T12:34:53Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:34:53Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717a01b20
[2022-05-09T12:34:53Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717a01b20
[2022-05-09T12:34:53Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x5617179e3a20, password: 0x561717cc3520, connectTimeout: 30, retryInterval: 0, ssl: 0x561717a02810, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717cfa500, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("device1@da43eed6-0a10-494e-8cab-22947c175f7d"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:34:53Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 18, payload: 0x7f4b1c010840, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 582, array: 0x561717982c00 } }, data: MessageData { topic: "app/da43eed6-0a10-494e-8cab-22947c175f7d", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 582, array: 0x561717982c00 } } } }
[2022-05-09T12:34:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717c79ff0, 0x561717abf7f0
[2022-05-09T12:34:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717abf7f0, 0x561717c7b280
[2022-05-09T12:34:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717abf7f0, 0x7f4b30001bf0
[2022-05-09T12:34:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001bf0, 0x56171786b120
[2022-05-09T12:34:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001bf0, 0x7f4b30009a20
[2022-05-09T12:34:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30009a20, 0x561717c7b280
[2022-05-09T12:34:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30009a20, 0x561717abf930
[2022-05-09T12:34:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30009a20, 0x7f4b300040e0
[2022-05-09T12:34:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300040e0, 0x7f4b30009a20
[2022-05-09T12:34:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30009a20, 0x561717c7b280
[2022-05-09T12:34:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30009a20, 0x561717c7b280
[2022-05-09T12:34:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30009a20, 0x561717c7b280
[2022-05-09T12:34:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30009a20, 0x561717c7b280
[2022-05-09T12:34:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30009a20, 0x7f4b30003c40
[2022-05-09T12:34:53Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b30003c40
[2022-05-09T12:34:53Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717d58970 } }, data: MessageData { topic: "telemetry", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717d58970 } } } }
[2022-05-09T12:34:53Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/da43eed6-0a10-494e-8cab-22947c175f7d", content_type: Some("application/json"), user_properties: {"subject": "connection", "application": "da43eed6-0a10-494e-8cab-22947c175f7d", "device": "device1", "type": "io.drogue.connection.v1", "partitionkey": "da43eed6%2D0a10%2D494e%2D8cab%2D22947c175f7d/device1", "sender": "device1", "applicationuid": "c86af692-8d69-4f23-ac26-4f6e6e4b83cf", "specversion": "1.0", "source": "drogue://da43eed6%2D0a10%2D494e%2D8cab%2D22947c175f7d/device1", "time": "2022-05-09T12:34:53.356075850+00:00", "id": "004929ce-52b7-4bde-9e2e-5d1c4c4963d5", "instance": "drogue", "deviceuid": "1b9737a6-f1b9-447d-ab7e-e89b77a1eeaa", "senderuid": "1b9737a6-f1b9-447d-ab7e-e89b77a1eeaa"}, payload: "{\"connected\":true}" }
[2022-05-09T12:34:53Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:34:54Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 19, payload: 0x7f4b1c00d830, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 582, array: 0x7f4b1c010c70 } }, data: MessageData { topic: "app/da43eed6-0a10-494e-8cab-22947c175f7d", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 582, array: 0x7f4b1c010c70 } } } }
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004cf0, 0x7f4b30001bd0
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001bd0, 0x7f4b1c010b60
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001bd0, 0x7f4b30000e00
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30000e00, 0x7f4b1c032560
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30000e00, 0x7f4b30001e90
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001e90, 0x7f4b1c010b60
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001e90, 0x7f4b1c010b60
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001e90, 0x7f4b1c010b60
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001e90, 0x7f4b1c010b60
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001e90, 0x7f4b1c032880
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001e90, 0x7f4b300040e0
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300040e0, 0x7f4b30001e90
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001e90, 0x7f4b300040e0
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300040e0, 0x7f4b1c010b60
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b300040e0
[2022-05-09T12:34:54Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/da43eed6-0a10-494e-8cab-22947c175f7d", content_type: Some("application/json"), user_properties: {"type": "io.drogue.connection.v1", "device": "device1", "source": "drogue://da43eed6%2D0a10%2D494e%2D8cab%2D22947c175f7d/device1", "sender": "device1", "senderuid": "1b9737a6-f1b9-447d-ab7e-e89b77a1eeaa", "specversion": "1.0", "id": "2313cd08-7905-48ae-8593-72c84b2a65d9", "deviceuid": "1b9737a6-f1b9-447d-ab7e-e89b77a1eeaa", "subject": "connection", "instance": "drogue", "time": "2022-05-09T12:34:53.938382565+00:00", "application": "da43eed6-0a10-494e-8cab-22947c175f7d", "partitionkey": "da43eed6%2D0a10%2D494e%2D8cab%2D22947c175f7d/device1", "applicationuid": "c86af692-8d69-4f23-ac26-4f6e6e4b83cf"}, payload: "{\"connected\":false}" }
[2022-05-09T12:34:54Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 584, array: 0x7f4b1c00dfd0 } }, data: MessageData { topic: "app/da43eed6-0a10-494e-8cab-22947c175f7d", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 584, array: 0x7f4b1c00dfd0 } } } }
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30003a10, 0x7f4b30001bd0
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001bd0, 0x7f4b1c003800
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001bd0, 0x7f4b1c010860
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b1c010860, 0x7f4b1c00c650
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b1c010860, 0x7f4b30001bf0
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001bf0, 0x7f4b1c003800
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001bf0, 0x7f4b1c003800
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001bf0, 0x7f4b1c003800
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001bf0, 0x7f4b30000e00
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30000e00, 0x7f4b1c002980
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30000e00, 0x7f4b1c003800
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30000e00, 0x7f4b1c003800
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30000e00, 0x7f4b30001e90
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001e90, 0x7f4b30000e00
[2022-05-09T12:34:54Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b3000bb80
[2022-05-09T12:34:54Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/da43eed6-0a10-494e-8cab-22947c175f7d", content_type: Some("application/octet-stream"), user_properties: {"source": "drogue://da43eed6%2D0a10%2D494e%2D8cab%2D22947c175f7d/device1", "application": "da43eed6-0a10-494e-8cab-22947c175f7d", "sender": "device1", "partitionkey": "da43eed6%2D0a10%2D494e%2D8cab%2D22947c175f7d/device1", "applicationuid": "c86af692-8d69-4f23-ac26-4f6e6e4b83cf", "device": "device1", "deviceuid": "1b9737a6-f1b9-447d-ab7e-e89b77a1eeaa", "instance": "drogue", "id": "3b55fc64-d6d8-4715-9309-1d5e55549cf2", "senderuid": "1b9737a6-f1b9-447d-ab7e-e89b77a1eeaa", "specversion": "1.0", "subject": "telemetry", "time": "2022-05-09T12:34:53.927295946+00:00", "type": "io.drogue.event.v1"}, payload: "" }
[2022-05-09T12:34:54Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:34:54Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:34:54Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:34:54Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "da43eed6-0a10-494e-8cab-22947c175f7d", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "da43eed6-0a10-494e-8cab-22947c175f7d", device: "device1", sender: "device1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:34:55Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:34:55Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "da43eed6-0a10-494e-8cab-22947c175f7d" "device1"
[2022-05-09T12:34:55Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:34:55Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'da43eed6-0a10-494e-8cab-22947c175f7d'
[2022-05-09T12:34:55Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "da43eed6-0a10-494e-8cab-22947c175f7d"
[2022-05-09T12:34:55Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App da43eed6-0a10-494e-8cab-22947c175f7d deleted.\n", stderr: "" })

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

Duration: 14s

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

Duration: 15s

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

Duration: 15s

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

Duration: 15s

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

Duration: 15s

❌ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_1::integration_version_3::integration_ws_2

Duration: 15s

Test output
-------------- TEST START --------------
[2022-05-09T12:36:12Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:36:12Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:36:12Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:36:12Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:36:12Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:36:13Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:36:14Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:36:14Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:36:14Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:36:14Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:36:17Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDE1NzYsImlhdCI6MTY1MjA5OTc3NiwianRpIjoiYzJjYzgyOWItZTc5YS00NGNiLWExZTYtOTk2ZDdjNmQ0ZTlmIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6InQ4Z0ZWdXdQT1EwMjBMQzFyWXJtTkEiLCJzZXNzaW9uX3N0YXRlIjoiMWVlYmM3NTgtOWFmYi00NWYzLThkYTktODVlZWRjNTc0ODQyIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjFlZWJjNzU4LTlhZmItNDVmMy04ZGE5LTg1ZWVkYzU3NDg0MiJ9.FkW4OfyqSm1LTbm5rWflS_3DPbUaDowDvKgp-5jLNQk
[2022-05-09T12:36:17Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:36:17Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:36:17Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDE1NzYsImlhdCI6MTY1MjA5OTc3NiwianRpIjoiYzJjYzgyOWItZTc5YS00NGNiLWExZTYtOTk2ZDdjNmQ0ZTlmIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6InQ4Z0ZWdXdQT1EwMjBMQzFyWXJtTkEiLCJzZXNzaW9uX3N0YXRlIjoiMWVlYmM3NTgtOWFmYi00NWYzLThkYTktODVlZWRjNTc0ODQyIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjFlZWJjNzU4LTlhZmItNDVmMy04ZGE5LTg1ZWVkYzU3NDg0MiJ9.FkW4OfyqSm1LTbm5rWflS_3DPbUaDowDvKgp-5jLNQk" "--context" "system-tests"
[2022-05-09T12:36:17Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:36:17Z INFO  drogue_cloud_tests::resources::apps] Create application: 0ccd4c58-9dbe-4cc0-84a9-661fd1975717
[2022-05-09T12:36:17Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "0ccd4c58-9dbe-4cc0-84a9-661fd1975717"
[2022-05-09T12:36:17Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 0ccd4c58-9dbe-4cc0-84a9-661fd1975717 created.\n", stderr: "" })
[2022-05-09T12:36:17Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "0ccd4c58-9dbe-4cc0-84a9-661fd1975717"
[2022-05-09T12:36:17Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:36:17.937905Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"0ccd4c58-9dbe-4cc0-84a9-661fd1975717\",\n    \"resourceVersion\": \"18238fa3-1791-4fd4-a245-2d5d6011ab29\",\n    \"uid\": \"e7c7a8b7-7ec8-45b4-85ae-0b512fffd78c\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:36:17.956750682Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:36:17.956656105Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:36:17.956455088Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:36:17.956514940Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:36:17.956515661Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:36:17.956516593Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:36:17.956517635Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:36:17.956580964Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:36:17Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:36:17.937905Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("0ccd4c58-9dbe-4cc0-84a9-661fd1975717"), "resourceVersion": String("18238fa3-1791-4fd4-a245-2d5d6011ab29"), "uid": String("e7c7a8b7-7ec8-45b4-85ae-0b512fffd78c")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:36:17.956750682Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:36:17.956656105Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:36:17.956455088Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:36:17.956514940Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:36:17.956515661Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:36:17.956516593Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:36:17.956517635Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:36:17.956580964Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T12:36:17Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:36:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "0ccd4c58-9dbe-4cc0-84a9-661fd1975717"
[2022-05-09T12:36:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:36:17.937905Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"0ccd4c58-9dbe-4cc0-84a9-661fd1975717\",\n    \"resourceVersion\": \"ed6c5d37-3bc0-4d2d-a681-ee7d7dd4e535\",\n    \"uid\": \"e7c7a8b7-7ec8-45b4-85ae-0b512fffd78c\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:36:18.330787078Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:36:18.330744959Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:36:17.981030781Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:36:17.987070866Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:36:18.079508522Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:36:18.088049347Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:36:18.330697340Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:36:18.330716956Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"scTmXSzW7GM1\",\n        \"username\": \"user-0ccd4c58-9dbe-4cc0-84a9-661fd1975717\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:36:18Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:36:17.937905Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("0ccd4c58-9dbe-4cc0-84a9-661fd1975717"), "resourceVersion": String("ed6c5d37-3bc0-4d2d-a681-ee7d7dd4e535"), "uid": String("e7c7a8b7-7ec8-45b4-85ae-0b512fffd78c")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:36:18.330787078Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:36:18.330744959Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:36:17.981030781Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:36:17.987070866Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:36:18.079508522Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:36:18.088049347Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:36:18.330697340Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:36:18.330716956Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("scTmXSzW7GM1"), "username": String("user-0ccd4c58-9dbe-4cc0-84a9-661fd1975717")})})})})
[2022-05-09T12:36:18Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:36:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "0ccd4c58-9dbe-4cc0-84a9-661fd1975717"
[2022-05-09T12:36:19Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:36:17.937905Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"0ccd4c58-9dbe-4cc0-84a9-661fd1975717\",\n    \"resourceVersion\": \"ed6c5d37-3bc0-4d2d-a681-ee7d7dd4e535\",\n    \"uid\": \"e7c7a8b7-7ec8-45b4-85ae-0b512fffd78c\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:36:18.330787078Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:36:18.330744959Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:36:17.981030781Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:36:17.987070866Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:36:18.079508522Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:36:18.088049347Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:36:18.330697340Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:36:18.330716956Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"scTmXSzW7GM1\",\n        \"username\": \"user-0ccd4c58-9dbe-4cc0-84a9-661fd1975717\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:36:19Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:36:17.937905Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("0ccd4c58-9dbe-4cc0-84a9-661fd1975717"), "resourceVersion": String("ed6c5d37-3bc0-4d2d-a681-ee7d7dd4e535"), "uid": String("e7c7a8b7-7ec8-45b4-85ae-0b512fffd78c")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:36:18.330787078Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:36:18.330744959Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:36:17.981030781Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:36:17.987070866Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:36:18.079508522Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:36:18.088049347Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:36:18.330697340Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:36:18.330716956Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("scTmXSzW7GM1"), "username": String("user-0ccd4c58-9dbe-4cc0-84a9-661fd1975717")})})})})
[2022-05-09T12:36:19Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:36:19Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:36:19Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:36:19Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:36:19Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIxMDAwNzcsImlhdCI6MTY1MjA5OTc3NywiYXV0aF90aW1lIjoxNjUyMDk5NzczLCJqdGkiOiJhMzk2MWRlMC0wNWRjLTQ5YmEtOWMyNy1jM2Q2NDg5ZGFkMDgiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ0OGdGVnV3UE9RMDIwTEMxcllybU5BIiwic2Vzc2lvbl9zdGF0ZSI6IjFlZWJjNzU4LTlhZmItNDVmMy04ZGE5LTg1ZWVkYzU3NDg0MiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjFlZWJjNzU4LTlhZmItNDVmMy04ZGE5LTg1ZWVkYzU3NDg0MiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.aMWrwAaMOwKDQJbRyG53FvVa50fffRaa3F08qMn_H6QE7rcKvfzSRiFNeMR78cX1R4zRbYb7YJ8Kml1ZYCQ4YCmuZDoPaipD18dvRIBWfGMOWhSlfCXsdWOixxWqm90wPd8Lq2FV8neeFvIO0zconfPKfZDCSd50kbm4J89bj07X2uWbj9fQr7JWaH1uXEiGXG1v3sKn5imvxxum8esDJwexhWiix7LkpYd5aRKq6QOb6J3BfU0nSqPA2OXppREdTSr_kYpta5w56w4OCS343MKKAvsI5kq2dqoE8Jui30G-f9D0xR1AxfLBOkzZAzxa_m7QB1WmlVJc3fGQDwzQZg\n", stderr: "" })
[2022-05-09T12:36:19Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:36:19Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:36:19Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:36:19Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "0ccd4c58-9dbe-4cc0-84a9-661fd1975717" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:36:19Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:36:19Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T12:36:19Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:36:19Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIxMDAwNzcsImlhdCI6MTY1MjA5OTc3NywiYXV0aF90aW1lIjoxNjUyMDk5NzczLCJqdGkiOiJhMzk2MWRlMC0wNWRjLTQ5YmEtOWMyNy1jM2Q2NDg5ZGFkMDgiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ0OGdGVnV3UE9RMDIwTEMxcllybU5BIiwic2Vzc2lvbl9zdGF0ZSI6IjFlZWJjNzU4LTlhZmItNDVmMy04ZGE5LTg1ZWVkYzU3NDg0MiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjFlZWJjNzU4LTlhZmItNDVmMy04ZGE5LTg1ZWVkYzU3NDg0MiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.aMWrwAaMOwKDQJbRyG53FvVa50fffRaa3F08qMn_H6QE7rcKvfzSRiFNeMR78cX1R4zRbYb7YJ8Kml1ZYCQ4YCmuZDoPaipD18dvRIBWfGMOWhSlfCXsdWOixxWqm90wPd8Lq2FV8neeFvIO0zconfPKfZDCSd50kbm4J89bj07X2uWbj9fQr7JWaH1uXEiGXG1v3sKn5imvxxum8esDJwexhWiix7LkpYd5aRKq6QOb6J3BfU0nSqPA2OXppREdTSr_kYpta5w56w4OCS343MKKAvsI5kq2dqoE8Jui30G-f9D0xR1AxfLBOkzZAzxa_m7QB1WmlVJc3fGQDwzQZg\n", stderr: "" })
[2022-05-09T12:36:19Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "93c138ba-9899-42cb-977c-6973b4938a80", persistence: None, user_data: None }
[2022-05-09T12:36:19Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:36:19Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717a087a0
[2022-05-09T12:36:19Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717a087a0
[2022-05-09T12:36:19Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561717a08e10, connectTimeout: 30, retryInterval: 0, ssl: 0x561717a2d0f0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x56171783d0c0, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIxMDAwNzcsImlhdCI6MTY1MjA5OTc3NywiYXV0aF90aW1lIjoxNjUyMDk5NzczLCJqdGkiOiJhMzk2MWRlMC0wNWRjLTQ5YmEtOWMyNy1jM2Q2NDg5ZGFkMDgiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ0OGdGVnV3UE9RMDIwTEMxcllybU5BIiwic2Vzc2lvbl9zdGF0ZSI6IjFlZWJjNzU4LTlhZmItNDVmMy04ZGE5LTg1ZWVkYzU3NDg0MiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjFlZWJjNzU4LTlhZmItNDVmMy04ZGE5LTg1ZWVkYzU3NDg0MiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.aMWrwAaMOwKDQJbRyG53FvVa50fffRaa3F08qMn_H6QE7rcKvfzSRiFNeMR78cX1R4zRbYb7YJ8Kml1ZYCQ4YCmuZDoPaipD18dvRIBWfGMOWhSlfCXsdWOixxWqm90wPd8Lq2FV8neeFvIO0zconfPKfZDCSd50kbm4J89bj07X2uWbj9fQr7JWaH1uXEiGXG1v3sKn5imvxxum8esDJwexhWiix7LkpYd5aRKq6QOb6J3BfU0nSqPA2OXppREdTSr_kYpta5w56w4OCS343MKKAvsI5kq2dqoE8Jui30G-f9D0xR1AxfLBOkzZAzxa_m7QB1WmlVJc3fGQDwzQZg"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:36:19Z DEBUG paho_mqtt::async_client] Subscribe to '"app/0ccd4c58-9dbe-4cc0-84a9-661fd1975717"' @ QOS 0
[2022-05-09T12:36:19Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:36:19Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:36:19Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:36:19Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:36:19Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:36:19Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:36:20Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:36:20Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:36:20Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:36:20Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:36:21Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:36:21Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:36:21Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:36:21Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:36:22Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:36:22Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:36:22Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:36:22Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:36:22Z 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: 0x7f4b1c0140e0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 573, array: 0x561717b68b30 } }, data: MessageData { topic: "app/0ccd4c58-9dbe-4cc0-84a9-661fd1975717", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 573, array: 0x561717b68b30 } } } }
[2022-05-09T12:36:22Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x5617179682e0, 0x561717bcc050
[2022-05-09T12:36:22Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717bcc050, 0x561717bcd450
[2022-05-09T12:36:22Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717bcc050, 0x56171784cc50
[2022-05-09T12:36:22Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x56171784cc50, 0x561717bcc770
[2022-05-09T12:36:22Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x56171784cc50, 0x7f4b30005300
[2022-05-09T12:36:22Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30005300, 0x561717bcd450
[2022-05-09T12:36:22Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30005300, 0x7f4b30001cc0
[2022-05-09T12:36:22Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001cc0, 0x561717bcd450
[2022-05-09T12:36:22Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001cc0, 0x561717c82ed0
[2022-05-09T12:36:22Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001cc0, 0x561717bcd450
[2022-05-09T12:36:22Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001cc0, 0x7f4b30001eb0
[2022-05-09T12:36:22Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001eb0, 0x561717bcd450
[2022-05-09T12:36:22Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001eb0, 0x7f4b30004310
[2022-05-09T12:36:22Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004310, 0x561717bcd450
[2022-05-09T12:36:22Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b30004310
[2022-05-09T12:36:22Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/0ccd4c58-9dbe-4cc0-84a9-661fd1975717", content_type: Some("application/json"), user_properties: {"source": "drogue://0ccd4c58%2D9dbe%2D4cc0%2D84a9%2D661fd1975717/device1", "partitionkey": "0ccd4c58%2D9dbe%2D4cc0%2D84a9%2D661fd1975717/device1", "specversion": "1.0", "type": "io.drogue.event.v1", "sender": "device1", "senderuid": "f4607149-10a0-4d23-84d6-28befde70fde", "subject": "warmup", "applicationuid": "e7c7a8b7-7ec8-45b4-85ae-0b512fffd78c", "device": "device1", "time": "2022-05-09T12:36:22.519574186+00:00", "id": "9bd93b32-9a3d-4c5a-8478-edb2d15c9233", "deviceuid": "f4607149-10a0-4d23-84d6-28befde70fde", "instance": "drogue", "application": "0ccd4c58-9dbe-4cc0-84a9-661fd1975717"}, payload: "{\"index\":3}" }
[2022-05-09T12:36:23Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:36:23Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:36:23Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:36:23Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry
[2022-05-09T12:36:23Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "15dff4d0-ab10-4ae5-8f77-6702d99238f3", persistence: None, user_data: None }
[2022-05-09T12:36:23Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:36:23Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717a098a0
[2022-05-09T12:36:23Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717a098a0
[2022-05-09T12:36:23Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717a9b910, password: 0x561717a9b8f0, connectTimeout: 30, retryInterval: 0, ssl: 0x561717b68660, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717a9b610, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("device1@0ccd4c58-9dbe-4cc0-84a9-661fd1975717"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:36:23Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 18, payload: 0x7f4b1c00aa20, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 582, array: 0x56171787def0 } }, data: MessageData { topic: "app/0ccd4c58-9dbe-4cc0-84a9-661fd1975717", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 582, array: 0x56171787def0 } } } }
[2022-05-09T12:36:23Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717956840, 0x5617179e94c0
[2022-05-09T12:36:23Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x5617179e94c0, 0x7f4b1c014400
[2022-05-09T12:36:23Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x5617179e94c0, 0x561717bcc050
[2022-05-09T12:36:23Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717bcc050, 0x7f4b1c019bf0
[2022-05-09T12:36:23Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717bcc050, 0x7f4b30004310
[2022-05-09T12:36:23Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004310, 0x7f4b1c014400
[2022-05-09T12:36:23Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004310, 0x7f4b1c014400
[2022-05-09T12:36:23Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004310, 0x7f4b30004330
[2022-05-09T12:36:23Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004330, 0x7f4b30004310
[2022-05-09T12:36:23Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004310, 0x7f4b1c01acf0
[2022-05-09T12:36:23Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004310, 0x7f4b1c014400
[2022-05-09T12:36:23Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004310, 0x7f4b1c014400
[2022-05-09T12:36:23Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004310, 0x7f4b30005300
[2022-05-09T12:36:23Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30005300, 0x7f4b1c014400
[2022-05-09T12:36:23Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b30005300
[2022-05-09T12:36:23Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/0ccd4c58-9dbe-4cc0-84a9-661fd1975717", content_type: Some("application/json"), user_properties: {"source": "drogue://0ccd4c58%2D9dbe%2D4cc0%2D84a9%2D661fd1975717/device1", "id": "73eb8c32-9446-4bee-9069-73fb9d31e7e2", "specversion": "1.0", "subject": "connection", "time": "2022-05-09T12:36:23.830722733+00:00", "applicationuid": "e7c7a8b7-7ec8-45b4-85ae-0b512fffd78c", "sender": "device1", "type": "io.drogue.connection.v1", "partitionkey": "0ccd4c58%2D9dbe%2D4cc0%2D84a9%2D661fd1975717/device1", "application": "0ccd4c58-9dbe-4cc0-84a9-661fd1975717", "device": "device1", "senderuid": "f4607149-10a0-4d23-84d6-28befde70fde", "instance": "drogue", "deviceuid": "f4607149-10a0-4d23-84d6-28befde70fde"}, payload: "{\"connected\":true}" }
[2022-05-09T12:36:23Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x5617178a4540 } }, data: MessageData { topic: "telemetry", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x5617178a4540 } } } }
[2022-05-09T12:36:23Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:36:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 19, payload: 0x7f4b1c007f50, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 582, array: 0x561717b97810 } }, data: MessageData { topic: "app/0ccd4c58-9dbe-4cc0-84a9-661fd1975717", payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 582, array: 0x561717b97810 } } } }
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561717f4f570, 0x7f4b28001060
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001060, 0x7f4b30000bf0
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28001060, 0x7f4b28007830
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28007830, 0x7f4b28007170
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28007830, 0x7f4b28005330
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005330, 0x7f4b30000bf0
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005330, 0x561717a9b910
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005330, 0x7f4b30000bf0
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005330, 0x7f4b30000bf0
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005330, 0x7f4b28005750
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005750, 0x7f4b28005330
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005330, 0x7f4b28005750
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005750, 0x7f4b30000bf0
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b28005750, 0x7f4b30000bf0
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b28005750
[2022-05-09T12:36:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/0ccd4c58-9dbe-4cc0-84a9-661fd1975717", content_type: Some("application/json"), user_properties: {"instance": "drogue", "type": "io.drogue.connection.v1", "specversion": "1.0", "sender": "device1", "partitionkey": "0ccd4c58%2D9dbe%2D4cc0%2D84a9%2D661fd1975717/device1", "senderuid": "f4607149-10a0-4d23-84d6-28befde70fde", "time": "2022-05-09T12:36:23.994228302+00:00", "subject": "connection", "applicationuid": "e7c7a8b7-7ec8-45b4-85ae-0b512fffd78c", "deviceuid": "f4607149-10a0-4d23-84d6-28befde70fde", "id": "1d914951-d73c-4736-a217-9066d0c31f86", "source": "drogue://0ccd4c58%2D9dbe%2D4cc0%2D84a9%2D661fd1975717/device1", "device": "device1", "application": "0ccd4c58-9dbe-4cc0-84a9-661fd1975717"}, payload: "{\"connected\":false}" }
[2022-05-09T12:36:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 584, array: 0x561717bc0490 } }, data: MessageData { topic: "app/0ccd4c58-9dbe-4cc0-84a9-661fd1975717", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 584, array: 0x561717bc0490 } } } }
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b300042d0, 0x7f4b30001e70
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001e70, 0x7f4b1c00abb0
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001e70, 0x5617179e94c0
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x5617179e94c0, 0x7f4b1c02fc30
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x5617179e94c0, 0x7f4b30004310
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004310, 0x7f4b1c00abb0
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004310, 0x7f4b1c00abb0
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004310, 0x7f4b1c00abb0
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30004310, 0x7f4b30001e50
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001e50, 0x7f4b1c00abb0
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001e50, 0x7f4b30001e90
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001e90, 0x7f4b1c02f4c0
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001e90, 0x7f4b1c00abb0
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f4b30001e90, 0x7f4b300096e0
[2022-05-09T12:36:24Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f4b30004c30
[2022-05-09T12:36:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/0ccd4c58-9dbe-4cc0-84a9-661fd1975717", content_type: Some("application/octet-stream"), user_properties: {"time": "2022-05-09T12:36:23.990801976+00:00", "instance": "drogue", "senderuid": "f4607149-10a0-4d23-84d6-28befde70fde", "applicationuid": "e7c7a8b7-7ec8-45b4-85ae-0b512fffd78c", "application": "0ccd4c58-9dbe-4cc0-84a9-661fd1975717", "sender": "device1", "device": "device1", "type": "io.drogue.event.v1", "partitionkey": "0ccd4c58%2D9dbe%2D4cc0%2D84a9%2D661fd1975717/device1", "id": "2a176111-523f-4b54-987f-e9ffdd687c7b", "deviceuid": "f4607149-10a0-4d23-84d6-28befde70fde", "source": "drogue://0ccd4c58%2D9dbe%2D4cc0%2D84a9%2D661fd1975717/device1", "subject": "telemetry", "specversion": "1.0"}, payload: "" }
[2022-05-09T12:36:24Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:36:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:36:24Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:36:24Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "0ccd4c58-9dbe-4cc0-84a9-661fd1975717", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "0ccd4c58-9dbe-4cc0-84a9-661fd1975717", device: "device1", sender: "device1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:36:25Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:36:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "0ccd4c58-9dbe-4cc0-84a9-661fd1975717" "device1"
[2022-05-09T12:36:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:36:25Z INFO  drogue_cloud_tests::resources::apps] Destroy application '0ccd4c58-9dbe-4cc0-84a9-661fd1975717'
[2022-05-09T12:36:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "0ccd4c58-9dbe-4cc0-84a9-661fd1975717"
[2022-05-09T12:36:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 0ccd4c58-9dbe-4cc0-84a9-661fd1975717 deleted.\n", stderr: "" })

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

Duration: 15s

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

Duration: 15s

❌ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_2::integration_version_2::integration_ws_1

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T12:36:57Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:36:57Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:36:57Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:36:57Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:36:57Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:36:58Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:36:59Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:36:59Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:36:59Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:36:59Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:37:01Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDE2MjEsImlhdCI6MTY1MjA5OTgyMSwianRpIjoiZDRiMDZjZjUtNThlZC00YjZmLWJmODktNTUwYTU2ZWI5ODM0IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImFRbVcwRkN3MnFERjdFNjVIaW9YVUEiLCJzZXNzaW9uX3N0YXRlIjoiYzZhYmI0MDQtZmY5ZC00MzczLTgzZjEtYjhjNjUxZDMwZDAxIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImM2YWJiNDA0LWZmOWQtNDM3My04M2YxLWI4YzY1MWQzMGQwMSJ9.6aPPqMz17NkOKTkaMxxb2gUEWw8lsJVYahsQGuuqwNc
[2022-05-09T12:37:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:37:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:37:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDE2MjEsImlhdCI6MTY1MjA5OTgyMSwianRpIjoiZDRiMDZjZjUtNThlZC00YjZmLWJmODktNTUwYTU2ZWI5ODM0IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImFRbVcwRkN3MnFERjdFNjVIaW9YVUEiLCJzZXNzaW9uX3N0YXRlIjoiYzZhYmI0MDQtZmY5ZC00MzczLTgzZjEtYjhjNjUxZDMwZDAxIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImM2YWJiNDA0LWZmOWQtNDM3My04M2YxLWI4YzY1MWQzMGQwMSJ9.6aPPqMz17NkOKTkaMxxb2gUEWw8lsJVYahsQGuuqwNc" "--context" "system-tests"
[2022-05-09T12:37:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:37:02Z INFO  drogue_cloud_tests::resources::apps] Create application: 987717bc-1bbe-4eb8-94f6-b4b9160098d3
[2022-05-09T12:37:02Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "987717bc-1bbe-4eb8-94f6-b4b9160098d3"
[2022-05-09T12:37:02Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 987717bc-1bbe-4eb8-94f6-b4b9160098d3 created.\n", stderr: "" })
[2022-05-09T12:37:02Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "987717bc-1bbe-4eb8-94f6-b4b9160098d3"
[2022-05-09T12:37:02Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:37:02.926556Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"987717bc-1bbe-4eb8-94f6-b4b9160098d3\",\n    \"resourceVersion\": \"22a3026d-2e3f-4abc-bf70-bdfcb240db6b\",\n    \"uid\": \"b8810570-cfe0-4016-a045-792be3bc97e3\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:37:02.937248951Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:37:02.937273457Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:02.937198336Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:02.937200871Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:02.937201612Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:02.937202374Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:02.937202875Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:02.937223243Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:37:02Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:37:02.926556Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("987717bc-1bbe-4eb8-94f6-b4b9160098d3"), "resourceVersion": String("22a3026d-2e3f-4abc-bf70-bdfcb240db6b"), "uid": String("b8810570-cfe0-4016-a045-792be3bc97e3")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:37:02.937248951Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:37:02.937273457Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:37:02.937198336Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:37:02.937200871Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:37:02.937201612Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:37:02.937202374Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:37:02.937202875Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:37:02.937223243Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T12:37:02Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:37:03Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "987717bc-1bbe-4eb8-94f6-b4b9160098d3"
[2022-05-09T12:37:03Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:37:02.926556Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"987717bc-1bbe-4eb8-94f6-b4b9160098d3\",\n    \"resourceVersion\": \"530aa072-d696-43cc-bda0-4dbf642d0f9e\",\n    \"uid\": \"b8810570-cfe0-4016-a045-792be3bc97e3\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:37:03.377337005Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:37:03.377512865Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:02.971184756Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:02.977446347Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:03.050812681Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:03.060178984Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:03.377128073Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:03.377299434Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"AZXC7gZqZXur\",\n        \"username\": \"user-987717bc-1bbe-4eb8-94f6-b4b9160098d3\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:37:03Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:37:02.926556Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("987717bc-1bbe-4eb8-94f6-b4b9160098d3"), "resourceVersion": String("530aa072-d696-43cc-bda0-4dbf642d0f9e"), "uid": String("b8810570-cfe0-4016-a045-792be3bc97e3")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:37:03.377337005Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:37:03.377512865Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:37:02.971184756Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:37:02.977446347Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:37:03.050812681Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:37:03.060178984Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:37:03.377128073Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:37:03.377299434Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("AZXC7gZqZXur"), "username": String("user-987717bc-1bbe-4eb8-94f6-b4b9160098d3")})})})})
[2022-05-09T12:37:03Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:37:03Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "987717bc-1bbe-4eb8-94f6-b4b9160098d3"
[2022-05-09T12:37:03Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:37:02.926556Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"987717bc-1bbe-4eb8-94f6-b4b9160098d3\",\n    \"resourceVersion\": \"530aa072-d696-43cc-bda0-4dbf642d0f9e\",\n    \"uid\": \"b8810570-cfe0-4016-a045-792be3bc97e3\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:37:03.377337005Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:37:03.377512865Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:02.971184756Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:02.977446347Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:03.050812681Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:03.060178984Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:03.377128073Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:03.377299434Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"AZXC7gZqZXur\",\n        \"username\": \"user-987717bc-1bbe-4eb8-94f6-b4b9160098d3\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:37:03Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:37:02.926556Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("987717bc-1bbe-4eb8-94f6-b4b9160098d3"), "resourceVersion": String("530aa072-d696-43cc-bda0-4dbf642d0f9e"), "uid": String("b8810570-cfe0-4016-a045-792be3bc97e3")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:37:03.377337005Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T12:37:03.377512865Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:37:02.971184756Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:37:02.977446347Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:37:03.050812681Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:37:03.060178984Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:37:03.377128073Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:37:03.377299434Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("AZXC7gZqZXur"), "username": String("user-987717bc-1bbe-4eb8-94f6-b4b9160098d3")})})})})
[2022-05-09T12:37:03Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:37:03Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:37:03Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:37:03Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:37:04Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIxMDAxMjEsImlhdCI6MTY1MjA5OTgyMSwiYXV0aF90aW1lIjoxNjUyMDk5ODE4LCJqdGkiOiI1OGRhZGJjMy1lMGI4LTQ3ODMtOTljMC04OTA3MzdjNjQ1ZmEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJhUW1XMEZDdzJxREY3RTY1SGlvWFVBIiwic2Vzc2lvbl9zdGF0ZSI6ImM2YWJiNDA0LWZmOWQtNDM3My04M2YxLWI4YzY1MWQzMGQwMSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImM2YWJiNDA0LWZmOWQtNDM3My04M2YxLWI4YzY1MWQzMGQwMSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.j97WNji8gbMcs6RZFailN86z8N5k_ABxxXqHH6uB66I1qc_Y3vE1O4ArKNogITj3t3UXAx8_meUeRWMea07zxhRgn6-T-GSHj0oxT6LS8_CbEITe9bNqAMdeVeh8AArV4q3AYt4OBLCLo0SaDUxoOY1e3tin7sl6UsILBSdF7pcjuXE6if8QROI9HvHgK0vLLExb2SAjai69MFWQWVjNKVeDYM7Ah6pwCaJBdWE9StjNQN6PNe92gnzcUFkp_bNP6pv9eO_jp32hCXoUyiMRjP0ze-1_XUkw-X3ajJ7hW26uPzP_rJsI5g2KdswjOKx6_FxHbdLuw1BNiC473t9cJg\n", stderr: "" })
[2022-05-09T12:37:04Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:37:04Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:37:04Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:37:04Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "987717bc-1bbe-4eb8-94f6-b4b9160098d3" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:37:04Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:37:04Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T12:37:04Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:37:04Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIxMDAxMjEsImlhdCI6MTY1MjA5OTgyMSwiYXV0aF90aW1lIjoxNjUyMDk5ODE4LCJqdGkiOiI1OGRhZGJjMy1lMGI4LTQ3ODMtOTljMC04OTA3MzdjNjQ1ZmEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJhUW1XMEZDdzJxREY3RTY1SGlvWFVBIiwic2Vzc2lvbl9zdGF0ZSI6ImM2YWJiNDA0LWZmOWQtNDM3My04M2YxLWI4YzY1MWQzMGQwMSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImM2YWJiNDA0LWZmOWQtNDM3My04M2YxLWI4YzY1MWQzMGQwMSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.j97WNji8gbMcs6RZFailN86z8N5k_ABxxXqHH6uB66I1qc_Y3vE1O4ArKNogITj3t3UXAx8_meUeRWMea07zxhRgn6-T-GSHj0oxT6LS8_CbEITe9bNqAMdeVeh8AArV4q3AYt4OBLCLo0SaDUxoOY1e3tin7sl6UsILBSdF7pcjuXE6if8QROI9HvHgK0vLLExb2SAjai69MFWQWVjNKVeDYM7Ah6pwCaJBdWE9StjNQN6PNe92gnzcUFkp_bNP6pv9eO_jp32hCXoUyiMRjP0ze-1_XUkw-X3ajJ7hW26uPzP_rJsI5g2KdswjOKx6_FxHbdLuw1BNiC473t9cJg\n", stderr: "" })
[2022-05-09T12:37:04Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "64a190f1-b00a-4e78-b047-5893d25d27f7", persistence: None, user_data: None }
[2022-05-09T12:37:04Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:37:04Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x5617179e9220
[2022-05-09T12:37:04Z DEBUG paho_mqtt::async_client] Connecting handle: 0x5617179e9220
[2022-05-09T12:37:04Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x5617179e98a0, connectTimeout: 30, retryInterval: 0, ssl: 0x561717c83c80, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x5617179b2170, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIxMDAxMjEsImlhdCI6MTY1MjA5OTgyMSwiYXV0aF90aW1lIjoxNjUyMDk5ODE4LCJqdGkiOiI1OGRhZGJjMy1lMGI4LTQ3ODMtOTljMC04OTA3MzdjNjQ1ZmEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJhUW1XMEZDdzJxREY3RTY1SGlvWFVBIiwic2Vzc2lvbl9zdGF0ZSI6ImM2YWJiNDA0LWZmOWQtNDM3My04M2YxLWI4YzY1MWQzMGQwMSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImM2YWJiNDA0LWZmOWQtNDM3My04M2YxLWI4YzY1MWQzMGQwMSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.j97WNji8gbMcs6RZFailN86z8N5k_ABxxXqHH6uB66I1qc_Y3vE1O4ArKNogITj3t3UXAx8_meUeRWMea07zxhRgn6-T-GSHj0oxT6LS8_CbEITe9bNqAMdeVeh8AArV4q3AYt4OBLCLo0SaDUxoOY1e3tin7sl6UsILBSdF7pcjuXE6if8QROI9HvHgK0vLLExb2SAjai69MFWQWVjNKVeDYM7Ah6pwCaJBdWE9StjNQN6PNe92gnzcUFkp_bNP6pv9eO_jp32hCXoUyiMRjP0ze-1_XUkw-X3ajJ7hW26uPzP_rJsI5g2KdswjOKx6_FxHbdLuw1BNiC473t9cJg"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:37:04Z DEBUG paho_mqtt::async_client] Subscribe to '"app/987717bc-1bbe-4eb8-94f6-b4b9160098d3"' @ QOS 0
[2022-05-09T12:37:04Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:37:04Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:37:04Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:37:04Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:37:04Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:37:04Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:37:05Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:37:05Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:37:05Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:37:05Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:37:06Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:37:06Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:37:06Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:37:06Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:37:07Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:37:07Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:37:07Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:37:07Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:37:07Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 620, payload: 0x7f4b1c009510, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c009790 } }, data: MessageData { topic: "app/987717bc-1bbe-4eb8-94f6-b4b9160098d3", 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, 101, 54, 50, 97, 53, 56, 56, 55, 45, 97, 98, 100, 51, 45, 52, 55, 102, 102, 45, 97, 102, 102, 100, 45, 56, 101, 99, 101, 55, 48, 48, 53, 102, 98, 56, 102, 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, 57, 56, 55, 55, 49, 55, 98, 99, 37, 50, 68, 49, 98, 98, 101, 37, 50, 68, 52, 101, 98, 56, 37, 50, 68, 57, 52, 102, 54, 37, 50, 68, 98, 52, 98, 57, 49, 54, 48, 48, 57, 56, 100, 51, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 51, 55, 58, 48, 55, 46, 54, 49, 49, 57, 49, 53, 50, 57, 49, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 98, 56, 56, 49, 48, 53, 55, 48, 45, 99, 102, 101, 48, 45, 52, 48, 49, 54, 45, 97, 48, 52, 53, 45, 55, 57, 50, 98, 101, 51, 98, 99, 57, 55, 101, 51, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 52, 102, 49, 51, 50, 51, 57, 45, 56, 56, 97, 97, 45, 52, 48, 52, 56, 45, 57, 97, 101, 101, 45, 101, 55, 97, 102, 98, 54, 54, 57, 50, 53, 53, 54, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 52, 102, 49, 51, 50, 51, 57, 45, 56, 56, 97, 97, 45, 52, 48, 52, 56, 45, 57, 97, 101, 101, 45, 101, 55, 97, 102, 98, 54, 54, 57, 50, 53, 53, 54, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 57, 56, 55, 55, 49, 55, 98, 99, 45, 49, 98, 98, 101, 45, 52, 101, 98, 56, 45, 57, 52, 102, 54, 45, 98, 52, 98, 57, 49, 54, 48, 48, 57, 56, 100, 51, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 57, 56, 55, 55, 49, 55, 98, 99, 37, 50, 68, 49, 98, 98, 101, 37, 50, 68, 52, 101, 98, 56, 37, 50, 68, 57, 52, 102, 54, 37, 50, 68, 98, 52, 98, 57, 49, 54, 48, 48, 57, 56, 100, 51, 47, 100, 101, 118, 105, 99, 101, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c009790 } } } }
[2022-05-09T12:37:07Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717b411d0
[2022-05-09T12:37:07Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/987717bc-1bbe-4eb8-94f6-b4b9160098d3", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"e62a5887-abd3-47ff-affd-8ece7005fb8f\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://987717bc%2D1bbe%2D4eb8%2D94f6%2Db4b9160098d3/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:37:07.611915291Z\",\"data\":{\"index\":3},\"applicationuid\":\"b8810570-cfe0-4016-a045-792be3bc97e3\",\"senderuid\":\"a4f13239-88aa-4048-9aee-e7afb6692556\",\"sender\":\"device1\",\"instance\":\"drogue\",\"deviceuid\":\"a4f13239-88aa-4048-9aee-e7afb6692556\",\"device\":\"device1\",\"application\":\"987717bc-1bbe-4eb8-94f6-b4b9160098d3\",\"partitionkey\":\"987717bc%2D1bbe%2D4eb8%2D94f6%2Db4b9160098d3/device1\"}" }
[2022-05-09T12:37:08Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:37:08Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:37:08Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:37:08Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry
[2022-05-09T12:37:08Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "a6792e6b-ca69-4d05-becf-f4ee5bb11842", persistence: None, user_data: None }
[2022-05-09T12:37:08Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:37:08Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561717a01080
[2022-05-09T12:37:08Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561717a01080
[2022-05-09T12:37:08Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717cff7a0, password: 0x5617179b3540, connectTimeout: 30, retryInterval: 0, ssl: 0x561717aa6c10, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x561717d00250, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("device1@987717bc-1bbe-4eb8-94f6-b4b9160098d3"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:37:09Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 636, payload: 0x7f4b1c007d50, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c007fe0 } }, data: MessageData { topic: "app/987717bc-1bbe-4eb8-94f6-b4b9160098d3", 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, 99, 49, 51, 49, 56, 57, 53, 100, 45, 102, 52, 57, 55, 45, 52, 53, 49, 98, 45, 57, 97, 51, 99, 45, 48, 48, 56, 53, 97, 51, 51, 50, 49, 101, 53, 53, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 57, 56, 55, 55, 49, 55, 98, 99, 37, 50, 68, 49, 98, 98, 101, 37, 50, 68, 52, 101, 98, 56, 37, 50, 68, 57, 52, 102, 54, 37, 50, 68, 98, 52, 98, 57, 49, 54, 48, 48, 57, 56, 100, 51, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 51, 55, 58, 48, 56, 46, 55, 51, 48, 49, 55, 49, 49, 51, 53, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 52, 102, 49, 51, 50, 51, 57, 45, 56, 56, 97, 97, 45, 52, 48, 52, 56, 45, 57, 97, 101, 101, 45, 101, 55, 97, 102, 98, 54, 54, 57, 50, 53, 53, 54, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 52, 102, 49, 51, 50, 51, 57, 45, 56, 56, 97, 97, 45, 52, 48, 52, 56, 45, 57, 97, 101, 101, 45, 101, 55, 97, 102, 98, 54, 54, 57, 50, 53, 53, 54, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 98, 56, 56, 49, 48, 53, 55, 48, 45, 99, 102, 101, 48, 45, 52, 48, 49, 54, 45, 97, 48, 52, 53, 45, 55, 57, 50, 98, 101, 51, 98, 99, 57, 55, 101, 51, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 57, 56, 55, 55, 49, 55, 98, 99, 45, 49, 98, 98, 101, 45, 52, 101, 98, 56, 45, 57, 52, 102, 54, 45, 98, 52, 98, 57, 49, 54, 48, 48, 57, 56, 100, 51, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 57, 56, 55, 55, 49, 55, 98, 99, 37, 50, 68, 49, 98, 98, 101, 37, 50, 68, 52, 101, 98, 56, 37, 50, 68, 57, 52, 102, 54, 37, 50, 68, 98, 52, 98, 57, 49, 54, 48, 48, 57, 56, 100, 51, 47, 100, 101, 118, 105, 99, 101, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c007fe0 } } } }
[2022-05-09T12:37:09Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717b411d0
[2022-05-09T12:37:09Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717a05c90 } }, data: MessageData { topic: "telemetry", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717a05c90 } } } }
[2022-05-09T12:37:09Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/987717bc-1bbe-4eb8-94f6-b4b9160098d3", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"c131895d-f497-451b-9a3c-0085a3321e55\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://987717bc%2D1bbe%2D4eb8%2D94f6%2Db4b9160098d3/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:37:08.730171135Z\",\"data\":{\"connected\":true},\"deviceuid\":\"a4f13239-88aa-4048-9aee-e7afb6692556\",\"device\":\"device1\",\"sender\":\"device1\",\"senderuid\":\"a4f13239-88aa-4048-9aee-e7afb6692556\",\"applicationuid\":\"b8810570-cfe0-4016-a045-792be3bc97e3\",\"instance\":\"drogue\",\"application\":\"987717bc-1bbe-4eb8-94f6-b4b9160098d3\",\"partitionkey\":\"987717bc%2D1bbe%2D4eb8%2D94f6%2Db4b9160098d3/device1\"}" }
[2022-05-09T12:37:09Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:37:09Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 637, payload: 0x7f4b1c0260b0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c008180 } }, data: MessageData { topic: "app/987717bc-1bbe-4eb8-94f6-b4b9160098d3", 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, 99, 48, 57, 55, 99, 57, 57, 48, 45, 102, 99, 54, 98, 45, 52, 57, 54, 48, 45, 56, 56, 52, 55, 45, 102, 54, 102, 51, 56, 48, 50, 56, 53, 102, 55, 50, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 57, 56, 55, 55, 49, 55, 98, 99, 37, 50, 68, 49, 98, 98, 101, 37, 50, 68, 52, 101, 98, 56, 37, 50, 68, 57, 52, 102, 54, 37, 50, 68, 98, 52, 98, 57, 49, 54, 48, 48, 57, 56, 100, 51, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 51, 55, 58, 48, 57, 46, 48, 56, 51, 57, 55, 51, 54, 57, 57, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 52, 102, 49, 51, 50, 51, 57, 45, 56, 56, 97, 97, 45, 52, 48, 52, 56, 45, 57, 97, 101, 101, 45, 101, 55, 97, 102, 98, 54, 54, 57, 50, 53, 53, 54, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 52, 102, 49, 51, 50, 51, 57, 45, 56, 56, 97, 97, 45, 52, 48, 52, 56, 45, 57, 97, 101, 101, 45, 101, 55, 97, 102, 98, 54, 54, 57, 50, 53, 53, 54, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 57, 56, 55, 55, 49, 55, 98, 99, 45, 49, 98, 98, 101, 45, 52, 101, 98, 56, 45, 57, 52, 102, 54, 45, 98, 52, 98, 57, 49, 54, 48, 48, 57, 56, 100, 51, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 98, 56, 56, 49, 48, 53, 55, 48, 45, 99, 102, 101, 48, 45, 52, 48, 49, 54, 45, 97, 48, 52, 53, 45, 55, 57, 50, 98, 101, 51, 98, 99, 57, 55, 101, 51, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 57, 56, 55, 55, 49, 55, 98, 99, 37, 50, 68, 49, 98, 98, 101, 37, 50, 68, 52, 101, 98, 56, 37, 50, 68, 57, 52, 102, 54, 37, 50, 68, 98, 52, 98, 57, 49, 54, 48, 48, 57, 56, 100, 51, 47, 100, 101, 118, 105, 99, 101, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c008180 } } } }
[2022-05-09T12:37:09Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717b411d0
[2022-05-09T12:37:09Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/987717bc-1bbe-4eb8-94f6-b4b9160098d3", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"c097c990-fc6b-4960-8847-f6f380285f72\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://987717bc%2D1bbe%2D4eb8%2D94f6%2Db4b9160098d3/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:37:09.083973699Z\",\"data\":{\"connected\":false},\"senderuid\":\"a4f13239-88aa-4048-9aee-e7afb6692556\",\"device\":\"device1\",\"sender\":\"device1\",\"instance\":\"drogue\",\"deviceuid\":\"a4f13239-88aa-4048-9aee-e7afb6692556\",\"application\":\"987717bc-1bbe-4eb8-94f6-b4b9160098d3\",\"applicationuid\":\"b8810570-cfe0-4016-a045-792be3bc97e3\",\"partitionkey\":\"987717bc%2D1bbe%2D4eb8%2D94f6%2Db4b9160098d3/device1\"}" }
[2022-05-09T12:37:09Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 629, payload: 0x7f4b1c007d50, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c008180 } }, data: MessageData { topic: "app/987717bc-1bbe-4eb8-94f6-b4b9160098d3", 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, 98, 100, 54, 48, 52, 57, 49, 48, 45, 48, 102, 56, 102, 45, 52, 99, 50, 56, 45, 98, 50, 52, 100, 45, 97, 99, 100, 97, 56, 99, 52, 48, 98, 100, 48, 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, 57, 56, 55, 55, 49, 55, 98, 99, 37, 50, 68, 49, 98, 98, 101, 37, 50, 68, 52, 101, 98, 56, 37, 50, 68, 57, 52, 102, 54, 37, 50, 68, 98, 52, 98, 57, 49, 54, 48, 48, 57, 56, 100, 51, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 51, 55, 58, 48, 57, 46, 48, 55, 57, 53, 48, 50, 55, 50, 54, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 52, 102, 49, 51, 50, 51, 57, 45, 56, 56, 97, 97, 45, 52, 48, 52, 56, 45, 57, 97, 101, 101, 45, 101, 55, 97, 102, 98, 54, 54, 57, 50, 53, 53, 54, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 52, 102, 49, 51, 50, 51, 57, 45, 56, 56, 97, 97, 45, 52, 48, 52, 56, 45, 57, 97, 101, 101, 45, 101, 55, 97, 102, 98, 54, 54, 57, 50, 53, 53, 54, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 57, 56, 55, 55, 49, 55, 98, 99, 37, 50, 68, 49, 98, 98, 101, 37, 50, 68, 52, 101, 98, 56, 37, 50, 68, 57, 52, 102, 54, 37, 50, 68, 98, 52, 98, 57, 49, 54, 48, 48, 57, 56, 100, 51, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 98, 56, 56, 49, 48, 53, 55, 48, 45, 99, 102, 101, 48, 45, 52, 48, 49, 54, 45, 97, 48, 52, 53, 45, 55, 57, 50, 98, 101, 51, 98, 99, 57, 55, 101, 51, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 57, 56, 55, 55, 49, 55, 98, 99, 45, 49, 98, 98, 101, 45, 52, 101, 98, 56, 45, 57, 52, 102, 54, 45, 98, 52, 98, 57, 49, 54, 48, 48, 57, 56, 100, 51, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c008180 } } } }
[2022-05-09T12:37:09Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717b411d0
[2022-05-09T12:37:09Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/987717bc-1bbe-4eb8-94f6-b4b9160098d3", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"bd604910-0f8f-4c28-b24d-acda8c40bd05\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://987717bc%2D1bbe%2D4eb8%2D94f6%2Db4b9160098d3/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:37:09.079502726Z\",\"data_base64\":\"\",\"senderuid\":\"a4f13239-88aa-4048-9aee-e7afb6692556\",\"deviceuid\":\"a4f13239-88aa-4048-9aee-e7afb6692556\",\"sender\":\"device1\",\"device\":\"device1\",\"partitionkey\":\"987717bc%2D1bbe%2D4eb8%2D94f6%2Db4b9160098d3/device1\",\"instance\":\"drogue\",\"applicationuid\":\"b8810570-cfe0-4016-a045-792be3bc97e3\",\"application\":\"987717bc-1bbe-4eb8-94f6-b4b9160098d3\"}" }
[2022-05-09T12:37:09Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:37:09Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:37:09Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:37:09Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "987717bc-1bbe-4eb8-94f6-b4b9160098d3", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "987717bc-1bbe-4eb8-94f6-b4b9160098d3", device: "device1", sender: "device1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:37:09Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:37:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "987717bc-1bbe-4eb8-94f6-b4b9160098d3" "device1"
[2022-05-09T12:37:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:37:09Z INFO  drogue_cloud_tests::resources::apps] Destroy application '987717bc-1bbe-4eb8-94f6-b4b9160098d3'
[2022-05-09T12:37:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "987717bc-1bbe-4eb8-94f6-b4b9160098d3"
[2022-05-09T12:37:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 987717bc-1bbe-4eb8-94f6-b4b9160098d3 deleted.\n", stderr: "" })

❌ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_2::integration_version_2::integration_ws_2

Duration: 15s

Test output
-------------- TEST START --------------
[2022-05-09T12:37:12Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T12:37:12Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:37:12Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:37:12Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:37:12Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:37:13Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T12:37:14Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T12:37:14Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:37:14Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T12:37:14Z 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",
        ),
        "coap": Object({
            "url": String(
                "coap://coap-endpoint.172.18.0.2.nip.io:30003",
            ),
        }),
        "http": Object({
            "url": String(
                "https://http-endpoint.172.18.0.2.nip.io:30443",
            ),
        }),
        "mqtt": Object({
            "host": String(
                "mqtt-endpoint.172.18.0.2.nip.io",
            ),
            "port": Number(
                30001,
            ),
        }),
        "mqtt_ws": Object({
            "url": String(
                "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005",
            ),
        }),
        "mqtt_ws_browser": Object({
            "url": String(
                "wss://mqtt-endpoint-ws-browser.172.18.0.2.nip.io:30007",
            ),
        }),
        "mqtt_integration": Object({
            "host": String(
                "mqtt-integration.172.18.0.2.nip.io",
            ),
            "port": Number(
                30002,
            ),
        }),
        "mqtt_integration_ws": Object({
            "url": String(
                "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006",
            ),
        }),
        "mqtt_integration_ws_browser": Object({
            "url": String(
                "wss://mqtt-integration-ws-browser.172.18.0.2.nip.io:30008",
            ),
        }),
        "websocket_integration": Object({
            "url": String(
                "ws://websocket-integration.172.18.0.2.nip.io:30004",
            ),
        }),
        "sso": String(
            "http://sso.172.18.0.2.nip.io",
        ),
        "issuer_url": String(
            "http://sso.172.18.0.2.nip.io/auth/realms/drogue",
        ),
        "redirect_url": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "registry": Object({
            "url": String(
                "http://api.172.18.0.2.nip.io",
            ),
        }),
        "command_url": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "local_certs": Bool(
            true,
        ),
        "kafka_bootstrap_servers": String(
            "drogue-iot-kafka-bootstrap.drogue-iot.svc.cluster.local.:9092",
        ),
    })
[2022-05-09T12:37:16Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDE2MzYsImlhdCI6MTY1MjA5OTgzNiwianRpIjoiZTlmNmRiMzEtYzQ4ZS00MWI0LTg4MzctYzFhNmM2ZjYzNDczIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ik8xZEROT1RiR1ktV2taXzJvbUt1NVEiLCJzZXNzaW9uX3N0YXRlIjoiNTFiYjE2YmItOTk2Mi00NGE2LTg1ZGEtOTA3M2FiM2E0NDNmIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjUxYmIxNmJiLTk5NjItNDRhNi04NWRhLTkwNzNhYjNhNDQzZiJ9.279_e-ADnRPk6NlhslF28yKrTyQ-t5t5vX1Uo4Pm6vU
[2022-05-09T12:37:16Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T12:37:16Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T12:37:16Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ZWU4NmM4NC1lNjNjLTQxODEtOTE0Ny02YjQ5NjM2OTgyNzkifQ.eyJleHAiOjE2NTIxMDE2MzYsImlhdCI6MTY1MjA5OTgzNiwianRpIjoiZTlmNmRiMzEtYzQ4ZS00MWI0LTg4MzctYzFhNmM2ZjYzNDczIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjQ2YTY5YjBjLTMwYWQtNDAyMi1iZGY4LTZlNzNjMThjMjkwOCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ik8xZEROT1RiR1ktV2taXzJvbUt1NVEiLCJzZXNzaW9uX3N0YXRlIjoiNTFiYjE2YmItOTk2Mi00NGE2LTg1ZGEtOTA3M2FiM2E0NDNmIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjUxYmIxNmJiLTk5NjItNDRhNi04NWRhLTkwNzNhYjNhNDQzZiJ9.279_e-ADnRPk6NlhslF28yKrTyQ-t5t5vX1Uo4Pm6vU" "--context" "system-tests"
[2022-05-09T12:37:16Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "\nSuccessfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSwitched active context to: system-tests\n", stderr: "" })
[2022-05-09T12:37:17Z INFO  drogue_cloud_tests::resources::apps] Create application: ea897a2a-4a32-4d05-9b47-648a900270e6
[2022-05-09T12:37:17Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "ea897a2a-4a32-4d05-9b47-648a900270e6"
[2022-05-09T12:37:17Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App ea897a2a-4a32-4d05-9b47-648a900270e6 created.\n", stderr: "" })
[2022-05-09T12:37:17Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "ea897a2a-4a32-4d05-9b47-648a900270e6"
[2022-05-09T12:37:17Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:37:17.416515Z\",\n    \"generation\": 1,\n    \"name\": \"ea897a2a-4a32-4d05-9b47-648a900270e6\",\n    \"resourceVersion\": \"0894037b-3d6f-40de-b3f2-7f75ecffc93f\",\n    \"uid\": \"0d3e1872-d19b-43b9-8ae5-78cccf78c26f\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:37:17.427829683Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2022-05-09T12:37:17Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:37:17.416515Z"), "generation": Number(1), "name": String("ea897a2a-4a32-4d05-9b47-648a900270e6"), "resourceVersion": String("0894037b-3d6f-40de-b3f2-7f75ecffc93f"), "uid": String("0d3e1872-d19b-43b9-8ae5-78cccf78c26f")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:37:17.427829683Z"), "status": String("True"), "type": String("Ready")})])})})
[2022-05-09T12:37:17Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T12:37:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "ea897a2a-4a32-4d05-9b47-648a900270e6"
[2022-05-09T12:37:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:37:17.416515Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"ea897a2a-4a32-4d05-9b47-648a900270e6\",\n    \"resourceVersion\": \"efb2a228-343c-426e-8bde-7fb531386661\",\n    \"uid\": \"0d3e1872-d19b-43b9-8ae5-78cccf78c26f\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:37:17.759654737Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:37:17.759615414Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:17.477229315Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:17.492138121Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:17.541668098Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:17.547408963Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:17.759451606Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:17.759467636Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"QdlQ6GvTctZN\",\n        \"username\": \"user-ea897a2a-4a32-4d05-9b47-648a900270e6\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:37:18Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:37:17.416515Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("ea897a2a-4a32-4d05-9b47-648a900270e6"), "resourceVersion": String("efb2a228-343c-426e-8bde-7fb531386661"), "uid": String("0d3e1872-d19b-43b9-8ae5-78cccf78c26f")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:37:17.759654737Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:37:17.759615414Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:37:17.477229315Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:37:17.492138121Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:37:17.541668098Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:37:17.547408963Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:37:17.759451606Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:37:17.759467636Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("QdlQ6GvTctZN"), "username": String("user-ea897a2a-4a32-4d05-9b47-648a900270e6")})})})})
[2022-05-09T12:37:18Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T12:37:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "ea897a2a-4a32-4d05-9b47-648a900270e6"
[2022-05-09T12:37:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T12:37:17.416515Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"ea897a2a-4a32-4d05-9b47-648a900270e6\",\n    \"resourceVersion\": \"efb2a228-343c-426e-8bde-7fb531386661\",\n    \"uid\": \"0d3e1872-d19b-43b9-8ae5-78cccf78c26f\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:37:17.759654737Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T12:37:17.759615414Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:17.477229315Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:17.492138121Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:17.541668098Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:17.547408963Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:17.759451606Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T12:37:17.759467636Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"QdlQ6GvTctZN\",\n        \"username\": \"user-ea897a2a-4a32-4d05-9b47-648a900270e6\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T12:37:18Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T12:37:17.416515Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("ea897a2a-4a32-4d05-9b47-648a900270e6"), "resourceVersion": String("efb2a228-343c-426e-8bde-7fb531386661"), "uid": String("0d3e1872-d19b-43b9-8ae5-78cccf78c26f")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:37:17.759654737Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T12:37:17.759615414Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T12:37:17.477229315Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T12:37:17.492138121Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T12:37:17.541668098Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T12:37:17.547408963Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T12:37:17.759451606Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T12:37:17.759467636Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("QdlQ6GvTctZN"), "username": String("user-ea897a2a-4a32-4d05-9b47-648a900270e6")})})})})
[2022-05-09T12:37:18Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T12:37:18Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:37:18Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T12:37:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:37:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIxMDAxMzYsImlhdCI6MTY1MjA5OTgzNiwiYXV0aF90aW1lIjoxNjUyMDk5ODMzLCJqdGkiOiI5N2RhM2VhMy02MTBmLTQ2NmItOTQ3Mi0yMzIxZDNhNmVmZTAiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJPMWRETk9UYkdZLVdrWl8yb21LdTVRIiwic2Vzc2lvbl9zdGF0ZSI6IjUxYmIxNmJiLTk5NjItNDRhNi04NWRhLTkwNzNhYjNhNDQzZiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjUxYmIxNmJiLTk5NjItNDRhNi04NWRhLTkwNzNhYjNhNDQzZiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.BmowvTNeU3tyEGYdyeuTfrpNt6riYPpv626YSsb-HHHfQ-ZT2fMu6j6dfeG3wf3l5NXeRNtP7wVIZgfsJ6ziIKxhuMNFygrSMvKgZfM67VEhhtX4LknVu0uOKLakKx_XaKlyAM2wdOx_C7jDVA8FlPOfCKQG3fFh2UURIYvdLWxRLODuAGQLtYFA5MW0y3E5OcRRPnK9B7neV6kBiNjtxquPz7WQwkrQ8G0BMyQcqyhZzBSX2LEgsY6hOwZ4PgO53dJ2PH4F3igxFVaWsKtd8jljiymfRAop0EEjhABmXl-ef9MTcUpv7behn5ytx4tHI3Oq7u79SLIJCcwR6ITWvg\n", stderr: "" })
[2022-05-09T12:37:18Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T12:37:18Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T12:37:18Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T12:37:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "ea897a2a-4a32-4d05-9b47-648a900270e6" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T12:37:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T12:37:18Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T12:37:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T12:37:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIxMDAxMzYsImlhdCI6MTY1MjA5OTgzNiwiYXV0aF90aW1lIjoxNjUyMDk5ODMzLCJqdGkiOiI5N2RhM2VhMy02MTBmLTQ2NmItOTQ3Mi0yMzIxZDNhNmVmZTAiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJPMWRETk9UYkdZLVdrWl8yb21LdTVRIiwic2Vzc2lvbl9zdGF0ZSI6IjUxYmIxNmJiLTk5NjItNDRhNi04NWRhLTkwNzNhYjNhNDQzZiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjUxYmIxNmJiLTk5NjItNDRhNi04NWRhLTkwNzNhYjNhNDQzZiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.BmowvTNeU3tyEGYdyeuTfrpNt6riYPpv626YSsb-HHHfQ-ZT2fMu6j6dfeG3wf3l5NXeRNtP7wVIZgfsJ6ziIKxhuMNFygrSMvKgZfM67VEhhtX4LknVu0uOKLakKx_XaKlyAM2wdOx_C7jDVA8FlPOfCKQG3fFh2UURIYvdLWxRLODuAGQLtYFA5MW0y3E5OcRRPnK9B7neV6kBiNjtxquPz7WQwkrQ8G0BMyQcqyhZzBSX2LEgsY6hOwZ4PgO53dJ2PH4F3igxFVaWsKtd8jljiymfRAop0EEjhABmXl-ef9MTcUpv7behn5ytx4tHI3Oq7u79SLIJCcwR6ITWvg\n", stderr: "" })
[2022-05-09T12:37:18Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "34e66583-4de0-437e-b6a4-62cc284c70c6", persistence: None, user_data: None }
[2022-05-09T12:37:18Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:37:18Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x5617178a7c20
[2022-05-09T12:37:18Z DEBUG paho_mqtt::async_client] Connecting handle: 0x5617178a7c20
[2022-05-09T12:37:18Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x56171788ac60, connectTimeout: 30, retryInterval: 0, ssl: 0x56171788c4a0, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x5617178a83e0, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 0, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: None, password: Some("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI2QlpCZ2lWOXhkejNQRzNtLWRiRUxBVmRTWXluRm9qTHEzZTVJcktSMURVIn0.eyJleHAiOjE2NTIxMDAxMzYsImlhdCI6MTY1MjA5OTgzNiwiYXV0aF90aW1lIjoxNjUyMDk5ODMzLCJqdGkiOiI5N2RhM2VhMy02MTBmLTQ2NmItOTQ3Mi0yMzIxZDNhNmVmZTAiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiNDZhNjliMGMtMzBhZC00MDIyLWJkZjgtNmU3M2MxOGMyOTA4IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJPMWRETk9UYkdZLVdrWl8yb21LdTVRIiwic2Vzc2lvbl9zdGF0ZSI6IjUxYmIxNmJiLTk5NjItNDRhNi04NWRhLTkwNzNhYjNhNDQzZiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjUxYmIxNmJiLTk5NjItNDRhNi04NWRhLTkwNzNhYjNhNDQzZiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.BmowvTNeU3tyEGYdyeuTfrpNt6riYPpv626YSsb-HHHfQ-ZT2fMu6j6dfeG3wf3l5NXeRNtP7wVIZgfsJ6ziIKxhuMNFygrSMvKgZfM67VEhhtX4LknVu0uOKLakKx_XaKlyAM2wdOx_C7jDVA8FlPOfCKQG3fFh2UURIYvdLWxRLODuAGQLtYFA5MW0y3E5OcRRPnK9B7neV6kBiNjtxquPz7WQwkrQ8G0BMyQcqyhZzBSX2LEgsY6hOwZ4PgO53dJ2PH4F3igxFVaWsKtd8jljiymfRAop0EEjhABmXl-ef9MTcUpv7behn5ytx4tHI3Oq7u79SLIJCcwR6ITWvg"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:37:18Z DEBUG paho_mqtt::async_client] Subscribe to '"app/ea897a2a-4a32-4d05-9b47-648a900270e6"' @ QOS 0
[2022-05-09T12:37:18Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T12:37:18Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T12:37:18Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:37:18Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:37:18Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:37:19Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:37:20Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:37:20Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:37:20Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:37:20Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:37:21Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:37:21Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:37:21Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:37:21Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:37:22Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T12:37:22Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T12:37:22Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T12:37:22Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T12:37:22Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 620, payload: 0x7f4b1c02b3b0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c02b630 } }, data: MessageData { topic: "app/ea897a2a-4a32-4d05-9b47-648a900270e6", 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, 50, 48, 50, 101, 48, 48, 52, 48, 45, 102, 101, 98, 100, 45, 52, 101, 51, 55, 45, 57, 55, 50, 51, 45, 51, 100, 54, 100, 97, 55, 48, 48, 55, 97, 53, 100, 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, 101, 97, 56, 57, 55, 97, 50, 97, 37, 50, 68, 52, 97, 51, 50, 37, 50, 68, 52, 100, 48, 53, 37, 50, 68, 57, 98, 52, 55, 37, 50, 68, 54, 52, 56, 97, 57, 48, 48, 50, 55, 48, 101, 54, 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, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 51, 55, 58, 50, 50, 46, 54, 51, 49, 50, 55, 53, 53, 55, 56, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 53, 102, 54, 97, 57, 57, 101, 45, 54, 48, 55, 99, 45, 52, 49, 100, 98, 45, 98, 55, 50, 51, 45, 57, 102, 99, 55, 53, 100, 50, 54, 50, 48, 97, 48, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 48, 100, 51, 101, 49, 56, 55, 50, 45, 100, 49, 57, 98, 45, 52, 51, 98, 57, 45, 56, 97, 101, 53, 45, 55, 56, 99, 99, 99, 102, 55, 56, 99, 50, 54, 102, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 101, 97, 56, 57, 55, 97, 50, 97, 45, 52, 97, 51, 50, 45, 52, 100, 48, 53, 45, 57, 98, 52, 55, 45, 54, 52, 56, 97, 57, 48, 48, 50, 55, 48, 101, 54, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 53, 102, 54, 97, 57, 57, 101, 45, 54, 48, 55, 99, 45, 52, 49, 100, 98, 45, 98, 55, 50, 51, 45, 57, 102, 99, 55, 53, 100, 50, 54, 50, 48, 97, 48, 34, 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, 101, 97, 56, 57, 55, 97, 50, 97, 37, 50, 68, 52, 97, 51, 50, 37, 50, 68, 52, 100, 48, 53, 37, 50, 68, 57, 98, 52, 55, 37, 50, 68, 54, 52, 56, 97, 57, 48, 48, 50, 55, 48, 101, 54, 47, 100, 101, 118, 105, 99, 101, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c02b630 } } } }
[2022-05-09T12:37:22Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717987a40
[2022-05-09T12:37:22Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/ea897a2a-4a32-4d05-9b47-648a900270e6", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"202e0040-febd-4e37-9723-3d6da7007a5d\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://ea897a2a%2D4a32%2D4d05%2D9b47%2D648a900270e6/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T12:37:22.631275578Z\",\"data\":{\"index\":3},\"senderuid\":\"a5f6a99e-607c-41db-b723-9fc75d2620a0\",\"applicationuid\":\"0d3e1872-d19b-43b9-8ae5-78cccf78c26f\",\"sender\":\"device1\",\"device\":\"device1\",\"application\":\"ea897a2a-4a32-4d05-9b47-648a900270e6\",\"deviceuid\":\"a5f6a99e-607c-41db-b723-9fc75d2620a0\",\"instance\":\"drogue\",\"partitionkey\":\"ea897a2a%2D4a32%2D4d05%2D9b47%2D648a900270e6/device1\"}" }
[2022-05-09T12:37:23Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T12:37:23Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T12:37:23Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T12:37:23Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry
[2022-05-09T12:37:23Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "f1e8e8f5-b092-46d7-8cf5-d71e1666fe57", persistence: None, user_data: None }
[2022-05-09T12:37:23Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T12:37:23Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x5617179c84a0
[2022-05-09T12:37:23Z DEBUG paho_mqtt::async_client] Connecting handle: 0x5617179c84a0
[2022-05-09T12:37:23Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x561717bcd650, password: 0x5617179cf080, connectTimeout: 30, retryInterval: 0, ssl: 0x561717c0a180, onSuccess: None, onFailure: None, context: 0x0, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 5, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 5, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 1, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: None, ssl: Some(SslOptions { copts: MQTTAsync_SSLOptions { struct_id: [77, 81, 84, 83], struct_version: 5, trustStore: 0x5617178c8cd0, keyStore: 0x0, privateKey: 0x0, privateKeyPassword: 0x0, enabledCipherSuites: 0x0, enableServerCertAuth: 1, sslVersion: 0, verify: 1, CApath: 0x0, ssl_error_cb: None, ssl_error_context: 0x0, ssl_psk_cb: None, ssl_psk_context: 0x0, disableDefaultTrustStore: 0, protos: 0x0, protos_len: 0 }, data: SslOptionsData { trust_store: "release/build/certs/endpoints/root-cert.pem", key_store: "", private_key: "", private_key_password: "", enabled_cipher_suites: "", ca_path: "", protos: [] } }), user_name: Some("device1@ea897a2a-4a32-4d05-9b47-648a900270e6"), password: Some("foo"), server_uris: StringCollection { c_coll: [], c_mut_coll: [], data: StringCollectionData { coll: [] } }, props: None, will_props: None, http_headers: None, http_proxy: None, https_proxy: None } }
[2022-05-09T12:37:24Z DEBUG paho_mqtt::async_client] Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 0, payload: 0x1, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717cc4bd0 } }, data: MessageData { topic: "telemetry", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x561717cc4bd0 } } } }
[2022-05-09T12:37:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 636, payload: 0x7f4b1c0012d0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c001560 } }, data: MessageData { topic: "app/ea897a2a-4a32-4d05-9b47-648a900270e6", 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, 52, 98, 56, 56, 52, 52, 55, 48, 45, 56, 97, 102, 102, 45, 52, 52, 53, 97, 45, 97, 51, 50, 101, 45, 52, 98, 99, 51, 53, 51, 54, 101, 49, 55, 53, 100, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 101, 97, 56, 57, 55, 97, 50, 97, 37, 50, 68, 52, 97, 51, 50, 37, 50, 68, 52, 100, 48, 53, 37, 50, 68, 57, 98, 52, 55, 37, 50, 68, 54, 52, 56, 97, 57, 48, 48, 50, 55, 48, 101, 54, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 51, 55, 58, 50, 51, 46, 55, 52, 54, 56, 49, 53, 56, 50, 48, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 53, 102, 54, 97, 57, 57, 101, 45, 54, 48, 55, 99, 45, 52, 49, 100, 98, 45, 98, 55, 50, 51, 45, 57, 102, 99, 55, 53, 100, 50, 54, 50, 48, 97, 48, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 48, 100, 51, 101, 49, 56, 55, 50, 45, 100, 49, 57, 98, 45, 52, 51, 98, 57, 45, 56, 97, 101, 53, 45, 55, 56, 99, 99, 99, 102, 55, 56, 99, 50, 54, 102, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 53, 102, 54, 97, 57, 57, 101, 45, 54, 48, 55, 99, 45, 52, 49, 100, 98, 45, 98, 55, 50, 51, 45, 57, 102, 99, 55, 53, 100, 50, 54, 50, 48, 97, 48, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 101, 97, 56, 57, 55, 97, 50, 97, 45, 52, 97, 51, 50, 45, 52, 100, 48, 53, 45, 57, 98, 52, 55, 45, 54, 52, 56, 97, 57, 48, 48, 50, 55, 48, 101, 54, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 101, 97, 56, 57, 55, 97, 50, 97, 37, 50, 68, 52, 97, 51, 50, 37, 50, 68, 52, 100, 48, 53, 37, 50, 68, 57, 98, 52, 55, 37, 50, 68, 54, 52, 56, 97, 57, 48, 48, 50, 55, 48, 101, 54, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c001560 } } } }
[2022-05-09T12:37:24Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717987a40
[2022-05-09T12:37:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/ea897a2a-4a32-4d05-9b47-648a900270e6", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"4b884470-8aff-445a-a32e-4bc3536e175d\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://ea897a2a%2D4a32%2D4d05%2D9b47%2D648a900270e6/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:37:23.746815820Z\",\"data\":{\"connected\":true},\"instance\":\"drogue\",\"senderuid\":\"a5f6a99e-607c-41db-b723-9fc75d2620a0\",\"applicationuid\":\"0d3e1872-d19b-43b9-8ae5-78cccf78c26f\",\"deviceuid\":\"a5f6a99e-607c-41db-b723-9fc75d2620a0\",\"application\":\"ea897a2a-4a32-4d05-9b47-648a900270e6\",\"partitionkey\":\"ea897a2a%2D4a32%2D4d05%2D9b47%2D648a900270e6/device1\",\"device\":\"device1\",\"sender\":\"device1\"}" }
[2022-05-09T12:37:24Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T12:37:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 637, payload: 0x7f4b1c02da40, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c001560 } }, data: MessageData { topic: "app/ea897a2a-4a32-4d05-9b47-648a900270e6", 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, 101, 55, 54, 48, 97, 54, 97, 97, 45, 57, 49, 102, 50, 45, 52, 48, 101, 102, 45, 97, 56, 100, 51, 45, 57, 56, 55, 53, 97, 48, 51, 57, 57, 55, 102, 52, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 101, 97, 56, 57, 55, 97, 50, 97, 37, 50, 68, 52, 97, 51, 50, 37, 50, 68, 52, 100, 48, 53, 37, 50, 68, 57, 98, 52, 55, 37, 50, 68, 54, 52, 56, 97, 57, 48, 48, 50, 55, 48, 101, 54, 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, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 51, 55, 58, 50, 52, 46, 48, 57, 48, 57, 52, 57, 48, 49, 51, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 101, 97, 56, 57, 55, 97, 50, 97, 45, 52, 97, 51, 50, 45, 52, 100, 48, 53, 45, 57, 98, 52, 55, 45, 54, 52, 56, 97, 57, 48, 48, 50, 55, 48, 101, 54, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 101, 97, 56, 57, 55, 97, 50, 97, 37, 50, 68, 52, 97, 51, 50, 37, 50, 68, 52, 100, 48, 53, 37, 50, 68, 57, 98, 52, 55, 37, 50, 68, 54, 52, 56, 97, 57, 48, 48, 50, 55, 48, 101, 54, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 53, 102, 54, 97, 57, 57, 101, 45, 54, 48, 55, 99, 45, 52, 49, 100, 98, 45, 98, 55, 50, 51, 45, 57, 102, 99, 55, 53, 100, 50, 54, 50, 48, 97, 48, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 53, 102, 54, 97, 57, 57, 101, 45, 54, 48, 55, 99, 45, 52, 49, 100, 98, 45, 98, 55, 50, 51, 45, 57, 102, 99, 55, 53, 100, 50, 54, 50, 48, 97, 48, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 48, 100, 51, 101, 49, 56, 55, 50, 45, 100, 49, 57, 98, 45, 52, 51, 98, 57, 45, 56, 97, 101, 53, 45, 55, 56, 99, 99, 99, 102, 55, 56, 99, 50, 54, 102, 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: 2, max_count: 10, length: 48, array: 0x7f4b1c001560 } } } }
[2022-05-09T12:37:24Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717987a40
[2022-05-09T12:37:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/ea897a2a-4a32-4d05-9b47-648a900270e6", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"e760a6aa-91f2-40ef-a8d3-9875a03997f4\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://ea897a2a%2D4a32%2D4d05%2D9b47%2D648a900270e6/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T12:37:24.090949013Z\",\"data\":{\"connected\":false},\"application\":\"ea897a2a-4a32-4d05-9b47-648a900270e6\",\"partitionkey\":\"ea897a2a%2D4a32%2D4d05%2D9b47%2D648a900270e6/device1\",\"deviceuid\":\"a5f6a99e-607c-41db-b723-9fc75d2620a0\",\"instance\":\"drogue\",\"senderuid\":\"a5f6a99e-607c-41db-b723-9fc75d2620a0\",\"sender\":\"device1\",\"applicationuid\":\"0d3e1872-d19b-43b9-8ae5-78cccf78c26f\",\"device\":\"device1\"}" }
[2022-05-09T12:37:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 629, payload: 0x7f4b1c0015b0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c001830 } }, data: MessageData { topic: "app/ea897a2a-4a32-4d05-9b47-648a900270e6", 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, 49, 101, 98, 49, 57, 101, 99, 48, 45, 55, 55, 99, 56, 45, 52, 51, 99, 100, 45, 56, 57, 98, 102, 45, 98, 48, 56, 55, 56, 53, 101, 102, 98, 100, 55, 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, 101, 97, 56, 57, 55, 97, 50, 97, 37, 50, 68, 52, 97, 51, 50, 37, 50, 68, 52, 100, 48, 53, 37, 50, 68, 57, 98, 52, 55, 37, 50, 68, 54, 52, 56, 97, 57, 48, 48, 50, 55, 48, 101, 54, 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, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 116, 101, 108, 101, 109, 101, 116, 114, 121, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 50, 58, 51, 55, 58, 50, 52, 46, 48, 56, 55, 49, 49, 53, 49, 55, 52, 90, 34, 44, 34, 100, 97, 116, 97, 95, 98, 97, 115, 101, 54, 52, 34, 58, 34, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 53, 102, 54, 97, 57, 57, 101, 45, 54, 48, 55, 99, 45, 52, 49, 100, 98, 45, 98, 55, 50, 51, 45, 57, 102, 99, 55, 53, 100, 50, 54, 50, 48, 97, 48, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 101, 97, 56, 57, 55, 97, 50, 97, 37, 50, 68, 52, 97, 51, 50, 37, 50, 68, 52, 100, 48, 53, 37, 50, 68, 57, 98, 52, 55, 37, 50, 68, 54, 52, 56, 97, 57, 48, 48, 50, 55, 48, 101, 54, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 48, 100, 51, 101, 49, 56, 55, 50, 45, 100, 49, 57, 98, 45, 52, 51, 98, 57, 45, 56, 97, 101, 53, 45, 55, 56, 99, 99, 99, 102, 55, 56, 99, 50, 54, 102, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 101, 97, 56, 57, 55, 97, 50, 97, 45, 52, 97, 51, 50, 45, 52, 100, 48, 53, 45, 57, 98, 52, 55, 45, 54, 52, 56, 97, 57, 48, 48, 50, 55, 48, 101, 54, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 53, 102, 54, 97, 57, 57, 101, 45, 54, 48, 55, 99, 45, 52, 49, 100, 98, 45, 98, 55, 50, 51, 45, 57, 102, 99, 55, 53, 100, 50, 54, 50, 48, 97, 48, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f4b1c001830 } } } }
[2022-05-09T12:37:24Z DEBUG paho_mqtt::properties] Dropping string property: 0x561717987a40
[2022-05-09T12:37:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/ea897a2a-4a32-4d05-9b47-648a900270e6", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"1eb19ec0-77c8-43cd-89bf-b08785efbd75\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://ea897a2a%2D4a32%2D4d05%2D9b47%2D648a900270e6/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T12:37:24.087115174Z\",\"data_base64\":\"\",\"instance\":\"drogue\",\"deviceuid\":\"a5f6a99e-607c-41db-b723-9fc75d2620a0\",\"partitionkey\":\"ea897a2a%2D4a32%2D4d05%2D9b47%2D648a900270e6/device1\",\"device\":\"device1\",\"applicationuid\":\"0d3e1872-d19b-43b9-8ae5-78cccf78c26f\",\"application\":\"ea897a2a-4a32-4d05-9b47-648a900270e6\",\"senderuid\":\"a5f6a99e-607c-41db-b723-9fc75d2620a0\",\"sender\":\"device1\"}" }
[2022-05-09T12:37:24Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T12:37:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T12:37:24Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T12:37:24Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "ea897a2a-4a32-4d05-9b47-648a900270e6", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 102, 97, 108, 115, 101, 125] }`,
 right: `CloudMessage { subject: "telemetry", type: "io.drogue.event.v1", instance: "drogue", app: "ea897a2a-4a32-4d05-9b47-648a900270e6", device: "device1", sender: "device1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T12:37:24Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T12:37:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "ea897a2a-4a32-4d05-9b47-648a900270e6" "device1"
[2022-05-09T12:37:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T12:37:24Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'ea897a2a-4a32-4d05-9b47-648a900270e6'
[2022-05-09T12:37:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "ea897a2a-4a32-4d05-9b47-648a900270e6"
[2022-05-09T12:37:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App ea897a2a-4a32-4d05-9b47-648a900270e6 deleted.\n", stderr: "" })

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

Duration: 14s

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

Duration: 13s

✅ tests::registry::api::test_registry_create_app

Duration: 16s

✅ tests::registry::drg::test_registry_create_and_delete

Duration: 8s

✅ tests::registry::drg::test_registry_create_app

Duration: 8s

✅ tests::registry::drg::test_registry_create_app_and_device

Duration: 8s

✅ tests::registry::drg::test_registry_create_app_and_device_twice

Duration: 8s

✅ tests::registry::drg::test_registry_create_app_twice

Duration: 8s

✅ tests::registry::drg::test_registry_device_create_and_delete

Duration: 8s

✅ tests::websocket::telemetry::test_send_telemetry_pass

Duration: 12s

✅ tests::websocket::telemetry::test_send_telemetry_user

Duration: 13s

✅ tests::websocket::telemetry::test_send_telemetry_user_alias

Duration: 13s

✅ tests::websocket::telemetry::test_send_telemetry_user_only

Duration: 13s