Total Passed Failed Ignored Filtered Duration
147 105 42 0 0 31m 27s

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/2293216217

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 12s
tests::coap::command::test_command::version_1 36s
tests::coap::command::test_command::version_2 13s
tests::coap::command::test_command::version_3 14s
tests::coap::telemetry::test_send_telemetry_pass::version_1 14s
tests::coap::telemetry::test_send_telemetry_pass::version_2 14s
tests::coap::telemetry::test_send_telemetry_pass::version_3 13s
tests::coap::telemetry::test_send_telemetry_user::version_1 15s
tests::coap::telemetry::test_send_telemetry_user::version_2 13s
tests::coap::telemetry::test_send_telemetry_user::version_3 15s
tests::coap::telemetry::test_send_telemetry_user_alias::version_1 14s
tests::coap::telemetry::test_send_telemetry_user_alias::version_2 13s
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 15s
tests::coap::telemetry::test_send_telemetry_user_only::version_3 13s
tests::drg::test_drg_version 7s
tests::http::command::test_command::version_1 13s
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 14s
tests::http::telemetry::test_send_telemetry_pass::version_2 12s
tests::http::telemetry::test_send_telemetry_pass::version_3 12s
tests::http::telemetry::test_send_telemetry_user::version_1 13s
tests::http::telemetry::test_send_telemetry_user::version_2 13s
tests::http::telemetry::test_send_telemetry_user::version_3 12s
tests::http::telemetry::test_send_telemetry_user_alias::version_1 13s
tests::http::telemetry::test_send_telemetry_user_alias::version_2 13s
tests::http::telemetry::test_send_telemetry_user_alias::version_3 12s
tests::http::telemetry::test_send_telemetry_user_only::version_1 14s
tests::http::telemetry::test_send_telemetry_user_only::version_2 12s
tests::http::telemetry::test_send_telemetry_user_only::version_3 13s
tests::mqtt::command::gateway::version_1::ws_1 9s
tests::mqtt::command::gateway::version_1::ws_2 8s
tests::mqtt::command::gateway::version_2::ws_1 8s
tests::mqtt::command::gateway::version_2::ws_2 9s
tests::mqtt::command::gateway::version_3::ws_1 8s
tests::mqtt::command::gateway::version_3::ws_2 9s
tests::mqtt::command::gateway_direct::version_1::ws_1 8s
tests::mqtt::command::gateway_direct::version_1::ws_2 9s
tests::mqtt::command::gateway_direct::version_2::ws_1 9s
tests::mqtt::command::gateway_direct::version_2::ws_2 9s
tests::mqtt::command::gateway_direct::version_3::ws_1 9s
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 8s
tests::mqtt::command::simple::version_2::ws_2 8s
tests::mqtt::command::simple::version_3::ws_1 9s
tests::mqtt::command::simple::version_3::ws_2 8s
tests::mqtt::command::simple_direct::version_1::ws_1 9s
tests::mqtt::command::simple_direct::version_1::ws_2 8s
tests::mqtt::command::simple_direct::version_2::ws_1 9s
tests::mqtt::command::simple_direct::version_2::ws_2 10s
tests::mqtt::command::simple_direct::version_3::ws_1 8s
tests::mqtt::command::simple_direct::version_3::ws_2 9s
tests::mqtt::command::simple_me::version_1::ws_1 8s
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 10s
tests::mqtt::command::simple_me::version_3::ws_2 8s
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 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_1::integration_version_2::integration_ws_1 14s
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 13s
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 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_2::integration_version_3::integration_ws_1 14s
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 13s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_1::integration_version_1::integration_ws_2 13s
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 14s
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 15s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_2::integration_version_1::integration_ws_2 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_2::integration_version_2::integration_ws_1 14s
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 15s
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 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_1::integration_version_2::integration_ws_1 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_1::integration_version_2::integration_ws_2 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_1::integration_version_3::integration_ws_1 14s
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 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_2::integration_version_2::integration_ws_1 15s
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 14s
tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_2::integration_version_3::integration_ws_2 15s
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 13s
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 15s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::endpoint_ws_1::integration_version_3::integration_ws_2 13s
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 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::endpoint_ws_2::integration_version_2::integration_ws_1 14s
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 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::endpoint_ws_2::integration_version_3::integration_ws_2 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::endpoint_ws_1::integration_version_1::integration_ws_1 13s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::endpoint_ws_1::integration_version_1::integration_ws_2 13s
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 13s
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 14s
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 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::endpoint_ws_2::integration_version_2::integration_ws_2 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::endpoint_ws_2::integration_version_3::integration_ws_1 13s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::endpoint_ws_2::integration_version_3::integration_ws_2 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_1::integration_version_1::integration_ws_1 13s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_1::integration_version_1::integration_ws_2 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_1::integration_version_2::integration_ws_1 13s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_1::integration_version_2::integration_ws_2 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_1::integration_version_3::integration_ws_1 13s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_1::integration_version_3::integration_ws_2 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_2::integration_version_1::integration_ws_1 14s
tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_2::integration_version_1::integration_ws_2 14s
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 14s
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 14s
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 13s
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: 12s

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

Duration: 36s

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

Duration: 13s

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

Duration: 14s

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

Duration: 14s

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

Duration: 14s

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

Duration: 13s

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

Duration: 15s

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

Duration: 13s

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

Duration: 15s

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

Duration: 14s

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

Duration: 13s

✅ 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: 15s

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

Duration: 13s

✅ tests::drg::test_drg_version

Duration: 7s

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

Duration: 13s

✅ 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: 14s

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

Duration: 12s

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

Duration: 12s

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

Duration: 13s

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

Duration: 13s

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

Duration: 12s

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

Duration: 13s

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

Duration: 13s

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

Duration: 12s

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

Duration: 14s

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

Duration: 12s

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

Duration: 13s

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

Duration: 9s

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

Duration: 8s

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

Duration: 8s

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

Duration: 9s

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

Duration: 8s

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

Duration: 9s

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

Duration: 8s

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

Duration: 9s

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

Duration: 9s

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

Duration: 9s

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

Duration: 9s

✅ 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: 8s

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

Duration: 8s

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

Duration: 9s

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

Duration: 8s

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

Duration: 9s

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

Duration: 8s

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

Duration: 9s

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

Duration: 10s

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

Duration: 8s

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

Duration: 9s

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

Duration: 8s

✅ 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: 10s

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

Duration: 8s

❌ 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-09T10:08:37Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:08:37Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:08:37Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:08:37Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:08: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-09T10:08:38Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:08:40Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:08:40Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:08:40Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:08: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-09T10:08:42Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI3MjIsImlhdCI6MTY1MjA5MDkyMiwianRpIjoiMjFhY2YwN2EtYzFjNC00YWVjLWEwYTQtZjI2NTI0ODgzNzdlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjhZWl8wcGRua29oZ0VyWnkzRmhqS0EiLCJzZXNzaW9uX3N0YXRlIjoiOWVmZTJlMTYtNGE4Ny00MzQwLTgxNjAtM2IxYTk4NTlkYzMxIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjllZmUyZTE2LTRhODctNDM0MC04MTYwLTNiMWE5ODU5ZGMzMSJ9.ca6xS4jXh6_vIws9rlRDXFq9H_T6j-2HmM6Fm19sJg4
[2022-05-09T10:08:42Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:08:42Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:08:42Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI3MjIsImlhdCI6MTY1MjA5MDkyMiwianRpIjoiMjFhY2YwN2EtYzFjNC00YWVjLWEwYTQtZjI2NTI0ODgzNzdlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjhZWl8wcGRua29oZ0VyWnkzRmhqS0EiLCJzZXNzaW9uX3N0YXRlIjoiOWVmZTJlMTYtNGE4Ny00MzQwLTgxNjAtM2IxYTk4NTlkYzMxIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjllZmUyZTE2LTRhODctNDM0MC04MTYwLTNiMWE5ODU5ZGMzMSJ9.ca6xS4jXh6_vIws9rlRDXFq9H_T6j-2HmM6Fm19sJg4" "--context" "system-tests"
[2022-05-09T10:08: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-09T10:08:42Z INFO  drogue_cloud_tests::resources::apps] Create application: 0b0b7ca9-41fb-490a-9d64-fec8d664ce2d
[2022-05-09T10:08:42Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "0b0b7ca9-41fb-490a-9d64-fec8d664ce2d"
[2022-05-09T10:08:42Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 0b0b7ca9-41fb-490a-9d64-fec8d664ce2d created.\n", stderr: "" })
[2022-05-09T10:08:42Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "0b0b7ca9-41fb-490a-9d64-fec8d664ce2d"
[2022-05-09T10:08:42Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:08:42.877217Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"0b0b7ca9-41fb-490a-9d64-fec8d664ce2d\",\n    \"resourceVersion\": \"93868247-fe06-4d3e-a00d-bc15746f16cc\",\n    \"uid\": \"b9bfa8a1-3501-4501-b663-270d55bac055\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:08:42.908353828Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:08:42.908331506Z\",\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-09T10:08:42.908303734Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:42.908304765Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:42.908305137Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:42.908305727Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:42.908306288Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:42.908310386Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:08:42Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:08:42.877217Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("0b0b7ca9-41fb-490a-9d64-fec8d664ce2d"), "resourceVersion": String("93868247-fe06-4d3e-a00d-bc15746f16cc"), "uid": String("b9bfa8a1-3501-4501-b663-270d55bac055")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:08:42.908353828Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:08:42.908331506Z"), "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-09T10:08:42.908303734Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:08:42.908304765Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:08:42.908305137Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:08:42.908305727Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:08:42.908306288Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:08:42.908310386Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T10:08:42Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:08:43Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "0b0b7ca9-41fb-490a-9d64-fec8d664ce2d"
[2022-05-09T10:08:43Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:08:42.877217Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"0b0b7ca9-41fb-490a-9d64-fec8d664ce2d\",\n    \"resourceVersion\": \"55774171-476c-4453-93b4-3e358e86dbeb\",\n    \"uid\": \"b9bfa8a1-3501-4501-b663-270d55bac055\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:08:43.292979304Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:08:43.292939119Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:42.931629931Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:42.938846939Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:43.124701131Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:43.130719009Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:43.292892762Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:43.292911808Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"xMuYlJl3iKzj\",\n        \"username\": \"user-0b0b7ca9-41fb-490a-9d64-fec8d664ce2d\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:08:43Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:08:42.877217Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("0b0b7ca9-41fb-490a-9d64-fec8d664ce2d"), "resourceVersion": String("55774171-476c-4453-93b4-3e358e86dbeb"), "uid": String("b9bfa8a1-3501-4501-b663-270d55bac055")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:08:43.292979304Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:08:43.292939119Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:08:42.931629931Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:08:42.938846939Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:08:43.124701131Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:08:43.130719009Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:08:43.292892762Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:08:43.292911808Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("xMuYlJl3iKzj"), "username": String("user-0b0b7ca9-41fb-490a-9d64-fec8d664ce2d")})})})})
[2022-05-09T10:08:43Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:08:43Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "0b0b7ca9-41fb-490a-9d64-fec8d664ce2d"
[2022-05-09T10:08:43Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:08:42.877217Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"0b0b7ca9-41fb-490a-9d64-fec8d664ce2d\",\n    \"resourceVersion\": \"55774171-476c-4453-93b4-3e358e86dbeb\",\n    \"uid\": \"b9bfa8a1-3501-4501-b663-270d55bac055\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:08:43.292979304Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:08:43.292939119Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:42.931629931Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:42.938846939Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:43.124701131Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:43.130719009Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:43.292892762Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:43.292911808Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"xMuYlJl3iKzj\",\n        \"username\": \"user-0b0b7ca9-41fb-490a-9d64-fec8d664ce2d\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:08:43Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:08:42.877217Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("0b0b7ca9-41fb-490a-9d64-fec8d664ce2d"), "resourceVersion": String("55774171-476c-4453-93b4-3e358e86dbeb"), "uid": String("b9bfa8a1-3501-4501-b663-270d55bac055")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:08:43.292979304Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:08:43.292939119Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:08:42.931629931Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:08:42.938846939Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:08:43.124701131Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:08:43.130719009Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:08:43.292892762Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:08:43.292911808Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("xMuYlJl3iKzj"), "username": String("user-0b0b7ca9-41fb-490a-9d64-fec8d664ce2d")})})})})
[2022-05-09T10:08:43Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:08:43Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:08:43Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "0b0b7ca9-41fb-490a-9d64-fec8d664ce2d" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:08:43Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:08:43Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:08:43Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:08:43Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:08:43Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEyMjIsImlhdCI6MTY1MjA5MDkyMiwiYXV0aF90aW1lIjoxNjUyMDkwOTE5LCJqdGkiOiIzZmYzYmM2OS0xNzRiLTRhM2UtOWQ5ZS01YTQyOTE4MDg3NDIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI4WVpfMHBkbmtvaGdFclp5M0ZoaktBIiwic2Vzc2lvbl9zdGF0ZSI6IjllZmUyZTE2LTRhODctNDM0MC04MTYwLTNiMWE5ODU5ZGMzMSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjllZmUyZTE2LTRhODctNDM0MC04MTYwLTNiMWE5ODU5ZGMzMSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.kqFttmBt5SQelA2MHr8VYB4lfdn8BQy7GqYUuLLnLhCFQBTbbxqNyWO_S4bVm-hYCnq-KvyzXB9bykd5cUdkhi3v35LcE0zHPTn4WiF8ApYHXphvIWEIwla4mmNOjDVpGoTUP6GylEp_yc2S6FALhIupXzs5BMdaWOYzKQzderRVfHpaGmtv0CmcoEOOECs2l2T4dVZ_aTFAxLAXt2fgmn9gK1o8fGOeLsSsxq7T_zNJmRrVf93HW6Ij7SCEzLxH_KXCa1q5qV3qLmi43Z6XYPYfqbLoG2bZOl1r8YNfQRYYlZGit-NMm0f1jsME-nUZduqBbyfRFE1hH8MXii47DA\n", stderr: "" })
[2022-05-09T10:08:43Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:08:44Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:08:44Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:08:44Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "0b0b7ca9-41fb-490a-9d64-fec8d664ce2d" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:08:44Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:08:44Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T10:08:44Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:08:44Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEyMjIsImlhdCI6MTY1MjA5MDkyMiwiYXV0aF90aW1lIjoxNjUyMDkwOTE5LCJqdGkiOiIzZmYzYmM2OS0xNzRiLTRhM2UtOWQ5ZS01YTQyOTE4MDg3NDIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI4WVpfMHBkbmtvaGdFclp5M0ZoaktBIiwic2Vzc2lvbl9zdGF0ZSI6IjllZmUyZTE2LTRhODctNDM0MC04MTYwLTNiMWE5ODU5ZGMzMSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjllZmUyZTE2LTRhODctNDM0MC04MTYwLTNiMWE5ODU5ZGMzMSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.kqFttmBt5SQelA2MHr8VYB4lfdn8BQy7GqYUuLLnLhCFQBTbbxqNyWO_S4bVm-hYCnq-KvyzXB9bykd5cUdkhi3v35LcE0zHPTn4WiF8ApYHXphvIWEIwla4mmNOjDVpGoTUP6GylEp_yc2S6FALhIupXzs5BMdaWOYzKQzderRVfHpaGmtv0CmcoEOOECs2l2T4dVZ_aTFAxLAXt2fgmn9gK1o8fGOeLsSsxq7T_zNJmRrVf93HW6Ij7SCEzLxH_KXCa1q5qV3qLmi43Z6XYPYfqbLoG2bZOl1r8YNfQRYYlZGit-NMm0f1jsME-nUZduqBbyfRFE1hH8MXii47DA\n", stderr: "" })
[2022-05-09T10:08: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: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "83a87a03-2eca-47bf-9d86-c31d672c8db1", persistence: None, user_data: None }
[2022-05-09T10:08:44Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:08:44Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbeaa6e0
[2022-05-09T10:08:44Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbeaa6e0
[2022-05-09T10:08:44Z 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: 0x55efdbf0d9b0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc0d5fe0, 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: 0x55efdbea9ea0, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEyMjIsImlhdCI6MTY1MjA5MDkyMiwiYXV0aF90aW1lIjoxNjUyMDkwOTE5LCJqdGkiOiIzZmYzYmM2OS0xNzRiLTRhM2UtOWQ5ZS01YTQyOTE4MDg3NDIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI4WVpfMHBkbmtvaGdFclp5M0ZoaktBIiwic2Vzc2lvbl9zdGF0ZSI6IjllZmUyZTE2LTRhODctNDM0MC04MTYwLTNiMWE5ODU5ZGMzMSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjllZmUyZTE2LTRhODctNDM0MC04MTYwLTNiMWE5ODU5ZGMzMSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.kqFttmBt5SQelA2MHr8VYB4lfdn8BQy7GqYUuLLnLhCFQBTbbxqNyWO_S4bVm-hYCnq-KvyzXB9bykd5cUdkhi3v35LcE0zHPTn4WiF8ApYHXphvIWEIwla4mmNOjDVpGoTUP6GylEp_yc2S6FALhIupXzs5BMdaWOYzKQzderRVfHpaGmtv0CmcoEOOECs2l2T4dVZ_aTFAxLAXt2fgmn9gK1o8fGOeLsSsxq7T_zNJmRrVf93HW6Ij7SCEzLxH_KXCa1q5qV3qLmi43Z6XYPYfqbLoG2bZOl1r8YNfQRYYlZGit-NMm0f1jsME-nUZduqBbyfRFE1hH8MXii47DA"), 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-09T10:08:44Z DEBUG paho_mqtt::async_client] Subscribe to '"app/0b0b7ca9-41fb-490a-9d64-fec8d664ce2d"' @ QOS 0
[2022-05-09T10:08:44Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:08:44Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:08:44Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:08: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-09T10:08:44Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:08: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-09T10:08:45Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:08: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-09T10:08:45Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:08: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-09T10:08:46Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:08: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-09T10:08:46Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:08: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-09T10:08:47Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:08: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-09T10:08:47Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:08: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-09T10:08:47Z 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: 0x7f0ed001ca30, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/0b0b7ca9-41fb-490a-9d64-fec8d664ce2d", 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, 51, 99, 99, 99, 53, 102, 50, 45, 55, 100, 51, 49, 45, 52, 97, 52, 101, 45, 98, 55, 51, 100, 45, 50, 48, 51, 100, 101, 99, 102, 56, 100, 57, 51, 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, 48, 98, 48, 98, 55, 99, 97, 57, 37, 50, 68, 52, 49, 102, 98, 37, 50, 68, 52, 57, 48, 97, 37, 50, 68, 57, 100, 54, 52, 37, 50, 68, 102, 101, 99, 56, 100, 54, 54, 52, 99, 101, 50, 100, 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, 48, 58, 48, 56, 58, 52, 55, 46, 50, 52, 55, 51, 55, 48, 54, 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, 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, 48, 98, 48, 98, 55, 99, 97, 57, 37, 50, 68, 52, 49, 102, 98, 37, 50, 68, 52, 57, 48, 97, 37, 50, 68, 57, 100, 54, 52, 37, 50, 68, 102, 101, 99, 56, 100, 54, 54, 52, 99, 101, 50, 100, 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, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 98, 48, 98, 55, 99, 97, 57, 45, 52, 49, 102, 98, 45, 52, 57, 48, 97, 45, 57, 100, 54, 52, 45, 102, 101, 99, 56, 100, 54, 54, 52, 99, 101, 50, 100, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 100, 53, 54, 98, 55, 50, 98, 45, 100, 48, 49, 56, 45, 52, 99, 54, 50, 45, 56, 99, 100, 48, 45, 55, 56, 57, 101, 54, 55, 55, 97, 100, 100, 100, 99, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 98, 57, 98, 102, 97, 56, 97, 49, 45, 51, 53, 48, 49, 45, 52, 53, 48, 49, 45, 98, 54, 54, 51, 45, 50, 55, 48, 100, 53, 53, 98, 97, 99, 48, 53, 53, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 99, 55, 97, 101, 49, 102, 51, 52, 45, 102, 100, 50, 99, 45, 52, 54, 100, 98, 45, 97, 54, 56, 57, 45, 54, 49, 99, 49, 57, 97, 57, 48, 98, 57, 50, 55, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:08:47Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/0b0b7ca9-41fb-490a-9d64-fec8d664ce2d", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"53ccc5f2-7d31-4a4e-b73d-203decf8d936\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://0b0b7ca9%2D41fb%2D490a%2D9d64%2Dfec8d664ce2d/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:08:47.247370644Z\",\"data\":{\"index\":3},\"instance\":\"drogue\",\"device\":\"device1\",\"partitionkey\":\"0b0b7ca9%2D41fb%2D490a%2D9d64%2Dfec8d664ce2d/device1\",\"sender\":\"gateway1\",\"application\":\"0b0b7ca9-41fb-490a-9d64-fec8d664ce2d\",\"senderuid\":\"ad56b72b-d018-4c62-8cd0-789e677adddc\",\"applicationuid\":\"b9bfa8a1-3501-4501-b663-270d55bac055\",\"deviceuid\":\"c7ae1f34-fd2c-46db-a689-61c19a90b927\"}" }
[2022-05-09T10:08:48Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:08:48Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:08:48Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:08:48Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:08: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-endpoint.172.18.0.2.nip.io:30001", client_id: "d989af9b-fa20-4bba-a402-10085d2170b6", persistence: None, user_data: None }
[2022-05-09T10:08:48Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:08:48Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc1e4120
[2022-05-09T10:08:48Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc1e4120
[2022-05-09T10:08: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: 0x55efdc2e0460, password: 0x55efdbdfda40, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbdf1220, 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: 0x55efdc2b6720, 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@0b0b7ca9-41fb-490a-9d64-fec8d664ce2d"), 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-09T10:08: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: 0x55efdbe26130 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdbe26130 } } } }
[2022-05-09T10:08:49Z 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: 0x7f0ed0003b30, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/0b0b7ca9-41fb-490a-9d64-fec8d664ce2d", 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, 99, 54, 51, 49, 99, 53, 57, 45, 50, 97, 50, 54, 45, 52, 54, 48, 98, 45, 57, 48, 53, 56, 45, 101, 57, 55, 56, 99, 97, 52, 49, 56, 49, 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, 48, 98, 48, 98, 55, 99, 97, 57, 37, 50, 68, 52, 49, 102, 98, 37, 50, 68, 52, 57, 48, 97, 37, 50, 68, 57, 100, 54, 52, 37, 50, 68, 102, 101, 99, 56, 100, 54, 54, 52, 99, 101, 50, 100, 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, 48, 58, 48, 56, 58, 52, 56, 46, 55, 48, 51, 50, 57, 51, 51, 50, 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, 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, 98, 57, 98, 102, 97, 56, 97, 49, 45, 51, 53, 48, 49, 45, 52, 53, 48, 49, 45, 98, 54, 54, 51, 45, 50, 55, 48, 100, 53, 53, 98, 97, 99, 48, 53, 53, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 100, 53, 54, 98, 55, 50, 98, 45, 100, 48, 49, 56, 45, 52, 99, 54, 50, 45, 56, 99, 100, 48, 45, 55, 56, 57, 101, 54, 55, 55, 97, 100, 100, 100, 99, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 98, 48, 98, 55, 99, 97, 57, 45, 52, 49, 102, 98, 45, 52, 57, 48, 97, 45, 57, 100, 54, 52, 45, 102, 101, 99, 56, 100, 54, 54, 52, 99, 101, 50, 100, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 100, 53, 54, 98, 55, 50, 98, 45, 100, 48, 49, 56, 45, 52, 99, 54, 50, 45, 56, 99, 100, 48, 45, 55, 56, 57, 101, 54, 55, 55, 97, 100, 100, 100, 99, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 98, 48, 98, 55, 99, 97, 57, 37, 50, 68, 52, 49, 102, 98, 37, 50, 68, 52, 57, 48, 97, 37, 50, 68, 57, 100, 54, 52, 37, 50, 68, 102, 101, 99, 56, 100, 54, 54, 52, 99, 101, 50, 100, 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-09T10:08:49Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/0b0b7ca9-41fb-490a-9d64-fec8d664ce2d", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"1c631c59-2a26-460b-9058-e978ca4181cf\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://0b0b7ca9%2D41fb%2D490a%2D9d64%2Dfec8d664ce2d/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:08:48.703293321Z\",\"data\":{\"connected\":true},\"sender\":\"gateway1\",\"instance\":\"drogue\",\"applicationuid\":\"b9bfa8a1-3501-4501-b663-270d55bac055\",\"deviceuid\":\"ad56b72b-d018-4c62-8cd0-789e677adddc\",\"application\":\"0b0b7ca9-41fb-490a-9d64-fec8d664ce2d\",\"senderuid\":\"ad56b72b-d018-4c62-8cd0-789e677adddc\",\"partitionkey\":\"0b0b7ca9%2D41fb%2D490a%2D9d64%2Dfec8d664ce2d/gateway1\",\"device\":\"gateway1\"}" }
[2022-05-09T10:08:49Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:08:50Z 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: 0x7f0ed0000af0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/0b0b7ca9-41fb-490a-9d64-fec8d664ce2d", 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, 52, 99, 51, 97, 98, 52, 50, 45, 53, 97, 54, 51, 45, 52, 54, 50, 52, 45, 56, 56, 51, 55, 45, 101, 56, 102, 100, 51, 52, 102, 101, 55, 55, 56, 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, 98, 48, 98, 55, 99, 97, 57, 37, 50, 68, 52, 49, 102, 98, 37, 50, 68, 52, 57, 48, 97, 37, 50, 68, 57, 100, 54, 52, 37, 50, 68, 102, 101, 99, 56, 100, 54, 54, 52, 99, 101, 50, 100, 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, 48, 58, 48, 56, 58, 52, 57, 46, 54, 48, 57, 56, 56, 56, 50, 52, 48, 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, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 99, 55, 97, 101, 49, 102, 51, 52, 45, 102, 100, 50, 99, 45, 52, 54, 100, 98, 45, 97, 54, 56, 57, 45, 54, 49, 99, 49, 57, 97, 57, 48, 98, 57, 50, 55, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 98, 57, 98, 102, 97, 56, 97, 49, 45, 51, 53, 48, 49, 45, 52, 53, 48, 49, 45, 98, 54, 54, 51, 45, 50, 55, 48, 100, 53, 53, 98, 97, 99, 48, 53, 53, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 100, 53, 54, 98, 55, 50, 98, 45, 100, 48, 49, 56, 45, 52, 99, 54, 50, 45, 56, 99, 100, 48, 45, 55, 56, 57, 101, 54, 55, 55, 97, 100, 100, 100, 99, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 98, 48, 98, 55, 99, 97, 57, 45, 52, 49, 102, 98, 45, 52, 57, 48, 97, 45, 57, 100, 54, 52, 45, 102, 101, 99, 56, 100, 54, 54, 52, 99, 101, 50, 100, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 98, 48, 98, 55, 99, 97, 57, 37, 50, 68, 52, 49, 102, 98, 37, 50, 68, 52, 57, 48, 97, 37, 50, 68, 57, 100, 54, 52, 37, 50, 68, 102, 101, 99, 56, 100, 54, 54, 52, 99, 101, 50, 100, 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-09T10:08:50Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/0b0b7ca9-41fb-490a-9d64-fec8d664ce2d", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"34c3ab42-5a63-4624-8837-e8fd34fe7780\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://0b0b7ca9%2D41fb%2D490a%2D9d64%2Dfec8d664ce2d/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:08:49.609888240Z\",\"data_base64\":\"\",\"sender\":\"gateway1\",\"device\":\"device1\",\"instance\":\"drogue\",\"deviceuid\":\"c7ae1f34-fd2c-46db-a689-61c19a90b927\",\"applicationuid\":\"b9bfa8a1-3501-4501-b663-270d55bac055\",\"senderuid\":\"ad56b72b-d018-4c62-8cd0-789e677adddc\",\"application\":\"0b0b7ca9-41fb-490a-9d64-fec8d664ce2d\",\"partitionkey\":\"0b0b7ca9%2D41fb%2D490a%2D9d64%2Dfec8d664ce2d/device1\"}" }
[2022-05-09T10:08:50Z 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: 0x7f0ed00022a0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/0b0b7ca9-41fb-490a-9d64-fec8d664ce2d", 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, 55, 100, 50, 98, 51, 56, 45, 102, 48, 50, 55, 45, 52, 100, 55, 56, 45, 57, 98, 56, 52, 45, 52, 48, 48, 49, 102, 99, 49, 54, 55, 50, 98, 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, 48, 98, 48, 98, 55, 99, 97, 57, 37, 50, 68, 52, 49, 102, 98, 37, 50, 68, 52, 57, 48, 97, 37, 50, 68, 57, 100, 54, 52, 37, 50, 68, 102, 101, 99, 56, 100, 54, 54, 52, 99, 101, 50, 100, 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, 48, 58, 48, 56, 58, 53, 48, 46, 49, 48, 54, 50, 57, 54, 54, 48, 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, 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, 48, 98, 48, 98, 55, 99, 97, 57, 45, 52, 49, 102, 98, 45, 52, 57, 48, 97, 45, 57, 100, 54, 52, 45, 102, 101, 99, 56, 100, 54, 54, 52, 99, 101, 50, 100, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 100, 53, 54, 98, 55, 50, 98, 45, 100, 48, 49, 56, 45, 52, 99, 54, 50, 45, 56, 99, 100, 48, 45, 55, 56, 57, 101, 54, 55, 55, 97, 100, 100, 100, 99, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 100, 53, 54, 98, 55, 50, 98, 45, 100, 48, 49, 56, 45, 52, 99, 54, 50, 45, 56, 99, 100, 48, 45, 55, 56, 57, 101, 54, 55, 55, 97, 100, 100, 100, 99, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 98, 48, 98, 55, 99, 97, 57, 37, 50, 68, 52, 49, 102, 98, 37, 50, 68, 52, 57, 48, 97, 37, 50, 68, 57, 100, 54, 52, 37, 50, 68, 102, 101, 99, 56, 100, 54, 54, 52, 99, 101, 50, 100, 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, 98, 57, 98, 102, 97, 56, 97, 49, 45, 51, 53, 48, 49, 45, 52, 53, 48, 49, 45, 98, 54, 54, 51, 45, 50, 55, 48, 100, 53, 53, 98, 97, 99, 48, 53, 53, 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, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:08:50Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/0b0b7ca9-41fb-490a-9d64-fec8d664ce2d", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"497d2b38-f027-4d78-9b84-4001fc1672b3\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://0b0b7ca9%2D41fb%2D490a%2D9d64%2Dfec8d664ce2d/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:08:50.106296605Z\",\"data\":{\"connected\":false},\"device\":\"gateway1\",\"application\":\"0b0b7ca9-41fb-490a-9d64-fec8d664ce2d\",\"senderuid\":\"ad56b72b-d018-4c62-8cd0-789e677adddc\",\"deviceuid\":\"ad56b72b-d018-4c62-8cd0-789e677adddc\",\"partitionkey\":\"0b0b7ca9%2D41fb%2D490a%2D9d64%2Dfec8d664ce2d/gateway1\",\"applicationuid\":\"b9bfa8a1-3501-4501-b663-270d55bac055\",\"instance\":\"drogue\",\"sender\":\"gateway1\"}" }
[2022-05-09T10:08:50Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:08:50Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:08:50Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:08:50Z 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: "0b0b7ca9-41fb-490a-9d64-fec8d664ce2d", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "0b0b7ca9-41fb-490a-9d64-fec8d664ce2d", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:08:50Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:08:50Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "0b0b7ca9-41fb-490a-9d64-fec8d664ce2d" "device1"
[2022-05-09T10:08:50Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:08:50Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:08:50Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "0b0b7ca9-41fb-490a-9d64-fec8d664ce2d" "gateway1"
[2022-05-09T10:08:50Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:08:50Z INFO  drogue_cloud_tests::resources::apps] Destroy application '0b0b7ca9-41fb-490a-9d64-fec8d664ce2d'
[2022-05-09T10:08:50Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "0b0b7ca9-41fb-490a-9d64-fec8d664ce2d"
[2022-05-09T10:08:50Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 0b0b7ca9-41fb-490a-9d64-fec8d664ce2d deleted.\n", stderr: "" })

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

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T10:08:52Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:08:52Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:08:52Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:08:52Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:08:52Z 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-09T10:08:53Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:08:55Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:08:55Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:08:55Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:08:55Z 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-09T10:08:57Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI3MzYsImlhdCI6MTY1MjA5MDkzNiwianRpIjoiMWE5NmUxYzgtOGMxMi00Njc1LTg3ODYtNjhhZWYxMGU3NGJhIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImNfbG5tQmRiUkwtSWRIS3JnWTdNTkEiLCJzZXNzaW9uX3N0YXRlIjoiOTZmZTdmYTgtNWY5ZC00N2JlLThjZWUtMDlkYThkYTc1MTkyIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijk2ZmU3ZmE4LTVmOWQtNDdiZS04Y2VlLTA5ZGE4ZGE3NTE5MiJ9.L6__3MsLIqWNfI6BKSj_Hv_VaLV23_DnT1hvPyAc2lk
[2022-05-09T10:08:57Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:08:57Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:08:57Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI3MzYsImlhdCI6MTY1MjA5MDkzNiwianRpIjoiMWE5NmUxYzgtOGMxMi00Njc1LTg3ODYtNjhhZWYxMGU3NGJhIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImNfbG5tQmRiUkwtSWRIS3JnWTdNTkEiLCJzZXNzaW9uX3N0YXRlIjoiOTZmZTdmYTgtNWY5ZC00N2JlLThjZWUtMDlkYThkYTc1MTkyIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijk2ZmU3ZmE4LTVmOWQtNDdiZS04Y2VlLTA5ZGE4ZGE3NTE5MiJ9.L6__3MsLIqWNfI6BKSj_Hv_VaLV23_DnT1hvPyAc2lk" "--context" "system-tests"
[2022-05-09T10:08:57Z 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-09T10:08:57Z INFO  drogue_cloud_tests::resources::apps] Create application: 687443db-f61d-4a81-8bd1-3ae60fb1237e
[2022-05-09T10:08:57Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "687443db-f61d-4a81-8bd1-3ae60fb1237e"
[2022-05-09T10:08:58Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 687443db-f61d-4a81-8bd1-3ae60fb1237e created.\n", stderr: "" })
[2022-05-09T10:08:58Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "687443db-f61d-4a81-8bd1-3ae60fb1237e"
[2022-05-09T10:08:58Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:08:58.010390Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"687443db-f61d-4a81-8bd1-3ae60fb1237e\",\n    \"resourceVersion\": \"1e6d1a2b-929f-431b-9091-cdac21e68c1f\",\n    \"uid\": \"fe2cfcc4-ceaf-4880-8229-ffd745253fb3\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:08:58.029635998Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:08:58.029552072Z\",\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-09T10:08:58.029463867Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:58.029464869Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:58.029465229Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:58.029465700Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:58.029466271Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:58.029529780Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:08:58Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:08:58.010390Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("687443db-f61d-4a81-8bd1-3ae60fb1237e"), "resourceVersion": String("1e6d1a2b-929f-431b-9091-cdac21e68c1f"), "uid": String("fe2cfcc4-ceaf-4880-8229-ffd745253fb3")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:08:58.029635998Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:08:58.029552072Z"), "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-09T10:08:58.029463867Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:08:58.029464869Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:08:58.029465229Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:08:58.029465700Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:08:58.029466271Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:08:58.029529780Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T10:08:58Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:08:59Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "687443db-f61d-4a81-8bd1-3ae60fb1237e"
[2022-05-09T10:08:59Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:08:58.010390Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"687443db-f61d-4a81-8bd1-3ae60fb1237e\",\n    \"resourceVersion\": \"8feba7db-051f-4dfe-ad64-3dd00b63c70e\",\n    \"uid\": \"fe2cfcc4-ceaf-4880-8229-ffd745253fb3\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:08:58.342572055Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:08:58.342000717Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:58.051013844Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:58.059733652Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:58.128445576Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:58.135279449Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:58.341868750Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:58.341887476Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"aefy8yogJSoH\",\n        \"username\": \"user-687443db-f61d-4a81-8bd1-3ae60fb1237e\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:08:59Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:08:58.010390Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("687443db-f61d-4a81-8bd1-3ae60fb1237e"), "resourceVersion": String("8feba7db-051f-4dfe-ad64-3dd00b63c70e"), "uid": String("fe2cfcc4-ceaf-4880-8229-ffd745253fb3")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:08:58.342572055Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:08:58.342000717Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:08:58.051013844Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:08:58.059733652Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:08:58.128445576Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:08:58.135279449Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:08:58.341868750Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:08:58.341887476Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("aefy8yogJSoH"), "username": String("user-687443db-f61d-4a81-8bd1-3ae60fb1237e")})})})})
[2022-05-09T10:08:59Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:08:59Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "687443db-f61d-4a81-8bd1-3ae60fb1237e"
[2022-05-09T10:08:59Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:08:58.010390Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"687443db-f61d-4a81-8bd1-3ae60fb1237e\",\n    \"resourceVersion\": \"8feba7db-051f-4dfe-ad64-3dd00b63c70e\",\n    \"uid\": \"fe2cfcc4-ceaf-4880-8229-ffd745253fb3\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:08:58.342572055Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:08:58.342000717Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:58.051013844Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:58.059733652Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:58.128445576Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:58.135279449Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:58.341868750Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:08:58.341887476Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"aefy8yogJSoH\",\n        \"username\": \"user-687443db-f61d-4a81-8bd1-3ae60fb1237e\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:08:59Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:08:58.010390Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("687443db-f61d-4a81-8bd1-3ae60fb1237e"), "resourceVersion": String("8feba7db-051f-4dfe-ad64-3dd00b63c70e"), "uid": String("fe2cfcc4-ceaf-4880-8229-ffd745253fb3")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:08:58.342572055Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:08:58.342000717Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:08:58.051013844Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:08:58.059733652Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:08:58.128445576Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:08:58.135279449Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:08:58.341868750Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:08:58.341887476Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("aefy8yogJSoH"), "username": String("user-687443db-f61d-4a81-8bd1-3ae60fb1237e")})})})})
[2022-05-09T10:08:59Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:08:59Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:08:59Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "687443db-f61d-4a81-8bd1-3ae60fb1237e" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:08:59Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:08:59Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:08:59Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:08:59Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:08:59Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEyMzcsImlhdCI6MTY1MjA5MDkzNywiYXV0aF90aW1lIjoxNjUyMDkwOTM0LCJqdGkiOiIzMzhlM2YxOS02ZmUyLTQwZWUtOWQ1Mi03ZThhZGUyOTc2ZjgiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJjX2xubUJkYlJMLUlkSEtyZ1k3TU5BIiwic2Vzc2lvbl9zdGF0ZSI6Ijk2ZmU3ZmE4LTVmOWQtNDdiZS04Y2VlLTA5ZGE4ZGE3NTE5MiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijk2ZmU3ZmE4LTVmOWQtNDdiZS04Y2VlLTA5ZGE4ZGE3NTE5MiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.LzVGJDK1H7ZOAlgryiRHfOU3FG6neqBJTmSK9gTwfvDzx0E8tZO0bs7j-zlpYkr35MZfskidjMDD2PJ3YCX2eDdluasNz6QdxyMv6DKMVIRY0tDZCiMFA40byREkCuXleEXLJAT-smNqcYO-W0v3fNEIGZ4K0o9pexgXZk4BuwLPLhXqLm9SY_cbb-bglIWkPxITG1Z3Hst3aCsdX3JCUK6YU_zdaNkdfMmMgnnrIste3xpE-YCvmeSaBgw9McSSDXxBfCaCIpCCXvC07EodgMSHNXXyKZ1JsRRpBVOfjqaerRCF9E6SvLw-gXQ8Hqythc6pjfPBiIedSeoyLpMrhQ\n", stderr: "" })
[2022-05-09T10:08:59Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:08:59Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:08:59Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:08:59Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "687443db-f61d-4a81-8bd1-3ae60fb1237e" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:08:59Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:08:59Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T10:08:59Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:08:59Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEyMzcsImlhdCI6MTY1MjA5MDkzNywiYXV0aF90aW1lIjoxNjUyMDkwOTM0LCJqdGkiOiIzMzhlM2YxOS02ZmUyLTQwZWUtOWQ1Mi03ZThhZGUyOTc2ZjgiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJjX2xubUJkYlJMLUlkSEtyZ1k3TU5BIiwic2Vzc2lvbl9zdGF0ZSI6Ijk2ZmU3ZmE4LTVmOWQtNDdiZS04Y2VlLTA5ZGE4ZGE3NTE5MiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijk2ZmU3ZmE4LTVmOWQtNDdiZS04Y2VlLTA5ZGE4ZGE3NTE5MiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.LzVGJDK1H7ZOAlgryiRHfOU3FG6neqBJTmSK9gTwfvDzx0E8tZO0bs7j-zlpYkr35MZfskidjMDD2PJ3YCX2eDdluasNz6QdxyMv6DKMVIRY0tDZCiMFA40byREkCuXleEXLJAT-smNqcYO-W0v3fNEIGZ4K0o9pexgXZk4BuwLPLhXqLm9SY_cbb-bglIWkPxITG1Z3Hst3aCsdX3JCUK6YU_zdaNkdfMmMgnnrIste3xpE-YCvmeSaBgw9McSSDXxBfCaCIpCCXvC07EodgMSHNXXyKZ1JsRRpBVOfjqaerRCF9E6SvLw-gXQ8Hqythc6pjfPBiIedSeoyLpMrhQ\n", stderr: "" })
[2022-05-09T10:08: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: 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: "698a53af-d497-421d-8e22-0018af80886f", persistence: None, user_data: None }
[2022-05-09T10:08:59Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:08:59Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc2794c0
[2022-05-09T10:08:59Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc2794c0
[2022-05-09T10:08:59Z 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: 0x55efdc27a480, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc2bbcd0, 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: 0x55efdc2bb9a0, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEyMzcsImlhdCI6MTY1MjA5MDkzNywiYXV0aF90aW1lIjoxNjUyMDkwOTM0LCJqdGkiOiIzMzhlM2YxOS02ZmUyLTQwZWUtOWQ1Mi03ZThhZGUyOTc2ZjgiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJjX2xubUJkYlJMLUlkSEtyZ1k3TU5BIiwic2Vzc2lvbl9zdGF0ZSI6Ijk2ZmU3ZmE4LTVmOWQtNDdiZS04Y2VlLTA5ZGE4ZGE3NTE5MiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijk2ZmU3ZmE4LTVmOWQtNDdiZS04Y2VlLTA5ZGE4ZGE3NTE5MiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.LzVGJDK1H7ZOAlgryiRHfOU3FG6neqBJTmSK9gTwfvDzx0E8tZO0bs7j-zlpYkr35MZfskidjMDD2PJ3YCX2eDdluasNz6QdxyMv6DKMVIRY0tDZCiMFA40byREkCuXleEXLJAT-smNqcYO-W0v3fNEIGZ4K0o9pexgXZk4BuwLPLhXqLm9SY_cbb-bglIWkPxITG1Z3Hst3aCsdX3JCUK6YU_zdaNkdfMmMgnnrIste3xpE-YCvmeSaBgw9McSSDXxBfCaCIpCCXvC07EodgMSHNXXyKZ1JsRRpBVOfjqaerRCF9E6SvLw-gXQ8Hqythc6pjfPBiIedSeoyLpMrhQ"), 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-09T10:08:59Z DEBUG paho_mqtt::async_client] Subscribe to '"app/687443db-f61d-4a81-8bd1-3ae60fb1237e"' @ QOS 0
[2022-05-09T10:08:59Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:08:59Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:08:59Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:08: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-09T10:08:59Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:09: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-09T10:09:01Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:09: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-09T10:09:01Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:09: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-09T10:09:02Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:09: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-09T10:09:02Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:09: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-09T10:09:03Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:09: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-09T10:09:03Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:09: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-09T10:09:03Z 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: 0x7f0edc0162d0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/687443db-f61d-4a81-8bd1-3ae60fb1237e", 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, 97, 52, 53, 98, 48, 52, 53, 45, 54, 56, 48, 102, 45, 52, 56, 52, 48, 45, 56, 97, 50, 99, 45, 53, 54, 53, 52, 50, 49, 51, 49, 51, 97, 54, 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, 56, 55, 52, 52, 51, 100, 98, 37, 50, 68, 102, 54, 49, 100, 37, 50, 68, 52, 97, 56, 49, 37, 50, 68, 56, 98, 100, 49, 37, 50, 68, 51, 97, 101, 54, 48, 102, 98, 49, 50, 51, 55, 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, 48, 58, 48, 57, 58, 48, 51, 46, 50, 55, 49, 53, 54, 50, 56, 57, 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, 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, 56, 55, 52, 52, 51, 100, 98, 45, 102, 54, 49, 100, 45, 52, 97, 56, 49, 45, 56, 98, 100, 49, 45, 51, 97, 101, 54, 48, 102, 98, 49, 50, 51, 55, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 102, 101, 50, 99, 102, 99, 99, 52, 45, 99, 101, 97, 102, 45, 52, 56, 56, 48, 45, 56, 50, 50, 57, 45, 102, 102, 100, 55, 52, 53, 50, 53, 51, 102, 98, 51, 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, 100, 56, 51, 49, 99, 49, 99, 54, 45, 102, 98, 52, 48, 45, 52, 100, 52, 54, 45, 98, 53, 99, 55, 45, 102, 99, 56, 99, 57, 49, 52, 48, 97, 99, 99, 54, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 54, 56, 55, 52, 52, 51, 100, 98, 37, 50, 68, 102, 54, 49, 100, 37, 50, 68, 52, 97, 56, 49, 37, 50, 68, 56, 98, 100, 49, 37, 50, 68, 51, 97, 101, 54, 48, 102, 98, 49, 50, 51, 55, 101, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 48, 48, 97, 101, 51, 50, 49, 55, 45, 101, 56, 99, 100, 45, 52, 97, 55, 100, 45, 98, 53, 53, 48, 45, 49, 50, 53, 49, 49, 49, 54, 54, 50, 102, 50, 98, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:09:03Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/687443db-f61d-4a81-8bd1-3ae60fb1237e", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"7a45b045-680f-4840-8a2c-565421313a64\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://687443db%2Df61d%2D4a81%2D8bd1%2D3ae60fb1237e/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:09:03.271562896Z\",\"data\":{\"index\":3},\"sender\":\"gateway1\",\"instance\":\"drogue\",\"application\":\"687443db-f61d-4a81-8bd1-3ae60fb1237e\",\"applicationuid\":\"fe2cfcc4-ceaf-4880-8229-ffd745253fb3\",\"device\":\"device1\",\"senderuid\":\"d831c1c6-fb40-4d46-b5c7-fc8c9140acc6\",\"partitionkey\":\"687443db%2Df61d%2D4a81%2D8bd1%2D3ae60fb1237e/device1\",\"deviceuid\":\"00ae3217-e8cd-4a7d-b550-125111662f2b\"}" }
[2022-05-09T10:09:04Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:09:04Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:09:04Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:09:04Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:09: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: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "7353c821-b3fb-4232-b5d5-6f073748baee", persistence: None, user_data: None }
[2022-05-09T10:09:04Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:09:04Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbed0810
[2022-05-09T10:09:04Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbed0810
[2022-05-09T10:09:04Z 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: 0x55efdc05d400, password: 0x55efdbf87640, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbf85fc0, 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: 0x55efdc289c20, 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@687443db-f61d-4a81-8bd1-3ae60fb1237e"), 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-09T10:09: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: 0x55efdbfece40 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdbfece40 } } } }
[2022-05-09T10:09:04Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:09: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: 0x7f0edc00c8e0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/687443db-f61d-4a81-8bd1-3ae60fb1237e", 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, 98, 49, 54, 98, 100, 53, 45, 51, 51, 53, 99, 45, 52, 54, 99, 57, 45, 57, 48, 50, 102, 45, 99, 52, 53, 51, 56, 52, 52, 50, 54, 98, 49, 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, 54, 56, 55, 52, 52, 51, 100, 98, 37, 50, 68, 102, 54, 49, 100, 37, 50, 68, 52, 97, 56, 49, 37, 50, 68, 56, 98, 100, 49, 37, 50, 68, 51, 97, 101, 54, 48, 102, 98, 49, 50, 51, 55, 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, 48, 58, 48, 57, 58, 48, 52, 46, 52, 48, 49, 57, 49, 48, 53, 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, 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, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 54, 56, 55, 52, 52, 51, 100, 98, 45, 102, 54, 49, 100, 45, 52, 97, 56, 49, 45, 56, 98, 100, 49, 45, 51, 97, 101, 54, 48, 102, 98, 49, 50, 51, 55, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 102, 101, 50, 99, 102, 99, 99, 52, 45, 99, 101, 97, 102, 45, 52, 56, 56, 48, 45, 56, 50, 50, 57, 45, 102, 102, 100, 55, 52, 53, 50, 53, 51, 102, 98, 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, 100, 56, 51, 49, 99, 49, 99, 54, 45, 102, 98, 52, 48, 45, 52, 100, 52, 54, 45, 98, 53, 99, 55, 45, 102, 99, 56, 99, 57, 49, 52, 48, 97, 99, 99, 54, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 100, 56, 51, 49, 99, 49, 99, 54, 45, 102, 98, 52, 48, 45, 52, 100, 52, 54, 45, 98, 53, 99, 55, 45, 102, 99, 56, 99, 57, 49, 52, 48, 97, 99, 99, 54, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 54, 56, 55, 52, 52, 51, 100, 98, 37, 50, 68, 102, 54, 49, 100, 37, 50, 68, 52, 97, 56, 49, 37, 50, 68, 56, 98, 100, 49, 37, 50, 68, 51, 97, 101, 54, 48, 102, 98, 49, 50, 51, 55, 101, 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, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:09:04Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/687443db-f61d-4a81-8bd1-3ae60fb1237e", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"8eb16bd5-335c-46c9-902f-c45384426b19\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://687443db%2Df61d%2D4a81%2D8bd1%2D3ae60fb1237e/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:09:04.401910587Z\",\"data\":{\"connected\":true},\"device\":\"gateway1\",\"application\":\"687443db-f61d-4a81-8bd1-3ae60fb1237e\",\"applicationuid\":\"fe2cfcc4-ceaf-4880-8229-ffd745253fb3\",\"instance\":\"drogue\",\"deviceuid\":\"d831c1c6-fb40-4d46-b5c7-fc8c9140acc6\",\"senderuid\":\"d831c1c6-fb40-4d46-b5c7-fc8c9140acc6\",\"partitionkey\":\"687443db%2Df61d%2D4a81%2D8bd1%2D3ae60fb1237e/gateway1\",\"sender\":\"gateway1\"}" }
[2022-05-09T10:09:05Z 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: 0x7f0edc008520, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/687443db-f61d-4a81-8bd1-3ae60fb1237e", 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, 48, 55, 53, 56, 98, 102, 56, 45, 50, 56, 97, 49, 45, 52, 101, 53, 57, 45, 57, 100, 53, 52, 45, 98, 100, 50, 50, 48, 102, 99, 55, 98, 51, 101, 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, 56, 55, 52, 52, 51, 100, 98, 37, 50, 68, 102, 54, 49, 100, 37, 50, 68, 52, 97, 56, 49, 37, 50, 68, 56, 98, 100, 49, 37, 50, 68, 51, 97, 101, 54, 48, 102, 98, 49, 50, 51, 55, 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, 48, 58, 48, 57, 58, 48, 52, 46, 54, 49, 52, 55, 57, 57, 55, 53, 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, 100, 56, 51, 49, 99, 49, 99, 54, 45, 102, 98, 52, 48, 45, 52, 100, 52, 54, 45, 98, 53, 99, 55, 45, 102, 99, 56, 99, 57, 49, 52, 48, 97, 99, 99, 54, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 48, 48, 97, 101, 51, 50, 49, 55, 45, 101, 56, 99, 100, 45, 52, 97, 55, 100, 45, 98, 53, 53, 48, 45, 49, 50, 53, 49, 49, 49, 54, 54, 50, 102, 50, 98, 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, 54, 56, 55, 52, 52, 51, 100, 98, 37, 50, 68, 102, 54, 49, 100, 37, 50, 68, 52, 97, 56, 49, 37, 50, 68, 56, 98, 100, 49, 37, 50, 68, 51, 97, 101, 54, 48, 102, 98, 49, 50, 51, 55, 101, 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, 101, 50, 99, 102, 99, 99, 52, 45, 99, 101, 97, 102, 45, 52, 56, 56, 48, 45, 56, 50, 50, 57, 45, 102, 102, 100, 55, 52, 53, 50, 53, 51, 102, 98, 51, 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, 54, 56, 55, 52, 52, 51, 100, 98, 45, 102, 54, 49, 100, 45, 52, 97, 56, 49, 45, 56, 98, 100, 49, 45, 51, 97, 101, 54, 48, 102, 98, 49, 50, 51, 55, 101, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:09:05Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/687443db-f61d-4a81-8bd1-3ae60fb1237e", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"30758bf8-28a1-4e59-9d54-bd220fc7b3ec\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://687443db%2Df61d%2D4a81%2D8bd1%2D3ae60fb1237e/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:09:04.614799754Z\",\"data_base64\":\"\",\"senderuid\":\"d831c1c6-fb40-4d46-b5c7-fc8c9140acc6\",\"deviceuid\":\"00ae3217-e8cd-4a7d-b550-125111662f2b\",\"sender\":\"gateway1\",\"partitionkey\":\"687443db%2Df61d%2D4a81%2D8bd1%2D3ae60fb1237e/device1\",\"applicationuid\":\"fe2cfcc4-ceaf-4880-8229-ffd745253fb3\",\"device\":\"device1\",\"instance\":\"drogue\",\"application\":\"687443db-f61d-4a81-8bd1-3ae60fb1237e\"}" }
[2022-05-09T10:09:05Z 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: 0x7f0edc00a990, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/687443db-f61d-4a81-8bd1-3ae60fb1237e", 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, 51, 99, 53, 52, 98, 53, 45, 51, 97, 101, 56, 45, 52, 99, 52, 55, 45, 56, 56, 49, 100, 45, 49, 53, 100, 53, 100, 55, 48, 50, 52, 53, 54, 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, 54, 56, 55, 52, 52, 51, 100, 98, 37, 50, 68, 102, 54, 49, 100, 37, 50, 68, 52, 97, 56, 49, 37, 50, 68, 56, 98, 100, 49, 37, 50, 68, 51, 97, 101, 54, 48, 102, 98, 49, 50, 51, 55, 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, 48, 58, 48, 57, 58, 48, 53, 46, 48, 57, 55, 54, 56, 50, 49, 56, 48, 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, 54, 56, 55, 52, 52, 51, 100, 98, 37, 50, 68, 102, 54, 49, 100, 37, 50, 68, 52, 97, 56, 49, 37, 50, 68, 56, 98, 100, 49, 37, 50, 68, 51, 97, 101, 54, 48, 102, 98, 49, 50, 51, 55, 101, 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, 34, 58, 34, 54, 56, 55, 52, 52, 51, 100, 98, 45, 102, 54, 49, 100, 45, 52, 97, 56, 49, 45, 56, 98, 100, 49, 45, 51, 97, 101, 54, 48, 102, 98, 49, 50, 51, 55, 101, 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, 100, 56, 51, 49, 99, 49, 99, 54, 45, 102, 98, 52, 48, 45, 52, 100, 52, 54, 45, 98, 53, 99, 55, 45, 102, 99, 56, 99, 57, 49, 52, 48, 97, 99, 99, 54, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 100, 56, 51, 49, 99, 49, 99, 54, 45, 102, 98, 52, 48, 45, 52, 100, 52, 54, 45, 98, 53, 99, 55, 45, 102, 99, 56, 99, 57, 49, 52, 48, 97, 99, 99, 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, 102, 101, 50, 99, 102, 99, 99, 52, 45, 99, 101, 97, 102, 45, 52, 56, 56, 48, 45, 56, 50, 50, 57, 45, 102, 102, 100, 55, 52, 53, 50, 53, 51, 102, 98, 51, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:09:05Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/687443db-f61d-4a81-8bd1-3ae60fb1237e", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"a03c54b5-3ae8-4c47-881d-15d5d702456a\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://687443db%2Df61d%2D4a81%2D8bd1%2D3ae60fb1237e/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:09:05.097682180Z\",\"data\":{\"connected\":false},\"partitionkey\":\"687443db%2Df61d%2D4a81%2D8bd1%2D3ae60fb1237e/gateway1\",\"device\":\"gateway1\",\"application\":\"687443db-f61d-4a81-8bd1-3ae60fb1237e\",\"instance\":\"drogue\",\"deviceuid\":\"d831c1c6-fb40-4d46-b5c7-fc8c9140acc6\",\"senderuid\":\"d831c1c6-fb40-4d46-b5c7-fc8c9140acc6\",\"sender\":\"gateway1\",\"applicationuid\":\"fe2cfcc4-ceaf-4880-8229-ffd745253fb3\"}" }
[2022-05-09T10:09:05Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:09:05Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:09:05Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:09:05Z 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: "687443db-f61d-4a81-8bd1-3ae60fb1237e", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "687443db-f61d-4a81-8bd1-3ae60fb1237e", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:09:05Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:09:05Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "687443db-f61d-4a81-8bd1-3ae60fb1237e" "device1"
[2022-05-09T10:09:05Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:09:05Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:09:05Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "687443db-f61d-4a81-8bd1-3ae60fb1237e" "gateway1"
[2022-05-09T10:09:05Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:09:05Z INFO  drogue_cloud_tests::resources::apps] Destroy application '687443db-f61d-4a81-8bd1-3ae60fb1237e'
[2022-05-09T10:09:05Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "687443db-f61d-4a81-8bd1-3ae60fb1237e"
[2022-05-09T10:09:05Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 687443db-f61d-4a81-8bd1-3ae60fb1237e deleted.\n", stderr: "" })

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

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T10:09:07Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:09:07Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:09:07Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:09:07Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:09:07Z 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-09T10:09:08Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:09:10Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:09:10Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:09:10Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:09:10Z 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-09T10:09:12Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI3NTEsImlhdCI6MTY1MjA5MDk1MSwianRpIjoiYzEzNWZhMzUtNmUyOS00ZTY1LWFjZjctMGViMDk5NzFhYTg0IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImlJUllvdGFtcmxhSjVuTk00bHpzY2ciLCJzZXNzaW9uX3N0YXRlIjoiNTQ5YWVlMTItMGU5MS00YjdjLTljMGQtODUzYjMxYzUxYzRkIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjU0OWFlZTEyLTBlOTEtNGI3Yy05YzBkLTg1M2IzMWM1MWM0ZCJ9.9ORAkk0wQ3a9SCnGWfUZbbwiM2mQoYlRxuFxSZBW0m8
[2022-05-09T10:09:12Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:09:12Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:09:12Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI3NTEsImlhdCI6MTY1MjA5MDk1MSwianRpIjoiYzEzNWZhMzUtNmUyOS00ZTY1LWFjZjctMGViMDk5NzFhYTg0IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImlJUllvdGFtcmxhSjVuTk00bHpzY2ciLCJzZXNzaW9uX3N0YXRlIjoiNTQ5YWVlMTItMGU5MS00YjdjLTljMGQtODUzYjMxYzUxYzRkIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjU0OWFlZTEyLTBlOTEtNGI3Yy05YzBkLTg1M2IzMWM1MWM0ZCJ9.9ORAkk0wQ3a9SCnGWfUZbbwiM2mQoYlRxuFxSZBW0m8" "--context" "system-tests"
[2022-05-09T10:09:12Z 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-09T10:09:12Z INFO  drogue_cloud_tests::resources::apps] Create application: fd12197d-d759-4fb2-9234-7da5efb1b7a2
[2022-05-09T10:09:12Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "fd12197d-d759-4fb2-9234-7da5efb1b7a2"
[2022-05-09T10:09:12Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App fd12197d-d759-4fb2-9234-7da5efb1b7a2 created.\n", stderr: "" })
[2022-05-09T10:09:12Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "fd12197d-d759-4fb2-9234-7da5efb1b7a2"
[2022-05-09T10:09:12Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:09:12.912698Z\",\n    \"generation\": 1,\n    \"name\": \"fd12197d-d759-4fb2-9234-7da5efb1b7a2\",\n    \"resourceVersion\": \"dbdd6a3d-7116-4e85-ab43-6b6457eff833\",\n    \"uid\": \"25546134-a463-4b66-a743-878ed18472be\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:09:12.928513068Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2022-05-09T10:09:12Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:09:12.912698Z"), "generation": Number(1), "name": String("fd12197d-d759-4fb2-9234-7da5efb1b7a2"), "resourceVersion": String("dbdd6a3d-7116-4e85-ab43-6b6457eff833"), "uid": String("25546134-a463-4b66-a743-878ed18472be")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:09:12.928513068Z"), "status": String("True"), "type": String("Ready")})])})})
[2022-05-09T10:09:12Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:09:13Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "fd12197d-d759-4fb2-9234-7da5efb1b7a2"
[2022-05-09T10:09:13Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:09:12.912698Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"fd12197d-d759-4fb2-9234-7da5efb1b7a2\",\n    \"resourceVersion\": \"ef77d549-271b-4746-8b7c-4e451f915c6f\",\n    \"uid\": \"25546134-a463-4b66-a743-878ed18472be\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:09:13.212978628Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:09:13.212936359Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:12.965482826Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:12.971517035Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:13.039117884Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:13.052390050Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:13.212892858Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:13.212910682Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"jFKmERjFzr98\",\n        \"username\": \"user-fd12197d-d759-4fb2-9234-7da5efb1b7a2\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:09:13Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:09:12.912698Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("fd12197d-d759-4fb2-9234-7da5efb1b7a2"), "resourceVersion": String("ef77d549-271b-4746-8b7c-4e451f915c6f"), "uid": String("25546134-a463-4b66-a743-878ed18472be")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:09:13.212978628Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:09:13.212936359Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:09:12.965482826Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:09:12.971517035Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:09:13.039117884Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:09:13.052390050Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:09:13.212892858Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:09:13.212910682Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("jFKmERjFzr98"), "username": String("user-fd12197d-d759-4fb2-9234-7da5efb1b7a2")})})})})
[2022-05-09T10:09:13Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:09:13Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "fd12197d-d759-4fb2-9234-7da5efb1b7a2"
[2022-05-09T10:09:13Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:09:12.912698Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"fd12197d-d759-4fb2-9234-7da5efb1b7a2\",\n    \"resourceVersion\": \"ef77d549-271b-4746-8b7c-4e451f915c6f\",\n    \"uid\": \"25546134-a463-4b66-a743-878ed18472be\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:09:13.212978628Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:09:13.212936359Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:12.965482826Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:12.971517035Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:13.039117884Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:13.052390050Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:13.212892858Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:13.212910682Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"jFKmERjFzr98\",\n        \"username\": \"user-fd12197d-d759-4fb2-9234-7da5efb1b7a2\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:09:13Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:09:12.912698Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("fd12197d-d759-4fb2-9234-7da5efb1b7a2"), "resourceVersion": String("ef77d549-271b-4746-8b7c-4e451f915c6f"), "uid": String("25546134-a463-4b66-a743-878ed18472be")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:09:13.212978628Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:09:13.212936359Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:09:12.965482826Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:09:12.971517035Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:09:13.039117884Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:09:13.052390050Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:09:13.212892858Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:09:13.212910682Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("jFKmERjFzr98"), "username": String("user-fd12197d-d759-4fb2-9234-7da5efb1b7a2")})})})})
[2022-05-09T10:09:13Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:09:13Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:09:13Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "fd12197d-d759-4fb2-9234-7da5efb1b7a2" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:09:14Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:09:14Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:09:14Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:09:14Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:09:14Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEyNTIsImlhdCI6MTY1MjA5MDk1MiwiYXV0aF90aW1lIjoxNjUyMDkwOTQ4LCJqdGkiOiJhNGFkOGRiNy1iOTk0LTRhNzYtOGJjZC05N2YyZTVhODg5NDkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJpSVJZb3RhbXJsYUo1bk5NNGx6c2NnIiwic2Vzc2lvbl9zdGF0ZSI6IjU0OWFlZTEyLTBlOTEtNGI3Yy05YzBkLTg1M2IzMWM1MWM0ZCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjU0OWFlZTEyLTBlOTEtNGI3Yy05YzBkLTg1M2IzMWM1MWM0ZCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.G32f9GYmmTycZ7oSB_P1-p19e6A4gY2GGTXRsBvLT9ZGZH1pxXEhaZeoEY9Un_8X-SpIEIXFWVRav6adDIJ319C1FQqmbgmdg-v-slpOSU0MzQocEBKkEE_gqOkn-j7mnOX-U54oRCaUzQE7ROV5DixU8987olszzE-1DIzUZ0IFMVgsGypxoH_0kCMnQ2RymSXyY3VhHl8tg3ILG-VC2PJ6ToH6fbKkb1yTkc5HuGHEC99ppNM7Xt_zZ4tVwLETRC-wawy7Ve3E3g67tDU6eGfKUJ9Pzc50BWfqODsRSrJuGZdS-iJEEV3j6mKgCdYFeCqxZWM07Gf_Ro_sYI7ZJA\n", stderr: "" })
[2022-05-09T10:09:14Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:09:14Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:09:14Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:09:14Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "fd12197d-d759-4fb2-9234-7da5efb1b7a2" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:09:14Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:09:14Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T10:09:14Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:09:14Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEyNTIsImlhdCI6MTY1MjA5MDk1MiwiYXV0aF90aW1lIjoxNjUyMDkwOTQ4LCJqdGkiOiJhNGFkOGRiNy1iOTk0LTRhNzYtOGJjZC05N2YyZTVhODg5NDkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJpSVJZb3RhbXJsYUo1bk5NNGx6c2NnIiwic2Vzc2lvbl9zdGF0ZSI6IjU0OWFlZTEyLTBlOTEtNGI3Yy05YzBkLTg1M2IzMWM1MWM0ZCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjU0OWFlZTEyLTBlOTEtNGI3Yy05YzBkLTg1M2IzMWM1MWM0ZCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.G32f9GYmmTycZ7oSB_P1-p19e6A4gY2GGTXRsBvLT9ZGZH1pxXEhaZeoEY9Un_8X-SpIEIXFWVRav6adDIJ319C1FQqmbgmdg-v-slpOSU0MzQocEBKkEE_gqOkn-j7mnOX-U54oRCaUzQE7ROV5DixU8987olszzE-1DIzUZ0IFMVgsGypxoH_0kCMnQ2RymSXyY3VhHl8tg3ILG-VC2PJ6ToH6fbKkb1yTkc5HuGHEC99ppNM7Xt_zZ4tVwLETRC-wawy7Ve3E3g67tDU6eGfKUJ9Pzc50BWfqODsRSrJuGZdS-iJEEV3j6mKgCdYFeCqxZWM07Gf_Ro_sYI7ZJA\n", stderr: "" })
[2022-05-09T10:09: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: "d0b6db9e-6f64-4ad8-b286-e6237f905bdf", persistence: None, user_data: None }
[2022-05-09T10:09:14Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:09:14Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc2794c0
[2022-05-09T10:09:14Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc2794c0
[2022-05-09T10:09: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: 0x55efdbe371a0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc05c6e0, 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: 0x55efdbef78f0, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEyNTIsImlhdCI6MTY1MjA5MDk1MiwiYXV0aF90aW1lIjoxNjUyMDkwOTQ4LCJqdGkiOiJhNGFkOGRiNy1iOTk0LTRhNzYtOGJjZC05N2YyZTVhODg5NDkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJpSVJZb3RhbXJsYUo1bk5NNGx6c2NnIiwic2Vzc2lvbl9zdGF0ZSI6IjU0OWFlZTEyLTBlOTEtNGI3Yy05YzBkLTg1M2IzMWM1MWM0ZCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjU0OWFlZTEyLTBlOTEtNGI3Yy05YzBkLTg1M2IzMWM1MWM0ZCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.G32f9GYmmTycZ7oSB_P1-p19e6A4gY2GGTXRsBvLT9ZGZH1pxXEhaZeoEY9Un_8X-SpIEIXFWVRav6adDIJ319C1FQqmbgmdg-v-slpOSU0MzQocEBKkEE_gqOkn-j7mnOX-U54oRCaUzQE7ROV5DixU8987olszzE-1DIzUZ0IFMVgsGypxoH_0kCMnQ2RymSXyY3VhHl8tg3ILG-VC2PJ6ToH6fbKkb1yTkc5HuGHEC99ppNM7Xt_zZ4tVwLETRC-wawy7Ve3E3g67tDU6eGfKUJ9Pzc50BWfqODsRSrJuGZdS-iJEEV3j6mKgCdYFeCqxZWM07Gf_Ro_sYI7ZJA"), 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-09T10:09:14Z DEBUG paho_mqtt::async_client] Subscribe to '"app/fd12197d-d759-4fb2-9234-7da5efb1b7a2"' @ QOS 0
[2022-05-09T10:09:14Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:09:14Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:09:14Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:09: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-09T10:09:14Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:09: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-09T10:09:15Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:09: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-09T10:09:15Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:09: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-09T10:09:16Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:09: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-09T10:09:16Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:09: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-09T10:09:17Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:09: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-09T10:09:17Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:09: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-09T10:09: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: 0x7f0edc008080, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc002e30 } }, data: MessageData { topic: "app/fd12197d-d759-4fb2-9234-7da5efb1b7a2", 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, 57, 101, 48, 97, 56, 99, 54, 45, 99, 55, 98, 48, 45, 52, 52, 100, 52, 45, 98, 55, 102, 51, 45, 50, 52, 51, 57, 48, 97, 55, 99, 52, 55, 57, 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, 102, 100, 49, 50, 49, 57, 55, 100, 37, 50, 68, 100, 55, 53, 57, 37, 50, 68, 52, 102, 98, 50, 37, 50, 68, 57, 50, 51, 52, 37, 50, 68, 55, 100, 97, 53, 101, 102, 98, 49, 98, 55, 97, 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, 48, 58, 48, 57, 58, 49, 55, 46, 50, 55, 54, 48, 55, 54, 52, 50, 52, 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, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 102, 100, 49, 50, 49, 57, 55, 100, 37, 50, 68, 100, 55, 53, 57, 37, 50, 68, 52, 102, 98, 50, 37, 50, 68, 57, 50, 51, 52, 37, 50, 68, 55, 100, 97, 53, 101, 102, 98, 49, 98, 55, 97, 50, 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, 34, 58, 34, 102, 100, 49, 50, 49, 57, 55, 100, 45, 100, 55, 53, 57, 45, 52, 102, 98, 50, 45, 57, 50, 51, 52, 45, 55, 100, 97, 53, 101, 102, 98, 49, 98, 55, 97, 50, 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, 50, 53, 53, 52, 54, 49, 51, 52, 45, 97, 52, 54, 51, 45, 52, 98, 54, 54, 45, 97, 55, 52, 51, 45, 56, 55, 56, 101, 100, 49, 56, 52, 55, 50, 98, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 100, 57, 99, 49, 53, 52, 48, 97, 45, 98, 55, 101, 57, 45, 52, 52, 52, 57, 45, 56, 51, 53, 53, 45, 49, 97, 55, 100, 51, 54, 56, 50, 49, 51, 54, 52, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 51, 52, 57, 98, 50, 56, 57, 50, 45, 57, 53, 55, 101, 45, 52, 97, 97, 50, 45, 98, 51, 48, 57, 45, 100, 99, 101, 51, 48, 99, 102, 54, 54, 49, 50, 99, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc002e30 } } } }
[2022-05-09T10:09:17Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdc0c26f0
[2022-05-09T10:09:17Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/fd12197d-d759-4fb2-9234-7da5efb1b7a2", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"f9e0a8c6-c7b0-44d4-b7f3-24390a7c479c\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://fd12197d%2Dd759%2D4fb2%2D9234%2D7da5efb1b7a2/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:09:17.276076424Z\",\"data\":{\"index\":3},\"instance\":\"drogue\",\"partitionkey\":\"fd12197d%2Dd759%2D4fb2%2D9234%2D7da5efb1b7a2/device1\",\"device\":\"device1\",\"application\":\"fd12197d-d759-4fb2-9234-7da5efb1b7a2\",\"sender\":\"gateway1\",\"applicationuid\":\"25546134-a463-4b66-a743-878ed18472be\",\"deviceuid\":\"d9c1540a-b7e9-4449-8355-1a7d36821364\",\"senderuid\":\"349b2892-957e-4aa2-b309-dce30cf6612c\"}" }
[2022-05-09T10:09:18Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:09:18Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:09:18Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:09:18Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:09: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-endpoint.172.18.0.2.nip.io:30001", client_id: "c127aaca-5965-4f75-a0a2-f48d4e073508", persistence: None, user_data: None }
[2022-05-09T10:09:18Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:09:18Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbe3ccc0
[2022-05-09T10:09:18Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbe3ccc0
[2022-05-09T10:09: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: 0x55efdbfc9380, password: 0x55efdbf5d460, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc048cb0, 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: 0x55efdbfc7d60, 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@fd12197d-d759-4fb2-9234-7da5efb1b7a2"), 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-09T10:09: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: 0x7f0edc02ad80, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc02b010 } }, data: MessageData { topic: "app/fd12197d-d759-4fb2-9234-7da5efb1b7a2", 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, 54, 48, 100, 52, 99, 51, 56, 45, 54, 49, 48, 51, 45, 52, 48, 55, 48, 45, 98, 102, 51, 99, 45, 101, 49, 100, 54, 55, 54, 97, 53, 53, 55, 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, 102, 100, 49, 50, 49, 57, 55, 100, 37, 50, 68, 100, 55, 53, 57, 37, 50, 68, 52, 102, 98, 50, 37, 50, 68, 57, 50, 51, 52, 37, 50, 68, 55, 100, 97, 53, 101, 102, 98, 49, 98, 55, 97, 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, 48, 58, 48, 57, 58, 49, 56, 46, 51, 57, 52, 55, 50, 49, 49, 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, 116, 114, 117, 101, 125, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 51, 52, 57, 98, 50, 56, 57, 50, 45, 57, 53, 55, 101, 45, 52, 97, 97, 50, 45, 98, 51, 48, 57, 45, 100, 99, 101, 51, 48, 99, 102, 54, 54, 49, 50, 99, 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, 49, 50, 49, 57, 55, 100, 45, 100, 55, 53, 57, 45, 52, 102, 98, 50, 45, 57, 50, 51, 52, 45, 55, 100, 97, 53, 101, 102, 98, 49, 98, 55, 97, 50, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 51, 52, 57, 98, 50, 56, 57, 50, 45, 57, 53, 55, 101, 45, 52, 97, 97, 50, 45, 98, 51, 48, 57, 45, 100, 99, 101, 51, 48, 99, 102, 54, 54, 49, 50, 99, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 102, 100, 49, 50, 49, 57, 55, 100, 37, 50, 68, 100, 55, 53, 57, 37, 50, 68, 52, 102, 98, 50, 37, 50, 68, 57, 50, 51, 52, 37, 50, 68, 55, 100, 97, 53, 101, 102, 98, 49, 98, 55, 97, 50, 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, 50, 53, 53, 52, 54, 49, 51, 52, 45, 97, 52, 54, 51, 45, 52, 98, 54, 54, 45, 97, 55, 52, 51, 45, 56, 55, 56, 101, 100, 49, 56, 52, 55, 50, 98, 101, 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: 0x7f0edc02b010 } } } }
[2022-05-09T10:09:18Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdc0c26f0
[2022-05-09T10:09:18Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/fd12197d-d759-4fb2-9234-7da5efb1b7a2", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"c60d4c38-6103-4070-bf3c-e1d676a557ce\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://fd12197d%2Dd759%2D4fb2%2D9234%2D7da5efb1b7a2/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:09:18.394721194Z\",\"data\":{\"connected\":true},\"senderuid\":\"349b2892-957e-4aa2-b309-dce30cf6612c\",\"sender\":\"gateway1\",\"application\":\"fd12197d-d759-4fb2-9234-7da5efb1b7a2\",\"deviceuid\":\"349b2892-957e-4aa2-b309-dce30cf6612c\",\"partitionkey\":\"fd12197d%2Dd759%2D4fb2%2D9234%2D7da5efb1b7a2/gateway1\",\"device\":\"gateway1\",\"applicationuid\":\"25546134-a463-4b66-a743-878ed18472be\",\"instance\":\"drogue\"}" }
[2022-05-09T10:09: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: 0x55efdbeeeac0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdbeeeac0 } } } }
[2022-05-09T10:09:18Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:09: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: 0x7f0edc003460, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc014780 } }, data: MessageData { topic: "app/fd12197d-d759-4fb2-9234-7da5efb1b7a2", 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, 54, 51, 48, 55, 101, 50, 48, 45, 99, 55, 51, 54, 45, 52, 49, 100, 99, 45, 97, 100, 54, 50, 45, 51, 48, 52, 54, 53, 99, 51, 102, 55, 55, 51, 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, 102, 100, 49, 50, 49, 57, 55, 100, 37, 50, 68, 100, 55, 53, 57, 37, 50, 68, 52, 102, 98, 50, 37, 50, 68, 57, 50, 51, 52, 37, 50, 68, 55, 100, 97, 53, 101, 102, 98, 49, 98, 55, 97, 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, 48, 58, 48, 57, 58, 49, 56, 46, 54, 49, 57, 55, 49, 50, 56, 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, 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, 50, 53, 53, 52, 54, 49, 51, 52, 45, 97, 52, 54, 51, 45, 52, 98, 54, 54, 45, 97, 55, 52, 51, 45, 56, 55, 56, 101, 100, 49, 56, 52, 55, 50, 98, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 51, 52, 57, 98, 50, 56, 57, 50, 45, 57, 53, 55, 101, 45, 52, 97, 97, 50, 45, 98, 51, 48, 57, 45, 100, 99, 101, 51, 48, 99, 102, 54, 54, 49, 50, 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, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 102, 100, 49, 50, 49, 57, 55, 100, 37, 50, 68, 100, 55, 53, 57, 37, 50, 68, 52, 102, 98, 50, 37, 50, 68, 57, 50, 51, 52, 37, 50, 68, 55, 100, 97, 53, 101, 102, 98, 49, 98, 55, 97, 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, 49, 50, 49, 57, 55, 100, 45, 100, 55, 53, 57, 45, 52, 102, 98, 50, 45, 57, 50, 51, 52, 45, 55, 100, 97, 53, 101, 102, 98, 49, 98, 55, 97, 50, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 51, 52, 57, 98, 50, 56, 57, 50, 45, 57, 53, 55, 101, 45, 52, 97, 97, 50, 45, 98, 51, 48, 57, 45, 100, 99, 101, 51, 48, 99, 102, 54, 54, 49, 50, 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: 2, max_count: 10, length: 48, array: 0x7f0edc014780 } } } }
[2022-05-09T10:09:18Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdc0c26f0
[2022-05-09T10:09:18Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/fd12197d-d759-4fb2-9234-7da5efb1b7a2", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"76307e20-c736-41dc-ad62-30465c3f7738\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://fd12197d%2Dd759%2D4fb2%2D9234%2D7da5efb1b7a2/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:09:18.619712898Z\",\"data\":{\"connected\":false},\"applicationuid\":\"25546134-a463-4b66-a743-878ed18472be\",\"deviceuid\":\"349b2892-957e-4aa2-b309-dce30cf6612c\",\"sender\":\"gateway1\",\"device\":\"gateway1\",\"partitionkey\":\"fd12197d%2Dd759%2D4fb2%2D9234%2D7da5efb1b7a2/gateway1\",\"application\":\"fd12197d-d759-4fb2-9234-7da5efb1b7a2\",\"senderuid\":\"349b2892-957e-4aa2-b309-dce30cf6612c\",\"instance\":\"drogue\"}" }
[2022-05-09T10:09:19Z 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: 0x7f0edc014780, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc014a00 } }, data: MessageData { topic: "app/fd12197d-d759-4fb2-9234-7da5efb1b7a2", 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, 99, 49, 56, 52, 100, 54, 45, 55, 52, 101, 55, 45, 52, 53, 53, 52, 45, 56, 55, 49, 56, 45, 101, 57, 56, 49, 50, 57, 52, 98, 55, 55, 50, 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, 49, 50, 49, 57, 55, 100, 37, 50, 68, 100, 55, 53, 57, 37, 50, 68, 52, 102, 98, 50, 37, 50, 68, 57, 50, 51, 52, 37, 50, 68, 55, 100, 97, 53, 101, 102, 98, 49, 98, 55, 97, 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, 48, 58, 48, 57, 58, 49, 56, 46, 54, 49, 57, 51, 55, 56, 52, 56, 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, 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, 51, 52, 57, 98, 50, 56, 57, 50, 45, 57, 53, 55, 101, 45, 52, 97, 97, 50, 45, 98, 51, 48, 57, 45, 100, 99, 101, 51, 48, 99, 102, 54, 54, 49, 50, 99, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 102, 100, 49, 50, 49, 57, 55, 100, 37, 50, 68, 100, 55, 53, 57, 37, 50, 68, 52, 102, 98, 50, 37, 50, 68, 57, 50, 51, 52, 37, 50, 68, 55, 100, 97, 53, 101, 102, 98, 49, 98, 55, 97, 50, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 100, 57, 99, 49, 53, 52, 48, 97, 45, 98, 55, 101, 57, 45, 52, 52, 52, 57, 45, 56, 51, 53, 53, 45, 49, 97, 55, 100, 51, 54, 56, 50, 49, 51, 54, 52, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 50, 53, 53, 52, 54, 49, 51, 52, 45, 97, 52, 54, 51, 45, 52, 98, 54, 54, 45, 97, 55, 52, 51, 45, 56, 55, 56, 101, 100, 49, 56, 52, 55, 50, 98, 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, 102, 100, 49, 50, 49, 57, 55, 100, 45, 100, 55, 53, 57, 45, 52, 102, 98, 50, 45, 57, 50, 51, 52, 45, 55, 100, 97, 53, 101, 102, 98, 49, 98, 55, 97, 50, 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: 0x7f0edc014a00 } } } }
[2022-05-09T10:09:19Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdc0c26f0
[2022-05-09T10:09:19Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/fd12197d-d759-4fb2-9234-7da5efb1b7a2", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"06c184d6-74e7-4554-8718-e981294b7726\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://fd12197d%2Dd759%2D4fb2%2D9234%2D7da5efb1b7a2/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:09:18.619378482Z\",\"data_base64\":\"\",\"sender\":\"gateway1\",\"senderuid\":\"349b2892-957e-4aa2-b309-dce30cf6612c\",\"partitionkey\":\"fd12197d%2Dd759%2D4fb2%2D9234%2D7da5efb1b7a2/device1\",\"deviceuid\":\"d9c1540a-b7e9-4449-8355-1a7d36821364\",\"applicationuid\":\"25546134-a463-4b66-a743-878ed18472be\",\"device\":\"device1\",\"application\":\"fd12197d-d759-4fb2-9234-7da5efb1b7a2\",\"instance\":\"drogue\"}" }
[2022-05-09T10:09:19Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:09:19Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:09:19Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:09:19Z 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: "fd12197d-d759-4fb2-9234-7da5efb1b7a2", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "fd12197d-d759-4fb2-9234-7da5efb1b7a2", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:09:19Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:09:19Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "fd12197d-d759-4fb2-9234-7da5efb1b7a2" "device1"
[2022-05-09T10:09:19Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:09:19Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:09:19Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "fd12197d-d759-4fb2-9234-7da5efb1b7a2" "gateway1"
[2022-05-09T10:09:19Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:09:19Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'fd12197d-d759-4fb2-9234-7da5efb1b7a2'
[2022-05-09T10:09:19Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "fd12197d-d759-4fb2-9234-7da5efb1b7a2"
[2022-05-09T10:09:19Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App fd12197d-d759-4fb2-9234-7da5efb1b7a2 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-09T10:09:21Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:09:21Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:09:21Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:09:21Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:09: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-09T10:09:22Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:09:23Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:09:23Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:09:23Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:09: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-09T10:09:25Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI3NjUsImlhdCI6MTY1MjA5MDk2NSwianRpIjoiZjE3ZDMzZGYtNDNjMi00ZjQ5LThiMWMtZTI5NjA2YmM0NDAxIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ind2Sll5WC1yZ0M5eUYyTmN6dEtkTFEiLCJzZXNzaW9uX3N0YXRlIjoiODZmYzliMzktMjFiMC00ZjdlLTg4ODQtMjZlNGIwMmEyZmM3Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijg2ZmM5YjM5LTIxYjAtNGY3ZS04ODg0LTI2ZTRiMDJhMmZjNyJ9.Ygqfay6IZqljNwSEJ6tbohfQx2sBkNsBFa3YH2rtTu8
[2022-05-09T10:09:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:09:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:09:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI3NjUsImlhdCI6MTY1MjA5MDk2NSwianRpIjoiZjE3ZDMzZGYtNDNjMi00ZjQ5LThiMWMtZTI5NjA2YmM0NDAxIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ind2Sll5WC1yZ0M5eUYyTmN6dEtkTFEiLCJzZXNzaW9uX3N0YXRlIjoiODZmYzliMzktMjFiMC00ZjdlLTg4ODQtMjZlNGIwMmEyZmM3Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijg2ZmM5YjM5LTIxYjAtNGY3ZS04ODg0LTI2ZTRiMDJhMmZjNyJ9.Ygqfay6IZqljNwSEJ6tbohfQx2sBkNsBFa3YH2rtTu8" "--context" "system-tests"
[2022-05-09T10:09: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-09T10:09:26Z INFO  drogue_cloud_tests::resources::apps] Create application: daadb8cf-f0b3-4667-aac8-be424952535a
[2022-05-09T10:09:26Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "daadb8cf-f0b3-4667-aac8-be424952535a"
[2022-05-09T10:09:26Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App daadb8cf-f0b3-4667-aac8-be424952535a created.\n", stderr: "" })
[2022-05-09T10:09:26Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "daadb8cf-f0b3-4667-aac8-be424952535a"
[2022-05-09T10:09:26Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:09:26.322293Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"daadb8cf-f0b3-4667-aac8-be424952535a\",\n    \"resourceVersion\": \"42e1ec5e-1573-44aa-bbe5-68a4d2efd377\",\n    \"uid\": \"9c3e8acb-8e8d-4a06-81f9-a6c25019d3f5\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:09:26.346463918Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:09:26.346409025Z\",\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-09T10:09:26.346328985Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:26.346329967Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:26.346330428Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:26.346331079Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:26.346331550Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:26.346374300Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:09:26Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:09:26.322293Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("daadb8cf-f0b3-4667-aac8-be424952535a"), "resourceVersion": String("42e1ec5e-1573-44aa-bbe5-68a4d2efd377"), "uid": String("9c3e8acb-8e8d-4a06-81f9-a6c25019d3f5")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:09:26.346463918Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:09:26.346409025Z"), "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-09T10:09:26.346328985Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:09:26.346329967Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:09:26.346330428Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:09:26.346331079Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:09:26.346331550Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:09:26.346374300Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T10:09:26Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:09:27Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "daadb8cf-f0b3-4667-aac8-be424952535a"
[2022-05-09T10:09:27Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:09:26.322293Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"daadb8cf-f0b3-4667-aac8-be424952535a\",\n    \"resourceVersion\": \"c514d424-0b66-4513-b7cc-ed1c40b11038\",\n    \"uid\": \"9c3e8acb-8e8d-4a06-81f9-a6c25019d3f5\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:09:26.689033053Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:09:26.688962100Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:26.368020969Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:26.376134895Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:26.449302990Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:26.502819487Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:26.688888603Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:26.688906226Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"QyeZ83NSVdxc\",\n        \"username\": \"user-daadb8cf-f0b3-4667-aac8-be424952535a\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:09:27Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:09:26.322293Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("daadb8cf-f0b3-4667-aac8-be424952535a"), "resourceVersion": String("c514d424-0b66-4513-b7cc-ed1c40b11038"), "uid": String("9c3e8acb-8e8d-4a06-81f9-a6c25019d3f5")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:09:26.689033053Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:09:26.688962100Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:09:26.368020969Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:09:26.376134895Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:09:26.449302990Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:09:26.502819487Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:09:26.688888603Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:09:26.688906226Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("QyeZ83NSVdxc"), "username": String("user-daadb8cf-f0b3-4667-aac8-be424952535a")})})})})
[2022-05-09T10:09:27Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:09:27Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "daadb8cf-f0b3-4667-aac8-be424952535a"
[2022-05-09T10:09:27Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:09:26.322293Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"daadb8cf-f0b3-4667-aac8-be424952535a\",\n    \"resourceVersion\": \"c514d424-0b66-4513-b7cc-ed1c40b11038\",\n    \"uid\": \"9c3e8acb-8e8d-4a06-81f9-a6c25019d3f5\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:09:26.689033053Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:09:26.688962100Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:26.368020969Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:26.376134895Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:26.449302990Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:26.502819487Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:26.688888603Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:26.688906226Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"QyeZ83NSVdxc\",\n        \"username\": \"user-daadb8cf-f0b3-4667-aac8-be424952535a\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:09:27Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:09:26.322293Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("daadb8cf-f0b3-4667-aac8-be424952535a"), "resourceVersion": String("c514d424-0b66-4513-b7cc-ed1c40b11038"), "uid": String("9c3e8acb-8e8d-4a06-81f9-a6c25019d3f5")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:09:26.689033053Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:09:26.688962100Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:09:26.368020969Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:09:26.376134895Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:09:26.449302990Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:09:26.502819487Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:09:26.688888603Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:09:26.688906226Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("QyeZ83NSVdxc"), "username": String("user-daadb8cf-f0b3-4667-aac8-be424952535a")})})})})
[2022-05-09T10:09:27Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:09:27Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:09:27Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "daadb8cf-f0b3-4667-aac8-be424952535a" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:09:27Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:09:27Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:09:27Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:09:27Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:09:27Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEyNjUsImlhdCI6MTY1MjA5MDk2NSwiYXV0aF90aW1lIjoxNjUyMDkwOTYyLCJqdGkiOiIwOTIwMzBhZC03YjE4LTQ5ZTYtOTY3NC03Y2ZlNjUwNzc0ZGEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ3dkpZeVgtcmdDOXlGMk5jenRLZExRIiwic2Vzc2lvbl9zdGF0ZSI6Ijg2ZmM5YjM5LTIxYjAtNGY3ZS04ODg0LTI2ZTRiMDJhMmZjNyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijg2ZmM5YjM5LTIxYjAtNGY3ZS04ODg0LTI2ZTRiMDJhMmZjNyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.fxrCc4w52PugxHSsvTPVTt9qPR6CCZNYBmtAGS7HUmR6bL9GkIGc_lm94L_lykZuNds6vUoPf7asX0Y-gLKLms1EaVYqgPHu9J7Rksdu1zQo1mqFi4nb0WA8qkgwlqNzRe_VDvaObNaKFtjignDIOY-UYN7u9p2_a6dZV6NWH8EMfmRnM35GKPqlOTdMGcutY4lDFcKQ9n1nQHZYkAjl2GlCzX1pzW4C8_u5x3ttqymFnNavDOT1GtDkJV2O5HQUAEbEwPAAOlXo_scwz0eWJBK8ZWfjKFe0V2AZZ51eaJlwmwkwN6uHf74K96X-wBBP7D64zrhn_iv9CaLIeurYxw\n", stderr: "" })
[2022-05-09T10:09:27Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:09:27Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:09:27Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:09:27Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "daadb8cf-f0b3-4667-aac8-be424952535a" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:09:27Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:09:27Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T10:09:27Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:09:27Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEyNjUsImlhdCI6MTY1MjA5MDk2NSwiYXV0aF90aW1lIjoxNjUyMDkwOTYyLCJqdGkiOiIwOTIwMzBhZC03YjE4LTQ5ZTYtOTY3NC03Y2ZlNjUwNzc0ZGEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ3dkpZeVgtcmdDOXlGMk5jenRLZExRIiwic2Vzc2lvbl9zdGF0ZSI6Ijg2ZmM5YjM5LTIxYjAtNGY3ZS04ODg0LTI2ZTRiMDJhMmZjNyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijg2ZmM5YjM5LTIxYjAtNGY3ZS04ODg0LTI2ZTRiMDJhMmZjNyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.fxrCc4w52PugxHSsvTPVTt9qPR6CCZNYBmtAGS7HUmR6bL9GkIGc_lm94L_lykZuNds6vUoPf7asX0Y-gLKLms1EaVYqgPHu9J7Rksdu1zQo1mqFi4nb0WA8qkgwlqNzRe_VDvaObNaKFtjignDIOY-UYN7u9p2_a6dZV6NWH8EMfmRnM35GKPqlOTdMGcutY4lDFcKQ9n1nQHZYkAjl2GlCzX1pzW4C8_u5x3ttqymFnNavDOT1GtDkJV2O5HQUAEbEwPAAOlXo_scwz0eWJBK8ZWfjKFe0V2AZZ51eaJlwmwkwN6uHf74K96X-wBBP7D64zrhn_iv9CaLIeurYxw\n", stderr: "" })
[2022-05-09T10:09: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: 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: "cbf983ba-d4fc-4965-b1dc-2716c3216313", persistence: None, user_data: None }
[2022-05-09T10:09:27Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:09:27Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc115ad0
[2022-05-09T10:09:27Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc115ad0
[2022-05-09T10:09:27Z 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: 0x55efdc0d3540, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbf72a00, 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: 0x55efdbfd4050, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEyNjUsImlhdCI6MTY1MjA5MDk2NSwiYXV0aF90aW1lIjoxNjUyMDkwOTYyLCJqdGkiOiIwOTIwMzBhZC03YjE4LTQ5ZTYtOTY3NC03Y2ZlNjUwNzc0ZGEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ3dkpZeVgtcmdDOXlGMk5jenRLZExRIiwic2Vzc2lvbl9zdGF0ZSI6Ijg2ZmM5YjM5LTIxYjAtNGY3ZS04ODg0LTI2ZTRiMDJhMmZjNyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijg2ZmM5YjM5LTIxYjAtNGY3ZS04ODg0LTI2ZTRiMDJhMmZjNyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.fxrCc4w52PugxHSsvTPVTt9qPR6CCZNYBmtAGS7HUmR6bL9GkIGc_lm94L_lykZuNds6vUoPf7asX0Y-gLKLms1EaVYqgPHu9J7Rksdu1zQo1mqFi4nb0WA8qkgwlqNzRe_VDvaObNaKFtjignDIOY-UYN7u9p2_a6dZV6NWH8EMfmRnM35GKPqlOTdMGcutY4lDFcKQ9n1nQHZYkAjl2GlCzX1pzW4C8_u5x3ttqymFnNavDOT1GtDkJV2O5HQUAEbEwPAAOlXo_scwz0eWJBK8ZWfjKFe0V2AZZ51eaJlwmwkwN6uHf74K96X-wBBP7D64zrhn_iv9CaLIeurYxw"), 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-09T10:09:27Z DEBUG paho_mqtt::async_client] Subscribe to '"app/daadb8cf-f0b3-4667-aac8-be424952535a"' @ QOS 0
[2022-05-09T10:09:27Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:09:27Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:09:27Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:09: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-09T10:09:27Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:09: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-09T10:09:29Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:09: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-09T10:09:29Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:09: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-09T10:09:30Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:09: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-09T10:09:30Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:09: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-09T10:09:31Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:09: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-09T10:09:31Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:09: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-09T10:09:31Z 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: 0x7f0edc0046f0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc004970 } }, data: MessageData { topic: "app/daadb8cf-f0b3-4667-aac8-be424952535a", 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, 99, 57, 57, 101, 97, 55, 52, 45, 55, 52, 54, 100, 45, 52, 53, 100, 102, 45, 98, 98, 51, 52, 45, 55, 102, 97, 48, 54, 99, 100, 102, 49, 52, 98, 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, 100, 97, 97, 100, 98, 56, 99, 102, 37, 50, 68, 102, 48, 98, 51, 37, 50, 68, 52, 54, 54, 55, 37, 50, 68, 97, 97, 99, 56, 37, 50, 68, 98, 101, 52, 50, 52, 57, 53, 50, 53, 51, 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, 48, 58, 48, 57, 58, 51, 49, 46, 50, 56, 57, 48, 54, 54, 54, 55, 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, 57, 99, 51, 101, 56, 97, 99, 98, 45, 56, 101, 56, 100, 45, 52, 97, 48, 54, 45, 56, 49, 102, 57, 45, 97, 54, 99, 50, 53, 48, 49, 57, 100, 51, 102, 53, 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, 51, 48, 97, 49, 98, 45, 51, 98, 49, 54, 45, 52, 52, 50, 50, 45, 56, 49, 53, 53, 45, 55, 51, 56, 48, 57, 51, 51, 98, 54, 51, 101, 98, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 100, 97, 97, 100, 98, 56, 99, 102, 37, 50, 68, 102, 48, 98, 51, 37, 50, 68, 52, 54, 54, 55, 37, 50, 68, 97, 97, 99, 56, 37, 50, 68, 98, 101, 52, 50, 52, 57, 53, 50, 53, 51, 53, 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, 56, 98, 97, 54, 102, 97, 57, 45, 51, 56, 50, 50, 45, 52, 97, 98, 49, 45, 97, 54, 100, 55, 45, 56, 51, 57, 52, 100, 100, 50, 54, 57, 101, 100, 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, 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, 97, 97, 100, 98, 56, 99, 102, 45, 102, 48, 98, 51, 45, 52, 54, 54, 55, 45, 97, 97, 99, 56, 45, 98, 101, 52, 50, 52, 57, 53, 50, 53, 51, 53, 97, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc004970 } } } }
[2022-05-09T10:09:31Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbe4fa30
[2022-05-09T10:09:31Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/daadb8cf-f0b3-4667-aac8-be424952535a", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"fc99ea74-746d-45df-bb34-7fa06cdf14bb\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://daadb8cf%2Df0b3%2D4667%2Daac8%2Dbe424952535a/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:09:31.289066671Z\",\"data\":{\"index\":3},\"applicationuid\":\"9c3e8acb-8e8d-4a06-81f9-a6c25019d3f5\",\"instance\":\"drogue\",\"senderuid\":\"a5f30a1b-3b16-4422-8155-7380933b63eb\",\"partitionkey\":\"daadb8cf%2Df0b3%2D4667%2Daac8%2Dbe424952535a/device1\",\"deviceuid\":\"58ba6fa9-3822-4ab1-a6d7-8394dd269ed8\",\"device\":\"device1\",\"sender\":\"gateway1\",\"application\":\"daadb8cf-f0b3-4667-aac8-be424952535a\"}" }
[2022-05-09T10:09:32Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:09:32Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:09:32Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:09:32Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:09: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: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "80b90be3-d78b-4000-8c28-050071689a58", persistence: None, user_data: None }
[2022-05-09T10:09:32Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:09:32Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc0d1d80
[2022-05-09T10:09:32Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc0d1d80
[2022-05-09T10:09: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: 0x55efdc28d030, password: 0x55efdc2c18f0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbf0efe0, 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: 0x55efdc28a760, 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@daadb8cf-f0b3-4667-aac8-be424952535a"), 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-09T10:09: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: 0x55efdc2bc8c0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdc2bc8c0 } } } }
[2022-05-09T10:09: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: 0x7f0edc02b760, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc02b9f0 } }, data: MessageData { topic: "app/daadb8cf-f0b3-4667-aac8-be424952535a", 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, 53, 56, 101, 100, 100, 97, 53, 45, 52, 53, 51, 55, 45, 52, 50, 101, 99, 45, 97, 101, 98, 50, 45, 102, 49, 57, 99, 53, 100, 99, 53, 54, 49, 52, 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, 100, 97, 97, 100, 98, 56, 99, 102, 37, 50, 68, 102, 48, 98, 51, 37, 50, 68, 52, 54, 54, 55, 37, 50, 68, 97, 97, 99, 56, 37, 50, 68, 98, 101, 52, 50, 52, 57, 53, 50, 53, 51, 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, 48, 58, 48, 57, 58, 51, 50, 46, 52, 49, 51, 50, 48, 54, 53, 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, 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, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 53, 102, 51, 48, 97, 49, 98, 45, 51, 98, 49, 54, 45, 52, 52, 50, 50, 45, 56, 49, 53, 53, 45, 55, 51, 56, 48, 57, 51, 51, 98, 54, 51, 101, 98, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 100, 97, 97, 100, 98, 56, 99, 102, 45, 102, 48, 98, 51, 45, 52, 54, 54, 55, 45, 97, 97, 99, 56, 45, 98, 101, 52, 50, 52, 57, 53, 50, 53, 51, 53, 97, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 100, 97, 97, 100, 98, 56, 99, 102, 37, 50, 68, 102, 48, 98, 51, 37, 50, 68, 52, 54, 54, 55, 37, 50, 68, 97, 97, 99, 56, 37, 50, 68, 98, 101, 52, 50, 52, 57, 53, 50, 53, 51, 53, 97, 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, 57, 99, 51, 101, 56, 97, 99, 98, 45, 56, 101, 56, 100, 45, 52, 97, 48, 54, 45, 56, 49, 102, 57, 45, 97, 54, 99, 50, 53, 48, 49, 57, 100, 51, 102, 53, 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, 51, 48, 97, 49, 98, 45, 51, 98, 49, 54, 45, 52, 52, 50, 50, 45, 56, 49, 53, 53, 45, 55, 51, 56, 48, 57, 51, 51, 98, 54, 51, 101, 98, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc02b9f0 } } } }
[2022-05-09T10:09:32Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbe4fa30
[2022-05-09T10:09:32Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/daadb8cf-f0b3-4667-aac8-be424952535a", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"458edda5-4537-42ec-aeb2-f19c5dc5614c\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://daadb8cf%2Df0b3%2D4667%2Daac8%2Dbe424952535a/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:09:32.413206556Z\",\"data\":{\"connected\":true},\"sender\":\"gateway1\",\"device\":\"gateway1\",\"deviceuid\":\"a5f30a1b-3b16-4422-8155-7380933b63eb\",\"application\":\"daadb8cf-f0b3-4667-aac8-be424952535a\",\"partitionkey\":\"daadb8cf%2Df0b3%2D4667%2Daac8%2Dbe424952535a/gateway1\",\"applicationuid\":\"9c3e8acb-8e8d-4a06-81f9-a6c25019d3f5\",\"instance\":\"drogue\",\"senderuid\":\"a5f30a1b-3b16-4422-8155-7380933b63eb\"}" }
[2022-05-09T10:09:32Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:09:33Z 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: 0x7f0edc018640, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc0188c0 } }, data: MessageData { topic: "app/daadb8cf-f0b3-4667-aac8-be424952535a", 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, 57, 98, 53, 51, 99, 97, 45, 50, 55, 98, 98, 45, 52, 97, 54, 48, 45, 98, 56, 49, 99, 45, 49, 97, 50, 97, 52, 54, 97, 55, 55, 56, 102, 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, 100, 97, 97, 100, 98, 56, 99, 102, 37, 50, 68, 102, 48, 98, 51, 37, 50, 68, 52, 54, 54, 55, 37, 50, 68, 97, 97, 99, 56, 37, 50, 68, 98, 101, 52, 50, 52, 57, 53, 50, 53, 51, 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, 48, 58, 48, 57, 58, 51, 50, 46, 54, 50, 55, 53, 51, 57, 53, 52, 49, 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, 100, 97, 97, 100, 98, 56, 99, 102, 37, 50, 68, 102, 48, 98, 51, 37, 50, 68, 52, 54, 54, 55, 37, 50, 68, 97, 97, 99, 56, 37, 50, 68, 98, 101, 52, 50, 52, 57, 53, 50, 53, 51, 53, 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, 56, 98, 97, 54, 102, 97, 57, 45, 51, 56, 50, 50, 45, 52, 97, 98, 49, 45, 97, 54, 100, 55, 45, 56, 51, 57, 52, 100, 100, 50, 54, 57, 101, 100, 56, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 53, 102, 51, 48, 97, 49, 98, 45, 51, 98, 49, 54, 45, 52, 52, 50, 50, 45, 56, 49, 53, 53, 45, 55, 51, 56, 48, 57, 51, 51, 98, 54, 51, 101, 98, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 57, 99, 51, 101, 56, 97, 99, 98, 45, 56, 101, 56, 100, 45, 52, 97, 48, 54, 45, 56, 49, 102, 57, 45, 97, 54, 99, 50, 53, 48, 49, 57, 100, 51, 102, 53, 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, 97, 97, 100, 98, 56, 99, 102, 45, 102, 48, 98, 51, 45, 52, 54, 54, 55, 45, 97, 97, 99, 56, 45, 98, 101, 52, 50, 52, 57, 53, 50, 53, 51, 53, 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: 0x7f0edc0188c0 } } } }
[2022-05-09T10:09:33Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbe4fa30
[2022-05-09T10:09:33Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/daadb8cf-f0b3-4667-aac8-be424952535a", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"4c9b53ca-27bb-4a60-b81c-1a2a46a778fc\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://daadb8cf%2Df0b3%2D4667%2Daac8%2Dbe424952535a/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:09:32.627539541Z\",\"data_base64\":\"\",\"instance\":\"drogue\",\"partitionkey\":\"daadb8cf%2Df0b3%2D4667%2Daac8%2Dbe424952535a/device1\",\"deviceuid\":\"58ba6fa9-3822-4ab1-a6d7-8394dd269ed8\",\"senderuid\":\"a5f30a1b-3b16-4422-8155-7380933b63eb\",\"applicationuid\":\"9c3e8acb-8e8d-4a06-81f9-a6c25019d3f5\",\"sender\":\"gateway1\",\"application\":\"daadb8cf-f0b3-4667-aac8-be424952535a\",\"device\":\"device1\"}" }
[2022-05-09T10:09:33Z 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: 0x7f0edc00a9c0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc0188c0 } }, data: MessageData { topic: "app/daadb8cf-f0b3-4667-aac8-be424952535a", 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, 97, 56, 99, 101, 54, 100, 99, 45, 100, 50, 52, 54, 45, 52, 48, 102, 100, 45, 97, 50, 54, 99, 45, 100, 97, 100, 51, 52, 57, 55, 53, 98, 56, 97, 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, 100, 97, 97, 100, 98, 56, 99, 102, 37, 50, 68, 102, 48, 98, 51, 37, 50, 68, 52, 54, 54, 55, 37, 50, 68, 97, 97, 99, 56, 37, 50, 68, 98, 101, 52, 50, 52, 57, 53, 50, 53, 51, 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, 48, 58, 48, 57, 58, 51, 51, 46, 49, 49, 48, 52, 57, 49, 57, 48, 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, 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, 100, 97, 97, 100, 98, 56, 99, 102, 45, 102, 48, 98, 51, 45, 52, 54, 54, 55, 45, 97, 97, 99, 56, 45, 98, 101, 52, 50, 52, 57, 53, 50, 53, 51, 53, 97, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 53, 102, 51, 48, 97, 49, 98, 45, 51, 98, 49, 54, 45, 52, 52, 50, 50, 45, 56, 49, 53, 53, 45, 55, 51, 56, 48, 57, 51, 51, 98, 54, 51, 101, 98, 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, 53, 102, 51, 48, 97, 49, 98, 45, 51, 98, 49, 54, 45, 52, 52, 50, 50, 45, 56, 49, 53, 53, 45, 55, 51, 56, 48, 57, 51, 51, 98, 54, 51, 101, 98, 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, 100, 97, 97, 100, 98, 56, 99, 102, 37, 50, 68, 102, 48, 98, 51, 37, 50, 68, 52, 54, 54, 55, 37, 50, 68, 97, 97, 99, 56, 37, 50, 68, 98, 101, 52, 50, 52, 57, 53, 50, 53, 51, 53, 97, 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, 57, 99, 51, 101, 56, 97, 99, 98, 45, 56, 101, 56, 100, 45, 52, 97, 48, 54, 45, 56, 49, 102, 57, 45, 97, 54, 99, 50, 53, 48, 49, 57, 100, 51, 102, 53, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc0188c0 } } } }
[2022-05-09T10:09:33Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0edc033df0
[2022-05-09T10:09:33Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/daadb8cf-f0b3-4667-aac8-be424952535a", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"ea8ce6dc-d246-40fd-a26c-dad34975b8a8\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://daadb8cf%2Df0b3%2D4667%2Daac8%2Dbe424952535a/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:09:33.110491907Z\",\"data\":{\"connected\":false},\"device\":\"gateway1\",\"application\":\"daadb8cf-f0b3-4667-aac8-be424952535a\",\"deviceuid\":\"a5f30a1b-3b16-4422-8155-7380933b63eb\",\"sender\":\"gateway1\",\"senderuid\":\"a5f30a1b-3b16-4422-8155-7380933b63eb\",\"instance\":\"drogue\",\"partitionkey\":\"daadb8cf%2Df0b3%2D4667%2Daac8%2Dbe424952535a/gateway1\",\"applicationuid\":\"9c3e8acb-8e8d-4a06-81f9-a6c25019d3f5\"}" }
[2022-05-09T10:09:33Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:09:33Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:09:33Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:09:33Z 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: "daadb8cf-f0b3-4667-aac8-be424952535a", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "daadb8cf-f0b3-4667-aac8-be424952535a", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:09:33Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:09:33Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "daadb8cf-f0b3-4667-aac8-be424952535a" "device1"
[2022-05-09T10:09:33Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:09:33Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:09:33Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "daadb8cf-f0b3-4667-aac8-be424952535a" "gateway1"
[2022-05-09T10:09:33Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:09:33Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'daadb8cf-f0b3-4667-aac8-be424952535a'
[2022-05-09T10:09:33Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "daadb8cf-f0b3-4667-aac8-be424952535a"
[2022-05-09T10:09:33Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App daadb8cf-f0b3-4667-aac8-be424952535a deleted.\n", stderr: "" })

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

Duration: 13s

Test output
-------------- TEST START --------------
[2022-05-09T10:09:35Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:09:35Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:09:35Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:09:35Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:09: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-09T10:09:36Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:09:38Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:09:38Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:09:38Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:09:38Z 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-09T10:09:40Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI3NzksImlhdCI6MTY1MjA5MDk3OSwianRpIjoiMjM0MDBhYTUtYWU0Yi00OWY2LThhOGUtMjU1ZTdhYmY1Njc1IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6InRiM0RxbjhPekJEYndKTkZNTXZpTkEiLCJzZXNzaW9uX3N0YXRlIjoiZTJkZmJmMjgtNTY3Yy00NTMzLWJhYjctMGJmNTBkYWZlYzJhIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImUyZGZiZjI4LTU2N2MtNDUzMy1iYWI3LTBiZjUwZGFmZWMyYSJ9.9eI8Sko2T9pHs4szUvAdcPAQs_KUpjY17pQL6q8f0JA
[2022-05-09T10:09:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:09:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:09:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI3NzksImlhdCI6MTY1MjA5MDk3OSwianRpIjoiMjM0MDBhYTUtYWU0Yi00OWY2LThhOGUtMjU1ZTdhYmY1Njc1IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6InRiM0RxbjhPekJEYndKTkZNTXZpTkEiLCJzZXNzaW9uX3N0YXRlIjoiZTJkZmJmMjgtNTY3Yy00NTMzLWJhYjctMGJmNTBkYWZlYzJhIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImUyZGZiZjI4LTU2N2MtNDUzMy1iYWI3LTBiZjUwZGFmZWMyYSJ9.9eI8Sko2T9pHs4szUvAdcPAQs_KUpjY17pQL6q8f0JA" "--context" "system-tests"
[2022-05-09T10:09:40Z 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-09T10:09:40Z INFO  drogue_cloud_tests::resources::apps] Create application: c37a6986-1935-4c77-aeb1-064a3174f8f6
[2022-05-09T10:09:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "c37a6986-1935-4c77-aeb1-064a3174f8f6"
[2022-05-09T10:09:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App c37a6986-1935-4c77-aeb1-064a3174f8f6 created.\n", stderr: "" })
[2022-05-09T10:09:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "c37a6986-1935-4c77-aeb1-064a3174f8f6"
[2022-05-09T10:09:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:09:40.875555Z\",\n    \"generation\": 1,\n    \"name\": \"c37a6986-1935-4c77-aeb1-064a3174f8f6\",\n    \"resourceVersion\": \"8e860340-a0bc-4ffa-9231-b8c7bd940d6f\",\n    \"uid\": \"2afaeded-87c1-494e-9d2e-2795a80af9e9\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:09:40.890371719Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2022-05-09T10:09:40Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:09:40.875555Z"), "generation": Number(1), "name": String("c37a6986-1935-4c77-aeb1-064a3174f8f6"), "resourceVersion": String("8e860340-a0bc-4ffa-9231-b8c7bd940d6f"), "uid": String("2afaeded-87c1-494e-9d2e-2795a80af9e9")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:09:40.890371719Z"), "status": String("True"), "type": String("Ready")})])})})
[2022-05-09T10:09:40Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:09:41Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "c37a6986-1935-4c77-aeb1-064a3174f8f6"
[2022-05-09T10:09:41Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:09:40.875555Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"c37a6986-1935-4c77-aeb1-064a3174f8f6\",\n    \"resourceVersion\": \"c3a36183-8637-49e8-9bb8-57ad2e340287\",\n    \"uid\": \"2afaeded-87c1-494e-9d2e-2795a80af9e9\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:09:41.258089386Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:09:41.258047878Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:40.928942391Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:40.936958604Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:41.044842439Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:41.056515878Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:41.257886687Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:41.257902918Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"mEAWE4UVu2iN\",\n        \"username\": \"user-c37a6986-1935-4c77-aeb1-064a3174f8f6\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:09:41Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:09:40.875555Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("c37a6986-1935-4c77-aeb1-064a3174f8f6"), "resourceVersion": String("c3a36183-8637-49e8-9bb8-57ad2e340287"), "uid": String("2afaeded-87c1-494e-9d2e-2795a80af9e9")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:09:41.258089386Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:09:41.258047878Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:09:40.928942391Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:09:40.936958604Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:09:41.044842439Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:09:41.056515878Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:09:41.257886687Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:09:41.257902918Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("mEAWE4UVu2iN"), "username": String("user-c37a6986-1935-4c77-aeb1-064a3174f8f6")})})})})
[2022-05-09T10:09:41Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:09:41Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "c37a6986-1935-4c77-aeb1-064a3174f8f6"
[2022-05-09T10:09:41Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:09:40.875555Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"c37a6986-1935-4c77-aeb1-064a3174f8f6\",\n    \"resourceVersion\": \"c3a36183-8637-49e8-9bb8-57ad2e340287\",\n    \"uid\": \"2afaeded-87c1-494e-9d2e-2795a80af9e9\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:09:41.258089386Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:09:41.258047878Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:40.928942391Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:40.936958604Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:41.044842439Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:41.056515878Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:41.257886687Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:41.257902918Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"mEAWE4UVu2iN\",\n        \"username\": \"user-c37a6986-1935-4c77-aeb1-064a3174f8f6\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:09:41Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:09:40.875555Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("c37a6986-1935-4c77-aeb1-064a3174f8f6"), "resourceVersion": String("c3a36183-8637-49e8-9bb8-57ad2e340287"), "uid": String("2afaeded-87c1-494e-9d2e-2795a80af9e9")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:09:41.258089386Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:09:41.258047878Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:09:40.928942391Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:09:40.936958604Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:09:41.044842439Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:09:41.056515878Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:09:41.257886687Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:09:41.257902918Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("mEAWE4UVu2iN"), "username": String("user-c37a6986-1935-4c77-aeb1-064a3174f8f6")})})})})
[2022-05-09T10:09:41Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:09:41Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:09:41Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "c37a6986-1935-4c77-aeb1-064a3174f8f6" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:09:41Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:09:41Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:09:41Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:09:41Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:09:41Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEyODAsImlhdCI6MTY1MjA5MDk4MCwiYXV0aF90aW1lIjoxNjUyMDkwOTc3LCJqdGkiOiJiNWRiNWFkMC01NTVkLTRkNTYtYTFkYi02ODA2MDhjMTViOWUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ0YjNEcW44T3pCRGJ3Sk5GTU12aU5BIiwic2Vzc2lvbl9zdGF0ZSI6ImUyZGZiZjI4LTU2N2MtNDUzMy1iYWI3LTBiZjUwZGFmZWMyYSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImUyZGZiZjI4LTU2N2MtNDUzMy1iYWI3LTBiZjUwZGFmZWMyYSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.MrS5Qz2EnQLLeW55kXYkFZinYJb6srdzfpoWXtjgsMhOQYjRzIJUw_jZQj69mx0T15Zy8PAFmVO1va9F8K8qIgYsUcjlXaH8uuVi5TK_x_zGKIIAZl3q2knwAAb7F8BjSevvitUVgWY2cIE4ykF1ZefEq8p4_yK6wUPg46enk-EX3Fbh6cvAHXyPwT8c2VVtTmcN_DZtyl3cDTpH49SFBTraXpqEPol_U2gwohbLODHezwY16q2NlL8G6VeUGnocSZ89hI-6jdAF6kf-P2qCoa-UB-dWbGbtgYMhKtzAM3wGvjAhH5xzf8riTNhCZkvEXZZ57DX8dug2X0IJJM5Mug\n", stderr: "" })
[2022-05-09T10:09:41Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:09:41Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:09:41Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:09:41Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "c37a6986-1935-4c77-aeb1-064a3174f8f6" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:09:42Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:09:42Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T10:09:42Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:09:42Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEyODAsImlhdCI6MTY1MjA5MDk4MCwiYXV0aF90aW1lIjoxNjUyMDkwOTc3LCJqdGkiOiJiNWRiNWFkMC01NTVkLTRkNTYtYTFkYi02ODA2MDhjMTViOWUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ0YjNEcW44T3pCRGJ3Sk5GTU12aU5BIiwic2Vzc2lvbl9zdGF0ZSI6ImUyZGZiZjI4LTU2N2MtNDUzMy1iYWI3LTBiZjUwZGFmZWMyYSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImUyZGZiZjI4LTU2N2MtNDUzMy1iYWI3LTBiZjUwZGFmZWMyYSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.MrS5Qz2EnQLLeW55kXYkFZinYJb6srdzfpoWXtjgsMhOQYjRzIJUw_jZQj69mx0T15Zy8PAFmVO1va9F8K8qIgYsUcjlXaH8uuVi5TK_x_zGKIIAZl3q2knwAAb7F8BjSevvitUVgWY2cIE4ykF1ZefEq8p4_yK6wUPg46enk-EX3Fbh6cvAHXyPwT8c2VVtTmcN_DZtyl3cDTpH49SFBTraXpqEPol_U2gwohbLODHezwY16q2NlL8G6VeUGnocSZ89hI-6jdAF6kf-P2qCoa-UB-dWbGbtgYMhKtzAM3wGvjAhH5xzf8riTNhCZkvEXZZ57DX8dug2X0IJJM5Mug\n", stderr: "" })
[2022-05-09T10:09:42Z 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: "8c50f92e-aa7d-4cb3-8e13-4f3954348e72", persistence: None, user_data: None }
[2022-05-09T10:09:42Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:09:42Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc07eef0
[2022-05-09T10:09:42Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc07eef0
[2022-05-09T10:09:42Z 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: 0x55efdbef0000, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc1cae50, 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: 0x55efdbfacf70, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEyODAsImlhdCI6MTY1MjA5MDk4MCwiYXV0aF90aW1lIjoxNjUyMDkwOTc3LCJqdGkiOiJiNWRiNWFkMC01NTVkLTRkNTYtYTFkYi02ODA2MDhjMTViOWUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ0YjNEcW44T3pCRGJ3Sk5GTU12aU5BIiwic2Vzc2lvbl9zdGF0ZSI6ImUyZGZiZjI4LTU2N2MtNDUzMy1iYWI3LTBiZjUwZGFmZWMyYSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImUyZGZiZjI4LTU2N2MtNDUzMy1iYWI3LTBiZjUwZGFmZWMyYSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.MrS5Qz2EnQLLeW55kXYkFZinYJb6srdzfpoWXtjgsMhOQYjRzIJUw_jZQj69mx0T15Zy8PAFmVO1va9F8K8qIgYsUcjlXaH8uuVi5TK_x_zGKIIAZl3q2knwAAb7F8BjSevvitUVgWY2cIE4ykF1ZefEq8p4_yK6wUPg46enk-EX3Fbh6cvAHXyPwT8c2VVtTmcN_DZtyl3cDTpH49SFBTraXpqEPol_U2gwohbLODHezwY16q2NlL8G6VeUGnocSZ89hI-6jdAF6kf-P2qCoa-UB-dWbGbtgYMhKtzAM3wGvjAhH5xzf8riTNhCZkvEXZZ57DX8dug2X0IJJM5Mug"), 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-09T10:09:42Z DEBUG paho_mqtt::async_client] Subscribe to '"app/c37a6986-1935-4c77-aeb1-064a3174f8f6"' @ QOS 0
[2022-05-09T10:09:42Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:09:42Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:09:42Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:09: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-09T10:09:42Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:09: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-09T10:09:43Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:09: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-09T10:09:43Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:09: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-09T10:09:44Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:09: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-09T10:09:44Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:09: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-09T10:09:45Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:09: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-09T10:09:45Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:09: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-09T10:09:45Z 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: 0x7f0ed00163a0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x55efdc2d6140 } }, data: MessageData { topic: "app/c37a6986-1935-4c77-aeb1-064a3174f8f6", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x55efdc2d6140 } } } }
[2022-05-09T10:09:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc09c690, 0x55efdc09b480
[2022-05-09T10:09:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc09b480, 0x55efdbe362a0
[2022-05-09T10:09:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc09b480, 0x55efdc036270
[2022-05-09T10:09:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc036270, 0x55efdc09a150
[2022-05-09T10:09:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc036270, 0x7f0ee0001e50
[2022-05-09T10:09:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001e50, 0x55efdbe362a0
[2022-05-09T10:09:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001e50, 0x55efdbe362a0
[2022-05-09T10:09:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001e50, 0x7f0ee0000d70
[2022-05-09T10:09:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000d70, 0x55efdbe362a0
[2022-05-09T10:09:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000d70, 0x55efdc09a360
[2022-05-09T10:09:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000d70, 0x55efdbe362a0
[2022-05-09T10:09:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000d70, 0x7f0ee00073f0
[2022-05-09T10:09:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00073f0, 0x7f0ee0000d70
[2022-05-09T10:09:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000d70, 0x55efdbe362a0
[2022-05-09T10:09:45Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee0000d70
[2022-05-09T10:09:45Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/c37a6986-1935-4c77-aeb1-064a3174f8f6", content_type: Some("application/json"), user_properties: {"senderuid": "706e64e4-ac73-46dc-977a-43ed98e83919", "applicationuid": "2afaeded-87c1-494e-9d2e-2795a80af9e9", "sender": "gateway1", "subject": "warmup", "instance": "drogue", "time": "2022-05-09T10:09:45.307075710+00:00", "specversion": "1.0", "source": "drogue://c37a6986%2D1935%2D4c77%2Daeb1%2D064a3174f8f6/device1", "type": "io.drogue.event.v1", "deviceuid": "20928ba3-b115-412f-9e7c-fe6513fbf981", "partitionkey": "c37a6986%2D1935%2D4c77%2Daeb1%2D064a3174f8f6/device1", "application": "c37a6986-1935-4c77-aeb1-064a3174f8f6", "device": "device1", "id": "223efb78-308f-4611-ac61-91c5f3686c0b"}, payload: "{\"index\":3}" }
[2022-05-09T10:09:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:09:46Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:09:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:09:46Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:09: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: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "34893505-40b6-4a68-8a39-72d45992d7fe", persistence: None, user_data: None }
[2022-05-09T10:09:46Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:09:46Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc2d6560
[2022-05-09T10:09:46Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc2d6560
[2022-05-09T10:09:46Z 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: 0x55efdc055270, password: 0x55efdc0b4610, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbea9640, 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: 0x55efdbfed960, 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@c37a6986-1935-4c77-aeb1-064a3174f8f6"), 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-09T10:09:46Z 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: 0x7f0ed000b560, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x55efdbe40eb0 } }, data: MessageData { topic: "app/c37a6986-1935-4c77-aeb1-064a3174f8f6", 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: 0x55efdbe40eb0 } } } }
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006920, 0x7f0ee0000db0
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000db0, 0x7f0ed0016680
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000db0, 0x7f0ee00073f0
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00073f0, 0x7f0ed0016780
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00073f0, 0x7f0ee0000d70
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000d70, 0x7f0ed0016680
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000d70, 0x7f0ed0016680
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000d70, 0x7f0ed0016680
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000d70, 0x7f0ee0007410
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007410, 0x7f0ee0000d70
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000d70, 0x7f0ee0007410
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007410, 0x7f0ed0016680
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007410, 0x7f0ed0016680
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007410, 0x7f0ed001c200
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee0007410
[2022-05-09T10:09:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/c37a6986-1935-4c77-aeb1-064a3174f8f6", content_type: Some("application/json"), user_properties: {"senderuid": "706e64e4-ac73-46dc-977a-43ed98e83919", "device": "gateway1", "specversion": "1.0", "deviceuid": "706e64e4-ac73-46dc-977a-43ed98e83919", "time": "2022-05-09T10:09:46.423284192+00:00", "type": "io.drogue.connection.v1", "source": "drogue://c37a6986%2D1935%2D4c77%2Daeb1%2D064a3174f8f6/gateway1", "application": "c37a6986-1935-4c77-aeb1-064a3174f8f6", "sender": "gateway1", "instance": "drogue", "applicationuid": "2afaeded-87c1-494e-9d2e-2795a80af9e9", "partitionkey": "c37a6986%2D1935%2D4c77%2Daeb1%2D064a3174f8f6/gateway1", "subject": "connection", "id": "9c175557-c127-4d94-b7a8-ca93394097b5"}, payload: "{\"connected\":true}" }
[2022-05-09T10:09: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: 0x55efdc199060 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdc199060 } } } }
[2022-05-09T10:09:46Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:09: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: 0x7f0ed0009580, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x55efdbf4f9f0 } }, data: MessageData { topic: "app/c37a6986-1935-4c77-aeb1-064a3174f8f6", 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: 0x55efdbf4f9f0 } } } }
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001e50, 0x7f0ee0000d90
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000d90, 0x7f0ed000b6f0
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000d90, 0x7f0ee0000dd0
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000dd0, 0x7f0ed002ec70
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000dd0, 0x7f0ee0006920
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006920, 0x7f0ed000b6f0
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006920, 0x7f0ed000b6f0
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006920, 0x7f0ed002ef90
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006920, 0x7f0ee0007540
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007540, 0x7f0ed000b6f0
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007540, 0x7f0ee0007430
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007430, 0x7f0ed000b6f0
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007430, 0x7f0ed000b6f0
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007430, 0x7f0ee00073d0
[2022-05-09T10:09:46Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee00073d0
[2022-05-09T10:09:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/c37a6986-1935-4c77-aeb1-064a3174f8f6", content_type: Some("application/json"), user_properties: {"partitionkey": "c37a6986%2D1935%2D4c77%2Daeb1%2D064a3174f8f6/gateway1", "device": "gateway1", "sender": "gateway1", "senderuid": "706e64e4-ac73-46dc-977a-43ed98e83919", "applicationuid": "2afaeded-87c1-494e-9d2e-2795a80af9e9", "subject": "connection", "time": "2022-05-09T10:09:46.645977527+00:00", "deviceuid": "706e64e4-ac73-46dc-977a-43ed98e83919", "id": "3973d86f-a073-4724-867d-64e00b4ddbc7", "type": "io.drogue.connection.v1", "instance": "drogue", "specversion": "1.0", "source": "drogue://c37a6986%2D1935%2D4c77%2Daeb1%2D064a3174f8f6/gateway1", "application": "c37a6986-1935-4c77-aeb1-064a3174f8f6"}, payload: "{\"connected\":false}" }
[2022-05-09T10:09:47Z 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: 0x55efdbfcb2c0 } }, data: MessageData { topic: "app/c37a6986-1935-4c77-aeb1-064a3174f8f6", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x55efdbfcb2c0 } } } }
[2022-05-09T10:09:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00073f0, 0x7f0ee0000d70
[2022-05-09T10:09:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000d70, 0x7f0ed0016170
[2022-05-09T10:09:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000d70, 0x7f0ee0007520
[2022-05-09T10:09:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007520, 0x7f0ed001bd50
[2022-05-09T10:09:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007520, 0x7f0ee0006920
[2022-05-09T10:09:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006920, 0x7f0ed0016170
[2022-05-09T10:09:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006920, 0x7f0ed0016170
[2022-05-09T10:09:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006920, 0x7f0ed0016170
[2022-05-09T10:09:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006920, 0x7f0ed0016170
[2022-05-09T10:09:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006920, 0x7f0ed0016170
[2022-05-09T10:09:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006920, 0x7f0ed0017330
[2022-05-09T10:09:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006920, 0x7f0ee0000dd0
[2022-05-09T10:09:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000dd0, 0x7f0ee0006920
[2022-05-09T10:09:47Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006920, 0x7f0ee0000dd0
[2022-05-09T10:09:47Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee0007600
[2022-05-09T10:09:47Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/c37a6986-1935-4c77-aeb1-064a3174f8f6", content_type: Some("application/octet-stream"), user_properties: {"id": "210d8d83-d1c5-4f02-88b4-2939aacd5861", "senderuid": "706e64e4-ac73-46dc-977a-43ed98e83919", "applicationuid": "2afaeded-87c1-494e-9d2e-2795a80af9e9", "instance": "drogue", "deviceuid": "20928ba3-b115-412f-9e7c-fe6513fbf981", "specversion": "1.0", "source": "drogue://c37a6986%2D1935%2D4c77%2Daeb1%2D064a3174f8f6/device1", "type": "io.drogue.event.v1", "partitionkey": "c37a6986%2D1935%2D4c77%2Daeb1%2D064a3174f8f6/device1", "subject": "telemetry", "time": "2022-05-09T10:09:46.643380644+00:00", "sender": "gateway1", "application": "c37a6986-1935-4c77-aeb1-064a3174f8f6", "device": "device1"}, payload: "" }
[2022-05-09T10:09:47Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:09:47Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:09:47Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:09:47Z 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: "c37a6986-1935-4c77-aeb1-064a3174f8f6", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "c37a6986-1935-4c77-aeb1-064a3174f8f6", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:09:47Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:09:47Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "c37a6986-1935-4c77-aeb1-064a3174f8f6" "device1"
[2022-05-09T10:09:47Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:09:47Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:09:47Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "c37a6986-1935-4c77-aeb1-064a3174f8f6" "gateway1"
[2022-05-09T10:09:47Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:09:47Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'c37a6986-1935-4c77-aeb1-064a3174f8f6'
[2022-05-09T10:09:47Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "c37a6986-1935-4c77-aeb1-064a3174f8f6"
[2022-05-09T10:09:47Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App c37a6986-1935-4c77-aeb1-064a3174f8f6 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-09T10:09:49Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:09:49Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:09:49Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:09:49Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:09: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-09T10:09:50Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:09:52Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:09:52Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:09:52Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:09:52Z 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-09T10:09:53Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI3OTMsImlhdCI6MTY1MjA5MDk5MywianRpIjoiMTlhM2Q3ZDgtMDVmOC00MTAwLTkwNjYtYjA4MmEyMjJiNTQ4IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6InhwVU45M0s5eEM4ZVY0NVJPNTVpekEiLCJzZXNzaW9uX3N0YXRlIjoiNDY3Nzk4YjgtNDA0Yy00NGEyLWE0NjAtMDhiNWVmZTA2ZjE3Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjQ2Nzc5OGI4LTQwNGMtNDRhMi1hNDYwLTA4YjVlZmUwNmYxNyJ9.gVSNyUxPWJ0vXvP0cXvp7Tm3A2sdXKr12um_pDeRNSA
[2022-05-09T10:09:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:09:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:09:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI3OTMsImlhdCI6MTY1MjA5MDk5MywianRpIjoiMTlhM2Q3ZDgtMDVmOC00MTAwLTkwNjYtYjA4MmEyMjJiNTQ4IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6InhwVU45M0s5eEM4ZVY0NVJPNTVpekEiLCJzZXNzaW9uX3N0YXRlIjoiNDY3Nzk4YjgtNDA0Yy00NGEyLWE0NjAtMDhiNWVmZTA2ZjE3Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjQ2Nzc5OGI4LTQwNGMtNDRhMi1hNDYwLTA4YjVlZmUwNmYxNyJ9.gVSNyUxPWJ0vXvP0cXvp7Tm3A2sdXKr12um_pDeRNSA" "--context" "system-tests"
[2022-05-09T10:09: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-09T10:09:54Z INFO  drogue_cloud_tests::resources::apps] Create application: a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd
[2022-05-09T10:09:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd"
[2022-05-09T10:09:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd created.\n", stderr: "" })
[2022-05-09T10:09:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd"
[2022-05-09T10:09:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:09:54.488001Z\",\n    \"generation\": 1,\n    \"name\": \"a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd\",\n    \"resourceVersion\": \"e7127d71-0130-4299-8b84-c97644081cd2\",\n    \"uid\": \"65871690-da2d-4171-91d9-3494477a4773\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:09:54.504143649Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2022-05-09T10:09:54Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:09:54.488001Z"), "generation": Number(1), "name": String("a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd"), "resourceVersion": String("e7127d71-0130-4299-8b84-c97644081cd2"), "uid": String("65871690-da2d-4171-91d9-3494477a4773")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:09:54.504143649Z"), "status": String("True"), "type": String("Ready")})])})})
[2022-05-09T10:09:54Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:09:55Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd"
[2022-05-09T10:09:55Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:09:54.488001Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd\",\n    \"resourceVersion\": \"e60f9f1e-c1f1-42c8-adf5-e4e61487ec5c\",\n    \"uid\": \"65871690-da2d-4171-91d9-3494477a4773\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:09:54.844329002Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:09:54.844251367Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:54.538617154Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:54.546038785Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:54.617103013Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:54.623796343Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:54.844206433Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:54.844224527Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"WGXJ2oEKdcFR\",\n        \"username\": \"user-a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:09:55Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:09:54.488001Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd"), "resourceVersion": String("e60f9f1e-c1f1-42c8-adf5-e4e61487ec5c"), "uid": String("65871690-da2d-4171-91d9-3494477a4773")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:09:54.844329002Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:09:54.844251367Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:09:54.538617154Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:09:54.546038785Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:09:54.617103013Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:09:54.623796343Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:09:54.844206433Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:09:54.844224527Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("WGXJ2oEKdcFR"), "username": String("user-a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd")})})})})
[2022-05-09T10:09:55Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:09:55Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd"
[2022-05-09T10:09:55Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:09:54.488001Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd\",\n    \"resourceVersion\": \"e60f9f1e-c1f1-42c8-adf5-e4e61487ec5c\",\n    \"uid\": \"65871690-da2d-4171-91d9-3494477a4773\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:09:54.844329002Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:09:54.844251367Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:54.538617154Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:54.546038785Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:54.617103013Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:54.623796343Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:54.844206433Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:09:54.844224527Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"WGXJ2oEKdcFR\",\n        \"username\": \"user-a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:09:55Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:09:54.488001Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd"), "resourceVersion": String("e60f9f1e-c1f1-42c8-adf5-e4e61487ec5c"), "uid": String("65871690-da2d-4171-91d9-3494477a4773")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:09:54.844329002Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:09:54.844251367Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:09:54.538617154Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:09:54.546038785Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:09:54.617103013Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:09:54.623796343Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:09:54.844206433Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:09:54.844224527Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("WGXJ2oEKdcFR"), "username": String("user-a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd")})})})})
[2022-05-09T10:09:55Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:09:55Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:09:55Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:09:55Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:09:55Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:09:55Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:09:55Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:09:55Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEyOTMsImlhdCI6MTY1MjA5MDk5MywiYXV0aF90aW1lIjoxNjUyMDkwOTkwLCJqdGkiOiI2ZDVlZWViYy0xMWEwLTQzODItYmFmNi00MjVmZWE1YWVjZTgiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ4cFVOOTNLOXhDOGVWNDVSTzU1aXpBIiwic2Vzc2lvbl9zdGF0ZSI6IjQ2Nzc5OGI4LTQwNGMtNDRhMi1hNDYwLTA4YjVlZmUwNmYxNyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjQ2Nzc5OGI4LTQwNGMtNDRhMi1hNDYwLTA4YjVlZmUwNmYxNyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.t3v_iFzs8IhcAsDcJ-q6QWK_1BAwZ1Hu9_FsiYvlqrZhYVnJYJdkqdfrSqLj7kmXcMY7zRALrEvHmALP8jOaw4BhWrM611PmVnv0zHZutxfpSzHnFDB000gKnMyApnkrDchTp_gFx5YAtztN1oOyyN82zG4AEi8kFpGMiDXTOabASjBGtkOYFykXXT1RaHhDgWh-8ccQimK1ABNm7y7Vv1-h4xOrcZhzKI6ZvJB83niM96we7nMHY0aJ1ieIjaC-2fJa68MT3od5aOTmv_5AQiot0CWybSE7sis5Bok5TdwRARZ_xF9jRNxZAzvbroscbp8sOZ18yfto-pBhHM5NXA\n", stderr: "" })
[2022-05-09T10:09:55Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:09:55Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:09:55Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:09:55Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:09:55Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:09:55Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T10:09:55Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:09:55Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEyOTMsImlhdCI6MTY1MjA5MDk5MywiYXV0aF90aW1lIjoxNjUyMDkwOTkwLCJqdGkiOiI2ZDVlZWViYy0xMWEwLTQzODItYmFmNi00MjVmZWE1YWVjZTgiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ4cFVOOTNLOXhDOGVWNDVSTzU1aXpBIiwic2Vzc2lvbl9zdGF0ZSI6IjQ2Nzc5OGI4LTQwNGMtNDRhMi1hNDYwLTA4YjVlZmUwNmYxNyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjQ2Nzc5OGI4LTQwNGMtNDRhMi1hNDYwLTA4YjVlZmUwNmYxNyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.t3v_iFzs8IhcAsDcJ-q6QWK_1BAwZ1Hu9_FsiYvlqrZhYVnJYJdkqdfrSqLj7kmXcMY7zRALrEvHmALP8jOaw4BhWrM611PmVnv0zHZutxfpSzHnFDB000gKnMyApnkrDchTp_gFx5YAtztN1oOyyN82zG4AEi8kFpGMiDXTOabASjBGtkOYFykXXT1RaHhDgWh-8ccQimK1ABNm7y7Vv1-h4xOrcZhzKI6ZvJB83niM96we7nMHY0aJ1ieIjaC-2fJa68MT3od5aOTmv_5AQiot0CWybSE7sis5Bok5TdwRARZ_xF9jRNxZAzvbroscbp8sOZ18yfto-pBhHM5NXA\n", stderr: "" })
[2022-05-09T10:09: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: "7f4ed8f8-b571-49f4-a4ee-834e13ee3f38", persistence: None, user_data: None }
[2022-05-09T10:09:55Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:09:55Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbe841c0
[2022-05-09T10:09:55Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbe841c0
[2022-05-09T10:09: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: 0x55efdc0819d0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbf90cb0, 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: 0x55efdbe91600, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEyOTMsImlhdCI6MTY1MjA5MDk5MywiYXV0aF90aW1lIjoxNjUyMDkwOTkwLCJqdGkiOiI2ZDVlZWViYy0xMWEwLTQzODItYmFmNi00MjVmZWE1YWVjZTgiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ4cFVOOTNLOXhDOGVWNDVSTzU1aXpBIiwic2Vzc2lvbl9zdGF0ZSI6IjQ2Nzc5OGI4LTQwNGMtNDRhMi1hNDYwLTA4YjVlZmUwNmYxNyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjQ2Nzc5OGI4LTQwNGMtNDRhMi1hNDYwLTA4YjVlZmUwNmYxNyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.t3v_iFzs8IhcAsDcJ-q6QWK_1BAwZ1Hu9_FsiYvlqrZhYVnJYJdkqdfrSqLj7kmXcMY7zRALrEvHmALP8jOaw4BhWrM611PmVnv0zHZutxfpSzHnFDB000gKnMyApnkrDchTp_gFx5YAtztN1oOyyN82zG4AEi8kFpGMiDXTOabASjBGtkOYFykXXT1RaHhDgWh-8ccQimK1ABNm7y7Vv1-h4xOrcZhzKI6ZvJB83niM96we7nMHY0aJ1ieIjaC-2fJa68MT3od5aOTmv_5AQiot0CWybSE7sis5Bok5TdwRARZ_xF9jRNxZAzvbroscbp8sOZ18yfto-pBhHM5NXA"), 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-09T10:09:55Z DEBUG paho_mqtt::async_client] Subscribe to '"app/a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd"' @ QOS 0
[2022-05-09T10:09:55Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:09:55Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:09:55Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:09: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-09T10:09:55Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:09: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-09T10:09:57Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:09: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-09T10:09:57Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:09: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-09T10:09:58Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:09: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-09T10:09:58Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:09: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-09T10:09:59Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:09: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-09T10:09:59Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:09: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-09T10:09:59Z 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: 0x7f0ed0016ff0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x55efdc2c80d0 } }, data: MessageData { topic: "app/a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x55efdc2c80d0 } } } }
[2022-05-09T10:09:59Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc2c7f00, 0x7f0ee0006920
[2022-05-09T10:09:59Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006920, 0x55efdbef6900
[2022-05-09T10:09:59Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006920, 0x7f0ee0001af0
[2022-05-09T10:09:59Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001af0, 0x55efdbe50320
[2022-05-09T10:09:59Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001af0, 0x7f0ed8003fc0
[2022-05-09T10:09:59Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003fc0, 0x55efdbef6900
[2022-05-09T10:09:59Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003fc0, 0x7f0ed8003ad0
[2022-05-09T10:09:59Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003ad0, 0x55efdbef6900
[2022-05-09T10:09:59Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003ad0, 0x7f0ed8003b30
[2022-05-09T10:09:59Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003b30, 0x55efdbef6900
[2022-05-09T10:09:59Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003b30, 0x55efdbef6900
[2022-05-09T10:09:59Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003b30, 0x7f0ee0008180
[2022-05-09T10:09:59Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003b30, 0x55efdbef6900
[2022-05-09T10:09:59Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003b30, 0x7f0ed8004530
[2022-05-09T10:09:59Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ed8004530
[2022-05-09T10:09:59Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd", content_type: Some("application/json"), user_properties: {"type": "io.drogue.event.v1", "device": "device1", "subject": "warmup", "deviceuid": "9a4383b4-7411-43ce-86d4-cb29e062bc49", "source": "drogue://a45cfb0b%2D234f%2D49a3%2D91e8%2D0dc6bbef9cbd/device1", "specversion": "1.0", "applicationuid": "65871690-da2d-4171-91d9-3494477a4773", "time": "2022-05-09T10:09:59.299864728+00:00", "senderuid": "51a21b07-e007-4cc5-9206-deded91a6dfa", "partitionkey": "a45cfb0b%2D234f%2D49a3%2D91e8%2D0dc6bbef9cbd/device1", "id": "0049fdbd-56d1-47db-ad65-c9636fb41ee6", "application": "a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd", "sender": "gateway1", "instance": "drogue"}, payload: "{\"index\":3}" }
[2022-05-09T10:10:00Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:10:00Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:10:00Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:10:00Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:10:00Z 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: "9eda7ebe-3de5-427a-8fc9-ba613d52174b", persistence: None, user_data: None }
[2022-05-09T10:10:00Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:10:00Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc114670
[2022-05-09T10:10:00Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc114670
[2022-05-09T10:10:00Z 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: 0x55efdc116b30, password: 0x55efdbeb5f50, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc176fd0, 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: 0x55efdbeb9390, 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@a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd"), 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-09T10:10: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: 0x7f0ed002ab40, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x55efdbf264f0 } }, data: MessageData { topic: "app/a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd", 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: 0x55efdbf264f0 } } } }
[2022-05-09T10:10:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbec3b40, 0x55efdc197b20
[2022-05-09T10:10:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc197b20, 0x55efdc161320
[2022-05-09T10:10:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc197b20, 0x55efdbed6140
[2022-05-09T10:10:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbed6140, 0x55efdc2b3850
[2022-05-09T10:10:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbed6140, 0x7f0ee0006920
[2022-05-09T10:10:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006920, 0x55efdc161320
[2022-05-09T10:10:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006920, 0x55efdc2b3aa0
[2022-05-09T10:10:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006920, 0x7f0ee0007890
[2022-05-09T10:10:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006920, 0x7f0ee0006ee0
[2022-05-09T10:10:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006ee0, 0x7f0ee0007890
[2022-05-09T10:10:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006ee0, 0x7f0ee0007890
[2022-05-09T10:10:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006ee0, 0x7f0ee0007890
[2022-05-09T10:10:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006ee0, 0x7f0ee0007890
[2022-05-09T10:10:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006ee0, 0x7f0ee00083d0
[2022-05-09T10:10:00Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee00083d0
[2022-05-09T10:10:00Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd", content_type: Some("application/json"), user_properties: {"subject": "connection", "partitionkey": "a45cfb0b%2D234f%2D49a3%2D91e8%2D0dc6bbef9cbd/gateway1", "time": "2022-05-09T10:10:00.417371659+00:00", "device": "gateway1", "senderuid": "51a21b07-e007-4cc5-9206-deded91a6dfa", "applicationuid": "65871690-da2d-4171-91d9-3494477a4773", "specversion": "1.0", "source": "drogue://a45cfb0b%2D234f%2D49a3%2D91e8%2D0dc6bbef9cbd/gateway1", "id": "025dd8b0-593c-466c-a695-0271e09cc10b", "deviceuid": "51a21b07-e007-4cc5-9206-deded91a6dfa", "application": "a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd", "type": "io.drogue.connection.v1", "instance": "drogue", "sender": "gateway1"}, payload: "{\"connected\":true}" }
[2022-05-09T10:10: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: 0x55efdbeafd60 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdbeafd60 } } } }
[2022-05-09T10:10:00Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:10: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: 0x55efdbf264f0 } }, data: MessageData { topic: "app/a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x55efdbf264f0 } } } }
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001b10, 0x55efdbed6140
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbed6140, 0x7f0ed002ae60
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbed6140, 0x7f0ee0006570
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006570, 0x7f0ed0031290
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006570, 0x7f0ee0008410
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0008410, 0x7f0ed002ae60
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0008410, 0x7f0ee0005b50
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005b50, 0x7f0ed002ae60
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005b50, 0x7f0ed002ae60
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005b50, 0x7f0ed002ae60
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005b50, 0x7f0ee0001b30
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001b30, 0x7f0ed002ae60
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001b30, 0x7f0ed00160e0
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001b30, 0x7f0ee0007ad0
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee0008ab0
[2022-05-09T10:10:01Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd", content_type: Some("application/octet-stream"), user_properties: {"device": "device1", "applicationuid": "65871690-da2d-4171-91d9-3494477a4773", "type": "io.drogue.event.v1", "partitionkey": "a45cfb0b%2D234f%2D49a3%2D91e8%2D0dc6bbef9cbd/device1", "specversion": "1.0", "application": "a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd", "senderuid": "51a21b07-e007-4cc5-9206-deded91a6dfa", "subject": "telemetry", "id": "aabe5f43-119a-421a-8497-25df41c9400d", "sender": "gateway1", "deviceuid": "9a4383b4-7411-43ce-86d4-cb29e062bc49", "instance": "drogue", "source": "drogue://a45cfb0b%2D234f%2D49a3%2D91e8%2D0dc6bbef9cbd/device1", "time": "2022-05-09T10:10:00.642167097+00:00"}, payload: "" }
[2022-05-09T10:10:01Z 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: 0x7f0ed002a8a0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x55efdc2a2240 } }, data: MessageData { topic: "app/a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd", 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: 0x55efdc2a2240 } } } }
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004ce0, 0x7f0ed8003b10
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003b10, 0x7f0ed0017340
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003b10, 0x7f0ee0001eb0
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001eb0, 0x7f0ed0017120
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001eb0, 0x7f0ed8004530
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004530, 0x7f0ed0017340
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004530, 0x7f0ed0017340
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004530, 0x7f0ed0017340
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004530, 0x7f0ed0017340
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004530, 0x7f0ed80044b0
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80044b0, 0x7f0ed8004530
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004530, 0x7f0ed80044b0
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80044b0, 0x7f0ed0017340
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80044b0, 0x7f0ed0007ad0
[2022-05-09T10:10:01Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ed80044b0
[2022-05-09T10:10:01Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd", content_type: Some("application/json"), user_properties: {"device": "gateway1", "senderuid": "51a21b07-e007-4cc5-9206-deded91a6dfa", "time": "2022-05-09T10:10:01.159828346+00:00", "applicationuid": "65871690-da2d-4171-91d9-3494477a4773", "instance": "drogue", "source": "drogue://a45cfb0b%2D234f%2D49a3%2D91e8%2D0dc6bbef9cbd/gateway1", "id": "3e9e6623-1084-48a3-b1bf-af517095d065", "application": "a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd", "type": "io.drogue.connection.v1", "deviceuid": "51a21b07-e007-4cc5-9206-deded91a6dfa", "specversion": "1.0", "subject": "connection", "sender": "gateway1", "partitionkey": "a45cfb0b%2D234f%2D49a3%2D91e8%2D0dc6bbef9cbd/gateway1"}, payload: "{\"connected\":false}" }
[2022-05-09T10:10:01Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:10:01Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:10:01Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:10: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: "a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:10:01Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:10:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd" "device1"
[2022-05-09T10:10:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:10:01Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:10:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd" "gateway1"
[2022-05-09T10:10:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:10:01Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd'
[2022-05-09T10:10:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd"
[2022-05-09T10:10:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App a45cfb0b-234f-49a3-91e8-0dc6bbef9cbd 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-09T10:10:03Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:10:03Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:10:03Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:10:03Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:10: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-09T10:10:04Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:10:06Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:10:06Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:10:06Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:10: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-09T10:10:07Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI4MDcsImlhdCI6MTY1MjA5MTAwNywianRpIjoiYzE0ZDY5NmYtYmJiZC00MDU5LTgyZmYtZmRiYmQ0YTE3OGJlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlFldEgyWWpvNzRXV0tVa29DUFU3VlEiLCJzZXNzaW9uX3N0YXRlIjoiNDA5NDg5M2QtOTdjNy00Y2I1LTk3ZDktYzg3MTQ4YWVlOGJmIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjQwOTQ4OTNkLTk3YzctNGNiNS05N2Q5LWM4NzE0OGFlZThiZiJ9.1VBQwMeOaVQ4ud4Zr_vagF9BjoFFBmkpcNnuqFUY1tY
[2022-05-09T10:10:07Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:10:07Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:10:07Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI4MDcsImlhdCI6MTY1MjA5MTAwNywianRpIjoiYzE0ZDY5NmYtYmJiZC00MDU5LTgyZmYtZmRiYmQ0YTE3OGJlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlFldEgyWWpvNzRXV0tVa29DUFU3VlEiLCJzZXNzaW9uX3N0YXRlIjoiNDA5NDg5M2QtOTdjNy00Y2I1LTk3ZDktYzg3MTQ4YWVlOGJmIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjQwOTQ4OTNkLTk3YzctNGNiNS05N2Q5LWM4NzE0OGFlZThiZiJ9.1VBQwMeOaVQ4ud4Zr_vagF9BjoFFBmkpcNnuqFUY1tY" "--context" "system-tests"
[2022-05-09T10:10: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-09T10:10:08Z INFO  drogue_cloud_tests::resources::apps] Create application: a9cc71da-574f-4e09-8abf-b6e5dcf82350
[2022-05-09T10:10:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "a9cc71da-574f-4e09-8abf-b6e5dcf82350"
[2022-05-09T10:10:08Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App a9cc71da-574f-4e09-8abf-b6e5dcf82350 created.\n", stderr: "" })
[2022-05-09T10:10:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "a9cc71da-574f-4e09-8abf-b6e5dcf82350"
[2022-05-09T10:10:08Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:10:08.688103Z\",\n    \"generation\": 1,\n    \"name\": \"a9cc71da-574f-4e09-8abf-b6e5dcf82350\",\n    \"resourceVersion\": \"2c0fec8e-44ba-4f29-9bda-622e6d6be687\",\n    \"uid\": \"d0e43e79-a496-44d2-a259-6aca005f988d\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:10:08.702032109Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2022-05-09T10:10:08Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:10:08.688103Z"), "generation": Number(1), "name": String("a9cc71da-574f-4e09-8abf-b6e5dcf82350"), "resourceVersion": String("2c0fec8e-44ba-4f29-9bda-622e6d6be687"), "uid": String("d0e43e79-a496-44d2-a259-6aca005f988d")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:10:08.702032109Z"), "status": String("True"), "type": String("Ready")})])})})
[2022-05-09T10:10:08Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:10:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "a9cc71da-574f-4e09-8abf-b6e5dcf82350"
[2022-05-09T10:10:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:10:08.688103Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"a9cc71da-574f-4e09-8abf-b6e5dcf82350\",\n    \"resourceVersion\": \"36d4bf31-230c-47d5-9778-4f1485ca57ca\",\n    \"uid\": \"d0e43e79-a496-44d2-a259-6aca005f988d\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:10:09.011075330Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:10:09.010973089Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:08.746878443Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:08.751591511Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:08.828929617Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:08.835117802Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:09.010848385Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:09.010943544Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"llCUjY7IULjt\",\n        \"username\": \"user-a9cc71da-574f-4e09-8abf-b6e5dcf82350\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:10:09Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:10:08.688103Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("a9cc71da-574f-4e09-8abf-b6e5dcf82350"), "resourceVersion": String("36d4bf31-230c-47d5-9778-4f1485ca57ca"), "uid": String("d0e43e79-a496-44d2-a259-6aca005f988d")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:10:09.011075330Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:10:09.010973089Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:10:08.746878443Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:10:08.751591511Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:10:08.828929617Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:10:08.835117802Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:10:09.010848385Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:10:09.010943544Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("llCUjY7IULjt"), "username": String("user-a9cc71da-574f-4e09-8abf-b6e5dcf82350")})})})})
[2022-05-09T10:10:09Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:10:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "a9cc71da-574f-4e09-8abf-b6e5dcf82350"
[2022-05-09T10:10:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:10:08.688103Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"a9cc71da-574f-4e09-8abf-b6e5dcf82350\",\n    \"resourceVersion\": \"36d4bf31-230c-47d5-9778-4f1485ca57ca\",\n    \"uid\": \"d0e43e79-a496-44d2-a259-6aca005f988d\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:10:09.011075330Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:10:09.010973089Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:08.746878443Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:08.751591511Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:08.828929617Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:08.835117802Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:09.010848385Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:09.010943544Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"llCUjY7IULjt\",\n        \"username\": \"user-a9cc71da-574f-4e09-8abf-b6e5dcf82350\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:10:09Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:10:08.688103Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("a9cc71da-574f-4e09-8abf-b6e5dcf82350"), "resourceVersion": String("36d4bf31-230c-47d5-9778-4f1485ca57ca"), "uid": String("d0e43e79-a496-44d2-a259-6aca005f988d")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:10:09.011075330Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:10:09.010973089Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:10:08.746878443Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:10:08.751591511Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:10:08.828929617Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:10:08.835117802Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:10:09.010848385Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:10:09.010943544Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("llCUjY7IULjt"), "username": String("user-a9cc71da-574f-4e09-8abf-b6e5dcf82350")})})})})
[2022-05-09T10:10:09Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:10:09Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:10:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "a9cc71da-574f-4e09-8abf-b6e5dcf82350" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:10:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:10:09Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:10:09Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:10:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:10:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEzMDcsImlhdCI6MTY1MjA5MTAwNywiYXV0aF90aW1lIjoxNjUyMDkxMDA1LCJqdGkiOiIyM2UwYjU3OS1kMzNkLTQyZWYtYmQ3ZS1lZTczY2FkZTRhMDQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJRZXRIMllqbzc0V1dLVWtvQ1BVN1ZRIiwic2Vzc2lvbl9zdGF0ZSI6IjQwOTQ4OTNkLTk3YzctNGNiNS05N2Q5LWM4NzE0OGFlZThiZiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjQwOTQ4OTNkLTk3YzctNGNiNS05N2Q5LWM4NzE0OGFlZThiZiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.tc8S7Sm5o-kyIDV4KfdJDb3h8s6aUtC_3eB6Nd1zDmMq2SnoFZf7FBI3-787BQ4VsYqrRm5PKhMl2h6j4Hg3W7yyPvINrYqVcJ_Cr57nJQloy3Ho2k_Hv1qIGgEC6vG9faKO9dhUO5sEbhJ1f8Xvnaad9mvROGoWNZ4rwOj5SlRrDxy6iU9n5x9HI8X6QN4zaA7qzQ0Tb-GoQD-qqwryjQ5Yzc8stbSsLxDeJX7kyIDxhV3-isi_7NNKIneADICYbsusmEsMdDDtBp53TU_tMjexcXNMJF5FdqVimyvl-bwSUi024PTTzj2rrfr-j6QD1h_bCC4cpQm8TPOdhIyVYQ\n", stderr: "" })
[2022-05-09T10:10:09Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:10:09Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:10:09Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:10:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "a9cc71da-574f-4e09-8abf-b6e5dcf82350" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:10:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:10:09Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T10:10:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:10:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEzMDcsImlhdCI6MTY1MjA5MTAwNywiYXV0aF90aW1lIjoxNjUyMDkxMDA1LCJqdGkiOiIyM2UwYjU3OS1kMzNkLTQyZWYtYmQ3ZS1lZTczY2FkZTRhMDQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJRZXRIMllqbzc0V1dLVWtvQ1BVN1ZRIiwic2Vzc2lvbl9zdGF0ZSI6IjQwOTQ4OTNkLTk3YzctNGNiNS05N2Q5LWM4NzE0OGFlZThiZiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjQwOTQ4OTNkLTk3YzctNGNiNS05N2Q5LWM4NzE0OGFlZThiZiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.tc8S7Sm5o-kyIDV4KfdJDb3h8s6aUtC_3eB6Nd1zDmMq2SnoFZf7FBI3-787BQ4VsYqrRm5PKhMl2h6j4Hg3W7yyPvINrYqVcJ_Cr57nJQloy3Ho2k_Hv1qIGgEC6vG9faKO9dhUO5sEbhJ1f8Xvnaad9mvROGoWNZ4rwOj5SlRrDxy6iU9n5x9HI8X6QN4zaA7qzQ0Tb-GoQD-qqwryjQ5Yzc8stbSsLxDeJX7kyIDxhV3-isi_7NNKIneADICYbsusmEsMdDDtBp53TU_tMjexcXNMJF5FdqVimyvl-bwSUi024PTTzj2rrfr-j6QD1h_bCC4cpQm8TPOdhIyVYQ\n", stderr: "" })
[2022-05-09T10:10:09Z 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: "93a24389-4106-44e0-981e-dfa8874bbf36", persistence: None, user_data: None }
[2022-05-09T10:10:09Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:10:09Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc038ee0
[2022-05-09T10:10:09Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc038ee0
[2022-05-09T10:10:09Z 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: 0x55efdbf0e8c0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc114d20, 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: 0x55efdbec7760, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEzMDcsImlhdCI6MTY1MjA5MTAwNywiYXV0aF90aW1lIjoxNjUyMDkxMDA1LCJqdGkiOiIyM2UwYjU3OS1kMzNkLTQyZWYtYmQ3ZS1lZTczY2FkZTRhMDQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJRZXRIMllqbzc0V1dLVWtvQ1BVN1ZRIiwic2Vzc2lvbl9zdGF0ZSI6IjQwOTQ4OTNkLTk3YzctNGNiNS05N2Q5LWM4NzE0OGFlZThiZiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjQwOTQ4OTNkLTk3YzctNGNiNS05N2Q5LWM4NzE0OGFlZThiZiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.tc8S7Sm5o-kyIDV4KfdJDb3h8s6aUtC_3eB6Nd1zDmMq2SnoFZf7FBI3-787BQ4VsYqrRm5PKhMl2h6j4Hg3W7yyPvINrYqVcJ_Cr57nJQloy3Ho2k_Hv1qIGgEC6vG9faKO9dhUO5sEbhJ1f8Xvnaad9mvROGoWNZ4rwOj5SlRrDxy6iU9n5x9HI8X6QN4zaA7qzQ0Tb-GoQD-qqwryjQ5Yzc8stbSsLxDeJX7kyIDxhV3-isi_7NNKIneADICYbsusmEsMdDDtBp53TU_tMjexcXNMJF5FdqVimyvl-bwSUi024PTTzj2rrfr-j6QD1h_bCC4cpQm8TPOdhIyVYQ"), 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-09T10:10:09Z DEBUG paho_mqtt::async_client] Subscribe to '"app/a9cc71da-574f-4e09-8abf-b6e5dcf82350"' @ QOS 0
[2022-05-09T10:10:09Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:10:09Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:10:09Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:10: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-09T10:10:09Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:10: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-09T10:10:11Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:10: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-09T10:10:11Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:10: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-09T10:10:12Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:10: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-09T10:10:12Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:10: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-09T10:10:13Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:10: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-09T10:10:13Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:10: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-09T10:10: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: 0x7f0ed002c4d0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/a9cc71da-574f-4e09-8abf-b6e5dcf82350", 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, 55, 100, 55, 50, 97, 57, 45, 97, 102, 53, 55, 45, 52, 97, 54, 53, 45, 57, 49, 55, 56, 45, 54, 54, 98, 102, 53, 97, 98, 55, 53, 51, 56, 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, 97, 57, 99, 99, 55, 49, 100, 97, 37, 50, 68, 53, 55, 52, 102, 37, 50, 68, 52, 101, 48, 57, 37, 50, 68, 56, 97, 98, 102, 37, 50, 68, 98, 54, 101, 53, 100, 99, 102, 56, 50, 51, 53, 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, 48, 58, 49, 48, 58, 49, 51, 46, 51, 51, 56, 52, 48, 57, 54, 49, 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, 117, 105, 100, 34, 58, 34, 102, 99, 48, 51, 54, 50, 100, 97, 45, 99, 102, 100, 54, 45, 52, 52, 100, 55, 45, 97, 99, 98, 52, 45, 99, 53, 52, 100, 49, 53, 49, 48, 57, 49, 48, 54, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 97, 57, 99, 99, 55, 49, 100, 97, 45, 53, 55, 52, 102, 45, 52, 101, 48, 57, 45, 56, 97, 98, 102, 45, 98, 54, 101, 53, 100, 99, 102, 56, 50, 51, 53, 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, 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, 100, 55, 52, 48, 50, 49, 102, 45, 99, 50, 98, 49, 45, 52, 55, 97, 52, 45, 97, 101, 54, 49, 45, 50, 102, 99, 50, 56, 54, 100, 99, 52, 50, 97, 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, 117, 105, 100, 34, 58, 34, 100, 48, 101, 52, 51, 101, 55, 57, 45, 97, 52, 57, 54, 45, 52, 52, 100, 50, 45, 97, 50, 53, 57, 45, 54, 97, 99, 97, 48, 48, 53, 102, 57, 56, 56, 100, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 97, 57, 99, 99, 55, 49, 100, 97, 37, 50, 68, 53, 55, 52, 102, 37, 50, 68, 52, 101, 48, 57, 37, 50, 68, 56, 97, 98, 102, 37, 50, 68, 98, 54, 101, 53, 100, 99, 102, 56, 50, 51, 53, 48, 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-09T10:10:13Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/a9cc71da-574f-4e09-8abf-b6e5dcf82350", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"497d72a9-af57-4a65-9178-66bf5ab7538e\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://a9cc71da%2D574f%2D4e09%2D8abf%2Db6e5dcf82350/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:10:13.338409616Z\",\"data\":{\"index\":3},\"senderuid\":\"fc0362da-cfd6-44d7-acb4-c54d15109106\",\"application\":\"a9cc71da-574f-4e09-8abf-b6e5dcf82350\",\"sender\":\"gateway1\",\"device\":\"device1\",\"deviceuid\":\"cd74021f-c2b1-47a4-ae61-2fc286dc42a2\",\"instance\":\"drogue\",\"applicationuid\":\"d0e43e79-a496-44d2-a259-6aca005f988d\",\"partitionkey\":\"a9cc71da%2D574f%2D4e09%2D8abf%2Db6e5dcf82350/device1\"}" }
[2022-05-09T10:10:14Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:10:14Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:10:14Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:10:14Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:10: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: 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: "e971cdc0-4dd2-44ff-9201-1381f8ecb8dc", persistence: None, user_data: None }
[2022-05-09T10:10:14Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:10:14Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc05a790
[2022-05-09T10:10:14Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc05a790
[2022-05-09T10:10:14Z 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: 0x55efdc101fc0, password: 0x55efdc1f9660, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbfaa9f0, 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: 0x55efdc05a750, 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@a9cc71da-574f-4e09-8abf-b6e5dcf82350"), 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-09T10:10:14Z 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: 0x7f0ed0002b30, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/a9cc71da-574f-4e09-8abf-b6e5dcf82350", 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, 50, 54, 98, 101, 50, 53, 45, 51, 54, 100, 55, 45, 52, 48, 54, 54, 45, 98, 51, 55, 102, 45, 57, 101, 102, 50, 52, 100, 102, 102, 56, 56, 56, 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, 97, 57, 99, 99, 55, 49, 100, 97, 37, 50, 68, 53, 55, 52, 102, 37, 50, 68, 52, 101, 48, 57, 37, 50, 68, 56, 97, 98, 102, 37, 50, 68, 98, 54, 101, 53, 100, 99, 102, 56, 50, 51, 53, 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, 48, 58, 49, 48, 58, 49, 52, 46, 52, 54, 53, 53, 52, 54, 56, 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, 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, 97, 57, 99, 99, 55, 49, 100, 97, 37, 50, 68, 53, 55, 52, 102, 37, 50, 68, 52, 101, 48, 57, 37, 50, 68, 56, 97, 98, 102, 37, 50, 68, 98, 54, 101, 53, 100, 99, 102, 56, 50, 51, 53, 48, 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, 100, 48, 101, 52, 51, 101, 55, 57, 45, 97, 52, 57, 54, 45, 52, 52, 100, 50, 45, 97, 50, 53, 57, 45, 54, 97, 99, 97, 48, 48, 53, 102, 57, 56, 56, 100, 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, 102, 99, 48, 51, 54, 50, 100, 97, 45, 99, 102, 100, 54, 45, 52, 52, 100, 55, 45, 97, 99, 98, 52, 45, 99, 53, 52, 100, 49, 53, 49, 48, 57, 49, 48, 54, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 97, 57, 99, 99, 55, 49, 100, 97, 45, 53, 55, 52, 102, 45, 52, 101, 48, 57, 45, 56, 97, 98, 102, 45, 98, 54, 101, 53, 100, 99, 102, 56, 50, 51, 53, 48, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 102, 99, 48, 51, 54, 50, 100, 97, 45, 99, 102, 100, 54, 45, 52, 52, 100, 55, 45, 97, 99, 98, 52, 45, 99, 53, 52, 100, 49, 53, 49, 48, 57, 49, 48, 54, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:10:14Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/a9cc71da-574f-4e09-8abf-b6e5dcf82350", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"2c26be25-36d7-4066-b37f-9ef24dff888e\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://a9cc71da%2D574f%2D4e09%2D8abf%2Db6e5dcf82350/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:10:14.465546877Z\",\"data\":{\"connected\":true},\"sender\":\"gateway1\",\"partitionkey\":\"a9cc71da%2D574f%2D4e09%2D8abf%2Db6e5dcf82350/gateway1\",\"applicationuid\":\"d0e43e79-a496-44d2-a259-6aca005f988d\",\"device\":\"gateway1\",\"instance\":\"drogue\",\"senderuid\":\"fc0362da-cfd6-44d7-acb4-c54d15109106\",\"application\":\"a9cc71da-574f-4e09-8abf-b6e5dcf82350\",\"deviceuid\":\"fc0362da-cfd6-44d7-acb4-c54d15109106\"}" }
[2022-05-09T10:10:14Z 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: 0x55efdbfb9840 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdbfb9840 } } } }
[2022-05-09T10:10:14Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:10:15Z 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: 0x7f0ed0002dc0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/a9cc71da-574f-4e09-8abf-b6e5dcf82350", 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, 57, 98, 98, 55, 57, 100, 99, 45, 55, 50, 48, 101, 45, 52, 100, 55, 57, 45, 98, 54, 97, 51, 45, 54, 99, 102, 98, 101, 49, 57, 49, 53, 54, 56, 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, 97, 57, 99, 99, 55, 49, 100, 97, 37, 50, 68, 53, 55, 52, 102, 37, 50, 68, 52, 101, 48, 57, 37, 50, 68, 56, 97, 98, 102, 37, 50, 68, 98, 54, 101, 53, 100, 99, 102, 56, 50, 51, 53, 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, 48, 58, 49, 48, 58, 49, 52, 46, 54, 54, 48, 57, 51, 51, 48, 50, 48, 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, 102, 99, 48, 51, 54, 50, 100, 97, 45, 99, 102, 100, 54, 45, 52, 52, 100, 55, 45, 97, 99, 98, 52, 45, 99, 53, 52, 100, 49, 53, 49, 48, 57, 49, 48, 54, 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, 57, 99, 99, 55, 49, 100, 97, 37, 50, 68, 53, 55, 52, 102, 37, 50, 68, 52, 101, 48, 57, 37, 50, 68, 56, 97, 98, 102, 37, 50, 68, 98, 54, 101, 53, 100, 99, 102, 56, 50, 51, 53, 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, 57, 99, 99, 55, 49, 100, 97, 45, 53, 55, 52, 102, 45, 52, 101, 48, 57, 45, 56, 97, 98, 102, 45, 98, 54, 101, 53, 100, 99, 102, 56, 50, 51, 53, 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, 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, 100, 48, 101, 52, 51, 101, 55, 57, 45, 97, 52, 57, 54, 45, 52, 52, 100, 50, 45, 97, 50, 53, 57, 45, 54, 97, 99, 97, 48, 48, 53, 102, 57, 56, 56, 100, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 99, 100, 55, 52, 48, 50, 49, 102, 45, 99, 50, 98, 49, 45, 52, 55, 97, 52, 45, 97, 101, 54, 49, 45, 50, 102, 99, 50, 56, 54, 100, 99, 52, 50, 97, 50, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:10:15Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/a9cc71da-574f-4e09-8abf-b6e5dcf82350", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"f9bb79dc-720e-4d79-b6a3-6cfbe191568a\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://a9cc71da%2D574f%2D4e09%2D8abf%2Db6e5dcf82350/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:10:14.660933020Z\",\"data_base64\":\"\",\"senderuid\":\"fc0362da-cfd6-44d7-acb4-c54d15109106\",\"device\":\"device1\",\"partitionkey\":\"a9cc71da%2D574f%2D4e09%2D8abf%2Db6e5dcf82350/device1\",\"application\":\"a9cc71da-574f-4e09-8abf-b6e5dcf82350\",\"instance\":\"drogue\",\"sender\":\"gateway1\",\"applicationuid\":\"d0e43e79-a496-44d2-a259-6aca005f988d\",\"deviceuid\":\"cd74021f-c2b1-47a4-ae61-2fc286dc42a2\"}" }
[2022-05-09T10:10:15Z 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: 0x7f0ed001b2b0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/a9cc71da-574f-4e09-8abf-b6e5dcf82350", 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, 51, 50, 54, 49, 53, 52, 45, 56, 56, 56, 100, 45, 52, 50, 52, 50, 45, 56, 50, 52, 49, 45, 49, 98, 99, 51, 53, 101, 101, 50, 48, 98, 101, 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, 97, 57, 99, 99, 55, 49, 100, 97, 37, 50, 68, 53, 55, 52, 102, 37, 50, 68, 52, 101, 48, 57, 37, 50, 68, 56, 97, 98, 102, 37, 50, 68, 98, 54, 101, 53, 100, 99, 102, 56, 50, 51, 53, 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, 48, 58, 49, 48, 58, 49, 53, 46, 52, 52, 49, 50, 52, 55, 53, 57, 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, 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, 102, 99, 48, 51, 54, 50, 100, 97, 45, 99, 102, 100, 54, 45, 52, 52, 100, 55, 45, 97, 99, 98, 52, 45, 99, 53, 52, 100, 49, 53, 49, 48, 57, 49, 48, 54, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 97, 57, 99, 99, 55, 49, 100, 97, 37, 50, 68, 53, 55, 52, 102, 37, 50, 68, 52, 101, 48, 57, 37, 50, 68, 56, 97, 98, 102, 37, 50, 68, 98, 54, 101, 53, 100, 99, 102, 56, 50, 51, 53, 48, 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, 100, 48, 101, 52, 51, 101, 55, 57, 45, 97, 52, 57, 54, 45, 52, 52, 100, 50, 45, 97, 50, 53, 57, 45, 54, 97, 99, 97, 48, 48, 53, 102, 57, 56, 56, 100, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 102, 99, 48, 51, 54, 50, 100, 97, 45, 99, 102, 100, 54, 45, 52, 52, 100, 55, 45, 97, 99, 98, 52, 45, 99, 53, 52, 100, 49, 53, 49, 48, 57, 49, 48, 54, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 97, 57, 99, 99, 55, 49, 100, 97, 45, 53, 55, 52, 102, 45, 52, 101, 48, 57, 45, 56, 97, 98, 102, 45, 98, 54, 101, 53, 100, 99, 102, 56, 50, 51, 53, 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-09T10:10:15Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/a9cc71da-574f-4e09-8abf-b6e5dcf82350", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"32326154-888d-4242-8241-1bc35ee20beb\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://a9cc71da%2D574f%2D4e09%2D8abf%2Db6e5dcf82350/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:10:15.441247593Z\",\"data\":{\"connected\":false},\"device\":\"gateway1\",\"instance\":\"drogue\",\"deviceuid\":\"fc0362da-cfd6-44d7-acb4-c54d15109106\",\"partitionkey\":\"a9cc71da%2D574f%2D4e09%2D8abf%2Db6e5dcf82350/gateway1\",\"applicationuid\":\"d0e43e79-a496-44d2-a259-6aca005f988d\",\"senderuid\":\"fc0362da-cfd6-44d7-acb4-c54d15109106\",\"application\":\"a9cc71da-574f-4e09-8abf-b6e5dcf82350\",\"sender\":\"gateway1\"}" }
[2022-05-09T10:10:15Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:10:15Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:10:15Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:10:15Z 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: "a9cc71da-574f-4e09-8abf-b6e5dcf82350", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "a9cc71da-574f-4e09-8abf-b6e5dcf82350", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:10:15Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:10:15Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "a9cc71da-574f-4e09-8abf-b6e5dcf82350" "device1"
[2022-05-09T10:10:15Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:10:15Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:10:15Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "a9cc71da-574f-4e09-8abf-b6e5dcf82350" "gateway1"
[2022-05-09T10:10:15Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:10:15Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'a9cc71da-574f-4e09-8abf-b6e5dcf82350'
[2022-05-09T10:10:15Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "a9cc71da-574f-4e09-8abf-b6e5dcf82350"
[2022-05-09T10:10:15Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App a9cc71da-574f-4e09-8abf-b6e5dcf82350 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-09T10:10:17Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:10:17Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:10:17Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:10:17Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:10: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-09T10:10:18Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:10:20Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:10:20Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:10:20Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:10: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-09T10:10:22Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI4MjIsImlhdCI6MTY1MjA5MTAyMiwianRpIjoiYzQ5ZmJlYzktZjk0MS00MWE2LTg0ZjAtNDYwMjIxMzgzYjgzIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlIyYUVvVkpJR2YyR096eEcxTXhZUUEiLCJzZXNzaW9uX3N0YXRlIjoiYzhlMjIxMjctZTk1YS00ZmZiLTllN2EtNGQzMTUzMjAzMmEzIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImM4ZTIyMTI3LWU5NWEtNGZmYi05ZTdhLTRkMzE1MzIwMzJhMyJ9.Eu8-_F-X6aaqlo9cz7IBHYboNSJ3zTDYNWkcBcS0oeI
[2022-05-09T10:10:22Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:10:22Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:10:22Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI4MjIsImlhdCI6MTY1MjA5MTAyMiwianRpIjoiYzQ5ZmJlYzktZjk0MS00MWE2LTg0ZjAtNDYwMjIxMzgzYjgzIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlIyYUVvVkpJR2YyR096eEcxTXhZUUEiLCJzZXNzaW9uX3N0YXRlIjoiYzhlMjIxMjctZTk1YS00ZmZiLTllN2EtNGQzMTUzMjAzMmEzIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImM4ZTIyMTI3LWU5NWEtNGZmYi05ZTdhLTRkMzE1MzIwMzJhMyJ9.Eu8-_F-X6aaqlo9cz7IBHYboNSJ3zTDYNWkcBcS0oeI" "--context" "system-tests"
[2022-05-09T10:10: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-09T10:10:23Z INFO  drogue_cloud_tests::resources::apps] Create application: a07db814-52a9-487c-abe7-a140f7679cc9
[2022-05-09T10:10:23Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "a07db814-52a9-487c-abe7-a140f7679cc9"
[2022-05-09T10:10:23Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App a07db814-52a9-487c-abe7-a140f7679cc9 created.\n", stderr: "" })
[2022-05-09T10:10:23Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "a07db814-52a9-487c-abe7-a140f7679cc9"
[2022-05-09T10:10:23Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:10:23.398764Z\",\n    \"generation\": 0,\n    \"name\": \"a07db814-52a9-487c-abe7-a140f7679cc9\",\n    \"resourceVersion\": \"ae888b05-8f1c-48cc-bb7e-fa5e6ea501c4\",\n    \"uid\": \"bceb5fe2-3130-4731-b60f-828da3315bea\"\n  }\n}\n", stderr: "" })
[2022-05-09T10:10:23Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:10:23.398764Z"), "generation": Number(0), "name": String("a07db814-52a9-487c-abe7-a140f7679cc9"), "resourceVersion": String("ae888b05-8f1c-48cc-bb7e-fa5e6ea501c4"), "uid": String("bceb5fe2-3130-4731-b60f-828da3315bea")})})
[2022-05-09T10:10:23Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:10:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "a07db814-52a9-487c-abe7-a140f7679cc9"
[2022-05-09T10:10:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:10:23.398764Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"a07db814-52a9-487c-abe7-a140f7679cc9\",\n    \"resourceVersion\": \"d4d3bda4-cff5-46d4-90dd-e0476f1bbe21\",\n    \"uid\": \"bceb5fe2-3130-4731-b60f-828da3315bea\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:10:23.924883169Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:10:23.924922303Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:23.494719782Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:23.501713835Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:23.647177216Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:23.653646990Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:23.924837655Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:23.924856170Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"kFAqlNrqnGGE\",\n        \"username\": \"user-a07db814-52a9-487c-abe7-a140f7679cc9\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:10:24Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:10:23.398764Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("a07db814-52a9-487c-abe7-a140f7679cc9"), "resourceVersion": String("d4d3bda4-cff5-46d4-90dd-e0476f1bbe21"), "uid": String("bceb5fe2-3130-4731-b60f-828da3315bea")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:10:23.924883169Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:10:23.924922303Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:10:23.494719782Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:10:23.501713835Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:10:23.647177216Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:10:23.653646990Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:10:23.924837655Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:10:23.924856170Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("kFAqlNrqnGGE"), "username": String("user-a07db814-52a9-487c-abe7-a140f7679cc9")})})})})
[2022-05-09T10:10:24Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:10:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "a07db814-52a9-487c-abe7-a140f7679cc9"
[2022-05-09T10:10:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:10:23.398764Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"a07db814-52a9-487c-abe7-a140f7679cc9\",\n    \"resourceVersion\": \"d4d3bda4-cff5-46d4-90dd-e0476f1bbe21\",\n    \"uid\": \"bceb5fe2-3130-4731-b60f-828da3315bea\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:10:23.924883169Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:10:23.924922303Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:23.494719782Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:23.501713835Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:23.647177216Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:23.653646990Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:23.924837655Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:23.924856170Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"kFAqlNrqnGGE\",\n        \"username\": \"user-a07db814-52a9-487c-abe7-a140f7679cc9\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:10:24Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:10:23.398764Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("a07db814-52a9-487c-abe7-a140f7679cc9"), "resourceVersion": String("d4d3bda4-cff5-46d4-90dd-e0476f1bbe21"), "uid": String("bceb5fe2-3130-4731-b60f-828da3315bea")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:10:23.924883169Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:10:23.924922303Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:10:23.494719782Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:10:23.501713835Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:10:23.647177216Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:10:23.653646990Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:10:23.924837655Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:10:23.924856170Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("kFAqlNrqnGGE"), "username": String("user-a07db814-52a9-487c-abe7-a140f7679cc9")})})})})
[2022-05-09T10:10:24Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:10:24Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:10:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "a07db814-52a9-487c-abe7-a140f7679cc9" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:10:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:10:24Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:10:24Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:10:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:10:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEzMjIsImlhdCI6MTY1MjA5MTAyMiwiYXV0aF90aW1lIjoxNjUyMDkxMDE5LCJqdGkiOiJjMWQwMWVmNS0zOTIxLTQwN2UtYjY1Ni1iYTExZjJhNWYxYjIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJSMmFFb1ZKSUdmMkdPenhHMU14WVFBIiwic2Vzc2lvbl9zdGF0ZSI6ImM4ZTIyMTI3LWU5NWEtNGZmYi05ZTdhLTRkMzE1MzIwMzJhMyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImM4ZTIyMTI3LWU5NWEtNGZmYi05ZTdhLTRkMzE1MzIwMzJhMyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.nwaJK8euvqXBHezh0QbQHlYzXsnRJ_pkmgv4nPmWOIEX8K7JrsIa6wr-TnlGccRNiL0z2Dji3QIhZBay0M-sMqxNNRR2GrUuYPV3axhGHJEGjuVL8COwOPWaTfxXva9S_nCBrQ4Cj2YRI4dasKKn8NcejmXiBAkNGLBazxwnRK7ZeyI0FsglvD-Wu6ZJb2j9_suUA9fKizCiD-5kw6qLeJFnGRGCegj3dZHz-kf9evpvB3DUYQ7Ua05gFGNbeuBYwB2Ii9Y-2wzrn5Coh47NaeYJcSWrVteXjv67uksYorIpj-dTSEAqRWQmXjYElDwvu5BT5WkXfQ_J-i-g84Jf2A\n", stderr: "" })
[2022-05-09T10:10:24Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:10:24Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:10:24Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:10:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "a07db814-52a9-487c-abe7-a140f7679cc9" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:10:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:10:24Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T10:10:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:10:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEzMjIsImlhdCI6MTY1MjA5MTAyMiwiYXV0aF90aW1lIjoxNjUyMDkxMDE5LCJqdGkiOiJjMWQwMWVmNS0zOTIxLTQwN2UtYjY1Ni1iYTExZjJhNWYxYjIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJSMmFFb1ZKSUdmMkdPenhHMU14WVFBIiwic2Vzc2lvbl9zdGF0ZSI6ImM4ZTIyMTI3LWU5NWEtNGZmYi05ZTdhLTRkMzE1MzIwMzJhMyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImM4ZTIyMTI3LWU5NWEtNGZmYi05ZTdhLTRkMzE1MzIwMzJhMyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.nwaJK8euvqXBHezh0QbQHlYzXsnRJ_pkmgv4nPmWOIEX8K7JrsIa6wr-TnlGccRNiL0z2Dji3QIhZBay0M-sMqxNNRR2GrUuYPV3axhGHJEGjuVL8COwOPWaTfxXva9S_nCBrQ4Cj2YRI4dasKKn8NcejmXiBAkNGLBazxwnRK7ZeyI0FsglvD-Wu6ZJb2j9_suUA9fKizCiD-5kw6qLeJFnGRGCegj3dZHz-kf9evpvB3DUYQ7Ua05gFGNbeuBYwB2Ii9Y-2wzrn5Coh47NaeYJcSWrVteXjv67uksYorIpj-dTSEAqRWQmXjYElDwvu5BT5WkXfQ_J-i-g84Jf2A\n", stderr: "" })
[2022-05-09T10:10: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: "59986f7b-4f49-4d21-974c-3b867a96fcdb", persistence: None, user_data: None }
[2022-05-09T10:10:24Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:10:24Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbff7560
[2022-05-09T10:10:24Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbff7560
[2022-05-09T10:10: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: 0x55efdbff84c0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbe943a0, 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: 0x55efdbf12f10, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEzMjIsImlhdCI6MTY1MjA5MTAyMiwiYXV0aF90aW1lIjoxNjUyMDkxMDE5LCJqdGkiOiJjMWQwMWVmNS0zOTIxLTQwN2UtYjY1Ni1iYTExZjJhNWYxYjIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJSMmFFb1ZKSUdmMkdPenhHMU14WVFBIiwic2Vzc2lvbl9zdGF0ZSI6ImM4ZTIyMTI3LWU5NWEtNGZmYi05ZTdhLTRkMzE1MzIwMzJhMyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImM4ZTIyMTI3LWU5NWEtNGZmYi05ZTdhLTRkMzE1MzIwMzJhMyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.nwaJK8euvqXBHezh0QbQHlYzXsnRJ_pkmgv4nPmWOIEX8K7JrsIa6wr-TnlGccRNiL0z2Dji3QIhZBay0M-sMqxNNRR2GrUuYPV3axhGHJEGjuVL8COwOPWaTfxXva9S_nCBrQ4Cj2YRI4dasKKn8NcejmXiBAkNGLBazxwnRK7ZeyI0FsglvD-Wu6ZJb2j9_suUA9fKizCiD-5kw6qLeJFnGRGCegj3dZHz-kf9evpvB3DUYQ7Ua05gFGNbeuBYwB2Ii9Y-2wzrn5Coh47NaeYJcSWrVteXjv67uksYorIpj-dTSEAqRWQmXjYElDwvu5BT5WkXfQ_J-i-g84Jf2A"), 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-09T10:10:24Z DEBUG paho_mqtt::async_client] Subscribe to '"app/a07db814-52a9-487c-abe7-a140f7679cc9"' @ QOS 0
[2022-05-09T10:10:24Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:10:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:10:24Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:10: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-09T10:10:24Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:10: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-09T10:10:26Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:10: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-09T10:10:26Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:10: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-09T10:10:27Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:10: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-09T10:10:27Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:10: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-09T10:10:28Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:10: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-09T10:10:28Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:10: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-09T10:10: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: 0x7f0edc004cc0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/a07db814-52a9-487c-abe7-a140f7679cc9", 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, 101, 50, 100, 97, 52, 52, 101, 45, 102, 55, 99, 49, 45, 52, 52, 101, 53, 45, 98, 97, 52, 54, 45, 50, 98, 50, 48, 51, 102, 101, 55, 52, 98, 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, 97, 48, 55, 100, 98, 56, 49, 52, 37, 50, 68, 53, 50, 97, 57, 37, 50, 68, 52, 56, 55, 99, 37, 50, 68, 97, 98, 101, 55, 37, 50, 68, 97, 49, 52, 48, 102, 55, 54, 55, 57, 99, 99, 57, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 97, 116, 97, 99, 111, 110, 116, 101, 110, 116, 116, 121, 112, 101, 34, 58, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 119, 97, 114, 109, 117, 112, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 48, 53, 45, 48, 57, 84, 49, 48, 58, 49, 48, 58, 50, 56, 46, 52, 51, 51, 56, 48, 56, 54, 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, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 98, 99, 101, 98, 53, 102, 101, 50, 45, 51, 49, 51, 48, 45, 52, 55, 51, 49, 45, 98, 54, 48, 102, 45, 56, 50, 56, 100, 97, 51, 51, 49, 53, 98, 101, 97, 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, 54, 49, 98, 55, 48, 51, 57, 45, 100, 56, 51, 56, 45, 52, 52, 53, 53, 45, 57, 53, 49, 49, 45, 97, 56, 98, 52, 49, 57, 99, 52, 53, 57, 51, 100, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 51, 102, 48, 97, 98, 56, 57, 56, 45, 97, 51, 98, 48, 45, 52, 54, 100, 101, 45, 57, 57, 50, 98, 45, 50, 50, 51, 98, 53, 57, 102, 53, 53, 54, 102, 52, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 97, 48, 55, 100, 98, 56, 49, 52, 45, 53, 50, 97, 57, 45, 52, 56, 55, 99, 45, 97, 98, 101, 55, 45, 97, 49, 52, 48, 102, 55, 54, 55, 57, 99, 99, 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, 97, 48, 55, 100, 98, 56, 49, 52, 37, 50, 68, 53, 50, 97, 57, 37, 50, 68, 52, 56, 55, 99, 37, 50, 68, 97, 98, 101, 55, 37, 50, 68, 97, 49, 52, 48, 102, 55, 54, 55, 57, 99, 99, 57, 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-09T10:10:28Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/a07db814-52a9-487c-abe7-a140f7679cc9", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"7e2da44e-f7c1-44e5-ba46-2b203fe74b8b\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://a07db814%2D52a9%2D487c%2Dabe7%2Da140f7679cc9/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:10:28.433808697Z\",\"data\":{\"index\":3},\"applicationuid\":\"bceb5fe2-3130-4731-b60f-828da3315bea\",\"sender\":\"gateway1\",\"senderuid\":\"a61b7039-d838-4455-9511-a8b419c4593d\",\"deviceuid\":\"3f0ab898-a3b0-46de-992b-223b59f556f4\",\"application\":\"a07db814-52a9-487c-abe7-a140f7679cc9\",\"device\":\"device1\",\"partitionkey\":\"a07db814%2D52a9%2D487c%2Dabe7%2Da140f7679cc9/device1\",\"instance\":\"drogue\"}" }
[2022-05-09T10:10:29Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:10:29Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:10:29Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:10:29Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:10: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: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "ecea5594-2bb6-468f-bfb6-b9eaad2a521b", persistence: None, user_data: None }
[2022-05-09T10:10:29Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:10:29Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc143ab0
[2022-05-09T10:10:29Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc143ab0
[2022-05-09T10:10: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: 0x55efdc2b7260, password: 0x55efdbf12fa0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc2d6b60, 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: 0x55efdc2b60a0, 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@a07db814-52a9-487c-abe7-a140f7679cc9"), 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-09T10:10:29Z 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: 0x7f0edc02b3c0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/a07db814-52a9-487c-abe7-a140f7679cc9", 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, 49, 97, 51, 49, 48, 52, 97, 45, 100, 48, 50, 100, 45, 52, 53, 52, 102, 45, 97, 101, 52, 56, 45, 99, 102, 54, 54, 49, 55, 57, 48, 97, 101, 97, 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, 97, 48, 55, 100, 98, 56, 49, 52, 37, 50, 68, 53, 50, 97, 57, 37, 50, 68, 52, 56, 55, 99, 37, 50, 68, 97, 98, 101, 55, 37, 50, 68, 97, 49, 52, 48, 102, 55, 54, 55, 57, 99, 99, 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, 48, 58, 49, 48, 58, 50, 57, 46, 53, 52, 56, 55, 52, 57, 55, 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, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 54, 49, 98, 55, 48, 51, 57, 45, 100, 56, 51, 56, 45, 52, 52, 53, 53, 45, 57, 53, 49, 49, 45, 97, 56, 98, 52, 49, 57, 99, 52, 53, 57, 51, 100, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 98, 99, 101, 98, 53, 102, 101, 50, 45, 51, 49, 51, 48, 45, 52, 55, 51, 49, 45, 98, 54, 48, 102, 45, 56, 50, 56, 100, 97, 51, 51, 49, 53, 98, 101, 97, 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, 97, 48, 55, 100, 98, 56, 49, 52, 37, 50, 68, 53, 50, 97, 57, 37, 50, 68, 52, 56, 55, 99, 37, 50, 68, 97, 98, 101, 55, 37, 50, 68, 97, 49, 52, 48, 102, 55, 54, 55, 57, 99, 99, 57, 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, 117, 105, 100, 34, 58, 34, 97, 54, 49, 98, 55, 48, 51, 57, 45, 100, 56, 51, 56, 45, 52, 52, 53, 53, 45, 57, 53, 49, 49, 45, 97, 56, 98, 52, 49, 57, 99, 52, 53, 57, 51, 100, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 97, 48, 55, 100, 98, 56, 49, 52, 45, 53, 50, 97, 57, 45, 52, 56, 55, 99, 45, 97, 98, 101, 55, 45, 97, 49, 52, 48, 102, 55, 54, 55, 57, 99, 99, 57, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:10:29Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/a07db814-52a9-487c-abe7-a140f7679cc9", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"31a3104a-d02d-454f-ae48-cf661790aeae\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://a07db814%2D52a9%2D487c%2Dabe7%2Da140f7679cc9/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:10:29.548749754Z\",\"data\":{\"connected\":true},\"deviceuid\":\"a61b7039-d838-4455-9511-a8b419c4593d\",\"applicationuid\":\"bceb5fe2-3130-4731-b60f-828da3315bea\",\"device\":\"gateway1\",\"sender\":\"gateway1\",\"partitionkey\":\"a07db814%2D52a9%2D487c%2Dabe7%2Da140f7679cc9/gateway1\",\"instance\":\"drogue\",\"senderuid\":\"a61b7039-d838-4455-9511-a8b419c4593d\",\"application\":\"a07db814-52a9-487c-abe7-a140f7679cc9\"}" }
[2022-05-09T10:10: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: 0x55efdc2cdc80 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdc2cdc80 } } } }
[2022-05-09T10:10:29Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:10:29Z 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: 0x7f0edc02b650, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/a07db814-52a9-487c-abe7-a140f7679cc9", 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, 102, 55, 56, 56, 54, 102, 45, 99, 48, 48, 55, 45, 52, 49, 54, 99, 45, 98, 51, 100, 97, 45, 100, 54, 56, 97, 52, 52, 50, 102, 98, 55, 101, 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, 97, 48, 55, 100, 98, 56, 49, 52, 37, 50, 68, 53, 50, 97, 57, 37, 50, 68, 52, 56, 55, 99, 37, 50, 68, 97, 98, 101, 55, 37, 50, 68, 97, 49, 52, 48, 102, 55, 54, 55, 57, 99, 99, 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, 48, 58, 49, 48, 58, 50, 57, 46, 54, 57, 55, 57, 56, 50, 52, 53, 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, 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, 99, 101, 98, 53, 102, 101, 50, 45, 51, 49, 51, 48, 45, 52, 55, 51, 49, 45, 98, 54, 48, 102, 45, 56, 50, 56, 100, 97, 51, 51, 49, 53, 98, 101, 97, 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, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 97, 48, 55, 100, 98, 56, 49, 52, 37, 50, 68, 53, 50, 97, 57, 37, 50, 68, 52, 56, 55, 99, 37, 50, 68, 97, 98, 101, 55, 37, 50, 68, 97, 49, 52, 48, 102, 55, 54, 55, 57, 99, 99, 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, 97, 54, 49, 98, 55, 48, 51, 57, 45, 100, 56, 51, 56, 45, 52, 52, 53, 53, 45, 57, 53, 49, 49, 45, 97, 56, 98, 52, 49, 57, 99, 52, 53, 57, 51, 100, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 54, 49, 98, 55, 48, 51, 57, 45, 100, 56, 51, 56, 45, 52, 52, 53, 53, 45, 57, 53, 49, 49, 45, 97, 56, 98, 52, 49, 57, 99, 52, 53, 57, 51, 100, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 97, 48, 55, 100, 98, 56, 49, 52, 45, 53, 50, 97, 57, 45, 52, 56, 55, 99, 45, 97, 98, 101, 55, 45, 97, 49, 52, 48, 102, 55, 54, 55, 57, 99, 99, 57, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:10:29Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/a07db814-52a9-487c-abe7-a140f7679cc9", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"cdf7886f-c007-416c-b3da-d68a442fb7e1\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://a07db814%2D52a9%2D487c%2Dabe7%2Da140f7679cc9/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:10:29.697982452Z\",\"data\":{\"connected\":false},\"instance\":\"drogue\",\"applicationuid\":\"bceb5fe2-3130-4731-b60f-828da3315bea\",\"sender\":\"gateway1\",\"device\":\"gateway1\",\"partitionkey\":\"a07db814%2D52a9%2D487c%2Dabe7%2Da140f7679cc9/gateway1\",\"deviceuid\":\"a61b7039-d838-4455-9511-a8b419c4593d\",\"senderuid\":\"a61b7039-d838-4455-9511-a8b419c4593d\",\"application\":\"a07db814-52a9-487c-abe7-a140f7679cc9\"}" }
[2022-05-09T10:10: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: 0x7f0edc02bb90, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/a07db814-52a9-487c-abe7-a140f7679cc9", 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, 54, 51, 98, 51, 50, 54, 54, 45, 56, 55, 97, 99, 45, 52, 99, 55, 101, 45, 57, 100, 53, 51, 45, 97, 49, 97, 52, 50, 51, 48, 50, 99, 54, 98, 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, 97, 48, 55, 100, 98, 56, 49, 52, 37, 50, 68, 53, 50, 97, 57, 37, 50, 68, 52, 56, 55, 99, 37, 50, 68, 97, 98, 101, 55, 37, 50, 68, 97, 49, 52, 48, 102, 55, 54, 55, 57, 99, 99, 57, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 97, 116, 97, 99, 111, 110, 116, 101, 110, 116, 116, 121, 112, 101, 34, 58, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 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, 48, 58, 49, 48, 58, 50, 57, 46, 54, 57, 54, 56, 53, 56, 56, 54, 50, 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, 48, 55, 100, 98, 56, 49, 52, 45, 53, 50, 97, 57, 45, 52, 56, 55, 99, 45, 97, 98, 101, 55, 45, 97, 49, 52, 48, 102, 55, 54, 55, 57, 99, 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, 97, 48, 55, 100, 98, 56, 49, 52, 37, 50, 68, 53, 50, 97, 57, 37, 50, 68, 52, 56, 55, 99, 37, 50, 68, 97, 98, 101, 55, 37, 50, 68, 97, 49, 52, 48, 102, 55, 54, 55, 57, 99, 99, 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, 98, 99, 101, 98, 53, 102, 101, 50, 45, 51, 49, 51, 48, 45, 52, 55, 51, 49, 45, 98, 54, 48, 102, 45, 56, 50, 56, 100, 97, 51, 51, 49, 53, 98, 101, 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, 97, 54, 49, 98, 55, 48, 51, 57, 45, 100, 56, 51, 56, 45, 52, 52, 53, 53, 45, 57, 53, 49, 49, 45, 97, 56, 98, 52, 49, 57, 99, 52, 53, 57, 51, 100, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 51, 102, 48, 97, 98, 56, 57, 56, 45, 97, 51, 98, 48, 45, 52, 54, 100, 101, 45, 57, 57, 50, 98, 45, 50, 50, 51, 98, 53, 57, 102, 53, 53, 54, 102, 52, 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-09T10:10:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/a07db814-52a9-487c-abe7-a140f7679cc9", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"463b3266-87ac-4c7e-9d53-a1a42302c6b5\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://a07db814%2D52a9%2D487c%2Dabe7%2Da140f7679cc9/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:10:29.696858862Z\",\"data_base64\":\"\",\"application\":\"a07db814-52a9-487c-abe7-a140f7679cc9\",\"sender\":\"gateway1\",\"partitionkey\":\"a07db814%2D52a9%2D487c%2Dabe7%2Da140f7679cc9/device1\",\"applicationuid\":\"bceb5fe2-3130-4731-b60f-828da3315bea\",\"instance\":\"drogue\",\"senderuid\":\"a61b7039-d838-4455-9511-a8b419c4593d\",\"deviceuid\":\"3f0ab898-a3b0-46de-992b-223b59f556f4\",\"device\":\"device1\"}" }
[2022-05-09T10:10:30Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:10:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:10:30Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:10: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: "a07db814-52a9-487c-abe7-a140f7679cc9", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "a07db814-52a9-487c-abe7-a140f7679cc9", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:10:30Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:10:30Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "a07db814-52a9-487c-abe7-a140f7679cc9" "device1"
[2022-05-09T10:10:30Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:10:30Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:10:30Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "a07db814-52a9-487c-abe7-a140f7679cc9" "gateway1"
[2022-05-09T10:10:30Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:10:30Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'a07db814-52a9-487c-abe7-a140f7679cc9'
[2022-05-09T10:10:30Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "a07db814-52a9-487c-abe7-a140f7679cc9"
[2022-05-09T10:10:30Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App a07db814-52a9-487c-abe7-a140f7679cc9 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-09T10:10:32Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:10:32Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:10:32Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:10:32Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:10: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-09T10:10:33Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:10:35Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:10:35Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:10:35Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:10: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-09T10:10:37Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI4MzYsImlhdCI6MTY1MjA5MTAzNiwianRpIjoiMmZiYWFkNzEtNDIxMC00OWU3LTkyZjItMWZkMDNjYzZkZGI0IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjBsenVac3VFdzFfeGhBU3hIYnpQX3ciLCJzZXNzaW9uX3N0YXRlIjoiNGJlYmMwZjctNjVjYS00MjIwLTg1MjktYWE1YjljNDFmYTQ1Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjRiZWJjMGY3LTY1Y2EtNDIyMC04NTI5LWFhNWI5YzQxZmE0NSJ9.Q-6UGz18DdFUTW4qOmrmdtTB_pHZihjA-CxQzU5FPrs
[2022-05-09T10:10:37Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:10:37Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:10:37Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI4MzYsImlhdCI6MTY1MjA5MTAzNiwianRpIjoiMmZiYWFkNzEtNDIxMC00OWU3LTkyZjItMWZkMDNjYzZkZGI0IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjBsenVac3VFdzFfeGhBU3hIYnpQX3ciLCJzZXNzaW9uX3N0YXRlIjoiNGJlYmMwZjctNjVjYS00MjIwLTg1MjktYWE1YjljNDFmYTQ1Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjRiZWJjMGY3LTY1Y2EtNDIyMC04NTI5LWFhNWI5YzQxZmE0NSJ9.Q-6UGz18DdFUTW4qOmrmdtTB_pHZihjA-CxQzU5FPrs" "--context" "system-tests"
[2022-05-09T10:10: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-09T10:10:37Z INFO  drogue_cloud_tests::resources::apps] Create application: 6e8df301-fb0e-49b5-bf1a-2806a05e0107
[2022-05-09T10:10:37Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "6e8df301-fb0e-49b5-bf1a-2806a05e0107"
[2022-05-09T10:10:37Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 6e8df301-fb0e-49b5-bf1a-2806a05e0107 created.\n", stderr: "" })
[2022-05-09T10:10:37Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "6e8df301-fb0e-49b5-bf1a-2806a05e0107"
[2022-05-09T10:10:37Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:10:37.839246Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"6e8df301-fb0e-49b5-bf1a-2806a05e0107\",\n    \"resourceVersion\": \"a5491bdf-58fc-4180-b371-1dd174501027\",\n    \"uid\": \"b11e2fef-2620-4a0d-9e62-780f1ccd3383\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:10:37.852643064Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:10:37.852682737Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:37.852511928Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:37.852513871Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:37.852514703Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:37.852515644Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:37.852517117Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:37.852525693Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:10:37Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:10:37.839246Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("6e8df301-fb0e-49b5-bf1a-2806a05e0107"), "resourceVersion": String("a5491bdf-58fc-4180-b371-1dd174501027"), "uid": String("b11e2fef-2620-4a0d-9e62-780f1ccd3383")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:10:37.852643064Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:10:37.852682737Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:10:37.852511928Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:10:37.852513871Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:10:37.852514703Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:10:37.852515644Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:10:37.852517117Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:10:37.852525693Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T10:10:37Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:10:38Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "6e8df301-fb0e-49b5-bf1a-2806a05e0107"
[2022-05-09T10:10:38Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:10:37.839246Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"6e8df301-fb0e-49b5-bf1a-2806a05e0107\",\n    \"resourceVersion\": \"3a77289e-b52d-4fe3-a988-483a1b5d1782\",\n    \"uid\": \"b11e2fef-2620-4a0d-9e62-780f1ccd3383\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:10:38.111193417Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:10:38.111236818Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:37.879190695Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:37.885907159Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:37.946534301Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:37.953213826Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:38.111089082Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:38.111104331Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"i870TqULlqXH\",\n        \"username\": \"user-6e8df301-fb0e-49b5-bf1a-2806a05e0107\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:10:38Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:10:37.839246Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("6e8df301-fb0e-49b5-bf1a-2806a05e0107"), "resourceVersion": String("3a77289e-b52d-4fe3-a988-483a1b5d1782"), "uid": String("b11e2fef-2620-4a0d-9e62-780f1ccd3383")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:10:38.111193417Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:10:38.111236818Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:10:37.879190695Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:10:37.885907159Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:10:37.946534301Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:10:37.953213826Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:10:38.111089082Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:10:38.111104331Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("i870TqULlqXH"), "username": String("user-6e8df301-fb0e-49b5-bf1a-2806a05e0107")})})})})
[2022-05-09T10:10:38Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:10:38Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "6e8df301-fb0e-49b5-bf1a-2806a05e0107"
[2022-05-09T10:10:38Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:10:37.839246Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"6e8df301-fb0e-49b5-bf1a-2806a05e0107\",\n    \"resourceVersion\": \"3a77289e-b52d-4fe3-a988-483a1b5d1782\",\n    \"uid\": \"b11e2fef-2620-4a0d-9e62-780f1ccd3383\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:10:38.111193417Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:10:38.111236818Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:37.879190695Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:37.885907159Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:37.946534301Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:37.953213826Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:38.111089082Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:38.111104331Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"i870TqULlqXH\",\n        \"username\": \"user-6e8df301-fb0e-49b5-bf1a-2806a05e0107\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:10:38Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:10:37.839246Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("6e8df301-fb0e-49b5-bf1a-2806a05e0107"), "resourceVersion": String("3a77289e-b52d-4fe3-a988-483a1b5d1782"), "uid": String("b11e2fef-2620-4a0d-9e62-780f1ccd3383")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:10:38.111193417Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:10:38.111236818Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:10:37.879190695Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:10:37.885907159Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:10:37.946534301Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:10:37.953213826Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:10:38.111089082Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:10:38.111104331Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("i870TqULlqXH"), "username": String("user-6e8df301-fb0e-49b5-bf1a-2806a05e0107")})})})})
[2022-05-09T10:10:38Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:10:38Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:10:38Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "6e8df301-fb0e-49b5-bf1a-2806a05e0107" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:10:38Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:10:38Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:10:38Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:10:38Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:10:38Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEzMzcsImlhdCI6MTY1MjA5MTAzNywiYXV0aF90aW1lIjoxNjUyMDkxMDM0LCJqdGkiOiI4NzM3Y2UyYy00OTI5LTQ0NzUtYTNjYy1mMWM5OGY2MmI3MTkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiIwbHp1WnN1RXcxX3hoQVN4SGJ6UF93Iiwic2Vzc2lvbl9zdGF0ZSI6IjRiZWJjMGY3LTY1Y2EtNDIyMC04NTI5LWFhNWI5YzQxZmE0NSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjRiZWJjMGY3LTY1Y2EtNDIyMC04NTI5LWFhNWI5YzQxZmE0NSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.vwoOnoi_GaPb3WQteDxRHgGnjmIxFMoRM4EEtD6Y14I8WSXjko84nhA8HXElMEYLD8wP52dh4yIMYSb5dV9bcOwpiDq0ftzDlnEBWUwqYNC2sXcAltYexns4O6QwNpAhbBpAX23Kdacsi0edxcutKXPh0nGmmG-OhpZDFisdtccxjrC4IapogyS_7lyopn_fotAZQ4yJukLZ3wUQSDlgUuJl9Vek7Lxk1HoJV4jsXDxrKZVQw8ph6xgK9UFfs8rlvKjYSe0cRSJJnDfWwZvmZAgNKJy6JilduHL0tFfmCFXlt-4KQxsdGjySc3zRrHUo3tANScfejWDyl37_Up2L-A\n", stderr: "" })
[2022-05-09T10:10:38Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:10:38Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:10:38Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:10:38Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "6e8df301-fb0e-49b5-bf1a-2806a05e0107" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:10:38Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:10:38Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T10:10:38Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:10:38Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEzMzcsImlhdCI6MTY1MjA5MTAzNywiYXV0aF90aW1lIjoxNjUyMDkxMDM0LCJqdGkiOiI4NzM3Y2UyYy00OTI5LTQ0NzUtYTNjYy1mMWM5OGY2MmI3MTkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiIwbHp1WnN1RXcxX3hoQVN4SGJ6UF93Iiwic2Vzc2lvbl9zdGF0ZSI6IjRiZWJjMGY3LTY1Y2EtNDIyMC04NTI5LWFhNWI5YzQxZmE0NSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjRiZWJjMGY3LTY1Y2EtNDIyMC04NTI5LWFhNWI5YzQxZmE0NSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.vwoOnoi_GaPb3WQteDxRHgGnjmIxFMoRM4EEtD6Y14I8WSXjko84nhA8HXElMEYLD8wP52dh4yIMYSb5dV9bcOwpiDq0ftzDlnEBWUwqYNC2sXcAltYexns4O6QwNpAhbBpAX23Kdacsi0edxcutKXPh0nGmmG-OhpZDFisdtccxjrC4IapogyS_7lyopn_fotAZQ4yJukLZ3wUQSDlgUuJl9Vek7Lxk1HoJV4jsXDxrKZVQw8ph6xgK9UFfs8rlvKjYSe0cRSJJnDfWwZvmZAgNKJy6JilduHL0tFfmCFXlt-4KQxsdGjySc3zRrHUo3tANScfejWDyl37_Up2L-A\n", stderr: "" })
[2022-05-09T10:10: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: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "eb5b2b4b-fbf5-4184-9362-376a90bdd4a1", persistence: None, user_data: None }
[2022-05-09T10:10:38Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:10:38Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc068c20
[2022-05-09T10:10:38Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc068c20
[2022-05-09T10:10: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: 0x0, password: 0x55efdc081e00, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc2b6210, 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: 0x7f0ed8003120, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEzMzcsImlhdCI6MTY1MjA5MTAzNywiYXV0aF90aW1lIjoxNjUyMDkxMDM0LCJqdGkiOiI4NzM3Y2UyYy00OTI5LTQ0NzUtYTNjYy1mMWM5OGY2MmI3MTkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiIwbHp1WnN1RXcxX3hoQVN4SGJ6UF93Iiwic2Vzc2lvbl9zdGF0ZSI6IjRiZWJjMGY3LTY1Y2EtNDIyMC04NTI5LWFhNWI5YzQxZmE0NSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjRiZWJjMGY3LTY1Y2EtNDIyMC04NTI5LWFhNWI5YzQxZmE0NSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.vwoOnoi_GaPb3WQteDxRHgGnjmIxFMoRM4EEtD6Y14I8WSXjko84nhA8HXElMEYLD8wP52dh4yIMYSb5dV9bcOwpiDq0ftzDlnEBWUwqYNC2sXcAltYexns4O6QwNpAhbBpAX23Kdacsi0edxcutKXPh0nGmmG-OhpZDFisdtccxjrC4IapogyS_7lyopn_fotAZQ4yJukLZ3wUQSDlgUuJl9Vek7Lxk1HoJV4jsXDxrKZVQw8ph6xgK9UFfs8rlvKjYSe0cRSJJnDfWwZvmZAgNKJy6JilduHL0tFfmCFXlt-4KQxsdGjySc3zRrHUo3tANScfejWDyl37_Up2L-A"), 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-09T10:10:39Z DEBUG paho_mqtt::async_client] Subscribe to '"app/6e8df301-fb0e-49b5-bf1a-2806a05e0107"' @ QOS 0
[2022-05-09T10:10:39Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:10:39Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:10:39Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:10: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-09T10:10:39Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:10: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-09T10:10:40Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:10: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-09T10:10:40Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:10: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-09T10:10:41Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:10: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-09T10:10:41Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:10: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-09T10:10:42Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:10: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-09T10:10:42Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:10: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-09T10:10: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: 0x7f0edc006380, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc006600 } }, data: MessageData { topic: "app/6e8df301-fb0e-49b5-bf1a-2806a05e0107", 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, 51, 57, 101, 56, 50, 101, 102, 45, 49, 53, 101, 49, 45, 52, 102, 102, 100, 45, 57, 100, 55, 97, 45, 102, 48, 54, 98, 101, 52, 52, 53, 100, 56, 51, 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, 54, 101, 56, 100, 102, 51, 48, 49, 37, 50, 68, 102, 98, 48, 101, 37, 50, 68, 52, 57, 98, 53, 37, 50, 68, 98, 102, 49, 97, 37, 50, 68, 50, 56, 48, 54, 97, 48, 53, 101, 48, 49, 48, 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, 48, 58, 49, 48, 58, 52, 50, 46, 52, 51, 51, 57, 51, 48, 57, 56, 55, 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, 54, 101, 56, 100, 102, 51, 48, 49, 45, 102, 98, 48, 101, 45, 52, 57, 98, 53, 45, 98, 102, 49, 97, 45, 50, 56, 48, 54, 97, 48, 53, 101, 48, 49, 48, 55, 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, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 55, 99, 99, 52, 57, 51, 51, 98, 45, 102, 57, 52, 99, 45, 52, 48, 100, 55, 45, 57, 98, 53, 57, 45, 54, 53, 56, 102, 98, 52, 48, 97, 100, 50, 57, 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, 117, 105, 100, 34, 58, 34, 55, 98, 56, 50, 98, 56, 48, 49, 45, 97, 56, 101, 53, 45, 52, 53, 55, 53, 45, 98, 56, 100, 100, 45, 48, 97, 57, 55, 99, 97, 99, 50, 57, 48, 53, 57, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 54, 101, 56, 100, 102, 51, 48, 49, 37, 50, 68, 102, 98, 48, 101, 37, 50, 68, 52, 57, 98, 53, 37, 50, 68, 98, 102, 49, 97, 37, 50, 68, 50, 56, 48, 54, 97, 48, 53, 101, 48, 49, 48, 55, 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, 98, 49, 49, 101, 50, 102, 101, 102, 45, 50, 54, 50, 48, 45, 52, 97, 48, 100, 45, 57, 101, 54, 50, 45, 55, 56, 48, 102, 49, 99, 99, 100, 51, 51, 56, 51, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc006600 } } } }
[2022-05-09T10:10:42Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbf273a0
[2022-05-09T10:10:42Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/6e8df301-fb0e-49b5-bf1a-2806a05e0107", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"f39e82ef-15e1-4ffd-9d7a-f06be445d831\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://6e8df301%2Dfb0e%2D49b5%2Dbf1a%2D2806a05e0107/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:10:42.433930987Z\",\"data\":{\"index\":3},\"application\":\"6e8df301-fb0e-49b5-bf1a-2806a05e0107\",\"instance\":\"drogue\",\"sender\":\"gateway1\",\"deviceuid\":\"7cc4933b-f94c-40d7-9b59-658fb40ad29c\",\"device\":\"device1\",\"senderuid\":\"7b82b801-a8e5-4575-b8dd-0a97cac29059\",\"partitionkey\":\"6e8df301%2Dfb0e%2D49b5%2Dbf1a%2D2806a05e0107/device1\",\"applicationuid\":\"b11e2fef-2620-4a0d-9e62-780f1ccd3383\"}" }
[2022-05-09T10:10:43Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:10:43Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:10:43Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:10:43Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:10: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: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "c317f7bd-602e-454d-8766-995276fa9209", persistence: None, user_data: None }
[2022-05-09T10:10:43Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:10:43Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbf4e5d0
[2022-05-09T10:10:43Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbf4e5d0
[2022-05-09T10:10: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: 0x55efdbf27620, password: 0x55efdbdf07c0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbf765d0, 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: 0x55efdc347660, 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@6e8df301-fb0e-49b5-bf1a-2806a05e0107"), 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-09T10:10: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: 0x7f0edc018670, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc018900 } }, data: MessageData { topic: "app/6e8df301-fb0e-49b5-bf1a-2806a05e0107", 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, 99, 54, 56, 51, 48, 100, 56, 45, 54, 48, 100, 97, 45, 52, 51, 56, 55, 45, 57, 52, 56, 99, 45, 97, 57, 100, 97, 99, 101, 101, 55, 53, 99, 100, 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, 101, 56, 100, 102, 51, 48, 49, 37, 50, 68, 102, 98, 48, 101, 37, 50, 68, 52, 57, 98, 53, 37, 50, 68, 98, 102, 49, 97, 37, 50, 68, 50, 56, 48, 54, 97, 48, 53, 101, 48, 49, 48, 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, 48, 58, 49, 48, 58, 52, 51, 46, 55, 53, 53, 55, 56, 49, 50, 54, 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, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 55, 98, 56, 50, 98, 56, 48, 49, 45, 97, 56, 101, 53, 45, 52, 53, 55, 53, 45, 98, 56, 100, 100, 45, 48, 97, 57, 55, 99, 97, 99, 50, 57, 48, 53, 57, 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, 56, 100, 102, 51, 48, 49, 45, 102, 98, 48, 101, 45, 52, 57, 98, 53, 45, 98, 102, 49, 97, 45, 50, 56, 48, 54, 97, 48, 53, 101, 48, 49, 48, 55, 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, 55, 98, 56, 50, 98, 56, 48, 49, 45, 97, 56, 101, 53, 45, 52, 53, 55, 53, 45, 98, 56, 100, 100, 45, 48, 97, 57, 55, 99, 97, 99, 50, 57, 48, 53, 57, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 54, 101, 56, 100, 102, 51, 48, 49, 37, 50, 68, 102, 98, 48, 101, 37, 50, 68, 52, 57, 98, 53, 37, 50, 68, 98, 102, 49, 97, 37, 50, 68, 50, 56, 48, 54, 97, 48, 53, 101, 48, 49, 48, 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, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 98, 49, 49, 101, 50, 102, 101, 102, 45, 50, 54, 50, 48, 45, 52, 97, 48, 100, 45, 57, 101, 54, 50, 45, 55, 56, 48, 102, 49, 99, 99, 100, 51, 51, 56, 51, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc018900 } } } }
[2022-05-09T10:10:44Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbf273a0
[2022-05-09T10:10: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: 0x55efdc07d630 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdc07d630 } } } }
[2022-05-09T10:10:44Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/6e8df301-fb0e-49b5-bf1a-2806a05e0107", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"bc6830d8-60da-4387-948c-a9dacee75cd0\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://6e8df301%2Dfb0e%2D49b5%2Dbf1a%2D2806a05e0107/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:10:43.755781262Z\",\"data\":{\"connected\":true},\"deviceuid\":\"7b82b801-a8e5-4575-b8dd-0a97cac29059\",\"instance\":\"drogue\",\"application\":\"6e8df301-fb0e-49b5-bf1a-2806a05e0107\",\"sender\":\"gateway1\",\"senderuid\":\"7b82b801-a8e5-4575-b8dd-0a97cac29059\",\"partitionkey\":\"6e8df301%2Dfb0e%2D49b5%2Dbf1a%2D2806a05e0107/gateway1\",\"device\":\"gateway1\",\"applicationuid\":\"b11e2fef-2620-4a0d-9e62-780f1ccd3383\"}" }
[2022-05-09T10:10:44Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:10:45Z 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: 0x7f0edc01af10, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc018900 } }, data: MessageData { topic: "app/6e8df301-fb0e-49b5-bf1a-2806a05e0107", 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, 53, 48, 102, 102, 53, 100, 49, 45, 98, 102, 99, 48, 45, 52, 98, 56, 55, 45, 57, 99, 55, 53, 45, 57, 48, 101, 98, 50, 50, 52, 52, 97, 53, 55, 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, 54, 101, 56, 100, 102, 51, 48, 49, 37, 50, 68, 102, 98, 48, 101, 37, 50, 68, 52, 57, 98, 53, 37, 50, 68, 98, 102, 49, 97, 37, 50, 68, 50, 56, 48, 54, 97, 48, 53, 101, 48, 49, 48, 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, 48, 58, 49, 48, 58, 52, 52, 46, 54, 57, 56, 55, 55, 55, 48, 53, 52, 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, 54, 101, 56, 100, 102, 51, 48, 49, 37, 50, 68, 102, 98, 48, 101, 37, 50, 68, 52, 57, 98, 53, 37, 50, 68, 98, 102, 49, 97, 37, 50, 68, 50, 56, 48, 54, 97, 48, 53, 101, 48, 49, 48, 55, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 55, 98, 56, 50, 98, 56, 48, 49, 45, 97, 56, 101, 53, 45, 52, 53, 55, 53, 45, 98, 56, 100, 100, 45, 48, 97, 57, 55, 99, 97, 99, 50, 57, 48, 53, 57, 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, 49, 49, 101, 50, 102, 101, 102, 45, 50, 54, 50, 48, 45, 52, 97, 48, 100, 45, 57, 101, 54, 50, 45, 55, 56, 48, 102, 49, 99, 99, 100, 51, 51, 56, 51, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 55, 99, 99, 52, 57, 51, 51, 98, 45, 102, 57, 52, 99, 45, 52, 48, 100, 55, 45, 57, 98, 53, 57, 45, 54, 53, 56, 102, 98, 52, 48, 97, 100, 50, 57, 99, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 54, 101, 56, 100, 102, 51, 48, 49, 45, 102, 98, 48, 101, 45, 52, 57, 98, 53, 45, 98, 102, 49, 97, 45, 50, 56, 48, 54, 97, 48, 53, 101, 48, 49, 48, 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: 0x7f0edc018900 } } } }
[2022-05-09T10:10:45Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbf273a0
[2022-05-09T10:10:45Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/6e8df301-fb0e-49b5-bf1a-2806a05e0107", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"e50ff5d1-bfc0-4b87-9c75-90eb2244a579\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://6e8df301%2Dfb0e%2D49b5%2Dbf1a%2D2806a05e0107/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:10:44.698777054Z\",\"data_base64\":\"\",\"partitionkey\":\"6e8df301%2Dfb0e%2D49b5%2Dbf1a%2D2806a05e0107/device1\",\"senderuid\":\"7b82b801-a8e5-4575-b8dd-0a97cac29059\",\"instance\":\"drogue\",\"applicationuid\":\"b11e2fef-2620-4a0d-9e62-780f1ccd3383\",\"deviceuid\":\"7cc4933b-f94c-40d7-9b59-658fb40ad29c\",\"application\":\"6e8df301-fb0e-49b5-bf1a-2806a05e0107\",\"sender\":\"gateway1\",\"device\":\"device1\"}" }
[2022-05-09T10:10: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: 0x7f0edc016750, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc018900 } }, data: MessageData { topic: "app/6e8df301-fb0e-49b5-bf1a-2806a05e0107", 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, 49, 52, 57, 102, 49, 52, 53, 45, 52, 57, 49, 52, 45, 52, 97, 98, 50, 45, 56, 101, 101, 49, 45, 53, 48, 55, 52, 102, 49, 52, 100, 49, 55, 57, 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, 54, 101, 56, 100, 102, 51, 48, 49, 37, 50, 68, 102, 98, 48, 101, 37, 50, 68, 52, 57, 98, 53, 37, 50, 68, 98, 102, 49, 97, 37, 50, 68, 50, 56, 48, 54, 97, 48, 53, 101, 48, 49, 48, 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, 48, 58, 49, 48, 58, 52, 53, 46, 52, 53, 49, 48, 54, 48, 49, 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, 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, 98, 49, 49, 101, 50, 102, 101, 102, 45, 50, 54, 50, 48, 45, 52, 97, 48, 100, 45, 57, 101, 54, 50, 45, 55, 56, 48, 102, 49, 99, 99, 100, 51, 51, 56, 51, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 54, 101, 56, 100, 102, 51, 48, 49, 45, 102, 98, 48, 101, 45, 52, 57, 98, 53, 45, 98, 102, 49, 97, 45, 50, 56, 48, 54, 97, 48, 53, 101, 48, 49, 48, 55, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 55, 98, 56, 50, 98, 56, 48, 49, 45, 97, 56, 101, 53, 45, 52, 53, 55, 53, 45, 98, 56, 100, 100, 45, 48, 97, 57, 55, 99, 97, 99, 50, 57, 48, 53, 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, 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, 98, 56, 50, 98, 56, 48, 49, 45, 97, 56, 101, 53, 45, 52, 53, 55, 53, 45, 98, 56, 100, 100, 45, 48, 97, 57, 55, 99, 97, 99, 50, 57, 48, 53, 57, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 54, 101, 56, 100, 102, 51, 48, 49, 37, 50, 68, 102, 98, 48, 101, 37, 50, 68, 52, 57, 98, 53, 37, 50, 68, 98, 102, 49, 97, 37, 50, 68, 50, 56, 48, 54, 97, 48, 53, 101, 48, 49, 48, 55, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc018900 } } } }
[2022-05-09T10:10:45Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0edc003000
[2022-05-09T10:10:45Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/6e8df301-fb0e-49b5-bf1a-2806a05e0107", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"1149f145-4914-4ab2-8ee1-5074f14d1799\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://6e8df301%2Dfb0e%2D49b5%2Dbf1a%2D2806a05e0107/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:10:45.451060112Z\",\"data\":{\"connected\":false},\"applicationuid\":\"b11e2fef-2620-4a0d-9e62-780f1ccd3383\",\"application\":\"6e8df301-fb0e-49b5-bf1a-2806a05e0107\",\"deviceuid\":\"7b82b801-a8e5-4575-b8dd-0a97cac29059\",\"device\":\"gateway1\",\"sender\":\"gateway1\",\"instance\":\"drogue\",\"senderuid\":\"7b82b801-a8e5-4575-b8dd-0a97cac29059\",\"partitionkey\":\"6e8df301%2Dfb0e%2D49b5%2Dbf1a%2D2806a05e0107/gateway1\"}" }
[2022-05-09T10:10:45Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:10:45Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:10:45Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:10:45Z 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: "6e8df301-fb0e-49b5-bf1a-2806a05e0107", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "6e8df301-fb0e-49b5-bf1a-2806a05e0107", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:10:45Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:10:45Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "6e8df301-fb0e-49b5-bf1a-2806a05e0107" "device1"
[2022-05-09T10:10:45Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:10:45Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:10:45Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "6e8df301-fb0e-49b5-bf1a-2806a05e0107" "gateway1"
[2022-05-09T10:10:45Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:10:45Z INFO  drogue_cloud_tests::resources::apps] Destroy application '6e8df301-fb0e-49b5-bf1a-2806a05e0107'
[2022-05-09T10:10:45Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "6e8df301-fb0e-49b5-bf1a-2806a05e0107"
[2022-05-09T10:10:45Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 6e8df301-fb0e-49b5-bf1a-2806a05e0107 deleted.\n", stderr: "" })

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

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T10:10:47Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:10:47Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:10:47Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:10:47Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:10:47Z 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-09T10:10:48Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:10:50Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:10:50Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:10:50Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:10:50Z INFO  drogue_cloud_tests::init::config] Endpoints: Object({
        "api": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "console": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "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-09T10:10:52Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI4NTIsImlhdCI6MTY1MjA5MTA1MiwianRpIjoiZDgzZmE0YzUtMGFmMC00MmJlLWI4OTItNWMyNjBhNzgzOWJjIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6InVtM2VYSk03eTR0TnNpWWdESzUyQWciLCJzZXNzaW9uX3N0YXRlIjoiNzNlNDZkOGQtYzgwMy00MTBlLWI2MWMtYjAxODkzNmJmNTY5Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjczZTQ2ZDhkLWM4MDMtNDEwZS1iNjFjLWIwMTg5MzZiZjU2OSJ9.YcZr0IrYIYg4m262Dq7Zw5WKdH3u1HFDCPk5SzDxfqo
[2022-05-09T10:10:52Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:10:52Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:10:52Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI4NTIsImlhdCI6MTY1MjA5MTA1MiwianRpIjoiZDgzZmE0YzUtMGFmMC00MmJlLWI4OTItNWMyNjBhNzgzOWJjIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6InVtM2VYSk03eTR0TnNpWWdESzUyQWciLCJzZXNzaW9uX3N0YXRlIjoiNzNlNDZkOGQtYzgwMy00MTBlLWI2MWMtYjAxODkzNmJmNTY5Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjczZTQ2ZDhkLWM4MDMtNDEwZS1iNjFjLWIwMTg5MzZiZjU2OSJ9.YcZr0IrYIYg4m262Dq7Zw5WKdH3u1HFDCPk5SzDxfqo" "--context" "system-tests"
[2022-05-09T10:10:52Z 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-09T10:10:53Z INFO  drogue_cloud_tests::resources::apps] Create application: 624a50d6-67b1-40c1-9808-676dea1c578f
[2022-05-09T10:10:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "624a50d6-67b1-40c1-9808-676dea1c578f"
[2022-05-09T10:10:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 624a50d6-67b1-40c1-9808-676dea1c578f created.\n", stderr: "" })
[2022-05-09T10:10:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "624a50d6-67b1-40c1-9808-676dea1c578f"
[2022-05-09T10:10:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:10:53.070629Z\",\n    \"generation\": 1,\n    \"name\": \"624a50d6-67b1-40c1-9808-676dea1c578f\",\n    \"resourceVersion\": \"4cfa79ab-7997-487d-9d97-fd2d3e58d97a\",\n    \"uid\": \"e4b1c04c-bf3e-4577-a198-3e1c490b608e\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:10:53.081761254Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2022-05-09T10:10:53Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:10:53.070629Z"), "generation": Number(1), "name": String("624a50d6-67b1-40c1-9808-676dea1c578f"), "resourceVersion": String("4cfa79ab-7997-487d-9d97-fd2d3e58d97a"), "uid": String("e4b1c04c-bf3e-4577-a198-3e1c490b608e")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:10:53.081761254Z"), "status": String("True"), "type": String("Ready")})])})})
[2022-05-09T10:10:53Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:10:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "624a50d6-67b1-40c1-9808-676dea1c578f"
[2022-05-09T10:10:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:10:53.070629Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"624a50d6-67b1-40c1-9808-676dea1c578f\",\n    \"resourceVersion\": \"0463e54b-23b4-44c5-9c2e-ab24989b3a28\",\n    \"uid\": \"e4b1c04c-bf3e-4577-a198-3e1c490b608e\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:10:53.360417785Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:10:53.360374804Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:53.120482050Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:53.127909804Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:53.205428431Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:53.215319860Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:53.360327105Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:53.360344969Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"EB3gbATWrIxt\",\n        \"username\": \"user-624a50d6-67b1-40c1-9808-676dea1c578f\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:10:54Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:10:53.070629Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("624a50d6-67b1-40c1-9808-676dea1c578f"), "resourceVersion": String("0463e54b-23b4-44c5-9c2e-ab24989b3a28"), "uid": String("e4b1c04c-bf3e-4577-a198-3e1c490b608e")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:10:53.360417785Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:10:53.360374804Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:10:53.120482050Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:10:53.127909804Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:10:53.205428431Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:10:53.215319860Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:10:53.360327105Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:10:53.360344969Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("EB3gbATWrIxt"), "username": String("user-624a50d6-67b1-40c1-9808-676dea1c578f")})})})})
[2022-05-09T10:10:54Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:10:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "624a50d6-67b1-40c1-9808-676dea1c578f"
[2022-05-09T10:10:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:10:53.070629Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"624a50d6-67b1-40c1-9808-676dea1c578f\",\n    \"resourceVersion\": \"0463e54b-23b4-44c5-9c2e-ab24989b3a28\",\n    \"uid\": \"e4b1c04c-bf3e-4577-a198-3e1c490b608e\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:10:53.360417785Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:10:53.360374804Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:53.120482050Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:53.127909804Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:53.205428431Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:53.215319860Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:53.360327105Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:10:53.360344969Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"EB3gbATWrIxt\",\n        \"username\": \"user-624a50d6-67b1-40c1-9808-676dea1c578f\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:10:54Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:10:53.070629Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("624a50d6-67b1-40c1-9808-676dea1c578f"), "resourceVersion": String("0463e54b-23b4-44c5-9c2e-ab24989b3a28"), "uid": String("e4b1c04c-bf3e-4577-a198-3e1c490b608e")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:10:53.360417785Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:10:53.360374804Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:10:53.120482050Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:10:53.127909804Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:10:53.205428431Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:10:53.215319860Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:10:53.360327105Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:10:53.360344969Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("EB3gbATWrIxt"), "username": String("user-624a50d6-67b1-40c1-9808-676dea1c578f")})})})})
[2022-05-09T10:10:54Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:10:54Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:10:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "624a50d6-67b1-40c1-9808-676dea1c578f" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:10:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:10:54Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:10:54Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:10:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:10:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEzNTIsImlhdCI6MTY1MjA5MTA1MiwiYXV0aF90aW1lIjoxNjUyMDkxMDQ5LCJqdGkiOiIzYmIxZDUyOS04ODcyLTQzMTUtOGExOS0zODAyNWNhNjY2NmYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ1bTNlWEpNN3k0dE5zaVlnREs1MkFnIiwic2Vzc2lvbl9zdGF0ZSI6IjczZTQ2ZDhkLWM4MDMtNDEwZS1iNjFjLWIwMTg5MzZiZjU2OSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjczZTQ2ZDhkLWM4MDMtNDEwZS1iNjFjLWIwMTg5MzZiZjU2OSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.YbrUlGDKnoglhn1d46bB0b1lJK31u9_ZxfQB7rRPlDoKum8QtglwGQi0Cp1lg8rXX-h4KiZq8Xhdxk9G5ZN8mjXadmL_vZOP26AxMU9qaXIKoYKJtsz9gy5ENP-q9OtWNcKmGVRSNUZmUr7YQDEv4pMf9wiE0_zxlhmO3HzoMCtFx5Bx6n5SxdS2JEj3PV4o-lGm7Efk8TfdA32MoKnzKrKlNiRHwX6GdPbzJmn71eIX8A4J1oCo1V3jBzhIoqeDuKtIHU4dZgsXeQr_aCxV0EDZ5ig4s8Z-u_DZrzA12wiw7flOXZJ0os4s92-SmrR5Y7jzRgeB3m87mA2nBy-uIA\n", stderr: "" })
[2022-05-09T10:10:54Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:10:54Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:10:54Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:10:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "624a50d6-67b1-40c1-9808-676dea1c578f" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:10:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:10:54Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T10:10:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:10:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEzNTIsImlhdCI6MTY1MjA5MTA1MiwiYXV0aF90aW1lIjoxNjUyMDkxMDQ5LCJqdGkiOiIzYmIxZDUyOS04ODcyLTQzMTUtOGExOS0zODAyNWNhNjY2NmYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ1bTNlWEpNN3k0dE5zaVlnREs1MkFnIiwic2Vzc2lvbl9zdGF0ZSI6IjczZTQ2ZDhkLWM4MDMtNDEwZS1iNjFjLWIwMTg5MzZiZjU2OSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjczZTQ2ZDhkLWM4MDMtNDEwZS1iNjFjLWIwMTg5MzZiZjU2OSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.YbrUlGDKnoglhn1d46bB0b1lJK31u9_ZxfQB7rRPlDoKum8QtglwGQi0Cp1lg8rXX-h4KiZq8Xhdxk9G5ZN8mjXadmL_vZOP26AxMU9qaXIKoYKJtsz9gy5ENP-q9OtWNcKmGVRSNUZmUr7YQDEv4pMf9wiE0_zxlhmO3HzoMCtFx5Bx6n5SxdS2JEj3PV4o-lGm7Efk8TfdA32MoKnzKrKlNiRHwX6GdPbzJmn71eIX8A4J1oCo1V3jBzhIoqeDuKtIHU4dZgsXeQr_aCxV0EDZ5ig4s8Z-u_DZrzA12wiw7flOXZJ0os4s92-SmrR5Y7jzRgeB3m87mA2nBy-uIA\n", stderr: "" })
[2022-05-09T10:10: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: "3d2f10c4-c2a8-441b-87cd-689bb11e551b", persistence: None, user_data: None }
[2022-05-09T10:10:54Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:10:54Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbeee490
[2022-05-09T10:10:54Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbeee490
[2022-05-09T10:10: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: 0x55efdbeee7d0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbeeeea0, 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: 0x55efdbf88ed0, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEzNTIsImlhdCI6MTY1MjA5MTA1MiwiYXV0aF90aW1lIjoxNjUyMDkxMDQ5LCJqdGkiOiIzYmIxZDUyOS04ODcyLTQzMTUtOGExOS0zODAyNWNhNjY2NmYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ1bTNlWEpNN3k0dE5zaVlnREs1MkFnIiwic2Vzc2lvbl9zdGF0ZSI6IjczZTQ2ZDhkLWM4MDMtNDEwZS1iNjFjLWIwMTg5MzZiZjU2OSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjczZTQ2ZDhkLWM4MDMtNDEwZS1iNjFjLWIwMTg5MzZiZjU2OSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.YbrUlGDKnoglhn1d46bB0b1lJK31u9_ZxfQB7rRPlDoKum8QtglwGQi0Cp1lg8rXX-h4KiZq8Xhdxk9G5ZN8mjXadmL_vZOP26AxMU9qaXIKoYKJtsz9gy5ENP-q9OtWNcKmGVRSNUZmUr7YQDEv4pMf9wiE0_zxlhmO3HzoMCtFx5Bx6n5SxdS2JEj3PV4o-lGm7Efk8TfdA32MoKnzKrKlNiRHwX6GdPbzJmn71eIX8A4J1oCo1V3jBzhIoqeDuKtIHU4dZgsXeQr_aCxV0EDZ5ig4s8Z-u_DZrzA12wiw7flOXZJ0os4s92-SmrR5Y7jzRgeB3m87mA2nBy-uIA"), 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-09T10:10:54Z DEBUG paho_mqtt::async_client] Subscribe to '"app/624a50d6-67b1-40c1-9808-676dea1c578f"' @ QOS 0
[2022-05-09T10:10:54Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:10:54Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:10:54Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:10: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-09T10:10:54Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:10: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-09T10:10:56Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:10: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-09T10:10:56Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:10: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-09T10:10:57Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:10: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-09T10:10:57Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:10: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-09T10:10:58Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:10: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-09T10:10:58Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:10: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-09T10:10: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: 0x7f0ed00167b0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed0008160 } }, data: MessageData { topic: "app/624a50d6-67b1-40c1-9808-676dea1c578f", 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, 102, 52, 57, 99, 99, 99, 52, 45, 54, 52, 102, 51, 45, 52, 48, 57, 49, 45, 57, 54, 53, 98, 45, 50, 54, 56, 52, 98, 53, 97, 53, 54, 100, 53, 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, 54, 50, 52, 97, 53, 48, 100, 54, 37, 50, 68, 54, 55, 98, 49, 37, 50, 68, 52, 48, 99, 49, 37, 50, 68, 57, 56, 48, 56, 37, 50, 68, 54, 55, 54, 100, 101, 97, 49, 99, 53, 55, 56, 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, 48, 58, 49, 48, 58, 53, 56, 46, 52, 52, 53, 51, 55, 52, 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, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 49, 51, 101, 99, 56, 55, 53, 97, 45, 99, 99, 51, 101, 45, 52, 102, 48, 52, 45, 57, 57, 52, 56, 45, 50, 52, 55, 53, 99, 54, 98, 55, 102, 48, 97, 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, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 49, 50, 49, 51, 49, 98, 51, 98, 45, 57, 48, 54, 99, 45, 52, 100, 99, 100, 45, 57, 102, 48, 56, 45, 100, 57, 49, 52, 48, 51, 57, 53, 100, 53, 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, 101, 52, 98, 49, 99, 48, 52, 99, 45, 98, 102, 51, 101, 45, 52, 53, 55, 55, 45, 97, 49, 57, 56, 45, 51, 101, 49, 99, 52, 57, 48, 98, 54, 48, 56, 101, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 54, 50, 52, 97, 53, 48, 100, 54, 37, 50, 68, 54, 55, 98, 49, 37, 50, 68, 52, 48, 99, 49, 37, 50, 68, 57, 56, 48, 56, 37, 50, 68, 54, 55, 54, 100, 101, 97, 49, 99, 53, 55, 56, 102, 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, 50, 52, 97, 53, 48, 100, 54, 45, 54, 55, 98, 49, 45, 52, 48, 99, 49, 45, 57, 56, 48, 56, 45, 54, 55, 54, 100, 101, 97, 49, 99, 53, 55, 56, 102, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed0008160 } } } }
[2022-05-09T10:10:58Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbf3cfc0
[2022-05-09T10:10:58Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/624a50d6-67b1-40c1-9808-676dea1c578f", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"4f49ccc4-64f3-4091-965b-2684b5a56d51\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://624a50d6%2D67b1%2D40c1%2D9808%2D676dea1c578f/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:10:58.445374578Z\",\"data\":{\"index\":3},\"deviceuid\":\"13ec875a-cc3e-4f04-9948-2475c6b7f0a1\",\"sender\":\"gateway1\",\"device\":\"device1\",\"senderuid\":\"12131b3b-906c-4dcd-9f08-d9140395d56b\",\"instance\":\"drogue\",\"applicationuid\":\"e4b1c04c-bf3e-4577-a198-3e1c490b608e\",\"partitionkey\":\"624a50d6%2D67b1%2D40c1%2D9808%2D676dea1c578f/device1\",\"application\":\"624a50d6-67b1-40c1-9808-676dea1c578f\"}" }
[2022-05-09T10:10:59Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:10:59Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:10:59Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:10:59Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:10: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: 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: "c597ef33-4d4e-4777-a16e-2070280ba26d", persistence: None, user_data: None }
[2022-05-09T10:10:59Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:10:59Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbfebca0
[2022-05-09T10:10:59Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbfebca0
[2022-05-09T10:10:59Z 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: 0x55efdbf3cd50, password: 0x55efdc33d680, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc1d3960, 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: 0x55efdc2caaa0, 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@624a50d6-67b1-40c1-9808-676dea1c578f"), 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-09T10:10:59Z 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: 0x7f0ed002b220, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed002b4b0 } }, data: MessageData { topic: "app/624a50d6-67b1-40c1-9808-676dea1c578f", 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, 49, 53, 100, 54, 50, 102, 45, 54, 49, 102, 98, 45, 52, 53, 51, 53, 45, 57, 100, 53, 52, 45, 54, 55, 98, 48, 57, 53, 101, 53, 49, 55, 102, 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, 54, 50, 52, 97, 53, 48, 100, 54, 37, 50, 68, 54, 55, 98, 49, 37, 50, 68, 52, 48, 99, 49, 37, 50, 68, 57, 56, 48, 56, 37, 50, 68, 54, 55, 54, 100, 101, 97, 49, 99, 53, 55, 56, 102, 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, 48, 58, 49, 48, 58, 53, 57, 46, 53, 53, 57, 54, 57, 52, 53, 54, 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, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 54, 50, 52, 97, 53, 48, 100, 54, 45, 54, 55, 98, 49, 45, 52, 48, 99, 49, 45, 57, 56, 48, 56, 45, 54, 55, 54, 100, 101, 97, 49, 99, 53, 55, 56, 102, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 49, 50, 49, 51, 49, 98, 51, 98, 45, 57, 48, 54, 99, 45, 52, 100, 99, 100, 45, 57, 102, 48, 56, 45, 100, 57, 49, 52, 48, 51, 57, 53, 100, 53, 54, 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, 101, 52, 98, 49, 99, 48, 52, 99, 45, 98, 102, 51, 101, 45, 52, 53, 55, 55, 45, 97, 49, 57, 56, 45, 51, 101, 49, 99, 52, 57, 48, 98, 54, 48, 56, 101, 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, 54, 50, 52, 97, 53, 48, 100, 54, 37, 50, 68, 54, 55, 98, 49, 37, 50, 68, 52, 48, 99, 49, 37, 50, 68, 57, 56, 48, 56, 37, 50, 68, 54, 55, 54, 100, 101, 97, 49, 99, 53, 55, 56, 102, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 49, 50, 49, 51, 49, 98, 51, 98, 45, 57, 48, 54, 99, 45, 52, 100, 99, 100, 45, 57, 102, 48, 56, 45, 100, 57, 49, 52, 48, 51, 57, 53, 100, 53, 54, 98, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed002b4b0 } } } }
[2022-05-09T10:10:59Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbf3cfc0
[2022-05-09T10:10:59Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/624a50d6-67b1-40c1-9808-676dea1c578f", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"8d15d62f-61fb-4535-9d54-67b095e517fa\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://624a50d6%2D67b1%2D40c1%2D9808%2D676dea1c578f/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:10:59.559694563Z\",\"data\":{\"connected\":true},\"application\":\"624a50d6-67b1-40c1-9808-676dea1c578f\",\"deviceuid\":\"12131b3b-906c-4dcd-9f08-d9140395d56b\",\"sender\":\"gateway1\",\"applicationuid\":\"e4b1c04c-bf3e-4577-a198-3e1c490b608e\",\"device\":\"gateway1\",\"instance\":\"drogue\",\"partitionkey\":\"624a50d6%2D67b1%2D40c1%2D9808%2D676dea1c578f/gateway1\",\"senderuid\":\"12131b3b-906c-4dcd-9f08-d9140395d56b\"}" }
[2022-05-09T10:10:59Z 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: 0x55efdbe63830 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdbe63830 } } } }
[2022-05-09T10:10:59Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:10:59Z 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: 0x7f0ed002b650, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed002b8e0 } }, data: MessageData { topic: "app/624a50d6-67b1-40c1-9808-676dea1c578f", 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, 57, 57, 98, 50, 97, 102, 100, 45, 53, 49, 49, 50, 45, 52, 51, 97, 55, 45, 97, 50, 100, 50, 45, 57, 51, 98, 50, 101, 102, 51, 101, 57, 99, 55, 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, 50, 52, 97, 53, 48, 100, 54, 37, 50, 68, 54, 55, 98, 49, 37, 50, 68, 52, 48, 99, 49, 37, 50, 68, 57, 56, 48, 56, 37, 50, 68, 54, 55, 54, 100, 101, 97, 49, 99, 53, 55, 56, 102, 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, 48, 58, 49, 48, 58, 53, 57, 46, 55, 49, 48, 50, 52, 48, 57, 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, 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, 101, 52, 98, 49, 99, 48, 52, 99, 45, 98, 102, 51, 101, 45, 52, 53, 55, 55, 45, 97, 49, 57, 56, 45, 51, 101, 49, 99, 52, 57, 48, 98, 54, 48, 56, 101, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 54, 50, 52, 97, 53, 48, 100, 54, 37, 50, 68, 54, 55, 98, 49, 37, 50, 68, 52, 48, 99, 49, 37, 50, 68, 57, 56, 48, 56, 37, 50, 68, 54, 55, 54, 100, 101, 97, 49, 99, 53, 55, 56, 102, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 49, 50, 49, 51, 49, 98, 51, 98, 45, 57, 48, 54, 99, 45, 52, 100, 99, 100, 45, 57, 102, 48, 56, 45, 100, 57, 49, 52, 48, 51, 57, 53, 100, 53, 54, 98, 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, 50, 49, 51, 49, 98, 51, 98, 45, 57, 48, 54, 99, 45, 52, 100, 99, 100, 45, 57, 102, 48, 56, 45, 100, 57, 49, 52, 48, 51, 57, 53, 100, 53, 54, 98, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 54, 50, 52, 97, 53, 48, 100, 54, 45, 54, 55, 98, 49, 45, 52, 48, 99, 49, 45, 57, 56, 48, 56, 45, 54, 55, 54, 100, 101, 97, 49, 99, 53, 55, 56, 102, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed002b8e0 } } } }
[2022-05-09T10:10:59Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbf3cfc0
[2022-05-09T10:10:59Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/624a50d6-67b1-40c1-9808-676dea1c578f", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"299b2afd-5112-43a7-a2d2-93b2ef3e9c7f\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://624a50d6%2D67b1%2D40c1%2D9808%2D676dea1c578f/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:10:59.710240964Z\",\"data\":{\"connected\":false},\"device\":\"gateway1\",\"instance\":\"drogue\",\"applicationuid\":\"e4b1c04c-bf3e-4577-a198-3e1c490b608e\",\"partitionkey\":\"624a50d6%2D67b1%2D40c1%2D9808%2D676dea1c578f/gateway1\",\"deviceuid\":\"12131b3b-906c-4dcd-9f08-d9140395d56b\",\"sender\":\"gateway1\",\"senderuid\":\"12131b3b-906c-4dcd-9f08-d9140395d56b\",\"application\":\"624a50d6-67b1-40c1-9808-676dea1c578f\"}" }
[2022-05-09T10:11:00Z 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: 0x7f0ed002bd60, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed002bfe0 } }, data: MessageData { topic: "app/624a50d6-67b1-40c1-9808-676dea1c578f", 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, 51, 54, 50, 57, 48, 97, 45, 53, 50, 102, 53, 45, 52, 54, 56, 51, 45, 97, 99, 48, 49, 45, 52, 57, 50, 100, 56, 49, 48, 53, 101, 97, 55, 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, 50, 52, 97, 53, 48, 100, 54, 37, 50, 68, 54, 55, 98, 49, 37, 50, 68, 52, 48, 99, 49, 37, 50, 68, 57, 56, 48, 56, 37, 50, 68, 54, 55, 54, 100, 101, 97, 49, 99, 53, 55, 56, 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, 48, 58, 49, 48, 58, 53, 57, 46, 55, 48, 57, 49, 54, 56, 51, 54, 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, 101, 52, 98, 49, 99, 48, 52, 99, 45, 98, 102, 51, 101, 45, 52, 53, 55, 55, 45, 97, 49, 57, 56, 45, 51, 101, 49, 99, 52, 57, 48, 98, 54, 48, 56, 101, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 54, 50, 52, 97, 53, 48, 100, 54, 37, 50, 68, 54, 55, 98, 49, 37, 50, 68, 52, 48, 99, 49, 37, 50, 68, 57, 56, 48, 56, 37, 50, 68, 54, 55, 54, 100, 101, 97, 49, 99, 53, 55, 56, 102, 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, 49, 51, 101, 99, 56, 55, 53, 97, 45, 99, 99, 51, 101, 45, 52, 102, 48, 52, 45, 57, 57, 52, 56, 45, 50, 52, 55, 53, 99, 54, 98, 55, 102, 48, 97, 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, 54, 50, 52, 97, 53, 48, 100, 54, 45, 54, 55, 98, 49, 45, 52, 48, 99, 49, 45, 57, 56, 48, 56, 45, 54, 55, 54, 100, 101, 97, 49, 99, 53, 55, 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, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 49, 50, 49, 51, 49, 98, 51, 98, 45, 57, 48, 54, 99, 45, 52, 100, 99, 100, 45, 57, 102, 48, 56, 45, 100, 57, 49, 52, 48, 51, 57, 53, 100, 53, 54, 98, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed002bfe0 } } } }
[2022-05-09T10:11:00Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbf3cfc0
[2022-05-09T10:11:00Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/624a50d6-67b1-40c1-9808-676dea1c578f", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"8e36290a-52f5-4683-ac01-492d8105ea74\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://624a50d6%2D67b1%2D40c1%2D9808%2D676dea1c578f/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:10:59.709168369Z\",\"data_base64\":\"\",\"applicationuid\":\"e4b1c04c-bf3e-4577-a198-3e1c490b608e\",\"partitionkey\":\"624a50d6%2D67b1%2D40c1%2D9808%2D676dea1c578f/device1\",\"sender\":\"gateway1\",\"deviceuid\":\"13ec875a-cc3e-4f04-9948-2475c6b7f0a1\",\"device\":\"device1\",\"application\":\"624a50d6-67b1-40c1-9808-676dea1c578f\",\"instance\":\"drogue\",\"senderuid\":\"12131b3b-906c-4dcd-9f08-d9140395d56b\"}" }
[2022-05-09T10:11:00Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:11:00Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:11:00Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:11:00Z 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: "624a50d6-67b1-40c1-9808-676dea1c578f", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "624a50d6-67b1-40c1-9808-676dea1c578f", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:11:00Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:11:00Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "624a50d6-67b1-40c1-9808-676dea1c578f" "device1"
[2022-05-09T10:11:00Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:11:00Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:11:00Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "624a50d6-67b1-40c1-9808-676dea1c578f" "gateway1"
[2022-05-09T10:11:00Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:11:00Z INFO  drogue_cloud_tests::resources::apps] Destroy application '624a50d6-67b1-40c1-9808-676dea1c578f'
[2022-05-09T10:11:00Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "624a50d6-67b1-40c1-9808-676dea1c578f"
[2022-05-09T10:11:00Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 624a50d6-67b1-40c1-9808-676dea1c578f deleted.\n", stderr: "" })

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

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T10:11:02Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:11:02Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:11:02Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:11:02Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:11:02Z 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-09T10:11:03Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:11:05Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:11:05Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:11:05Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:11:05Z 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-09T10:11:06Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI4NjYsImlhdCI6MTY1MjA5MTA2NiwianRpIjoiNzUxMzU3MDktMjMwMC00YzZmLTk4YmYtZmEyMTI4MzE3MmVhIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjRicmFJa3RFbjZBQzg4bTBaRUVkT2ciLCJzZXNzaW9uX3N0YXRlIjoiM2U5Mjc2NjYtN2JhYS00MTI3LWFiYjYtMTRjZTExMjdiNDEzIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjNlOTI3NjY2LTdiYWEtNDEyNy1hYmI2LTE0Y2UxMTI3YjQxMyJ9.4mqeBeik1LyOc6gXS7foVHG3xHYYm7Za3IQqNsqG7pI
[2022-05-09T10:11:06Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:11:06Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:11:06Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI4NjYsImlhdCI6MTY1MjA5MTA2NiwianRpIjoiNzUxMzU3MDktMjMwMC00YzZmLTk4YmYtZmEyMTI4MzE3MmVhIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjRicmFJa3RFbjZBQzg4bTBaRUVkT2ciLCJzZXNzaW9uX3N0YXRlIjoiM2U5Mjc2NjYtN2JhYS00MTI3LWFiYjYtMTRjZTExMjdiNDEzIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjNlOTI3NjY2LTdiYWEtNDEyNy1hYmI2LTE0Y2UxMTI3YjQxMyJ9.4mqeBeik1LyOc6gXS7foVHG3xHYYm7Za3IQqNsqG7pI" "--context" "system-tests"
[2022-05-09T10:11:06Z 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-09T10:11:07Z INFO  drogue_cloud_tests::resources::apps] Create application: d9424f8f-aa57-4d71-993d-dfde029dfb83
[2022-05-09T10:11:07Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "d9424f8f-aa57-4d71-993d-dfde029dfb83"
[2022-05-09T10:11:07Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App d9424f8f-aa57-4d71-993d-dfde029dfb83 created.\n", stderr: "" })
[2022-05-09T10:11:07Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "d9424f8f-aa57-4d71-993d-dfde029dfb83"
[2022-05-09T10:11:07Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:11:07.662677Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"d9424f8f-aa57-4d71-993d-dfde029dfb83\",\n    \"resourceVersion\": \"2e260a14-e4f5-434a-9ad0-175e914f1f32\",\n    \"uid\": \"4536f0a8-b94d-430a-beac-9f1e1500a09c\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:11:07.678531730Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:11:07.678597793Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:07.678442443Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:07.678443955Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:07.678444797Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:07.678445869Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:07.678447292Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:07.678473591Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:11:07Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:11:07.662677Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("d9424f8f-aa57-4d71-993d-dfde029dfb83"), "resourceVersion": String("2e260a14-e4f5-434a-9ad0-175e914f1f32"), "uid": String("4536f0a8-b94d-430a-beac-9f1e1500a09c")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:11:07.678531730Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:07.678597793Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:11:07.678442443Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:11:07.678443955Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:11:07.678444797Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:07.678445869Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:11:07.678447292Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:07.678473591Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T10:11:07Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:11:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "d9424f8f-aa57-4d71-993d-dfde029dfb83"
[2022-05-09T10:11:08Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:11:07.662677Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"d9424f8f-aa57-4d71-993d-dfde029dfb83\",\n    \"resourceVersion\": \"b4226e53-a1a6-4fdc-b995-f4758353c203\",\n    \"uid\": \"4536f0a8-b94d-430a-beac-9f1e1500a09c\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:11:07.969541045Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:11:07.969644888Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:07.712659511Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:07.730974465Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:07.804807073Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:07.810991273Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:07.969429837Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:07.969448242Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"EuYOyCfeobTu\",\n        \"username\": \"user-d9424f8f-aa57-4d71-993d-dfde029dfb83\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:11:08Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:11:07.662677Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("d9424f8f-aa57-4d71-993d-dfde029dfb83"), "resourceVersion": String("b4226e53-a1a6-4fdc-b995-f4758353c203"), "uid": String("4536f0a8-b94d-430a-beac-9f1e1500a09c")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:11:07.969541045Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:07.969644888Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:11:07.712659511Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:11:07.730974465Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:11:07.804807073Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:07.810991273Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:11:07.969429837Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:07.969448242Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("EuYOyCfeobTu"), "username": String("user-d9424f8f-aa57-4d71-993d-dfde029dfb83")})})})})
[2022-05-09T10:11:08Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:11:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "d9424f8f-aa57-4d71-993d-dfde029dfb83"
[2022-05-09T10:11:08Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:11:07.662677Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"d9424f8f-aa57-4d71-993d-dfde029dfb83\",\n    \"resourceVersion\": \"b4226e53-a1a6-4fdc-b995-f4758353c203\",\n    \"uid\": \"4536f0a8-b94d-430a-beac-9f1e1500a09c\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:11:07.969541045Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:11:07.969644888Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:07.712659511Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:07.730974465Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:07.804807073Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:07.810991273Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:07.969429837Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:07.969448242Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"EuYOyCfeobTu\",\n        \"username\": \"user-d9424f8f-aa57-4d71-993d-dfde029dfb83\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:11:08Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:11:07.662677Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("d9424f8f-aa57-4d71-993d-dfde029dfb83"), "resourceVersion": String("b4226e53-a1a6-4fdc-b995-f4758353c203"), "uid": String("4536f0a8-b94d-430a-beac-9f1e1500a09c")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:11:07.969541045Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:07.969644888Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:11:07.712659511Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:11:07.730974465Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:11:07.804807073Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:07.810991273Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:11:07.969429837Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:07.969448242Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("EuYOyCfeobTu"), "username": String("user-d9424f8f-aa57-4d71-993d-dfde029dfb83")})})})})
[2022-05-09T10:11:08Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:11:08Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:11:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "d9424f8f-aa57-4d71-993d-dfde029dfb83" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:11:08Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:11:08Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:11:08Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:11:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:11:08Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEzNjYsImlhdCI6MTY1MjA5MTA2NiwiYXV0aF90aW1lIjoxNjUyMDkxMDY0LCJqdGkiOiJlNGFiZTY0YS03MzZhLTQxMjEtOWJmYi05ZTU4YjkzZGUyZjkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI0YnJhSWt0RW42QUM4OG0wWkVFZE9nIiwic2Vzc2lvbl9zdGF0ZSI6IjNlOTI3NjY2LTdiYWEtNDEyNy1hYmI2LTE0Y2UxMTI3YjQxMyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjNlOTI3NjY2LTdiYWEtNDEyNy1hYmI2LTE0Y2UxMTI3YjQxMyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.g6NrUeIFp4AMxEyfgTu364eW77HshxVkPN4OiPx75yaJ8-HdddoM7ML_gZ3Jz75ob_TvSWcG8CGOvbX8sQTzou648MPe1PNc10mdBM_IlnTAyU9XhOoDFqIxxfcp3jXYrObekr2C2mr8k49EO4EckBuWYouew4ub4lWKGSlrAlRge1BmXuf4XD8rLvTq6YQesGYs-W3iZWOLVr2rO6gU-8SGpGSVnDcN1vVXlcy6f-X9o96net-fDOhduD_HFvIR4VLIFPFKdY-rTNQTdFuTexlsaj-9yCDPT--OhdtvTzU4LUM9_zCQQc-Hu66bIjx3l65-Kls8wcCBmyq6htyagw\n", stderr: "" })
[2022-05-09T10:11:08Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:11:08Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:11:08Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:11:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "d9424f8f-aa57-4d71-993d-dfde029dfb83" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:11:08Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:11:08Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T10:11:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:11:08Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEzNjYsImlhdCI6MTY1MjA5MTA2NiwiYXV0aF90aW1lIjoxNjUyMDkxMDY0LCJqdGkiOiJlNGFiZTY0YS03MzZhLTQxMjEtOWJmYi05ZTU4YjkzZGUyZjkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI0YnJhSWt0RW42QUM4OG0wWkVFZE9nIiwic2Vzc2lvbl9zdGF0ZSI6IjNlOTI3NjY2LTdiYWEtNDEyNy1hYmI2LTE0Y2UxMTI3YjQxMyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjNlOTI3NjY2LTdiYWEtNDEyNy1hYmI2LTE0Y2UxMTI3YjQxMyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.g6NrUeIFp4AMxEyfgTu364eW77HshxVkPN4OiPx75yaJ8-HdddoM7ML_gZ3Jz75ob_TvSWcG8CGOvbX8sQTzou648MPe1PNc10mdBM_IlnTAyU9XhOoDFqIxxfcp3jXYrObekr2C2mr8k49EO4EckBuWYouew4ub4lWKGSlrAlRge1BmXuf4XD8rLvTq6YQesGYs-W3iZWOLVr2rO6gU-8SGpGSVnDcN1vVXlcy6f-X9o96net-fDOhduD_HFvIR4VLIFPFKdY-rTNQTdFuTexlsaj-9yCDPT--OhdtvTzU4LUM9_zCQQc-Hu66bIjx3l65-Kls8wcCBmyq6htyagw\n", stderr: "" })
[2022-05-09T10:11: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: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "96bc50f3-1fa2-4cd6-a5d4-9341a2ca8f6b", persistence: None, user_data: None }
[2022-05-09T10:11:08Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:11:08Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbed1080
[2022-05-09T10:11:08Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbed1080
[2022-05-09T10:11: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: 0x0, password: 0x55efdbed13c0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc2c9d80, 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: 0x55efdc087640, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEzNjYsImlhdCI6MTY1MjA5MTA2NiwiYXV0aF90aW1lIjoxNjUyMDkxMDY0LCJqdGkiOiJlNGFiZTY0YS03MzZhLTQxMjEtOWJmYi05ZTU4YjkzZGUyZjkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI0YnJhSWt0RW42QUM4OG0wWkVFZE9nIiwic2Vzc2lvbl9zdGF0ZSI6IjNlOTI3NjY2LTdiYWEtNDEyNy1hYmI2LTE0Y2UxMTI3YjQxMyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjNlOTI3NjY2LTdiYWEtNDEyNy1hYmI2LTE0Y2UxMTI3YjQxMyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.g6NrUeIFp4AMxEyfgTu364eW77HshxVkPN4OiPx75yaJ8-HdddoM7ML_gZ3Jz75ob_TvSWcG8CGOvbX8sQTzou648MPe1PNc10mdBM_IlnTAyU9XhOoDFqIxxfcp3jXYrObekr2C2mr8k49EO4EckBuWYouew4ub4lWKGSlrAlRge1BmXuf4XD8rLvTq6YQesGYs-W3iZWOLVr2rO6gU-8SGpGSVnDcN1vVXlcy6f-X9o96net-fDOhduD_HFvIR4VLIFPFKdY-rTNQTdFuTexlsaj-9yCDPT--OhdtvTzU4LUM9_zCQQc-Hu66bIjx3l65-Kls8wcCBmyq6htyagw"), 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-09T10:11:08Z DEBUG paho_mqtt::async_client] Subscribe to '"app/d9424f8f-aa57-4d71-993d-dfde029dfb83"' @ QOS 0
[2022-05-09T10:11:08Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:11:08Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:11:08Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:11: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-09T10:11:08Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:11: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-09T10:11:10Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:11: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-09T10:11:10Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:11: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-09T10:11:11Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:11: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-09T10:11:11Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:11: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-09T10:11:12Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:11: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-09T10:11:12Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:11: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-09T10:11:12Z 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: 0x7f0ed0007ed0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x55efdc0d6640 } }, data: MessageData { topic: "app/d9424f8f-aa57-4d71-993d-dfde029dfb83", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x55efdc0d6640 } } } }
[2022-05-09T10:11:12Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc1352f0, 0x55efdc13a960
[2022-05-09T10:11:12Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc13a960, 0x55efdc2b5830
[2022-05-09T10:11:12Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc13a960, 0x55efdc201ab0
[2022-05-09T10:11:12Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc201ab0, 0x55efdc036500
[2022-05-09T10:11:12Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc201ab0, 0x7f0ee0006b20
[2022-05-09T10:11:12Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006b20, 0x55efdc2b5830
[2022-05-09T10:11:12Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006b20, 0x7f0ee0001b10
[2022-05-09T10:11:12Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001b10, 0x55efdc13aea0
[2022-05-09T10:11:12Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001b10, 0x55efdc2b5830
[2022-05-09T10:11:12Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001b10, 0x55efdc2b5830
[2022-05-09T10:11:12Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001b10, 0x55efdc2b5830
[2022-05-09T10:11:12Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001b10, 0x55efdc2b5830
[2022-05-09T10:11:12Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001b10, 0x7f0ee0006890
[2022-05-09T10:11:12Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006890, 0x7f0ee0001b10
[2022-05-09T10:11:12Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee0001b10
[2022-05-09T10:11:12Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/d9424f8f-aa57-4d71-993d-dfde029dfb83", content_type: Some("application/json"), user_properties: {"partitionkey": "d9424f8f%2Daa57%2D4d71%2D993d%2Ddfde029dfb83/device1", "deviceuid": "2bcc3328-11c7-4dad-923d-98cd3e6eb48a", "instance": "drogue", "type": "io.drogue.event.v1", "source": "drogue://d9424f8f%2Daa57%2D4d71%2D993d%2Ddfde029dfb83/device1", "sender": "gateway1", "device": "device1", "id": "dcd930d0-855d-4b91-95d3-820eb0abec30", "specversion": "1.0", "senderuid": "579edcd4-8de0-4a5f-ab13-4d81a1b5a9e7", "application": "d9424f8f-aa57-4d71-993d-dfde029dfb83", "applicationuid": "4536f0a8-b94d-430a-beac-9f1e1500a09c", "subject": "warmup", "time": "2022-05-09T10:11:12.442416881+00:00"}, payload: "{\"index\":3}" }
[2022-05-09T10:11:13Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:11:13Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:11:13Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:11:13Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:11: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: 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: "55933dcd-071a-4541-9207-040003e9833b", persistence: None, user_data: None }
[2022-05-09T10:11:13Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:11:13Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc0f01e0
[2022-05-09T10:11:13Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc0f01e0
[2022-05-09T10:11:13Z 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: 0x55efdc2bcbe0, password: 0x55efdc2d4f10, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbfc9e30, 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: 0x55efdbf28d80, 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@d9424f8f-aa57-4d71-993d-dfde029dfb83"), 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-09T10:11:13Z 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: 0x7f0ed001a350, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x55efdc0d6640 } }, data: MessageData { topic: "app/d9424f8f-aa57-4d71-993d-dfde029dfb83", 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: 0x55efdc0d6640 } } } }
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbeb4cb0, 0x7f0ee00068d0
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00068d0, 0x7f0ed0008200
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00068d0, 0x7f0ee0006b20
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006b20, 0x7f0ed0002e30
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006b20, 0x7f0ee0001b10
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001b10, 0x7f0ed0008200
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001b10, 0x7f0ed0008200
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001b10, 0x7f0ed0008200
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001b10, 0x7f0ee0006840
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006840, 0x7f0ed0016400
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006840, 0x7f0ee0001b30
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001b30, 0x7f0ed0008200
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001b30, 0x7f0ee000ab50
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000ab50, 0x7f0ed0008200
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee000ab50
[2022-05-09T10:11:13Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/d9424f8f-aa57-4d71-993d-dfde029dfb83", content_type: Some("application/json"), user_properties: {"subject": "connection", "deviceuid": "579edcd4-8de0-4a5f-ab13-4d81a1b5a9e7", "application": "d9424f8f-aa57-4d71-993d-dfde029dfb83", "time": "2022-05-09T10:11:13.663580458+00:00", "sender": "gateway1", "specversion": "1.0", "senderuid": "579edcd4-8de0-4a5f-ab13-4d81a1b5a9e7", "source": "drogue://d9424f8f%2Daa57%2D4d71%2D993d%2Ddfde029dfb83/gateway1", "partitionkey": "d9424f8f%2Daa57%2D4d71%2D993d%2Ddfde029dfb83/gateway1", "applicationuid": "4536f0a8-b94d-430a-beac-9f1e1500a09c", "id": "4a45ba57-7422-4a10-9a8c-d45f5c2ed19f", "device": "gateway1", "type": "io.drogue.connection.v1", "instance": "drogue"}, payload: "{\"connected\":true}" }
[2022-05-09T10:11:13Z 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: 0x55efdc1a4600 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdc1a4600 } } } }
[2022-05-09T10:11:13Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:11:13Z 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: 0x7f0ed0017a40, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x55efdbf126a0 } }, data: MessageData { topic: "app/d9424f8f-aa57-4d71-993d-dfde029dfb83", 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: 0x55efdbf126a0 } } } }
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006b20, 0x7f0ee000ab10
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000ab10, 0x7f0ed001a4e0
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000ab10, 0x7f0ee0001b50
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001b50, 0x7f0ed0031950
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001b50, 0x7f0ee000ab30
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000ab30, 0x7f0ed001a4e0
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000ab30, 0x7f0ed001a4e0
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000ab30, 0x7f0ed0031c70
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000ab30, 0x7f0ee000ab70
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000ab70, 0x7f0ed001a4e0
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000ab70, 0x7f0ed001a4e0
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000ab70, 0x7f0ee0006920
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006920, 0x7f0ee000ab70
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000ab70, 0x7f0ed001a4e0
[2022-05-09T10:11:13Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee000ab70
[2022-05-09T10:11:13Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/d9424f8f-aa57-4d71-993d-dfde029dfb83", content_type: Some("application/json"), user_properties: {"applicationuid": "4536f0a8-b94d-430a-beac-9f1e1500a09c", "sender": "gateway1", "subject": "connection", "instance": "drogue", "source": "drogue://d9424f8f%2Daa57%2D4d71%2D993d%2Ddfde029dfb83/gateway1", "application": "d9424f8f-aa57-4d71-993d-dfde029dfb83", "id": "28041e39-101c-42cc-acc2-3fb418becf2b", "specversion": "1.0", "time": "2022-05-09T10:11:13.730769508+00:00", "deviceuid": "579edcd4-8de0-4a5f-ab13-4d81a1b5a9e7", "partitionkey": "d9424f8f%2Daa57%2D4d71%2D993d%2Ddfde029dfb83/gateway1", "senderuid": "579edcd4-8de0-4a5f-ab13-4d81a1b5a9e7", "device": "gateway1", "type": "io.drogue.connection.v1"}, payload: "{\"connected\":false}" }
[2022-05-09T10:11:14Z 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: 0x55efdc0d6640 } }, data: MessageData { topic: "app/d9424f8f-aa57-4d71-993d-dfde029dfb83", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x55efdc0d6640 } } } }
[2022-05-09T10:11:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00068d0, 0x7f0ee0006840
[2022-05-09T10:11:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006840, 0x7f0ed002cfb0
[2022-05-09T10:11:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006840, 0x7f0ee0006920
[2022-05-09T10:11:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006920, 0x7f0ed0001f80
[2022-05-09T10:11:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006920, 0x7f0ee000abf0
[2022-05-09T10:11:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000abf0, 0x7f0ed002cfb0
[2022-05-09T10:11:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000abf0, 0x7f0ed002cfb0
[2022-05-09T10:11:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000abf0, 0x7f0ee000ab30
[2022-05-09T10:11:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000ab30, 0x7f0ed002cfb0
[2022-05-09T10:11:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000ab30, 0x7f0ed002cfb0
[2022-05-09T10:11:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000ab30, 0x7f0ee0006b20
[2022-05-09T10:11:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006b20, 0x7f0ee000ab30
[2022-05-09T10:11:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000ab30, 0x7f0ed002cfb0
[2022-05-09T10:11:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000ab30, 0x7f0ed0030850
[2022-05-09T10:11:14Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee0005f90
[2022-05-09T10:11:14Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/d9424f8f-aa57-4d71-993d-dfde029dfb83", content_type: Some("application/octet-stream"), user_properties: {"sender": "gateway1", "type": "io.drogue.event.v1", "instance": "drogue", "subject": "telemetry", "specversion": "1.0", "id": "4408c9af-1a68-4035-8ceb-a49399943a02", "device": "device1", "partitionkey": "d9424f8f%2Daa57%2D4d71%2D993d%2Ddfde029dfb83/device1", "applicationuid": "4536f0a8-b94d-430a-beac-9f1e1500a09c", "time": "2022-05-09T10:11:13.725702356+00:00", "source": "drogue://d9424f8f%2Daa57%2D4d71%2D993d%2Ddfde029dfb83/device1", "application": "d9424f8f-aa57-4d71-993d-dfde029dfb83", "deviceuid": "2bcc3328-11c7-4dad-923d-98cd3e6eb48a", "senderuid": "579edcd4-8de0-4a5f-ab13-4d81a1b5a9e7"}, payload: "" }
[2022-05-09T10:11:14Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:11:14Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:11:14Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:11:14Z 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: "d9424f8f-aa57-4d71-993d-dfde029dfb83", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "d9424f8f-aa57-4d71-993d-dfde029dfb83", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:11:14Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:11:14Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "d9424f8f-aa57-4d71-993d-dfde029dfb83" "device1"
[2022-05-09T10:11:14Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:11:14Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:11:14Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "d9424f8f-aa57-4d71-993d-dfde029dfb83" "gateway1"
[2022-05-09T10:11:14Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:11:14Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'd9424f8f-aa57-4d71-993d-dfde029dfb83'
[2022-05-09T10:11:14Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "d9424f8f-aa57-4d71-993d-dfde029dfb83"
[2022-05-09T10:11:14Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App d9424f8f-aa57-4d71-993d-dfde029dfb83 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-09T10:11:16Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:11:16Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:11:16Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:11:16Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:11: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-09T10:11:17Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:11:19Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:11:19Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:11:19Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:11:19Z INFO  drogue_cloud_tests::init::config] Endpoints: Object({
        "api": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "console": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "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-09T10:11:21Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI4ODEsImlhdCI6MTY1MjA5MTA4MSwianRpIjoiNTllNGFiOTAtMjQ0My00M2FjLWJhNWQtMGI4NzQ3ZTc1YTFiIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlB6ZG1sNTZqdDNocEhBT2Y0SVRsQXciLCJzZXNzaW9uX3N0YXRlIjoiODFjNmQ1YTktMWNkNC00MWY0LTgwM2QtNWY5NTYwNzYxZjAxIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjgxYzZkNWE5LTFjZDQtNDFmNC04MDNkLTVmOTU2MDc2MWYwMSJ9.pobsttrIJnzXnCqe7WH9ZgUlJA8furYhyCeT4i3l9no
[2022-05-09T10:11:21Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:11:21Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:11:21Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI4ODEsImlhdCI6MTY1MjA5MTA4MSwianRpIjoiNTllNGFiOTAtMjQ0My00M2FjLWJhNWQtMGI4NzQ3ZTc1YTFiIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlB6ZG1sNTZqdDNocEhBT2Y0SVRsQXciLCJzZXNzaW9uX3N0YXRlIjoiODFjNmQ1YTktMWNkNC00MWY0LTgwM2QtNWY5NTYwNzYxZjAxIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjgxYzZkNWE5LTFjZDQtNDFmNC04MDNkLTVmOTU2MDc2MWYwMSJ9.pobsttrIJnzXnCqe7WH9ZgUlJA8furYhyCeT4i3l9no" "--context" "system-tests"
[2022-05-09T10:11:21Z 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-09T10:11:21Z INFO  drogue_cloud_tests::resources::apps] Create application: 2f9e86f5-9914-449f-bfb3-b4e541c56b14
[2022-05-09T10:11:21Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "2f9e86f5-9914-449f-bfb3-b4e541c56b14"
[2022-05-09T10:11:21Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 2f9e86f5-9914-449f-bfb3-b4e541c56b14 created.\n", stderr: "" })
[2022-05-09T10:11:21Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "2f9e86f5-9914-449f-bfb3-b4e541c56b14"
[2022-05-09T10:11:21Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:11:21.925184Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"2f9e86f5-9914-449f-bfb3-b4e541c56b14\",\n    \"resourceVersion\": \"41a8c281-f0ca-46f0-a0ba-dc2e3df18de2\",\n    \"uid\": \"f576decc-d296-4895-874a-728d3a46491f\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:11:21.946956055Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:11:21.946875694Z\",\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-09T10:11:21.946601752Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:21.946602754Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:21.946603115Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:21.946603645Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:21.946604187Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:21.946616580Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:11:21Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:11:21.925184Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("2f9e86f5-9914-449f-bfb3-b4e541c56b14"), "resourceVersion": String("41a8c281-f0ca-46f0-a0ba-dc2e3df18de2"), "uid": String("f576decc-d296-4895-874a-728d3a46491f")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:11:21.946956055Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:11:21.946875694Z"), "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-09T10:11:21.946601752Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:11:21.946602754Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:11:21.946603115Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:21.946603645Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:11:21.946604187Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:21.946616580Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T10:11:21Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:11:22Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "2f9e86f5-9914-449f-bfb3-b4e541c56b14"
[2022-05-09T10:11:22Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:11:21.925184Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"2f9e86f5-9914-449f-bfb3-b4e541c56b14\",\n    \"resourceVersion\": \"e0ea0357-37f5-4ae3-9c19-8631c3819b92\",\n    \"uid\": \"f576decc-d296-4895-874a-728d3a46491f\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:11:22.208937304Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:11:22.208846675Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:21.968965395Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:21.976180371Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:22.027596019Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:22.035705858Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:22.208782014Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:22.208815036Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"C42A4pH2GNuH\",\n        \"username\": \"user-2f9e86f5-9914-449f-bfb3-b4e541c56b14\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:11:22Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:11:21.925184Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("2f9e86f5-9914-449f-bfb3-b4e541c56b14"), "resourceVersion": String("e0ea0357-37f5-4ae3-9c19-8631c3819b92"), "uid": String("f576decc-d296-4895-874a-728d3a46491f")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:11:22.208937304Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:11:22.208846675Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:11:21.968965395Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:11:21.976180371Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:11:22.027596019Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:22.035705858Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:11:22.208782014Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:22.208815036Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("C42A4pH2GNuH"), "username": String("user-2f9e86f5-9914-449f-bfb3-b4e541c56b14")})})})})
[2022-05-09T10:11:22Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:11:22Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "2f9e86f5-9914-449f-bfb3-b4e541c56b14"
[2022-05-09T10:11:22Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:11:21.925184Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"2f9e86f5-9914-449f-bfb3-b4e541c56b14\",\n    \"resourceVersion\": \"e0ea0357-37f5-4ae3-9c19-8631c3819b92\",\n    \"uid\": \"f576decc-d296-4895-874a-728d3a46491f\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:11:22.208937304Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:11:22.208846675Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:21.968965395Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:21.976180371Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:22.027596019Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:22.035705858Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:22.208782014Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:22.208815036Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"C42A4pH2GNuH\",\n        \"username\": \"user-2f9e86f5-9914-449f-bfb3-b4e541c56b14\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:11:22Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:11:21.925184Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("2f9e86f5-9914-449f-bfb3-b4e541c56b14"), "resourceVersion": String("e0ea0357-37f5-4ae3-9c19-8631c3819b92"), "uid": String("f576decc-d296-4895-874a-728d3a46491f")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:11:22.208937304Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:11:22.208846675Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:11:21.968965395Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:11:21.976180371Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:11:22.027596019Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:22.035705858Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:11:22.208782014Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:22.208815036Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("C42A4pH2GNuH"), "username": String("user-2f9e86f5-9914-449f-bfb3-b4e541c56b14")})})})})
[2022-05-09T10:11:22Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:11:22Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:11:22Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "2f9e86f5-9914-449f-bfb3-b4e541c56b14" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:11:23Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:11:23Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:11:23Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:11:23Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:11:23Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEzODEsImlhdCI6MTY1MjA5MTA4MSwiYXV0aF90aW1lIjoxNjUyMDkxMDc4LCJqdGkiOiIxZjg5YjhiMy0wM2RmLTQwMTYtOTExYi0yZTVjNTI1MzVhOGMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJQemRtbDU2anQzaHBIQU9mNElUbEF3Iiwic2Vzc2lvbl9zdGF0ZSI6IjgxYzZkNWE5LTFjZDQtNDFmNC04MDNkLTVmOTU2MDc2MWYwMSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjgxYzZkNWE5LTFjZDQtNDFmNC04MDNkLTVmOTU2MDc2MWYwMSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.klUt40uoYRfgxRj-wZtQyTv69g4obZDMN2V8qWVgQMtCbwGtf-oLYX3WjmIfb6YqqWh9LVkCF3zmFHF-ktpjBZyKVGqrffoUsbI1-QsInFfUGbl0Xu5MYhx3zi4JYlWPq2lHfsoAcPXX0ZCLUMmcd4YAqmYDWhQ9VT8QyyK2p2kBZLDGvgsSwAlhZvAlaSVYU6S07Qi_e78uKgxrVst3f039JNt6CxiIowu1SGV7GLueu6kpstKnwFX3lEKUaedYFx6rriYRh6E2tdIcwM12yfYtfOH_RyDvYpPq_5xqiaK7MKXBueNgBiexZMmBk3ICfq_q6mT8Xmp4jVTfvIdKsQ\n", stderr: "" })
[2022-05-09T10:11:23Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:11:23Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:11:23Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:11:23Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "2f9e86f5-9914-449f-bfb3-b4e541c56b14" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:11:23Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:11:23Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T10:11:23Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:11:23Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEzODEsImlhdCI6MTY1MjA5MTA4MSwiYXV0aF90aW1lIjoxNjUyMDkxMDc4LCJqdGkiOiIxZjg5YjhiMy0wM2RmLTQwMTYtOTExYi0yZTVjNTI1MzVhOGMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJQemRtbDU2anQzaHBIQU9mNElUbEF3Iiwic2Vzc2lvbl9zdGF0ZSI6IjgxYzZkNWE5LTFjZDQtNDFmNC04MDNkLTVmOTU2MDc2MWYwMSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjgxYzZkNWE5LTFjZDQtNDFmNC04MDNkLTVmOTU2MDc2MWYwMSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.klUt40uoYRfgxRj-wZtQyTv69g4obZDMN2V8qWVgQMtCbwGtf-oLYX3WjmIfb6YqqWh9LVkCF3zmFHF-ktpjBZyKVGqrffoUsbI1-QsInFfUGbl0Xu5MYhx3zi4JYlWPq2lHfsoAcPXX0ZCLUMmcd4YAqmYDWhQ9VT8QyyK2p2kBZLDGvgsSwAlhZvAlaSVYU6S07Qi_e78uKgxrVst3f039JNt6CxiIowu1SGV7GLueu6kpstKnwFX3lEKUaedYFx6rriYRh6E2tdIcwM12yfYtfOH_RyDvYpPq_5xqiaK7MKXBueNgBiexZMmBk3ICfq_q6mT8Xmp4jVTfvIdKsQ\n", stderr: "" })
[2022-05-09T10:11: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-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "832302e2-113a-4bbb-af38-ab7b3905a470", persistence: None, user_data: None }
[2022-05-09T10:11:23Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:11:23Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc279800
[2022-05-09T10:11:23Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc279800
[2022-05-09T10:11: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: 0x0, password: 0x55efdbf61ab0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc1e3530, 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: 0x55efdbf121d0, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEzODEsImlhdCI6MTY1MjA5MTA4MSwiYXV0aF90aW1lIjoxNjUyMDkxMDc4LCJqdGkiOiIxZjg5YjhiMy0wM2RmLTQwMTYtOTExYi0yZTVjNTI1MzVhOGMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJQemRtbDU2anQzaHBIQU9mNElUbEF3Iiwic2Vzc2lvbl9zdGF0ZSI6IjgxYzZkNWE5LTFjZDQtNDFmNC04MDNkLTVmOTU2MDc2MWYwMSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjgxYzZkNWE5LTFjZDQtNDFmNC04MDNkLTVmOTU2MDc2MWYwMSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.klUt40uoYRfgxRj-wZtQyTv69g4obZDMN2V8qWVgQMtCbwGtf-oLYX3WjmIfb6YqqWh9LVkCF3zmFHF-ktpjBZyKVGqrffoUsbI1-QsInFfUGbl0Xu5MYhx3zi4JYlWPq2lHfsoAcPXX0ZCLUMmcd4YAqmYDWhQ9VT8QyyK2p2kBZLDGvgsSwAlhZvAlaSVYU6S07Qi_e78uKgxrVst3f039JNt6CxiIowu1SGV7GLueu6kpstKnwFX3lEKUaedYFx6rriYRh6E2tdIcwM12yfYtfOH_RyDvYpPq_5xqiaK7MKXBueNgBiexZMmBk3ICfq_q6mT8Xmp4jVTfvIdKsQ"), 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-09T10:11:23Z DEBUG paho_mqtt::async_client] Subscribe to '"app/2f9e86f5-9914-449f-bfb3-b4e541c56b14"' @ QOS 0
[2022-05-09T10:11:23Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:11:23Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:11:23Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:11: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-09T10:11:23Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:11: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-09T10:11:24Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:11: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-09T10:11:24Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:11: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-09T10:11:25Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:11: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-09T10:11:25Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:11: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-09T10:11:26Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:11: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-09T10:11:26Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:11: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-09T10:11:26Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 11, payload: 0x7f0edc016280, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x55efdbfca950 } }, data: MessageData { topic: "app/2f9e86f5-9914-449f-bfb3-b4e541c56b14", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x55efdbfca950 } } } }
[2022-05-09T10:11:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc1fb700, 0x55efdbfc8e40
[2022-05-09T10:11:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbfc8e40, 0x7f0ed8004d50
[2022-05-09T10:11:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbfc8e40, 0x7f0ee0000c40
[2022-05-09T10:11:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000c40, 0x55efdbf93730
[2022-05-09T10:11:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000c40, 0x7f0ed8004a90
[2022-05-09T10:11:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000c40, 0x7f0ed8004a90
[2022-05-09T10:11:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000c40, 0x55efdc07d3f0
[2022-05-09T10:11:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000c40, 0x7f0ed8003a70
[2022-05-09T10:11:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003a70, 0x7f0ee0000c40
[2022-05-09T10:11:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000c40, 0x7f0ed8004a90
[2022-05-09T10:11:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000c40, 0x7f0ed8004a90
[2022-05-09T10:11:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000c40, 0x7f0ed8004ca0
[2022-05-09T10:11:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004ca0, 0x7f0ed8004a90
[2022-05-09T10:11:26Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004ca0, 0x7f0ed8004a90
[2022-05-09T10:11:26Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ed8004ca0
[2022-05-09T10:11:26Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/2f9e86f5-9914-449f-bfb3-b4e541c56b14", content_type: Some("application/json"), user_properties: {"source": "drogue://2f9e86f5%2D9914%2D449f%2Dbfb3%2Db4e541c56b14/device1", "sender": "gateway1", "device": "device1", "specversion": "1.0", "deviceuid": "542fb28b-7c28-456e-9367-2d4e8214c18f", "applicationuid": "f576decc-d296-4895-874a-728d3a46491f", "senderuid": "d87caa72-fdf3-4864-b096-52062dabd9f9", "subject": "warmup", "type": "io.drogue.event.v1", "partitionkey": "2f9e86f5%2D9914%2D449f%2Dbfb3%2Db4e541c56b14/device1", "instance": "drogue", "application": "2f9e86f5-9914-449f-bfb3-b4e541c56b14", "id": "e0908e6b-1a82-4809-b77b-add7d464d68e", "time": "2022-05-09T10:11:26.448580329+00:00"}, payload: "{\"index\":3}" }
[2022-05-09T10:11:27Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:11:27Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:11:27Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:11:27Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:11: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-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "5d366024-f17c-4b46-8606-259f909bb2b5", persistence: None, user_data: None }
[2022-05-09T10:11:27Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:11:27Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbeafbd0
[2022-05-09T10:11:27Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbeafbd0
[2022-05-09T10:11: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: 0x55efdc17a380, password: 0x55efdbe257c0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbf24030, 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: 0x55efdbebc420, 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@2f9e86f5-9914-449f-bfb3-b4e541c56b14"), 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-09T10:11:28Z 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: 0x7f0edc02b0a0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x55efdc1aa340 } }, data: MessageData { topic: "app/2f9e86f5-9914-449f-bfb3-b4e541c56b14", 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: 0x55efdc1aa340 } } } }
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc346c90, 0x7f0ed80049e0
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80049e0, 0x7f0edc0165e0
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80049e0, 0x55efdbfc8e40
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbfc8e40, 0x7f0edc016660
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbfc8e40, 0x7f0ed8004ca0
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004ca0, 0x7f0edc0165e0
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004ca0, 0x7f0ed8004bc0
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004bc0, 0x7f0edc0165e0
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004bc0, 0x7f0edc01cc10
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004bc0, 0x7f0ed8003770
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003770, 0x7f0ed8004bc0
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004bc0, 0x7f0edc0165e0
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004bc0, 0x7f0edc0165e0
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004bc0, 0x7f0edc0165e0
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ed8004bc0
[2022-05-09T10:11:28Z 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: 0x55efdc1fd6c0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdc1fd6c0 } } } }
[2022-05-09T10:11:28Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/2f9e86f5-9914-449f-bfb3-b4e541c56b14", content_type: Some("application/json"), user_properties: {"subject": "connection", "specversion": "1.0", "device": "gateway1", "partitionkey": "2f9e86f5%2D9914%2D449f%2Dbfb3%2Db4e541c56b14/gateway1", "sender": "gateway1", "time": "2022-05-09T10:11:27.831658280+00:00", "deviceuid": "d87caa72-fdf3-4864-b096-52062dabd9f9", "type": "io.drogue.connection.v1", "id": "a940f0c4-9dc8-44fa-a11d-931cc0aee359", "application": "2f9e86f5-9914-449f-bfb3-b4e541c56b14", "senderuid": "d87caa72-fdf3-4864-b096-52062dabd9f9", "source": "drogue://2f9e86f5%2D9914%2D449f%2Dbfb3%2Db4e541c56b14/gateway1", "instance": "drogue", "applicationuid": "f576decc-d296-4895-874a-728d3a46491f"}, payload: "{\"connected\":true}" }
[2022-05-09T10:11:28Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:11:28Z 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: 0x7f0edc00a420, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x55efdc1e2420 } }, data: MessageData { topic: "app/2f9e86f5-9914-449f-bfb3-b4e541c56b14", 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: 0x55efdc1e2420 } } } }
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003a10, 0x7f0ed80049a0
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80049a0, 0x7f0ed8003a90
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80049a0, 0x7f0ed8004d00
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004d00, 0x7f0edc02f180
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004d00, 0x7f0ed8009870
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8009870, 0x7f0ed8003a90
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8009870, 0x7f0ed8004ca0
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004ca0, 0x7f0ed8003a90
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004ca0, 0x7f0edc00a3e0
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004ca0, 0x7f0ed8009850
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8009850, 0x7f0ed8003a90
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8009850, 0x7f0ed8003a90
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8009850, 0x7f0ed8003a90
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8009850, 0x7f0ed80098f0
[2022-05-09T10:11:28Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ed80098f0
[2022-05-09T10:11:28Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/2f9e86f5-9914-449f-bfb3-b4e541c56b14", content_type: Some("application/json"), user_properties: {"sender": "gateway1", "instance": "drogue", "applicationuid": "f576decc-d296-4895-874a-728d3a46491f", "partitionkey": "2f9e86f5%2D9914%2D449f%2Dbfb3%2Db4e541c56b14/gateway1", "source": "drogue://2f9e86f5%2D9914%2D449f%2Dbfb3%2Db4e541c56b14/gateway1", "deviceuid": "d87caa72-fdf3-4864-b096-52062dabd9f9", "device": "gateway1", "id": "71356807-b767-4c7d-b4fe-60a0fa70573d", "application": "2f9e86f5-9914-449f-bfb3-b4e541c56b14", "type": "io.drogue.connection.v1", "specversion": "1.0", "subject": "connection", "time": "2022-05-09T10:11:28.751857860+00:00", "senderuid": "d87caa72-fdf3-4864-b096-52062dabd9f9"}, payload: "{\"connected\":false}" }
[2022-05-09T10:11:29Z 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: 0x55efdc0155e0 } }, data: MessageData { topic: "app/2f9e86f5-9914-449f-bfb3-b4e541c56b14", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x55efdc0155e0 } } } }
[2022-05-09T10:11:29Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004ce0, 0x7f0ed8004cc0
[2022-05-09T10:11:29Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004cc0, 0x7f0edc01cc90
[2022-05-09T10:11:29Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004cc0, 0x7f0ed8009890
[2022-05-09T10:11:29Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8009890, 0x7f0edc016610
[2022-05-09T10:11:29Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8009890, 0x7f0ed8004ca0
[2022-05-09T10:11:29Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004ca0, 0x7f0edc01cc90
[2022-05-09T10:11:29Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004ca0, 0x7f0edc01cc90
[2022-05-09T10:11:29Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004ca0, 0x7f0edc02dd30
[2022-05-09T10:11:29Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004ca0, 0x7f0ed8002fe0
[2022-05-09T10:11:29Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8002fe0, 0x7f0edc01cc90
[2022-05-09T10:11:29Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8002fe0, 0x7f0ed8009930
[2022-05-09T10:11:29Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8009930, 0x7f0ed8002fe0
[2022-05-09T10:11:29Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8002fe0, 0x7f0edc01cc90
[2022-05-09T10:11:29Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8002fe0, 0x7f0edc01cc90
[2022-05-09T10:11:29Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ed8009970
[2022-05-09T10:11:29Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/2f9e86f5-9914-449f-bfb3-b4e541c56b14", content_type: Some("application/octet-stream"), user_properties: {"partitionkey": "2f9e86f5%2D9914%2D449f%2Dbfb3%2Db4e541c56b14/device1", "device": "device1", "specversion": "1.0", "time": "2022-05-09T10:11:28.750784403+00:00", "application": "2f9e86f5-9914-449f-bfb3-b4e541c56b14", "senderuid": "d87caa72-fdf3-4864-b096-52062dabd9f9", "subject": "telemetry", "instance": "drogue", "type": "io.drogue.event.v1", "id": "26304c25-633a-43f8-aedb-9181557cc557", "deviceuid": "542fb28b-7c28-456e-9367-2d4e8214c18f", "source": "drogue://2f9e86f5%2D9914%2D449f%2Dbfb3%2Db4e541c56b14/device1", "applicationuid": "f576decc-d296-4895-874a-728d3a46491f", "sender": "gateway1"}, payload: "" }
[2022-05-09T10:11:29Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:11:29Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:11:29Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:11: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: "2f9e86f5-9914-449f-bfb3-b4e541c56b14", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "2f9e86f5-9914-449f-bfb3-b4e541c56b14", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:11:29Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:11:29Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "2f9e86f5-9914-449f-bfb3-b4e541c56b14" "device1"
[2022-05-09T10:11:29Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:11:29Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:11:29Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "2f9e86f5-9914-449f-bfb3-b4e541c56b14" "gateway1"
[2022-05-09T10:11:29Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:11:29Z INFO  drogue_cloud_tests::resources::apps] Destroy application '2f9e86f5-9914-449f-bfb3-b4e541c56b14'
[2022-05-09T10:11:29Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "2f9e86f5-9914-449f-bfb3-b4e541c56b14"
[2022-05-09T10:11:29Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 2f9e86f5-9914-449f-bfb3-b4e541c56b14 deleted.\n", stderr: "" })

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

Duration: 13s

Test output
-------------- TEST START --------------
[2022-05-09T10:11:31Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:11:31Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:11:31Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:11:31Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:11: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-09T10:11:32Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:11:34Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:11:34Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:11:34Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:11: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-09T10:11:35Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI4OTUsImlhdCI6MTY1MjA5MTA5NSwianRpIjoiZmJjODJkMmYtYWMyYi00ZWNlLWJjYTAtYzQ5MzM4Y2I3OTI3IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlBIMmJWdkxLcmUtVFE0blR1SVN1UlEiLCJzZXNzaW9uX3N0YXRlIjoiZTBmNjQ0ZTctYTc0NC00MWZmLWFiNWEtZTNkOWMwMWMyZGVkIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImUwZjY0NGU3LWE3NDQtNDFmZi1hYjVhLWUzZDljMDFjMmRlZCJ9.uV6a8vVD50h6a-liFodURlK1tZg8tqoxZK-QX8aonfs
[2022-05-09T10:11:35Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:11:35Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:11:35Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI4OTUsImlhdCI6MTY1MjA5MTA5NSwianRpIjoiZmJjODJkMmYtYWMyYi00ZWNlLWJjYTAtYzQ5MzM4Y2I3OTI3IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlBIMmJWdkxLcmUtVFE0blR1SVN1UlEiLCJzZXNzaW9uX3N0YXRlIjoiZTBmNjQ0ZTctYTc0NC00MWZmLWFiNWEtZTNkOWMwMWMyZGVkIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImUwZjY0NGU3LWE3NDQtNDFmZi1hYjVhLWUzZDljMDFjMmRlZCJ9.uV6a8vVD50h6a-liFodURlK1tZg8tqoxZK-QX8aonfs" "--context" "system-tests"
[2022-05-09T10:11:35Z 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-09T10:11:36Z INFO  drogue_cloud_tests::resources::apps] Create application: 026d5b1c-07f7-4974-a802-94273d8360c4
[2022-05-09T10:11:36Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "026d5b1c-07f7-4974-a802-94273d8360c4"
[2022-05-09T10:11:36Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 026d5b1c-07f7-4974-a802-94273d8360c4 created.\n", stderr: "" })
[2022-05-09T10:11:36Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "026d5b1c-07f7-4974-a802-94273d8360c4"
[2022-05-09T10:11:36Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:11:36.580062Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"026d5b1c-07f7-4974-a802-94273d8360c4\",\n    \"resourceVersion\": \"c1a71132-6388-4eba-b372-bdbb3a3da8dc\",\n    \"uid\": \"511b8a37-572a-4443-ace9-ac80af317d75\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:11:36.597271024Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:11:36.597377032Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:36.597139949Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:36.597142514Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:36.597143256Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:36.597144357Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:36.597144949Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:36.597199831Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:11:36Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:11:36.580062Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("026d5b1c-07f7-4974-a802-94273d8360c4"), "resourceVersion": String("c1a71132-6388-4eba-b372-bdbb3a3da8dc"), "uid": String("511b8a37-572a-4443-ace9-ac80af317d75")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:11:36.597271024Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:36.597377032Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:11:36.597139949Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:11:36.597142514Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:11:36.597143256Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:36.597144357Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:11:36.597144949Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:36.597199831Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T10:11:36Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:11:37Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "026d5b1c-07f7-4974-a802-94273d8360c4"
[2022-05-09T10:11:37Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:11:36.580062Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"026d5b1c-07f7-4974-a802-94273d8360c4\",\n    \"resourceVersion\": \"068f472a-e6dd-42a0-8df7-2fa1f229501f\",\n    \"uid\": \"511b8a37-572a-4443-ace9-ac80af317d75\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:11:37.073419577Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:11:37.073495098Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:36.621767183Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:36.631991796Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:36.713956537Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:36.721746027Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:37.073298170Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:37.073371507Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"pjW3t75tsLZL\",\n        \"username\": \"user-026d5b1c-07f7-4974-a802-94273d8360c4\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:11:37Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:11:36.580062Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("026d5b1c-07f7-4974-a802-94273d8360c4"), "resourceVersion": String("068f472a-e6dd-42a0-8df7-2fa1f229501f"), "uid": String("511b8a37-572a-4443-ace9-ac80af317d75")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:11:37.073419577Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:37.073495098Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:11:36.621767183Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:11:36.631991796Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:11:36.713956537Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:36.721746027Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:11:37.073298170Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:37.073371507Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("pjW3t75tsLZL"), "username": String("user-026d5b1c-07f7-4974-a802-94273d8360c4")})})})})
[2022-05-09T10:11:37Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:11:37Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "026d5b1c-07f7-4974-a802-94273d8360c4"
[2022-05-09T10:11:37Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:11:36.580062Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"026d5b1c-07f7-4974-a802-94273d8360c4\",\n    \"resourceVersion\": \"068f472a-e6dd-42a0-8df7-2fa1f229501f\",\n    \"uid\": \"511b8a37-572a-4443-ace9-ac80af317d75\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:11:37.073419577Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:11:37.073495098Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:36.621767183Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:36.631991796Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:36.713956537Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:36.721746027Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:37.073298170Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:37.073371507Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"pjW3t75tsLZL\",\n        \"username\": \"user-026d5b1c-07f7-4974-a802-94273d8360c4\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:11:37Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:11:36.580062Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("026d5b1c-07f7-4974-a802-94273d8360c4"), "resourceVersion": String("068f472a-e6dd-42a0-8df7-2fa1f229501f"), "uid": String("511b8a37-572a-4443-ace9-ac80af317d75")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:11:37.073419577Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:37.073495098Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:11:36.621767183Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:11:36.631991796Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:11:36.713956537Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:36.721746027Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:11:37.073298170Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:37.073371507Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("pjW3t75tsLZL"), "username": String("user-026d5b1c-07f7-4974-a802-94273d8360c4")})})})})
[2022-05-09T10:11:37Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:11:37Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:11:37Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "026d5b1c-07f7-4974-a802-94273d8360c4" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:11:37Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:11:37Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:11:37Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:11:37Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:11:37Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEzOTUsImlhdCI6MTY1MjA5MTA5NSwiYXV0aF90aW1lIjoxNjUyMDkxMDkzLCJqdGkiOiI3MjI4ZmQwNS0zYmUyLTQyNWQtOTI0MC1iODYxNjA1ZjUxOGUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJQSDJiVnZMS3JlLVRRNG5UdUlTdVJRIiwic2Vzc2lvbl9zdGF0ZSI6ImUwZjY0NGU3LWE3NDQtNDFmZi1hYjVhLWUzZDljMDFjMmRlZCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImUwZjY0NGU3LWE3NDQtNDFmZi1hYjVhLWUzZDljMDFjMmRlZCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.SieNCPupV1_UaCHdVCfCN-Qe20UVR8Gdo9lEM8rQW9TJUKsCVgQsmZP6LaD7sZvw-nAFT6qXI7VZ9UQAX8PR55fpSIxKqffnP6nOajnwAxVD1NhATpOTyUD7s8racXFwE5QEvBkAxA_p2Kr6Jp3Jwg-Eh2qGTPfmMhwqzvj9Lqpy1Oql2UFVLfUePc-8ik9wOv8k3hxjCUoo0l0LakX2EQYZvdgSPE-_vAyswyjoYKvilwz5fXSzdWZAqkBei60tpuRVfOulK_94Fo-1pBh-Mrw-kytNZUr17GSs3SxlvL9VrgYqWiKA4XdHwckgrhKOzZuUuFhmdX3iJLv7YfL_mA\n", stderr: "" })
[2022-05-09T10:11:37Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:11:37Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:11:37Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:11:37Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "026d5b1c-07f7-4974-a802-94273d8360c4" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:11:37Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:11:37Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T10:11:37Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:11:37Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEzOTUsImlhdCI6MTY1MjA5MTA5NSwiYXV0aF90aW1lIjoxNjUyMDkxMDkzLCJqdGkiOiI3MjI4ZmQwNS0zYmUyLTQyNWQtOTI0MC1iODYxNjA1ZjUxOGUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJQSDJiVnZMS3JlLVRRNG5UdUlTdVJRIiwic2Vzc2lvbl9zdGF0ZSI6ImUwZjY0NGU3LWE3NDQtNDFmZi1hYjVhLWUzZDljMDFjMmRlZCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImUwZjY0NGU3LWE3NDQtNDFmZi1hYjVhLWUzZDljMDFjMmRlZCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.SieNCPupV1_UaCHdVCfCN-Qe20UVR8Gdo9lEM8rQW9TJUKsCVgQsmZP6LaD7sZvw-nAFT6qXI7VZ9UQAX8PR55fpSIxKqffnP6nOajnwAxVD1NhATpOTyUD7s8racXFwE5QEvBkAxA_p2Kr6Jp3Jwg-Eh2qGTPfmMhwqzvj9Lqpy1Oql2UFVLfUePc-8ik9wOv8k3hxjCUoo0l0LakX2EQYZvdgSPE-_vAyswyjoYKvilwz5fXSzdWZAqkBei60tpuRVfOulK_94Fo-1pBh-Mrw-kytNZUr17GSs3SxlvL9VrgYqWiKA4XdHwckgrhKOzZuUuFhmdX3iJLv7YfL_mA\n", stderr: "" })
[2022-05-09T10:11: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: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "2e018ba1-5116-4c69-930d-8adf3eb3a8bc", persistence: None, user_data: None }
[2022-05-09T10:11:37Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:11:37Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc19c360
[2022-05-09T10:11:37Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc19c360
[2022-05-09T10:11:37Z 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: 0x55efdbf3a3b0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbf24030, 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: 0x55efdc0eae10, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTEzOTUsImlhdCI6MTY1MjA5MTA5NSwiYXV0aF90aW1lIjoxNjUyMDkxMDkzLCJqdGkiOiI3MjI4ZmQwNS0zYmUyLTQyNWQtOTI0MC1iODYxNjA1ZjUxOGUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJQSDJiVnZMS3JlLVRRNG5UdUlTdVJRIiwic2Vzc2lvbl9zdGF0ZSI6ImUwZjY0NGU3LWE3NDQtNDFmZi1hYjVhLWUzZDljMDFjMmRlZCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImUwZjY0NGU3LWE3NDQtNDFmZi1hYjVhLWUzZDljMDFjMmRlZCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.SieNCPupV1_UaCHdVCfCN-Qe20UVR8Gdo9lEM8rQW9TJUKsCVgQsmZP6LaD7sZvw-nAFT6qXI7VZ9UQAX8PR55fpSIxKqffnP6nOajnwAxVD1NhATpOTyUD7s8racXFwE5QEvBkAxA_p2Kr6Jp3Jwg-Eh2qGTPfmMhwqzvj9Lqpy1Oql2UFVLfUePc-8ik9wOv8k3hxjCUoo0l0LakX2EQYZvdgSPE-_vAyswyjoYKvilwz5fXSzdWZAqkBei60tpuRVfOulK_94Fo-1pBh-Mrw-kytNZUr17GSs3SxlvL9VrgYqWiKA4XdHwckgrhKOzZuUuFhmdX3iJLv7YfL_mA"), 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-09T10:11:37Z DEBUG paho_mqtt::async_client] Subscribe to '"app/026d5b1c-07f7-4974-a802-94273d8360c4"' @ QOS 0
[2022-05-09T10:11:37Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:11:37Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:11:37Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:11: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-09T10:11:37Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:11: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-09T10:11:39Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:11: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-09T10:11:39Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:11: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-09T10:11:40Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:11: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-09T10:11:40Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:11: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-09T10:11:41Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:11: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-09T10:11:41Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:11: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-09T10:11:41Z 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: 0x7f0edc009e50, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/026d5b1c-07f7-4974-a802-94273d8360c4", 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, 100, 52, 100, 48, 56, 102, 45, 54, 99, 51, 57, 45, 52, 57, 57, 52, 45, 56, 49, 51, 52, 45, 51, 56, 100, 56, 56, 101, 101, 57, 57, 55, 57, 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, 50, 54, 100, 53, 98, 49, 99, 37, 50, 68, 48, 55, 102, 55, 37, 50, 68, 52, 57, 55, 52, 37, 50, 68, 97, 56, 48, 50, 37, 50, 68, 57, 52, 50, 55, 51, 100, 56, 51, 54, 48, 99, 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, 48, 58, 49, 49, 58, 52, 49, 46, 52, 53, 51, 55, 52, 53, 56, 53, 50, 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, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 50, 54, 100, 53, 98, 49, 99, 37, 50, 68, 48, 55, 102, 55, 37, 50, 68, 52, 57, 55, 52, 37, 50, 68, 97, 56, 48, 50, 37, 50, 68, 57, 52, 50, 55, 51, 100, 56, 51, 54, 48, 99, 52, 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, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 50, 54, 100, 53, 98, 49, 99, 45, 48, 55, 102, 55, 45, 52, 57, 55, 52, 45, 97, 56, 48, 50, 45, 57, 52, 50, 55, 51, 100, 56, 51, 54, 48, 99, 52, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 102, 99, 49, 100, 99, 102, 99, 49, 45, 97, 97, 98, 99, 45, 52, 101, 51, 50, 45, 57, 101, 55, 48, 45, 56, 56, 98, 48, 52, 53, 50, 49, 50, 101, 100, 48, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 49, 54, 53, 55, 99, 101, 49, 50, 45, 51, 100, 99, 48, 45, 52, 57, 101, 48, 45, 57, 101, 56, 51, 45, 57, 99, 97, 101, 51, 57, 49, 53, 100, 54, 102, 97, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 53, 49, 49, 98, 56, 97, 51, 55, 45, 53, 55, 50, 97, 45, 52, 52, 52, 51, 45, 97, 99, 101, 57, 45, 97, 99, 56, 48, 97, 102, 51, 49, 55, 100, 55, 53, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:11:41Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/026d5b1c-07f7-4974-a802-94273d8360c4", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"9dd4d08f-6c39-4994-8134-38d88ee99790\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://026d5b1c%2D07f7%2D4974%2Da802%2D94273d8360c4/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:11:41.453745852Z\",\"data\":{\"index\":3},\"instance\":\"drogue\",\"partitionkey\":\"026d5b1c%2D07f7%2D4974%2Da802%2D94273d8360c4/device1\",\"device\":\"device1\",\"sender\":\"gateway1\",\"application\":\"026d5b1c-07f7-4974-a802-94273d8360c4\",\"senderuid\":\"fc1dcfc1-aabc-4e32-9e70-88b045212ed0\",\"deviceuid\":\"1657ce12-3dc0-49e0-9e83-9cae3915d6fa\",\"applicationuid\":\"511b8a37-572a-4443-ace9-ac80af317d75\"}" }
[2022-05-09T10:11:42Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:11:42Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:11:42Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:11:42Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:11:42Z 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: "d13a9208-12ef-4839-901c-303beacac305", persistence: None, user_data: None }
[2022-05-09T10:11:42Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:11:42Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc0f1a20
[2022-05-09T10:11:42Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc0f1a20
[2022-05-09T10:11:42Z 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: 0x55efdc340e20, password: 0x55efdc2d05d0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbf0d710, 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: 0x55efdc33f640, 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@026d5b1c-07f7-4974-a802-94273d8360c4"), 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-09T10:11:42Z 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: 0x55efdc069c00 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdc069c00 } } } }
[2022-05-09T10:11:42Z 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: 0x7f0edc02a800, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/026d5b1c-07f7-4974-a802-94273d8360c4", 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, 52, 57, 100, 56, 50, 99, 97, 45, 55, 50, 101, 52, 45, 52, 102, 98, 102, 45, 98, 51, 101, 57, 45, 48, 100, 48, 50, 54, 49, 51, 100, 102, 101, 51, 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, 48, 50, 54, 100, 53, 98, 49, 99, 37, 50, 68, 48, 55, 102, 55, 37, 50, 68, 52, 57, 55, 52, 37, 50, 68, 97, 56, 48, 50, 37, 50, 68, 57, 52, 50, 55, 51, 100, 56, 51, 54, 48, 99, 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, 48, 58, 49, 49, 58, 52, 50, 46, 52, 55, 57, 53, 49, 49, 50, 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, 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, 102, 99, 49, 100, 99, 102, 99, 49, 45, 97, 97, 98, 99, 45, 52, 101, 51, 50, 45, 57, 101, 55, 48, 45, 56, 56, 98, 48, 52, 53, 50, 49, 50, 101, 100, 48, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 50, 54, 100, 53, 98, 49, 99, 45, 48, 55, 102, 55, 45, 52, 57, 55, 52, 45, 97, 56, 48, 50, 45, 57, 52, 50, 55, 51, 100, 56, 51, 54, 48, 99, 52, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 102, 99, 49, 100, 99, 102, 99, 49, 45, 97, 97, 98, 99, 45, 52, 101, 51, 50, 45, 57, 101, 55, 48, 45, 56, 56, 98, 48, 52, 53, 50, 49, 50, 101, 100, 48, 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, 50, 54, 100, 53, 98, 49, 99, 37, 50, 68, 48, 55, 102, 55, 37, 50, 68, 52, 57, 55, 52, 37, 50, 68, 97, 56, 48, 50, 37, 50, 68, 57, 52, 50, 55, 51, 100, 56, 51, 54, 48, 99, 52, 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, 49, 49, 98, 56, 97, 51, 55, 45, 53, 55, 50, 97, 45, 52, 52, 52, 51, 45, 97, 99, 101, 57, 45, 97, 99, 56, 48, 97, 102, 51, 49, 55, 100, 55, 53, 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-09T10:11:42Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:11:42Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/026d5b1c-07f7-4974-a802-94273d8360c4", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"349d82ca-72e4-4fbf-b3e9-0d02613dfe38\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://026d5b1c%2D07f7%2D4974%2Da802%2D94273d8360c4/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:11:42.479511214Z\",\"data\":{\"connected\":true},\"device\":\"gateway1\",\"deviceuid\":\"fc1dcfc1-aabc-4e32-9e70-88b045212ed0\",\"application\":\"026d5b1c-07f7-4974-a802-94273d8360c4\",\"senderuid\":\"fc1dcfc1-aabc-4e32-9e70-88b045212ed0\",\"sender\":\"gateway1\",\"partitionkey\":\"026d5b1c%2D07f7%2D4974%2Da802%2D94273d8360c4/gateway1\",\"applicationuid\":\"511b8a37-572a-4443-ace9-ac80af317d75\",\"instance\":\"drogue\"}" }
[2022-05-09T10:11:42Z 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: 0x7f0edc004730, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/026d5b1c-07f7-4974-a802-94273d8360c4", 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, 57, 52, 99, 102, 53, 52, 45, 98, 102, 102, 57, 45, 52, 99, 102, 99, 45, 56, 102, 53, 57, 45, 55, 52, 97, 49, 102, 102, 102, 54, 52, 51, 100, 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, 48, 50, 54, 100, 53, 98, 49, 99, 37, 50, 68, 48, 55, 102, 55, 37, 50, 68, 52, 57, 55, 52, 37, 50, 68, 97, 56, 48, 50, 37, 50, 68, 57, 52, 50, 55, 51, 100, 56, 51, 54, 48, 99, 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, 48, 58, 49, 49, 58, 52, 50, 46, 55, 54, 56, 55, 51, 54, 53, 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, 102, 97, 108, 115, 101, 125, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 102, 99, 49, 100, 99, 102, 99, 49, 45, 97, 97, 98, 99, 45, 52, 101, 51, 50, 45, 57, 101, 55, 48, 45, 56, 56, 98, 48, 52, 53, 50, 49, 50, 101, 100, 48, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 50, 54, 100, 53, 98, 49, 99, 37, 50, 68, 48, 55, 102, 55, 37, 50, 68, 52, 57, 55, 52, 37, 50, 68, 97, 56, 48, 50, 37, 50, 68, 57, 52, 50, 55, 51, 100, 56, 51, 54, 48, 99, 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, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 102, 99, 49, 100, 99, 102, 99, 49, 45, 97, 97, 98, 99, 45, 52, 101, 51, 50, 45, 57, 101, 55, 48, 45, 56, 56, 98, 48, 52, 53, 50, 49, 50, 101, 100, 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, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 50, 54, 100, 53, 98, 49, 99, 45, 48, 55, 102, 55, 45, 52, 57, 55, 52, 45, 97, 56, 48, 50, 45, 57, 52, 50, 55, 51, 100, 56, 51, 54, 48, 99, 52, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 53, 49, 49, 98, 56, 97, 51, 55, 45, 53, 55, 50, 97, 45, 52, 52, 52, 51, 45, 97, 99, 101, 57, 45, 97, 99, 56, 48, 97, 102, 51, 49, 55, 100, 55, 53, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:11:42Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/026d5b1c-07f7-4974-a802-94273d8360c4", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"5d94cf54-bff9-4cfc-8f59-74a1fff643da\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://026d5b1c%2D07f7%2D4974%2Da802%2D94273d8360c4/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:11:42.768736575Z\",\"data\":{\"connected\":false},\"deviceuid\":\"fc1dcfc1-aabc-4e32-9e70-88b045212ed0\",\"partitionkey\":\"026d5b1c%2D07f7%2D4974%2Da802%2D94273d8360c4/gateway1\",\"sender\":\"gateway1\",\"senderuid\":\"fc1dcfc1-aabc-4e32-9e70-88b045212ed0\",\"device\":\"gateway1\",\"instance\":\"drogue\",\"application\":\"026d5b1c-07f7-4974-a802-94273d8360c4\",\"applicationuid\":\"511b8a37-572a-4443-ace9-ac80af317d75\"}" }
[2022-05-09T10:11:43Z 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: 0x7f0edc007600, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/026d5b1c-07f7-4974-a802-94273d8360c4", 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, 98, 97, 54, 56, 52, 100, 49, 45, 54, 100, 53, 49, 45, 52, 100, 54, 97, 45, 56, 52, 48, 97, 45, 56, 48, 48, 50, 99, 49, 48, 100, 53, 48, 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, 48, 50, 54, 100, 53, 98, 49, 99, 37, 50, 68, 48, 55, 102, 55, 37, 50, 68, 52, 57, 55, 52, 37, 50, 68, 97, 56, 48, 50, 37, 50, 68, 57, 52, 50, 55, 51, 100, 56, 51, 54, 48, 99, 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, 48, 58, 49, 49, 58, 52, 50, 46, 55, 54, 55, 51, 51, 55, 54, 50, 49, 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, 49, 54, 53, 55, 99, 101, 49, 50, 45, 51, 100, 99, 48, 45, 52, 57, 101, 48, 45, 57, 101, 56, 51, 45, 57, 99, 97, 101, 51, 57, 49, 53, 100, 54, 102, 97, 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, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 50, 54, 100, 53, 98, 49, 99, 37, 50, 68, 48, 55, 102, 55, 37, 50, 68, 52, 57, 55, 52, 37, 50, 68, 97, 56, 48, 50, 37, 50, 68, 57, 52, 50, 55, 51, 100, 56, 51, 54, 48, 99, 52, 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, 53, 49, 49, 98, 56, 97, 51, 55, 45, 53, 55, 50, 97, 45, 52, 52, 52, 51, 45, 97, 99, 101, 57, 45, 97, 99, 56, 48, 97, 102, 51, 49, 55, 100, 55, 53, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 50, 54, 100, 53, 98, 49, 99, 45, 48, 55, 102, 55, 45, 52, 57, 55, 52, 45, 97, 56, 48, 50, 45, 57, 52, 50, 55, 51, 100, 56, 51, 54, 48, 99, 52, 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, 99, 49, 100, 99, 102, 99, 49, 45, 97, 97, 98, 99, 45, 52, 101, 51, 50, 45, 57, 101, 55, 48, 45, 56, 56, 98, 48, 52, 53, 50, 49, 50, 101, 100, 48, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:11:43Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/026d5b1c-07f7-4974-a802-94273d8360c4", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"7ba684d1-6d51-4d6a-840a-8002c10d5044\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://026d5b1c%2D07f7%2D4974%2Da802%2D94273d8360c4/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:11:42.767337621Z\",\"data_base64\":\"\",\"deviceuid\":\"1657ce12-3dc0-49e0-9e83-9cae3915d6fa\",\"device\":\"device1\",\"sender\":\"gateway1\",\"partitionkey\":\"026d5b1c%2D07f7%2D4974%2Da802%2D94273d8360c4/device1\",\"applicationuid\":\"511b8a37-572a-4443-ace9-ac80af317d75\",\"application\":\"026d5b1c-07f7-4974-a802-94273d8360c4\",\"instance\":\"drogue\",\"senderuid\":\"fc1dcfc1-aabc-4e32-9e70-88b045212ed0\"}" }
[2022-05-09T10:11:43Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:11:43Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:11:43Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:11:43Z ERROR paho_mqtt::async_client] Stream error: TrySendError { kind: Disconnected }
[2022-05-09T10:11:43Z DEBUG paho_mqtt::token] Token failure! 0x7f0edc010800, 0x7ffe89114a70
[2022-05-09T10:11:43Z DEBUG paho_mqtt::token] Token completed with code: -11
[2022-05-09T10:11:43Z DEBUG paho_mqtt::token] Expecting server response for: None
[2022-05-09T10:11:43Z 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: "026d5b1c-07f7-4974-a802-94273d8360c4", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "026d5b1c-07f7-4974-a802-94273d8360c4", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:11:43Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:11:43Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "026d5b1c-07f7-4974-a802-94273d8360c4" "device1"
[2022-05-09T10:11:43Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:11:43Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:11:43Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "026d5b1c-07f7-4974-a802-94273d8360c4" "gateway1"
[2022-05-09T10:11:43Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:11:43Z INFO  drogue_cloud_tests::resources::apps] Destroy application '026d5b1c-07f7-4974-a802-94273d8360c4'
[2022-05-09T10:11:43Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "026d5b1c-07f7-4974-a802-94273d8360c4"
[2022-05-09T10:11:43Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 026d5b1c-07f7-4974-a802-94273d8360c4 deleted.\n", stderr: "" })

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

Duration: 13s

Test output
-------------- TEST START --------------
[2022-05-09T10:11:45Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:11:45Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:11:45Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:11:45Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:11: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-09T10:11:46Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:11:48Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:11:48Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:11:48Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:11: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-09T10:11:49Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI5MDksImlhdCI6MTY1MjA5MTEwOSwianRpIjoiYWJhNTBkMGItNmE4MC00YjIxLWEzOWItNzg2MzEyZmNiNjEyIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IkxqY2w2S015MGVSbGktM1NzbXM0dXciLCJzZXNzaW9uX3N0YXRlIjoiNjhkMGNkN2EtZGY5Mi00OGRlLWFlYWMtYTM5ZDBmNjM5OTE1Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjY4ZDBjZDdhLWRmOTItNDhkZS1hZWFjLWEzOWQwZjYzOTkxNSJ9.oo2_a0oJw_PxDqOz4U2pwvLd8d3GApVVPmY7txyJ1EA
[2022-05-09T10:11:49Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:11:49Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:11:49Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI5MDksImlhdCI6MTY1MjA5MTEwOSwianRpIjoiYWJhNTBkMGItNmE4MC00YjIxLWEzOWItNzg2MzEyZmNiNjEyIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IkxqY2w2S015MGVSbGktM1NzbXM0dXciLCJzZXNzaW9uX3N0YXRlIjoiNjhkMGNkN2EtZGY5Mi00OGRlLWFlYWMtYTM5ZDBmNjM5OTE1Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjY4ZDBjZDdhLWRmOTItNDhkZS1hZWFjLWEzOWQwZjYzOTkxNSJ9.oo2_a0oJw_PxDqOz4U2pwvLd8d3GApVVPmY7txyJ1EA" "--context" "system-tests"
[2022-05-09T10:11:50Z 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-09T10:11:50Z INFO  drogue_cloud_tests::resources::apps] Create application: 05e87cb5-9cd8-4120-97b3-fe84b75e03ee
[2022-05-09T10:11:50Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "05e87cb5-9cd8-4120-97b3-fe84b75e03ee"
[2022-05-09T10:11:50Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 05e87cb5-9cd8-4120-97b3-fe84b75e03ee created.\n", stderr: "" })
[2022-05-09T10:11:50Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "05e87cb5-9cd8-4120-97b3-fe84b75e03ee"
[2022-05-09T10:11:50Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:11:50.660968Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"05e87cb5-9cd8-4120-97b3-fe84b75e03ee\",\n    \"resourceVersion\": \"bfa75c72-fb37-4ebc-8f44-04153d8212e2\",\n    \"uid\": \"cbae443b-de66-45a6-9572-5ca7ff1c1f91\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:11:50.684520060Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:11:50.684496767Z\",\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-09T10:11:50.684464657Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:50.684465418Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:50.684465939Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:50.684466470Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:50.684467241Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:50.684472392Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:11:50Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:11:50.660968Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("05e87cb5-9cd8-4120-97b3-fe84b75e03ee"), "resourceVersion": String("bfa75c72-fb37-4ebc-8f44-04153d8212e2"), "uid": String("cbae443b-de66-45a6-9572-5ca7ff1c1f91")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:11:50.684520060Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:11:50.684496767Z"), "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-09T10:11:50.684464657Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:11:50.684465418Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:11:50.684465939Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:50.684466470Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:11:50.684467241Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:50.684472392Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T10:11:50Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:11:51Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "05e87cb5-9cd8-4120-97b3-fe84b75e03ee"
[2022-05-09T10:11:51Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:11:50.660968Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"05e87cb5-9cd8-4120-97b3-fe84b75e03ee\",\n    \"resourceVersion\": \"02948674-0eda-4eba-b9e2-0997fbc826cb\",\n    \"uid\": \"cbae443b-de66-45a6-9572-5ca7ff1c1f91\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:11:50.918037332Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:11:50.917921094Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:50.707350906Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:50.716122563Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:50.775705349Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:50.781218053Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:50.917875139Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:50.917894396Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"mXd8CNfwOPnw\",\n        \"username\": \"user-05e87cb5-9cd8-4120-97b3-fe84b75e03ee\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:11:51Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:11:50.660968Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("05e87cb5-9cd8-4120-97b3-fe84b75e03ee"), "resourceVersion": String("02948674-0eda-4eba-b9e2-0997fbc826cb"), "uid": String("cbae443b-de66-45a6-9572-5ca7ff1c1f91")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:11:50.918037332Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:11:50.917921094Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:11:50.707350906Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:11:50.716122563Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:11:50.775705349Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:50.781218053Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:11:50.917875139Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:50.917894396Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("mXd8CNfwOPnw"), "username": String("user-05e87cb5-9cd8-4120-97b3-fe84b75e03ee")})})})})
[2022-05-09T10:11:51Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:11:51Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "05e87cb5-9cd8-4120-97b3-fe84b75e03ee"
[2022-05-09T10:11:51Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:11:50.660968Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"05e87cb5-9cd8-4120-97b3-fe84b75e03ee\",\n    \"resourceVersion\": \"02948674-0eda-4eba-b9e2-0997fbc826cb\",\n    \"uid\": \"cbae443b-de66-45a6-9572-5ca7ff1c1f91\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:11:50.918037332Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:11:50.917921094Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:50.707350906Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:50.716122563Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:50.775705349Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:50.781218053Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:50.917875139Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:11:50.917894396Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"mXd8CNfwOPnw\",\n        \"username\": \"user-05e87cb5-9cd8-4120-97b3-fe84b75e03ee\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:11:51Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:11:50.660968Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("05e87cb5-9cd8-4120-97b3-fe84b75e03ee"), "resourceVersion": String("02948674-0eda-4eba-b9e2-0997fbc826cb"), "uid": String("cbae443b-de66-45a6-9572-5ca7ff1c1f91")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:11:50.918037332Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:11:50.917921094Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:11:50.707350906Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:11:50.716122563Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:11:50.775705349Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:50.781218053Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:11:50.917875139Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:11:50.917894396Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("mXd8CNfwOPnw"), "username": String("user-05e87cb5-9cd8-4120-97b3-fe84b75e03ee")})})})})
[2022-05-09T10:11:51Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:11:51Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:11:51Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "05e87cb5-9cd8-4120-97b3-fe84b75e03ee" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:11:51Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:11:51Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:11:51Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:11:51Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:11:51Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE0MDksImlhdCI6MTY1MjA5MTEwOSwiYXV0aF90aW1lIjoxNjUyMDkxMTA2LCJqdGkiOiI4YTdjMGVmMC0wY2QyLTRiZjUtYTZkMi04ZTdmZmFlZjI5ZGQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJMamNsNktNeTBlUmxpLTNTc21zNHV3Iiwic2Vzc2lvbl9zdGF0ZSI6IjY4ZDBjZDdhLWRmOTItNDhkZS1hZWFjLWEzOWQwZjYzOTkxNSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjY4ZDBjZDdhLWRmOTItNDhkZS1hZWFjLWEzOWQwZjYzOTkxNSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.bX1ZE0kZJBHvjCPUuaLvOs0Z5BOCIGuoX47D3tU21GL9BnWKI_90dp-XgChJ8Sq0Et1F5id-rJm71Tgw5kZuOPFhGFYSHaQwxKW_1VRLriiPcEODEJsLeW0HaBHfpBtD1qpvIlfrYAerZDIV8Z2aG7jYRNU-ZS0m8qbAEQaWPG0ym-CfNGCsr9eTcPm5jkZY66W-nrfOEuzgJ_44lcQXsSFX6QyFyMZIzku3SNQ9azKMh54yQ_JeQwYkFhxPT-_GT0XpelDje8l9P73fJ13Cw_nNOM8f4LMSVMhKNGgjagf9v8GlodN6rVopCsLeqrfe1kkL-jb7dyiCs4Ylw7D4tw\n", stderr: "" })
[2022-05-09T10:11:51Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:11:51Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:11:51Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:11:51Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "05e87cb5-9cd8-4120-97b3-fe84b75e03ee" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:11:51Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:11:51Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T10:11:51Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:11:51Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE0MDksImlhdCI6MTY1MjA5MTEwOSwiYXV0aF90aW1lIjoxNjUyMDkxMTA2LCJqdGkiOiI4YTdjMGVmMC0wY2QyLTRiZjUtYTZkMi04ZTdmZmFlZjI5ZGQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJMamNsNktNeTBlUmxpLTNTc21zNHV3Iiwic2Vzc2lvbl9zdGF0ZSI6IjY4ZDBjZDdhLWRmOTItNDhkZS1hZWFjLWEzOWQwZjYzOTkxNSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjY4ZDBjZDdhLWRmOTItNDhkZS1hZWFjLWEzOWQwZjYzOTkxNSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.bX1ZE0kZJBHvjCPUuaLvOs0Z5BOCIGuoX47D3tU21GL9BnWKI_90dp-XgChJ8Sq0Et1F5id-rJm71Tgw5kZuOPFhGFYSHaQwxKW_1VRLriiPcEODEJsLeW0HaBHfpBtD1qpvIlfrYAerZDIV8Z2aG7jYRNU-ZS0m8qbAEQaWPG0ym-CfNGCsr9eTcPm5jkZY66W-nrfOEuzgJ_44lcQXsSFX6QyFyMZIzku3SNQ9azKMh54yQ_JeQwYkFhxPT-_GT0XpelDje8l9P73fJ13Cw_nNOM8f4LMSVMhKNGgjagf9v8GlodN6rVopCsLeqrfe1kkL-jb7dyiCs4Ylw7D4tw\n", stderr: "" })
[2022-05-09T10:11: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: 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: "2d94ee7c-65ab-4562-8c48-a229bec3169f", persistence: None, user_data: None }
[2022-05-09T10:11:51Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:11:51Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc06c250
[2022-05-09T10:11:51Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc06c250
[2022-05-09T10:11:51Z 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: 0x55efdc049660, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc04b360, 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: 0x55efdc298fc0, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE0MDksImlhdCI6MTY1MjA5MTEwOSwiYXV0aF90aW1lIjoxNjUyMDkxMTA2LCJqdGkiOiI4YTdjMGVmMC0wY2QyLTRiZjUtYTZkMi04ZTdmZmFlZjI5ZGQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJMamNsNktNeTBlUmxpLTNTc21zNHV3Iiwic2Vzc2lvbl9zdGF0ZSI6IjY4ZDBjZDdhLWRmOTItNDhkZS1hZWFjLWEzOWQwZjYzOTkxNSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjY4ZDBjZDdhLWRmOTItNDhkZS1hZWFjLWEzOWQwZjYzOTkxNSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.bX1ZE0kZJBHvjCPUuaLvOs0Z5BOCIGuoX47D3tU21GL9BnWKI_90dp-XgChJ8Sq0Et1F5id-rJm71Tgw5kZuOPFhGFYSHaQwxKW_1VRLriiPcEODEJsLeW0HaBHfpBtD1qpvIlfrYAerZDIV8Z2aG7jYRNU-ZS0m8qbAEQaWPG0ym-CfNGCsr9eTcPm5jkZY66W-nrfOEuzgJ_44lcQXsSFX6QyFyMZIzku3SNQ9azKMh54yQ_JeQwYkFhxPT-_GT0XpelDje8l9P73fJ13Cw_nNOM8f4LMSVMhKNGgjagf9v8GlodN6rVopCsLeqrfe1kkL-jb7dyiCs4Ylw7D4tw"), 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-09T10:11:51Z DEBUG paho_mqtt::async_client] Subscribe to '"app/05e87cb5-9cd8-4120-97b3-fe84b75e03ee"' @ QOS 0
[2022-05-09T10:11:51Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:11:51Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:11:51Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:11: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-09T10:11:51Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:11: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-09T10:11:53Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:11:53Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?as=device1)
[2022-05-09T10:11:53Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:11: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-09T10:11:54Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:11: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-09T10:11:54Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:11: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-09T10:11:55Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:11: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-09T10:11:55Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:11: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-09T10:11:55Z 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: 0x7f0ed0015db0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/05e87cb5-9cd8-4120-97b3-fe84b75e03ee", 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, 56, 56, 52, 100, 54, 100, 45, 52, 57, 100, 57, 45, 52, 97, 98, 49, 45, 57, 98, 100, 53, 45, 49, 102, 55, 51, 51, 97, 97, 101, 99, 101, 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, 48, 53, 101, 56, 55, 99, 98, 53, 37, 50, 68, 57, 99, 100, 56, 37, 50, 68, 52, 49, 50, 48, 37, 50, 68, 57, 55, 98, 51, 37, 50, 68, 102, 101, 56, 52, 98, 55, 53, 101, 48, 51, 101, 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, 48, 58, 49, 49, 58, 53, 53, 46, 52, 54, 49, 56, 48, 57, 56, 56, 54, 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, 99, 98, 97, 101, 52, 52, 51, 98, 45, 100, 101, 54, 54, 45, 52, 53, 97, 54, 45, 57, 53, 55, 50, 45, 53, 99, 97, 55, 102, 102, 49, 99, 49, 102, 57, 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, 48, 53, 101, 56, 55, 99, 98, 53, 37, 50, 68, 57, 99, 100, 56, 37, 50, 68, 52, 49, 50, 48, 37, 50, 68, 57, 55, 98, 51, 37, 50, 68, 102, 101, 56, 52, 98, 55, 53, 101, 48, 51, 101, 101, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 50, 53, 50, 99, 98, 53, 51, 98, 45, 48, 101, 100, 53, 45, 52, 102, 53, 55, 45, 57, 97, 102, 53, 45, 99, 99, 99, 99, 52, 55, 55, 48, 56, 53, 49, 98, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 54, 97, 50, 52, 49, 52, 51, 50, 45, 99, 53, 97, 56, 45, 52, 50, 97, 53, 45, 56, 57, 52, 101, 45, 57, 101, 51, 57, 100, 51, 48, 102, 97, 48, 100, 100, 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, 53, 101, 56, 55, 99, 98, 53, 45, 57, 99, 100, 56, 45, 52, 49, 50, 48, 45, 57, 55, 98, 51, 45, 102, 101, 56, 52, 98, 55, 53, 101, 48, 51, 101, 101, 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-09T10:11:55Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/05e87cb5-9cd8-4120-97b3-fe84b75e03ee", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"e4884d6d-49d9-4ab1-9bd5-1f733aaece92\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://05e87cb5%2D9cd8%2D4120%2D97b3%2Dfe84b75e03ee/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:11:55.461809886Z\",\"data\":{\"index\":3},\"applicationuid\":\"cbae443b-de66-45a6-9572-5ca7ff1c1f91\",\"instance\":\"drogue\",\"partitionkey\":\"05e87cb5%2D9cd8%2D4120%2D97b3%2Dfe84b75e03ee/device1\",\"senderuid\":\"252cb53b-0ed5-4f57-9af5-cccc4770851b\",\"deviceuid\":\"6a241432-c5a8-42a5-894e-9e39d30fa0dd\",\"device\":\"device1\",\"application\":\"05e87cb5-9cd8-4120-97b3-fe84b75e03ee\",\"sender\":\"gateway1\"}" }
[2022-05-09T10:11:56Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:11:56Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:11:56Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:11:56Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:11:56Z 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: "0e0fe0a0-35b4-4a71-9bdd-15425e465e4f", persistence: None, user_data: None }
[2022-05-09T10:11:56Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:11:56Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbff0510
[2022-05-09T10:11:56Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbff0510
[2022-05-09T10:11:56Z 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: 0x55efdc26f080, password: 0x55efdbef1d40, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbff2410, 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: 0x55efdc26efc0, 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@05e87cb5-9cd8-4120-97b3-fe84b75e03ee"), 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-09T10:11:56Z 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: 0x55efdc0cfaa0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdc0cfaa0 } } } }
[2022-05-09T10:11:56Z 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: 0x7f0ed000c450, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/05e87cb5-9cd8-4120-97b3-fe84b75e03ee", 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, 50, 102, 97, 100, 98, 52, 100, 45, 53, 102, 54, 51, 45, 52, 98, 97, 99, 45, 98, 99, 52, 56, 45, 52, 100, 54, 98, 54, 56, 57, 51, 100, 52, 56, 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, 48, 53, 101, 56, 55, 99, 98, 53, 37, 50, 68, 57, 99, 100, 56, 37, 50, 68, 52, 49, 50, 48, 37, 50, 68, 57, 55, 98, 51, 37, 50, 68, 102, 101, 56, 52, 98, 55, 53, 101, 48, 51, 101, 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, 48, 58, 49, 49, 58, 53, 54, 46, 53, 55, 56, 54, 56, 55, 56, 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, 116, 114, 117, 101, 125, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 53, 101, 56, 55, 99, 98, 53, 37, 50, 68, 57, 99, 100, 56, 37, 50, 68, 52, 49, 50, 48, 37, 50, 68, 57, 55, 98, 51, 37, 50, 68, 102, 101, 56, 52, 98, 55, 53, 101, 48, 51, 101, 101, 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, 53, 50, 99, 98, 53, 51, 98, 45, 48, 101, 100, 53, 45, 52, 102, 53, 55, 45, 57, 97, 102, 53, 45, 99, 99, 99, 99, 52, 55, 55, 48, 56, 53, 49, 98, 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, 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, 99, 98, 97, 101, 52, 52, 51, 98, 45, 100, 101, 54, 54, 45, 52, 53, 97, 54, 45, 57, 53, 55, 50, 45, 53, 99, 97, 55, 102, 102, 49, 99, 49, 102, 57, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 53, 101, 56, 55, 99, 98, 53, 45, 57, 99, 100, 56, 45, 52, 49, 50, 48, 45, 57, 55, 98, 51, 45, 102, 101, 56, 52, 98, 55, 53, 101, 48, 51, 101, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 50, 53, 50, 99, 98, 53, 51, 98, 45, 48, 101, 100, 53, 45, 52, 102, 53, 55, 45, 57, 97, 102, 53, 45, 99, 99, 99, 99, 52, 55, 55, 48, 56, 53, 49, 98, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:11:56Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/05e87cb5-9cd8-4120-97b3-fe84b75e03ee", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"42fadb4d-5f63-4bac-bc48-4d6b6893d481\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://05e87cb5%2D9cd8%2D4120%2D97b3%2Dfe84b75e03ee/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:11:56.578687815Z\",\"data\":{\"connected\":true},\"partitionkey\":\"05e87cb5%2D9cd8%2D4120%2D97b3%2Dfe84b75e03ee/gateway1\",\"senderuid\":\"252cb53b-0ed5-4f57-9af5-cccc4770851b\",\"instance\":\"drogue\",\"sender\":\"gateway1\",\"device\":\"gateway1\",\"applicationuid\":\"cbae443b-de66-45a6-9572-5ca7ff1c1f91\",\"application\":\"05e87cb5-9cd8-4120-97b3-fe84b75e03ee\",\"deviceuid\":\"252cb53b-0ed5-4f57-9af5-cccc4770851b\"}" }
[2022-05-09T10:11:56Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:11:56Z 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: 0x7f0ed000c9b0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/05e87cb5-9cd8-4120-97b3-fe84b75e03ee", 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, 99, 55, 55, 52, 54, 55, 100, 45, 98, 102, 54, 54, 45, 52, 54, 54, 99, 45, 57, 51, 56, 56, 45, 99, 57, 48, 57, 101, 53, 101, 56, 101, 57, 99, 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, 53, 101, 56, 55, 99, 98, 53, 37, 50, 68, 57, 99, 100, 56, 37, 50, 68, 52, 49, 50, 48, 37, 50, 68, 57, 55, 98, 51, 37, 50, 68, 102, 101, 56, 52, 98, 55, 53, 101, 48, 51, 101, 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, 48, 58, 49, 49, 58, 53, 54, 46, 55, 55, 51, 57, 48, 54, 53, 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, 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, 117, 105, 100, 34, 58, 34, 99, 98, 97, 101, 52, 52, 51, 98, 45, 100, 101, 54, 54, 45, 52, 53, 97, 54, 45, 57, 53, 55, 50, 45, 53, 99, 97, 55, 102, 102, 49, 99, 49, 102, 57, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 50, 53, 50, 99, 98, 53, 51, 98, 45, 48, 101, 100, 53, 45, 52, 102, 53, 55, 45, 57, 97, 102, 53, 45, 99, 99, 99, 99, 52, 55, 55, 48, 56, 53, 49, 98, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 53, 101, 56, 55, 99, 98, 53, 37, 50, 68, 57, 99, 100, 56, 37, 50, 68, 52, 49, 50, 48, 37, 50, 68, 57, 55, 98, 51, 37, 50, 68, 102, 101, 56, 52, 98, 55, 53, 101, 48, 51, 101, 101, 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, 117, 105, 100, 34, 58, 34, 50, 53, 50, 99, 98, 53, 51, 98, 45, 48, 101, 100, 53, 45, 52, 102, 53, 55, 45, 57, 97, 102, 53, 45, 99, 99, 99, 99, 52, 55, 55, 48, 56, 53, 49, 98, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 53, 101, 56, 55, 99, 98, 53, 45, 57, 99, 100, 56, 45, 52, 49, 50, 48, 45, 57, 55, 98, 51, 45, 102, 101, 56, 52, 98, 55, 53, 101, 48, 51, 101, 101, 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-09T10:11:56Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/05e87cb5-9cd8-4120-97b3-fe84b75e03ee", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"ec77467d-bf66-466c-9388-c909e5e8e9c9\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://05e87cb5%2D9cd8%2D4120%2D97b3%2Dfe84b75e03ee/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:11:56.773906569Z\",\"data\":{\"connected\":false},\"instance\":\"drogue\",\"applicationuid\":\"cbae443b-de66-45a6-9572-5ca7ff1c1f91\",\"deviceuid\":\"252cb53b-0ed5-4f57-9af5-cccc4770851b\",\"partitionkey\":\"05e87cb5%2D9cd8%2D4120%2D97b3%2Dfe84b75e03ee/gateway1\",\"device\":\"gateway1\",\"senderuid\":\"252cb53b-0ed5-4f57-9af5-cccc4770851b\",\"application\":\"05e87cb5-9cd8-4120-97b3-fe84b75e03ee\",\"sender\":\"gateway1\"}" }
[2022-05-09T10:11:57Z 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: 0x7f0ed002bbe0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/05e87cb5-9cd8-4120-97b3-fe84b75e03ee", 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, 97, 51, 100, 97, 102, 98, 45, 55, 56, 100, 100, 45, 52, 56, 50, 52, 45, 56, 98, 99, 101, 45, 51, 101, 53, 102, 55, 102, 57, 98, 97, 57, 57, 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, 53, 101, 56, 55, 99, 98, 53, 37, 50, 68, 57, 99, 100, 56, 37, 50, 68, 52, 49, 50, 48, 37, 50, 68, 57, 55, 98, 51, 37, 50, 68, 102, 101, 56, 52, 98, 55, 53, 101, 48, 51, 101, 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, 48, 58, 49, 49, 58, 53, 54, 46, 55, 55, 50, 49, 56, 54, 54, 55, 52, 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, 54, 97, 50, 52, 49, 52, 51, 50, 45, 99, 53, 97, 56, 45, 52, 50, 97, 53, 45, 56, 57, 52, 101, 45, 57, 101, 51, 57, 100, 51, 48, 102, 97, 48, 100, 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, 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, 53, 101, 56, 55, 99, 98, 53, 45, 57, 99, 100, 56, 45, 52, 49, 50, 48, 45, 57, 55, 98, 51, 45, 102, 101, 56, 52, 98, 55, 53, 101, 48, 51, 101, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 50, 53, 50, 99, 98, 53, 51, 98, 45, 48, 101, 100, 53, 45, 52, 102, 53, 55, 45, 57, 97, 102, 53, 45, 99, 99, 99, 99, 52, 55, 55, 48, 56, 53, 49, 98, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 99, 98, 97, 101, 52, 52, 51, 98, 45, 100, 101, 54, 54, 45, 52, 53, 97, 54, 45, 57, 53, 55, 50, 45, 53, 99, 97, 55, 102, 102, 49, 99, 49, 102, 57, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 53, 101, 56, 55, 99, 98, 53, 37, 50, 68, 57, 99, 100, 56, 37, 50, 68, 52, 49, 50, 48, 37, 50, 68, 57, 55, 98, 51, 37, 50, 68, 102, 101, 56, 52, 98, 55, 53, 101, 48, 51, 101, 101, 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, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:11:57Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/05e87cb5-9cd8-4120-97b3-fe84b75e03ee", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"c7a3dafb-78dd-4824-8bce-3e5f7f9ba995\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://05e87cb5%2D9cd8%2D4120%2D97b3%2Dfe84b75e03ee/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:11:56.772186674Z\",\"data_base64\":\"\",\"deviceuid\":\"6a241432-c5a8-42a5-894e-9e39d30fa0dd\",\"instance\":\"drogue\",\"sender\":\"gateway1\",\"application\":\"05e87cb5-9cd8-4120-97b3-fe84b75e03ee\",\"senderuid\":\"252cb53b-0ed5-4f57-9af5-cccc4770851b\",\"applicationuid\":\"cbae443b-de66-45a6-9572-5ca7ff1c1f91\",\"partitionkey\":\"05e87cb5%2D9cd8%2D4120%2D97b3%2Dfe84b75e03ee/device1\",\"device\":\"device1\"}" }
[2022-05-09T10:11:57Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:11:57Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:11:57Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:11:57Z 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: "05e87cb5-9cd8-4120-97b3-fe84b75e03ee", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "05e87cb5-9cd8-4120-97b3-fe84b75e03ee", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:11:57Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:11:57Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "05e87cb5-9cd8-4120-97b3-fe84b75e03ee" "device1"
[2022-05-09T10:11:57Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:11:57Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:11:57Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "05e87cb5-9cd8-4120-97b3-fe84b75e03ee" "gateway1"
[2022-05-09T10:11:57Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:11:57Z INFO  drogue_cloud_tests::resources::apps] Destroy application '05e87cb5-9cd8-4120-97b3-fe84b75e03ee'
[2022-05-09T10:11:57Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "05e87cb5-9cd8-4120-97b3-fe84b75e03ee"
[2022-05-09T10:11:57Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 05e87cb5-9cd8-4120-97b3-fe84b75e03ee 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-09T10:11:59Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:11:59Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:11:59Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:11:59Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:11: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-09T10:12:00Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:12:01Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:12:01Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:12:01Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:12: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-09T10:12:03Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI5MjMsImlhdCI6MTY1MjA5MTEyMywianRpIjoiM2UyZmQ5ZmItMjk2Ni00NGQ2LWFkNTItMDJhYjk2MTZkMTMwIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlplZlljSFJLanJNUUNaQ0NwakhONmciLCJzZXNzaW9uX3N0YXRlIjoiZjFmZjQyMWMtMWNlMy00ZDZhLWE5MDgtM2JjYTg4YjA3ZTg3Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImYxZmY0MjFjLTFjZTMtNGQ2YS1hOTA4LTNiY2E4OGIwN2U4NyJ9.S87nSDlurEY5BONdBvQcWZvINflIm1jPd0No4Q8SfwI
[2022-05-09T10:12:03Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:12:03Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:12:03Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI5MjMsImlhdCI6MTY1MjA5MTEyMywianRpIjoiM2UyZmQ5ZmItMjk2Ni00NGQ2LWFkNTItMDJhYjk2MTZkMTMwIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlplZlljSFJLanJNUUNaQ0NwakhONmciLCJzZXNzaW9uX3N0YXRlIjoiZjFmZjQyMWMtMWNlMy00ZDZhLWE5MDgtM2JjYTg4YjA3ZTg3Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImYxZmY0MjFjLTFjZTMtNGQ2YS1hOTA4LTNiY2E4OGIwN2U4NyJ9.S87nSDlurEY5BONdBvQcWZvINflIm1jPd0No4Q8SfwI" "--context" "system-tests"
[2022-05-09T10:12:03Z 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-09T10:12:04Z INFO  drogue_cloud_tests::resources::apps] Create application: e368499d-6e94-40eb-8b1b-c361bcc0e1d1
[2022-05-09T10:12:04Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "e368499d-6e94-40eb-8b1b-c361bcc0e1d1"
[2022-05-09T10:12:04Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App e368499d-6e94-40eb-8b1b-c361bcc0e1d1 created.\n", stderr: "" })
[2022-05-09T10:12:04Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "e368499d-6e94-40eb-8b1b-c361bcc0e1d1"
[2022-05-09T10:12:04Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:12:04.446859Z\",\n    \"generation\": 0,\n    \"name\": \"e368499d-6e94-40eb-8b1b-c361bcc0e1d1\",\n    \"resourceVersion\": \"07abbf85-4683-4e9d-9672-34cb7df1073a\",\n    \"uid\": \"34605847-a69d-4a0b-bfb6-fd6ff3e6ff09\"\n  }\n}\n", stderr: "" })
[2022-05-09T10:12:04Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:12:04.446859Z"), "generation": Number(0), "name": String("e368499d-6e94-40eb-8b1b-c361bcc0e1d1"), "resourceVersion": String("07abbf85-4683-4e9d-9672-34cb7df1073a"), "uid": String("34605847-a69d-4a0b-bfb6-fd6ff3e6ff09")})})
[2022-05-09T10:12:04Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:12:05Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "e368499d-6e94-40eb-8b1b-c361bcc0e1d1"
[2022-05-09T10:12:05Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:12:04.446859Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"e368499d-6e94-40eb-8b1b-c361bcc0e1d1\",\n    \"resourceVersion\": \"3a4bf222-492c-4b15-9726-be51aac02653\",\n    \"uid\": \"34605847-a69d-4a0b-bfb6-fd6ff3e6ff09\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:12:04.779363296Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:12:04.779319474Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:04.508057483Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:04.515574065Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:04.591978615Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:04.606005154Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:04.779213376Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:04.779231579Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"Gc9FpU6fPSph\",\n        \"username\": \"user-e368499d-6e94-40eb-8b1b-c361bcc0e1d1\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:12:05Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:12:04.446859Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("e368499d-6e94-40eb-8b1b-c361bcc0e1d1"), "resourceVersion": String("3a4bf222-492c-4b15-9726-be51aac02653"), "uid": String("34605847-a69d-4a0b-bfb6-fd6ff3e6ff09")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:12:04.779363296Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:12:04.779319474Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:12:04.508057483Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:12:04.515574065Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:12:04.591978615Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:12:04.606005154Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:12:04.779213376Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:12:04.779231579Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("Gc9FpU6fPSph"), "username": String("user-e368499d-6e94-40eb-8b1b-c361bcc0e1d1")})})})})
[2022-05-09T10:12:05Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:12:05Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "e368499d-6e94-40eb-8b1b-c361bcc0e1d1"
[2022-05-09T10:12:05Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:12:04.446859Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"e368499d-6e94-40eb-8b1b-c361bcc0e1d1\",\n    \"resourceVersion\": \"3a4bf222-492c-4b15-9726-be51aac02653\",\n    \"uid\": \"34605847-a69d-4a0b-bfb6-fd6ff3e6ff09\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:12:04.779363296Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:12:04.779319474Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:04.508057483Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:04.515574065Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:04.591978615Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:04.606005154Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:04.779213376Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:04.779231579Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"Gc9FpU6fPSph\",\n        \"username\": \"user-e368499d-6e94-40eb-8b1b-c361bcc0e1d1\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:12:05Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:12:04.446859Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("e368499d-6e94-40eb-8b1b-c361bcc0e1d1"), "resourceVersion": String("3a4bf222-492c-4b15-9726-be51aac02653"), "uid": String("34605847-a69d-4a0b-bfb6-fd6ff3e6ff09")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:12:04.779363296Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:12:04.779319474Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:12:04.508057483Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:12:04.515574065Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:12:04.591978615Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:12:04.606005154Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:12:04.779213376Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:12:04.779231579Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("Gc9FpU6fPSph"), "username": String("user-e368499d-6e94-40eb-8b1b-c361bcc0e1d1")})})})})
[2022-05-09T10:12:05Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:12:05Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:12:05Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "e368499d-6e94-40eb-8b1b-c361bcc0e1d1" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:12:05Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:12:05Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:12:05Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:12:05Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:12:05Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE0MjMsImlhdCI6MTY1MjA5MTEyMywiYXV0aF90aW1lIjoxNjUyMDkxMTIwLCJqdGkiOiIyOGVkNDM3Yi02YzJkLTQwOGYtYjk5NC1lZjg5YmU2YWMwODQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJaZWZZY0hSS2pyTVFDWkNDcGpITjZnIiwic2Vzc2lvbl9zdGF0ZSI6ImYxZmY0MjFjLTFjZTMtNGQ2YS1hOTA4LTNiY2E4OGIwN2U4NyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImYxZmY0MjFjLTFjZTMtNGQ2YS1hOTA4LTNiY2E4OGIwN2U4NyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.N63i9ABTcKxHRjetBR-RNxE08q3a7H0qgaOQtf3nKkh5b1pPD8rfodaep-7JatdloStc507gYyZUKOzTMrW46daDnYGoSObvFUNLe7IVak04P0sPlcvzNNZCcbNmJJVFL267D21i0XgW9_93QVtzk5t8id5U_uwWafKi9xoO1pJyrDVV1kcbx1Kbb_91nNOEGdVgC3gmO8YNtMAvcefR7lgBHa7aiRuuw4zguUcPpYaqiFenvBNQBvrtOvBtdT5Y6VgXhrrcIxm3PnP_NbRSErkY3aAKEkCXkOtRZZLJwYb1Yiq0afy4XyOF0UMx4pl4uobFdm5uHOdVvi5GRlOQCw\n", stderr: "" })
[2022-05-09T10:12:05Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:12:05Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:12:05Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:12:05Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "e368499d-6e94-40eb-8b1b-c361bcc0e1d1" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:12:05Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:12:05Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T10:12:05Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:12:05Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE0MjMsImlhdCI6MTY1MjA5MTEyMywiYXV0aF90aW1lIjoxNjUyMDkxMTIwLCJqdGkiOiIyOGVkNDM3Yi02YzJkLTQwOGYtYjk5NC1lZjg5YmU2YWMwODQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJaZWZZY0hSS2pyTVFDWkNDcGpITjZnIiwic2Vzc2lvbl9zdGF0ZSI6ImYxZmY0MjFjLTFjZTMtNGQ2YS1hOTA4LTNiY2E4OGIwN2U4NyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImYxZmY0MjFjLTFjZTMtNGQ2YS1hOTA4LTNiY2E4OGIwN2U4NyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.N63i9ABTcKxHRjetBR-RNxE08q3a7H0qgaOQtf3nKkh5b1pPD8rfodaep-7JatdloStc507gYyZUKOzTMrW46daDnYGoSObvFUNLe7IVak04P0sPlcvzNNZCcbNmJJVFL267D21i0XgW9_93QVtzk5t8id5U_uwWafKi9xoO1pJyrDVV1kcbx1Kbb_91nNOEGdVgC3gmO8YNtMAvcefR7lgBHa7aiRuuw4zguUcPpYaqiFenvBNQBvrtOvBtdT5Y6VgXhrrcIxm3PnP_NbRSErkY3aAKEkCXkOtRZZLJwYb1Yiq0afy4XyOF0UMx4pl4uobFdm5uHOdVvi5GRlOQCw\n", stderr: "" })
[2022-05-09T10:12: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: "bfef64b6-7450-4c04-8fcf-933499f0c151", persistence: None, user_data: None }
[2022-05-09T10:12:05Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:12:05Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc19bb80
[2022-05-09T10:12:05Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc19bb80
[2022-05-09T10:12: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: 0x55efdc19bec0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc199c40, 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: 0x55efdc19a980, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE0MjMsImlhdCI6MTY1MjA5MTEyMywiYXV0aF90aW1lIjoxNjUyMDkxMTIwLCJqdGkiOiIyOGVkNDM3Yi02YzJkLTQwOGYtYjk5NC1lZjg5YmU2YWMwODQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJaZWZZY0hSS2pyTVFDWkNDcGpITjZnIiwic2Vzc2lvbl9zdGF0ZSI6ImYxZmY0MjFjLTFjZTMtNGQ2YS1hOTA4LTNiY2E4OGIwN2U4NyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImYxZmY0MjFjLTFjZTMtNGQ2YS1hOTA4LTNiY2E4OGIwN2U4NyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.N63i9ABTcKxHRjetBR-RNxE08q3a7H0qgaOQtf3nKkh5b1pPD8rfodaep-7JatdloStc507gYyZUKOzTMrW46daDnYGoSObvFUNLe7IVak04P0sPlcvzNNZCcbNmJJVFL267D21i0XgW9_93QVtzk5t8id5U_uwWafKi9xoO1pJyrDVV1kcbx1Kbb_91nNOEGdVgC3gmO8YNtMAvcefR7lgBHa7aiRuuw4zguUcPpYaqiFenvBNQBvrtOvBtdT5Y6VgXhrrcIxm3PnP_NbRSErkY3aAKEkCXkOtRZZLJwYb1Yiq0afy4XyOF0UMx4pl4uobFdm5uHOdVvi5GRlOQCw"), 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-09T10:12:05Z DEBUG paho_mqtt::async_client] Subscribe to '"app/e368499d-6e94-40eb-8b1b-c361bcc0e1d1"' @ QOS 0
[2022-05-09T10:12:05Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:12:05Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:12:05Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:12: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-09T10:12:05Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:12: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-09T10:12:07Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:12: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-09T10:12:07Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:12: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-09T10:12:08Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:12: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-09T10:12:08Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:12: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-09T10:12:09Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:12: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-09T10:12:09Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:12: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-09T10:12:09Z 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: 0x7f0edc001390, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc001610 } }, data: MessageData { topic: "app/e368499d-6e94-40eb-8b1b-c361bcc0e1d1", 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, 49, 50, 99, 52, 50, 52, 99, 45, 53, 102, 51, 56, 45, 52, 48, 100, 98, 45, 57, 50, 97, 99, 45, 101, 53, 99, 56, 54, 50, 53, 100, 99, 102, 97, 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, 101, 51, 54, 56, 52, 57, 57, 100, 37, 50, 68, 54, 101, 57, 52, 37, 50, 68, 52, 48, 101, 98, 37, 50, 68, 56, 98, 49, 98, 37, 50, 68, 99, 51, 54, 49, 98, 99, 99, 48, 101, 49, 100, 49, 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, 48, 58, 49, 50, 58, 48, 57, 46, 52, 54, 55, 56, 55, 57, 48, 54, 48, 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, 101, 51, 54, 56, 52, 57, 57, 100, 37, 50, 68, 54, 101, 57, 52, 37, 50, 68, 52, 48, 101, 98, 37, 50, 68, 56, 98, 49, 98, 37, 50, 68, 99, 51, 54, 49, 98, 99, 99, 48, 101, 49, 100, 49, 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, 101, 51, 54, 56, 52, 57, 57, 100, 45, 54, 101, 57, 52, 45, 52, 48, 101, 98, 45, 56, 98, 49, 98, 45, 99, 51, 54, 49, 98, 99, 99, 48, 101, 49, 100, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 99, 53, 97, 100, 51, 56, 98, 101, 45, 97, 48, 99, 50, 45, 52, 55, 49, 98, 45, 98, 97, 100, 99, 45, 101, 48, 100, 100, 98, 53, 54, 101, 100, 57, 101, 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, 51, 52, 54, 48, 53, 56, 52, 55, 45, 97, 54, 57, 100, 45, 52, 97, 48, 98, 45, 98, 102, 98, 54, 45, 102, 100, 54, 102, 102, 51, 101, 54, 102, 102, 48, 57, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 53, 99, 55, 49, 97, 97, 99, 53, 45, 54, 98, 53, 52, 45, 52, 53, 97, 48, 45, 97, 54, 99, 97, 45, 51, 55, 101, 48, 97, 51, 50, 52, 99, 100, 53, 53, 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, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc001610 } } } }
[2022-05-09T10:12:09Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbf86250
[2022-05-09T10:12:09Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/e368499d-6e94-40eb-8b1b-c361bcc0e1d1", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"b12c424c-5f38-40db-92ac-e5c8625dcfa7\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://e368499d%2D6e94%2D40eb%2D8b1b%2Dc361bcc0e1d1/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:12:09.467879060Z\",\"data\":{\"index\":3},\"partitionkey\":\"e368499d%2D6e94%2D40eb%2D8b1b%2Dc361bcc0e1d1/device1\",\"application\":\"e368499d-6e94-40eb-8b1b-c361bcc0e1d1\",\"deviceuid\":\"c5ad38be-a0c2-471b-badc-e0ddb56ed9ea\",\"sender\":\"gateway1\",\"applicationuid\":\"34605847-a69d-4a0b-bfb6-fd6ff3e6ff09\",\"senderuid\":\"5c71aac5-6b54-45a0-a6ca-37e0a324cd55\",\"instance\":\"drogue\",\"device\":\"device1\"}" }
[2022-05-09T10:12:10Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:12:10Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:12:10Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:12:10Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:12: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-endpoint.172.18.0.2.nip.io:30001", client_id: "87339b1d-6696-434b-b21f-f9ff7b1a317f", persistence: None, user_data: None }
[2022-05-09T10:12:10Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:12:10Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbf869e0
[2022-05-09T10:12:10Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbf869e0
[2022-05-09T10:12: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: 0x55efdbf0eb30, password: 0x55efdbeb4c00, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbece870, 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: 0x55efdc270410, 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@e368499d-6e94-40eb-8b1b-c361bcc0e1d1"), 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-09T10:12:10Z 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: 0x55efdc2ce8b0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdc2ce8b0 } } } }
[2022-05-09T10:12:10Z 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: 0x7f0edc02bdc0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc02c050 } }, data: MessageData { topic: "app/e368499d-6e94-40eb-8b1b-c361bcc0e1d1", 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, 55, 99, 51, 99, 50, 53, 45, 50, 55, 98, 53, 45, 52, 54, 55, 55, 45, 57, 56, 56, 99, 45, 101, 49, 55, 51, 53, 54, 98, 49, 48, 57, 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, 101, 51, 54, 56, 52, 57, 57, 100, 37, 50, 68, 54, 101, 57, 52, 37, 50, 68, 52, 48, 101, 98, 37, 50, 68, 56, 98, 49, 98, 37, 50, 68, 99, 51, 54, 49, 98, 99, 99, 48, 101, 49, 100, 49, 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, 48, 58, 49, 50, 58, 49, 48, 46, 53, 56, 55, 57, 51, 53, 53, 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, 101, 51, 54, 56, 52, 57, 57, 100, 45, 54, 101, 57, 52, 45, 52, 48, 101, 98, 45, 56, 98, 49, 98, 45, 99, 51, 54, 49, 98, 99, 99, 48, 101, 49, 100, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 101, 51, 54, 56, 52, 57, 57, 100, 37, 50, 68, 54, 101, 57, 52, 37, 50, 68, 52, 48, 101, 98, 37, 50, 68, 56, 98, 49, 98, 37, 50, 68, 99, 51, 54, 49, 98, 99, 99, 48, 101, 49, 100, 49, 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, 51, 52, 54, 48, 53, 56, 52, 55, 45, 97, 54, 57, 100, 45, 52, 97, 48, 98, 45, 98, 102, 98, 54, 45, 102, 100, 54, 102, 102, 51, 101, 54, 102, 102, 48, 57, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 53, 99, 55, 49, 97, 97, 99, 53, 45, 54, 98, 53, 52, 45, 52, 53, 97, 48, 45, 97, 54, 99, 97, 45, 51, 55, 101, 48, 97, 51, 50, 52, 99, 100, 53, 53, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 53, 99, 55, 49, 97, 97, 99, 53, 45, 54, 98, 53, 52, 45, 52, 53, 97, 48, 45, 97, 54, 99, 97, 45, 51, 55, 101, 48, 97, 51, 50, 52, 99, 100, 53, 53, 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, 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: 0x7f0edc02c050 } } } }
[2022-05-09T10:12:10Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbf86250
[2022-05-09T10:12:10Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:12:10Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/e368499d-6e94-40eb-8b1b-c361bcc0e1d1", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"ae7c3c25-27b5-4677-988c-e17356b109dc\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://e368499d%2D6e94%2D40eb%2D8b1b%2Dc361bcc0e1d1/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:12:10.587935557Z\",\"data\":{\"connected\":true},\"application\":\"e368499d-6e94-40eb-8b1b-c361bcc0e1d1\",\"partitionkey\":\"e368499d%2D6e94%2D40eb%2D8b1b%2Dc361bcc0e1d1/gateway1\",\"applicationuid\":\"34605847-a69d-4a0b-bfb6-fd6ff3e6ff09\",\"senderuid\":\"5c71aac5-6b54-45a0-a6ca-37e0a324cd55\",\"deviceuid\":\"5c71aac5-6b54-45a0-a6ca-37e0a324cd55\",\"instance\":\"drogue\",\"device\":\"gateway1\",\"sender\":\"gateway1\"}" }
[2022-05-09T10:12: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: 0x7f0edc00d6d0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc016e90 } }, data: MessageData { topic: "app/e368499d-6e94-40eb-8b1b-c361bcc0e1d1", 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, 99, 100, 52, 101, 48, 50, 45, 50, 53, 56, 97, 45, 52, 98, 99, 102, 45, 57, 50, 97, 55, 45, 57, 50, 49, 48, 55, 53, 51, 50, 55, 54, 48, 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, 51, 54, 56, 52, 57, 57, 100, 37, 50, 68, 54, 101, 57, 52, 37, 50, 68, 52, 48, 101, 98, 37, 50, 68, 56, 98, 49, 98, 37, 50, 68, 99, 51, 54, 49, 98, 99, 99, 48, 101, 49, 100, 49, 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, 48, 58, 49, 50, 58, 49, 48, 46, 55, 56, 51, 50, 55, 55, 54, 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, 102, 97, 108, 115, 101, 125, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 101, 51, 54, 56, 52, 57, 57, 100, 37, 50, 68, 54, 101, 57, 52, 37, 50, 68, 52, 48, 101, 98, 37, 50, 68, 56, 98, 49, 98, 37, 50, 68, 99, 51, 54, 49, 98, 99, 99, 48, 101, 49, 100, 49, 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, 51, 52, 54, 48, 53, 56, 52, 55, 45, 97, 54, 57, 100, 45, 52, 97, 48, 98, 45, 98, 102, 98, 54, 45, 102, 100, 54, 102, 102, 51, 101, 54, 102, 102, 48, 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, 53, 99, 55, 49, 97, 97, 99, 53, 45, 54, 98, 53, 52, 45, 52, 53, 97, 48, 45, 97, 54, 99, 97, 45, 51, 55, 101, 48, 97, 51, 50, 52, 99, 100, 53, 53, 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, 53, 99, 55, 49, 97, 97, 99, 53, 45, 54, 98, 53, 52, 45, 52, 53, 97, 48, 45, 97, 54, 99, 97, 45, 51, 55, 101, 48, 97, 51, 50, 52, 99, 100, 53, 53, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 101, 51, 54, 56, 52, 57, 57, 100, 45, 54, 101, 57, 52, 45, 52, 48, 101, 98, 45, 56, 98, 49, 98, 45, 99, 51, 54, 49, 98, 99, 99, 48, 101, 49, 100, 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: 0x7f0edc016e90 } } } }
[2022-05-09T10:12:10Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbf86250
[2022-05-09T10:12:10Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/e368499d-6e94-40eb-8b1b-c361bcc0e1d1", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"32cd4e02-258a-4bcf-92a7-921075327603\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://e368499d%2D6e94%2D40eb%2D8b1b%2Dc361bcc0e1d1/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:12:10.783277654Z\",\"data\":{\"connected\":false},\"partitionkey\":\"e368499d%2D6e94%2D40eb%2D8b1b%2Dc361bcc0e1d1/gateway1\",\"applicationuid\":\"34605847-a69d-4a0b-bfb6-fd6ff3e6ff09\",\"device\":\"gateway1\",\"deviceuid\":\"5c71aac5-6b54-45a0-a6ca-37e0a324cd55\",\"sender\":\"gateway1\",\"senderuid\":\"5c71aac5-6b54-45a0-a6ca-37e0a324cd55\",\"application\":\"e368499d-6e94-40eb-8b1b-c361bcc0e1d1\",\"instance\":\"drogue\"}" }
[2022-05-09T10:12:11Z 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: 0x7f0edc02c1f0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc02c470 } }, data: MessageData { topic: "app/e368499d-6e94-40eb-8b1b-c361bcc0e1d1", 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, 52, 54, 49, 56, 102, 50, 45, 97, 102, 102, 49, 45, 52, 51, 48, 57, 45, 97, 51, 52, 100, 45, 56, 50, 99, 51, 53, 55, 50, 97, 98, 102, 99, 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, 101, 51, 54, 56, 52, 57, 57, 100, 37, 50, 68, 54, 101, 57, 52, 37, 50, 68, 52, 48, 101, 98, 37, 50, 68, 56, 98, 49, 98, 37, 50, 68, 99, 51, 54, 49, 98, 99, 99, 48, 101, 49, 100, 49, 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, 48, 58, 49, 50, 58, 49, 48, 46, 55, 56, 50, 53, 48, 50, 49, 56, 52, 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, 101, 51, 54, 56, 52, 57, 57, 100, 37, 50, 68, 54, 101, 57, 52, 37, 50, 68, 52, 48, 101, 98, 37, 50, 68, 56, 98, 49, 98, 37, 50, 68, 99, 51, 54, 49, 98, 99, 99, 48, 101, 49, 100, 49, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 53, 99, 55, 49, 97, 97, 99, 53, 45, 54, 98, 53, 52, 45, 52, 53, 97, 48, 45, 97, 54, 99, 97, 45, 51, 55, 101, 48, 97, 51, 50, 52, 99, 100, 53, 53, 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, 51, 52, 54, 48, 53, 56, 52, 55, 45, 97, 54, 57, 100, 45, 52, 97, 48, 98, 45, 98, 102, 98, 54, 45, 102, 100, 54, 102, 102, 51, 101, 54, 102, 102, 48, 57, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 101, 51, 54, 56, 52, 57, 57, 100, 45, 54, 101, 57, 52, 45, 52, 48, 101, 98, 45, 56, 98, 49, 98, 45, 99, 51, 54, 49, 98, 99, 99, 48, 101, 49, 100, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 99, 53, 97, 100, 51, 56, 98, 101, 45, 97, 48, 99, 50, 45, 52, 55, 49, 98, 45, 98, 97, 100, 99, 45, 101, 48, 100, 100, 98, 53, 54, 101, 100, 57, 101, 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: 0x7f0edc02c470 } } } }
[2022-05-09T10:12:11Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbf86250
[2022-05-09T10:12:11Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/e368499d-6e94-40eb-8b1b-c361bcc0e1d1", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"044618f2-aff1-4309-a34d-82c3572abfcf\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://e368499d%2D6e94%2D40eb%2D8b1b%2Dc361bcc0e1d1/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:12:10.782502184Z\",\"data_base64\":\"\",\"partitionkey\":\"e368499d%2D6e94%2D40eb%2D8b1b%2Dc361bcc0e1d1/device1\",\"senderuid\":\"5c71aac5-6b54-45a0-a6ca-37e0a324cd55\",\"sender\":\"gateway1\",\"device\":\"device1\",\"applicationuid\":\"34605847-a69d-4a0b-bfb6-fd6ff3e6ff09\",\"application\":\"e368499d-6e94-40eb-8b1b-c361bcc0e1d1\",\"deviceuid\":\"c5ad38be-a0c2-471b-badc-e0ddb56ed9ea\",\"instance\":\"drogue\"}" }
[2022-05-09T10:12:11Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:12:11Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:12:11Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:12:11Z 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: "e368499d-6e94-40eb-8b1b-c361bcc0e1d1", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "e368499d-6e94-40eb-8b1b-c361bcc0e1d1", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:12:11Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:12:11Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "e368499d-6e94-40eb-8b1b-c361bcc0e1d1" "device1"
[2022-05-09T10:12:11Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:12:11Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:12:11Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "e368499d-6e94-40eb-8b1b-c361bcc0e1d1" "gateway1"
[2022-05-09T10:12:11Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:12:11Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'e368499d-6e94-40eb-8b1b-c361bcc0e1d1'
[2022-05-09T10:12:11Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "e368499d-6e94-40eb-8b1b-c361bcc0e1d1"
[2022-05-09T10:12:11Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App e368499d-6e94-40eb-8b1b-c361bcc0e1d1 deleted.\n", stderr: "" })

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

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T10:12:13Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:12:13Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:12:13Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:12:13Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:12:13Z 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-09T10:12:14Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:12:15Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:12:15Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:12:15Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:12: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-09T10:12:17Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI5MzcsImlhdCI6MTY1MjA5MTEzNywianRpIjoiNzhiNjFhM2QtODIxYS00ZGJmLWE2MTMtYWI1NmQzMDAxYTdlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlNpWVhuQlhRUjJhTXA4alZhb2VNTXciLCJzZXNzaW9uX3N0YXRlIjoiODJiM2EyODQtOWRmOS00ODM1LTg4MmEtMzdlOTg4NmViMTczIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjgyYjNhMjg0LTlkZjktNDgzNS04ODJhLTM3ZTk4ODZlYjE3MyJ9.O85IiL2jh7rDqbmjsD2GrihFY2fQwvXrn0mr2te7hwc
[2022-05-09T10:12:17Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:12:17Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:12:17Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI5MzcsImlhdCI6MTY1MjA5MTEzNywianRpIjoiNzhiNjFhM2QtODIxYS00ZGJmLWE2MTMtYWI1NmQzMDAxYTdlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlNpWVhuQlhRUjJhTXA4alZhb2VNTXciLCJzZXNzaW9uX3N0YXRlIjoiODJiM2EyODQtOWRmOS00ODM1LTg4MmEtMzdlOTg4NmViMTczIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjgyYjNhMjg0LTlkZjktNDgzNS04ODJhLTM3ZTk4ODZlYjE3MyJ9.O85IiL2jh7rDqbmjsD2GrihFY2fQwvXrn0mr2te7hwc" "--context" "system-tests"
[2022-05-09T10:12: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-09T10:12:18Z INFO  drogue_cloud_tests::resources::apps] Create application: c8b9a876-2e15-4df7-9b09-98ed27b5d7c5
[2022-05-09T10:12:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "c8b9a876-2e15-4df7-9b09-98ed27b5d7c5"
[2022-05-09T10:12:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App c8b9a876-2e15-4df7-9b09-98ed27b5d7c5 created.\n", stderr: "" })
[2022-05-09T10:12:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "c8b9a876-2e15-4df7-9b09-98ed27b5d7c5"
[2022-05-09T10:12:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:12:18.369813Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"c8b9a876-2e15-4df7-9b09-98ed27b5d7c5\",\n    \"resourceVersion\": \"640267f5-ef18-441f-ae5c-77834186ca8e\",\n    \"uid\": \"f601dc47-5807-43e9-9330-8c39e1c302ee\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:12:18.399063645Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:12:18.399036183Z\",\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-09T10:12:18.398951235Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:18.398952076Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:18.398952467Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:18.398952948Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:18.398953529Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:18.398981742Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:12:18Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:12:18.369813Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("c8b9a876-2e15-4df7-9b09-98ed27b5d7c5"), "resourceVersion": String("640267f5-ef18-441f-ae5c-77834186ca8e"), "uid": String("f601dc47-5807-43e9-9330-8c39e1c302ee")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:12:18.399063645Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:12:18.399036183Z"), "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-09T10:12:18.398951235Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:12:18.398952076Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:12:18.398952467Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:12:18.398952948Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:12:18.398953529Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:12:18.398981742Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T10:12:18Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:12:19Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "c8b9a876-2e15-4df7-9b09-98ed27b5d7c5"
[2022-05-09T10:12:19Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:12:18.369813Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"c8b9a876-2e15-4df7-9b09-98ed27b5d7c5\",\n    \"resourceVersion\": \"f0b3f00b-5546-479e-bde7-daadaf169227\",\n    \"uid\": \"f601dc47-5807-43e9-9330-8c39e1c302ee\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:12:18.674272857Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:12:18.674229055Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:18.422084537Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:18.429262183Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:18.496312861Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:18.503256159Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:18.674182538Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:18.674201083Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"fESG8CniDuuI\",\n        \"username\": \"user-c8b9a876-2e15-4df7-9b09-98ed27b5d7c5\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:12:19Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:12:18.369813Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("c8b9a876-2e15-4df7-9b09-98ed27b5d7c5"), "resourceVersion": String("f0b3f00b-5546-479e-bde7-daadaf169227"), "uid": String("f601dc47-5807-43e9-9330-8c39e1c302ee")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:12:18.674272857Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:12:18.674229055Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:12:18.422084537Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:12:18.429262183Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:12:18.496312861Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:12:18.503256159Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:12:18.674182538Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:12:18.674201083Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("fESG8CniDuuI"), "username": String("user-c8b9a876-2e15-4df7-9b09-98ed27b5d7c5")})})})})
[2022-05-09T10:12:19Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:12:19Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "c8b9a876-2e15-4df7-9b09-98ed27b5d7c5"
[2022-05-09T10:12:19Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:12:18.369813Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"c8b9a876-2e15-4df7-9b09-98ed27b5d7c5\",\n    \"resourceVersion\": \"f0b3f00b-5546-479e-bde7-daadaf169227\",\n    \"uid\": \"f601dc47-5807-43e9-9330-8c39e1c302ee\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:12:18.674272857Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:12:18.674229055Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:18.422084537Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:18.429262183Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:18.496312861Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:18.503256159Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:18.674182538Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:18.674201083Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"fESG8CniDuuI\",\n        \"username\": \"user-c8b9a876-2e15-4df7-9b09-98ed27b5d7c5\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:12:19Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:12:18.369813Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("c8b9a876-2e15-4df7-9b09-98ed27b5d7c5"), "resourceVersion": String("f0b3f00b-5546-479e-bde7-daadaf169227"), "uid": String("f601dc47-5807-43e9-9330-8c39e1c302ee")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:12:18.674272857Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:12:18.674229055Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:12:18.422084537Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:12:18.429262183Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:12:18.496312861Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:12:18.503256159Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:12:18.674182538Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:12:18.674201083Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("fESG8CniDuuI"), "username": String("user-c8b9a876-2e15-4df7-9b09-98ed27b5d7c5")})})})})
[2022-05-09T10:12:19Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:12:19Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:12:19Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "c8b9a876-2e15-4df7-9b09-98ed27b5d7c5" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:12:19Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:12:19Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:12:19Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:12:19Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:12:19Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE0MzcsImlhdCI6MTY1MjA5MTEzNywiYXV0aF90aW1lIjoxNjUyMDkxMTM0LCJqdGkiOiI2YWE0MWRjMy1hZjYwLTQyZTQtYTE4Mi00NjdlMjdhNGJiZTYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJTaVlYbkJYUVIyYU1wOGpWYW9lTU13Iiwic2Vzc2lvbl9zdGF0ZSI6IjgyYjNhMjg0LTlkZjktNDgzNS04ODJhLTM3ZTk4ODZlYjE3MyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjgyYjNhMjg0LTlkZjktNDgzNS04ODJhLTM3ZTk4ODZlYjE3MyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.T4IvdfAPDuZltubm0nxnIlnO2TPRuwsoTa4nRG0_NRIKuH19MoYPY3NQoyhFBxVxKcdNZWmBpmiI8wF5dc0ssC_HYP2Bz8vtmRnlFslZ6X5u2Y6KuroNMnKZD4Ct7nxO-8-aWM9I3aeNVjK_nwwY66zHzuOHOLoyn4scTa2gMaNSwlIUKkbzEM4e1pVN3vuFyFfAmVsQOjUPl5KYPDYK8xIDDwAiZuTZy-QYzlV2nGm0QPkptlW4I35W5_9MepnI1CDprduSHvXaFfg9MFWH3rudJCsceYs26wXKbGKf4DNwQF9oN_gwv15RJXXsFu03q9eejDNS2XhECzFA3fGUsg\n", stderr: "" })
[2022-05-09T10:12:19Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:12:19Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:12:19Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:12:19Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "c8b9a876-2e15-4df7-9b09-98ed27b5d7c5" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:12:19Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:12:19Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T10:12:19Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:12:19Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE0MzcsImlhdCI6MTY1MjA5MTEzNywiYXV0aF90aW1lIjoxNjUyMDkxMTM0LCJqdGkiOiI2YWE0MWRjMy1hZjYwLTQyZTQtYTE4Mi00NjdlMjdhNGJiZTYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJTaVlYbkJYUVIyYU1wOGpWYW9lTU13Iiwic2Vzc2lvbl9zdGF0ZSI6IjgyYjNhMjg0LTlkZjktNDgzNS04ODJhLTM3ZTk4ODZlYjE3MyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjgyYjNhMjg0LTlkZjktNDgzNS04ODJhLTM3ZTk4ODZlYjE3MyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.T4IvdfAPDuZltubm0nxnIlnO2TPRuwsoTa4nRG0_NRIKuH19MoYPY3NQoyhFBxVxKcdNZWmBpmiI8wF5dc0ssC_HYP2Bz8vtmRnlFslZ6X5u2Y6KuroNMnKZD4Ct7nxO-8-aWM9I3aeNVjK_nwwY66zHzuOHOLoyn4scTa2gMaNSwlIUKkbzEM4e1pVN3vuFyFfAmVsQOjUPl5KYPDYK8xIDDwAiZuTZy-QYzlV2nGm0QPkptlW4I35W5_9MepnI1CDprduSHvXaFfg9MFWH3rudJCsceYs26wXKbGKf4DNwQF9oN_gwv15RJXXsFu03q9eejDNS2XhECzFA3fGUsg\n", stderr: "" })
[2022-05-09T10:12: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: "04e69bfe-e6cb-447d-9b24-a5a73cb9da00", persistence: None, user_data: None }
[2022-05-09T10:12:19Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:12:19Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbfac450
[2022-05-09T10:12:19Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbfac450
[2022-05-09T10:12: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: 0x55efdbfaa820, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc2d6410, 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: 0x55efdbf74dd0, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE0MzcsImlhdCI6MTY1MjA5MTEzNywiYXV0aF90aW1lIjoxNjUyMDkxMTM0LCJqdGkiOiI2YWE0MWRjMy1hZjYwLTQyZTQtYTE4Mi00NjdlMjdhNGJiZTYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJTaVlYbkJYUVIyYU1wOGpWYW9lTU13Iiwic2Vzc2lvbl9zdGF0ZSI6IjgyYjNhMjg0LTlkZjktNDgzNS04ODJhLTM3ZTk4ODZlYjE3MyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjgyYjNhMjg0LTlkZjktNDgzNS04ODJhLTM3ZTk4ODZlYjE3MyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.T4IvdfAPDuZltubm0nxnIlnO2TPRuwsoTa4nRG0_NRIKuH19MoYPY3NQoyhFBxVxKcdNZWmBpmiI8wF5dc0ssC_HYP2Bz8vtmRnlFslZ6X5u2Y6KuroNMnKZD4Ct7nxO-8-aWM9I3aeNVjK_nwwY66zHzuOHOLoyn4scTa2gMaNSwlIUKkbzEM4e1pVN3vuFyFfAmVsQOjUPl5KYPDYK8xIDDwAiZuTZy-QYzlV2nGm0QPkptlW4I35W5_9MepnI1CDprduSHvXaFfg9MFWH3rudJCsceYs26wXKbGKf4DNwQF9oN_gwv15RJXXsFu03q9eejDNS2XhECzFA3fGUsg"), 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-09T10:12:19Z DEBUG paho_mqtt::async_client] Subscribe to '"app/c8b9a876-2e15-4df7-9b09-98ed27b5d7c5"' @ QOS 0
[2022-05-09T10:12:19Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:12:19Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:12:19Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:12: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-09T10:12:19Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:12: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-09T10:12:21Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:12: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-09T10:12:21Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:12: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-09T10:12:22Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:12: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-09T10:12:22Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:12: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-09T10:12:23Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:12: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-09T10:12:23Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:12: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-09T10:12:23Z 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: 0x7f0edc01e060, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc017db0 } }, data: MessageData { topic: "app/c8b9a876-2e15-4df7-9b09-98ed27b5d7c5", 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, 101, 100, 48, 102, 56, 99, 45, 55, 49, 55, 49, 45, 52, 50, 56, 53, 45, 56, 56, 49, 100, 45, 49, 97, 101, 49, 52, 56, 101, 49, 99, 100, 49, 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, 99, 56, 98, 57, 97, 56, 55, 54, 37, 50, 68, 50, 101, 49, 53, 37, 50, 68, 52, 100, 102, 55, 37, 50, 68, 57, 98, 48, 57, 37, 50, 68, 57, 56, 101, 100, 50, 55, 98, 53, 100, 55, 99, 53, 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, 48, 58, 49, 50, 58, 50, 51, 46, 52, 56, 49, 48, 52, 57, 57, 48, 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, 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, 99, 56, 98, 57, 97, 56, 55, 54, 45, 50, 101, 49, 53, 45, 52, 100, 102, 55, 45, 57, 98, 48, 57, 45, 57, 56, 101, 100, 50, 55, 98, 53, 100, 55, 99, 53, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 102, 54, 48, 49, 100, 99, 52, 55, 45, 53, 56, 48, 55, 45, 52, 51, 101, 57, 45, 57, 51, 51, 48, 45, 56, 99, 51, 57, 101, 49, 99, 51, 48, 50, 101, 101, 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, 53, 102, 100, 49, 101, 51, 101, 101, 45, 57, 55, 101, 52, 45, 52, 53, 55, 49, 45, 56, 98, 52, 48, 45, 57, 48, 97, 98, 54, 99, 55, 50, 102, 57, 98, 57, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 57, 51, 54, 97, 98, 50, 57, 53, 45, 53, 101, 53, 55, 45, 52, 98, 57, 50, 45, 98, 97, 49, 56, 45, 53, 99, 98, 100, 52, 97, 97, 51, 99, 57, 54, 51, 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, 56, 98, 57, 97, 56, 55, 54, 37, 50, 68, 50, 101, 49, 53, 37, 50, 68, 52, 100, 102, 55, 37, 50, 68, 57, 98, 48, 57, 37, 50, 68, 57, 56, 101, 100, 50, 55, 98, 53, 100, 55, 99, 53, 47, 100, 101, 118, 105, 99, 101, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc017db0 } } } }
[2022-05-09T10:12:23Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdc200da0
[2022-05-09T10:12:23Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/c8b9a876-2e15-4df7-9b09-98ed27b5d7c5", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"05ed0f8c-7171-4285-881d-1ae148e1cd13\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://c8b9a876%2D2e15%2D4df7%2D9b09%2D98ed27b5d7c5/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:12:23.481049902Z\",\"data\":{\"index\":3},\"device\":\"device1\",\"application\":\"c8b9a876-2e15-4df7-9b09-98ed27b5d7c5\",\"applicationuid\":\"f601dc47-5807-43e9-9330-8c39e1c302ee\",\"sender\":\"gateway1\",\"senderuid\":\"5fd1e3ee-97e4-4571-8b40-90ab6c72f9b9\",\"deviceuid\":\"936ab295-5e57-4b92-ba18-5cbd4aa3c963\",\"instance\":\"drogue\",\"partitionkey\":\"c8b9a876%2D2e15%2D4df7%2D9b09%2D98ed27b5d7c5/device1\"}" }
[2022-05-09T10:12:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:12:24Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:12:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:12:24Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:12: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: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "0880538e-0011-4c90-884b-9e0086e27e50", persistence: None, user_data: None }
[2022-05-09T10:12:24Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:12:24Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc1af990
[2022-05-09T10:12:24Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc1af990
[2022-05-09T10:12:24Z 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: 0x55efdc276e60, password: 0x55efdbf75330, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc200e30, 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: 0x55efdc2784f0, 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@c8b9a876-2e15-4df7-9b09-98ed27b5d7c5"), 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-09T10:12: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: 0x7f0edc01af20, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc01b1b0 } }, data: MessageData { topic: "app/c8b9a876-2e15-4df7-9b09-98ed27b5d7c5", 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, 48, 97, 100, 99, 101, 53, 45, 48, 57, 49, 97, 45, 52, 50, 56, 102, 45, 98, 97, 52, 102, 45, 97, 48, 97, 97, 54, 48, 102, 50, 97, 56, 48, 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, 99, 56, 98, 57, 97, 56, 55, 54, 37, 50, 68, 50, 101, 49, 53, 37, 50, 68, 52, 100, 102, 55, 37, 50, 68, 57, 98, 48, 57, 37, 50, 68, 57, 56, 101, 100, 50, 55, 98, 53, 100, 55, 99, 53, 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, 48, 58, 49, 50, 58, 50, 52, 46, 54, 48, 53, 55, 57, 53, 51, 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, 116, 114, 117, 101, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 102, 54, 48, 49, 100, 99, 52, 55, 45, 53, 56, 48, 55, 45, 52, 51, 101, 57, 45, 57, 51, 51, 48, 45, 56, 99, 51, 57, 101, 49, 99, 51, 48, 50, 101, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 99, 56, 98, 57, 97, 56, 55, 54, 45, 50, 101, 49, 53, 45, 52, 100, 102, 55, 45, 57, 98, 48, 57, 45, 57, 56, 101, 100, 50, 55, 98, 53, 100, 55, 99, 53, 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, 53, 102, 100, 49, 101, 51, 101, 101, 45, 57, 55, 101, 52, 45, 52, 53, 55, 49, 45, 56, 98, 52, 48, 45, 57, 48, 97, 98, 54, 99, 55, 50, 102, 57, 98, 57, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 99, 56, 98, 57, 97, 56, 55, 54, 37, 50, 68, 50, 101, 49, 53, 37, 50, 68, 52, 100, 102, 55, 37, 50, 68, 57, 98, 48, 57, 37, 50, 68, 57, 56, 101, 100, 50, 55, 98, 53, 100, 55, 99, 53, 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, 53, 102, 100, 49, 101, 51, 101, 101, 45, 57, 55, 101, 52, 45, 52, 53, 55, 49, 45, 56, 98, 52, 48, 45, 57, 48, 97, 98, 54, 99, 55, 50, 102, 57, 98, 57, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc01b1b0 } } } }
[2022-05-09T10:12:24Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdc200da0
[2022-05-09T10:12:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/c8b9a876-2e15-4df7-9b09-98ed27b5d7c5", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"200adce5-091a-428f-ba4f-a0aa60f2a80d\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://c8b9a876%2D2e15%2D4df7%2D9b09%2D98ed27b5d7c5/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:12:24.605795391Z\",\"data\":{\"connected\":true},\"applicationuid\":\"f601dc47-5807-43e9-9330-8c39e1c302ee\",\"application\":\"c8b9a876-2e15-4df7-9b09-98ed27b5d7c5\",\"device\":\"gateway1\",\"sender\":\"gateway1\",\"senderuid\":\"5fd1e3ee-97e4-4571-8b40-90ab6c72f9b9\",\"partitionkey\":\"c8b9a876%2D2e15%2D4df7%2D9b09%2D98ed27b5d7c5/gateway1\",\"instance\":\"drogue\",\"deviceuid\":\"5fd1e3ee-97e4-4571-8b40-90ab6c72f9b9\"}" }
[2022-05-09T10:12: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: 0x55efdc2ba1e0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdc2ba1e0 } } } }
[2022-05-09T10:12:24Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:12: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: 0x7f0edc001da0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc002020 } }, data: MessageData { topic: "app/c8b9a876-2e15-4df7-9b09-98ed27b5d7c5", 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, 99, 51, 57, 53, 52, 101, 45, 102, 51, 50, 101, 45, 52, 98, 48, 100, 45, 97, 57, 56, 98, 45, 98, 54, 57, 99, 98, 49, 50, 53, 102, 48, 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, 99, 56, 98, 57, 97, 56, 55, 54, 37, 50, 68, 50, 101, 49, 53, 37, 50, 68, 52, 100, 102, 55, 37, 50, 68, 57, 98, 48, 57, 37, 50, 68, 57, 56, 101, 100, 50, 55, 98, 53, 100, 55, 99, 53, 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, 48, 58, 49, 50, 58, 50, 52, 46, 55, 57, 49, 54, 57, 55, 56, 53, 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, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 53, 102, 100, 49, 101, 51, 101, 101, 45, 57, 55, 101, 52, 45, 52, 53, 55, 49, 45, 56, 98, 52, 48, 45, 57, 48, 97, 98, 54, 99, 55, 50, 102, 57, 98, 57, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 102, 54, 48, 49, 100, 99, 52, 55, 45, 53, 56, 48, 55, 45, 52, 51, 101, 57, 45, 57, 51, 51, 48, 45, 56, 99, 51, 57, 101, 49, 99, 51, 48, 50, 101, 101, 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, 51, 54, 97, 98, 50, 57, 53, 45, 53, 101, 53, 55, 45, 52, 98, 57, 50, 45, 98, 97, 49, 56, 45, 53, 99, 98, 100, 52, 97, 97, 51, 99, 57, 54, 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, 99, 56, 98, 57, 97, 56, 55, 54, 37, 50, 68, 50, 101, 49, 53, 37, 50, 68, 52, 100, 102, 55, 37, 50, 68, 57, 98, 48, 57, 37, 50, 68, 57, 56, 101, 100, 50, 55, 98, 53, 100, 55, 99, 53, 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, 56, 98, 57, 97, 56, 55, 54, 45, 50, 101, 49, 53, 45, 52, 100, 102, 55, 45, 57, 98, 48, 57, 45, 57, 56, 101, 100, 50, 55, 98, 53, 100, 55, 99, 53, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc002020 } } } }
[2022-05-09T10:12:25Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdc200da0
[2022-05-09T10:12:25Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/c8b9a876-2e15-4df7-9b09-98ed27b5d7c5", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"f0c3954e-f32e-4b0d-a98b-b69cb125f052\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://c8b9a876%2D2e15%2D4df7%2D9b09%2D98ed27b5d7c5/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:12:24.791697855Z\",\"data_base64\":\"\",\"sender\":\"gateway1\",\"senderuid\":\"5fd1e3ee-97e4-4571-8b40-90ab6c72f9b9\",\"applicationuid\":\"f601dc47-5807-43e9-9330-8c39e1c302ee\",\"instance\":\"drogue\",\"deviceuid\":\"936ab295-5e57-4b92-ba18-5cbd4aa3c963\",\"device\":\"device1\",\"partitionkey\":\"c8b9a876%2D2e15%2D4df7%2D9b09%2D98ed27b5d7c5/device1\",\"application\":\"c8b9a876-2e15-4df7-9b09-98ed27b5d7c5\"}" }
[2022-05-09T10:12: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: 0x7f0edc018fa0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc002020 } }, data: MessageData { topic: "app/c8b9a876-2e15-4df7-9b09-98ed27b5d7c5", 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, 97, 99, 49, 52, 53, 48, 101, 45, 101, 100, 98, 52, 45, 52, 51, 48, 57, 45, 57, 50, 102, 102, 45, 97, 53, 100, 53, 52, 50, 55, 97, 50, 57, 52, 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, 56, 98, 57, 97, 56, 55, 54, 37, 50, 68, 50, 101, 49, 53, 37, 50, 68, 52, 100, 102, 55, 37, 50, 68, 57, 98, 48, 57, 37, 50, 68, 57, 56, 101, 100, 50, 55, 98, 53, 100, 55, 99, 53, 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, 48, 58, 49, 50, 58, 50, 53, 46, 50, 50, 56, 49, 49, 51, 54, 48, 48, 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, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 53, 102, 100, 49, 101, 51, 101, 101, 45, 57, 55, 101, 52, 45, 52, 53, 55, 49, 45, 56, 98, 52, 48, 45, 57, 48, 97, 98, 54, 99, 55, 50, 102, 57, 98, 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, 99, 56, 98, 57, 97, 56, 55, 54, 45, 50, 101, 49, 53, 45, 52, 100, 102, 55, 45, 57, 98, 48, 57, 45, 57, 56, 101, 100, 50, 55, 98, 53, 100, 55, 99, 53, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 53, 102, 100, 49, 101, 51, 101, 101, 45, 57, 55, 101, 52, 45, 52, 53, 55, 49, 45, 56, 98, 52, 48, 45, 57, 48, 97, 98, 54, 99, 55, 50, 102, 57, 98, 57, 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, 54, 48, 49, 100, 99, 52, 55, 45, 53, 56, 48, 55, 45, 52, 51, 101, 57, 45, 57, 51, 51, 48, 45, 56, 99, 51, 57, 101, 49, 99, 51, 48, 50, 101, 101, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 99, 56, 98, 57, 97, 56, 55, 54, 37, 50, 68, 50, 101, 49, 53, 37, 50, 68, 52, 100, 102, 55, 37, 50, 68, 57, 98, 48, 57, 37, 50, 68, 57, 56, 101, 100, 50, 55, 98, 53, 100, 55, 99, 53, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc002020 } } } }
[2022-05-09T10:12:25Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0edc0180f0
[2022-05-09T10:12:25Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/c8b9a876-2e15-4df7-9b09-98ed27b5d7c5", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"eac1450e-edb4-4309-92ff-a5d5427a2945\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://c8b9a876%2D2e15%2D4df7%2D9b09%2D98ed27b5d7c5/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:12:25.228113600Z\",\"data\":{\"connected\":false},\"sender\":\"gateway1\",\"senderuid\":\"5fd1e3ee-97e4-4571-8b40-90ab6c72f9b9\",\"device\":\"gateway1\",\"application\":\"c8b9a876-2e15-4df7-9b09-98ed27b5d7c5\",\"deviceuid\":\"5fd1e3ee-97e4-4571-8b40-90ab6c72f9b9\",\"instance\":\"drogue\",\"applicationuid\":\"f601dc47-5807-43e9-9330-8c39e1c302ee\",\"partitionkey\":\"c8b9a876%2D2e15%2D4df7%2D9b09%2D98ed27b5d7c5/gateway1\"}" }
[2022-05-09T10:12:25Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:12:25Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:12:25Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:12:25Z 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: "c8b9a876-2e15-4df7-9b09-98ed27b5d7c5", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "c8b9a876-2e15-4df7-9b09-98ed27b5d7c5", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:12:25Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:12:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "c8b9a876-2e15-4df7-9b09-98ed27b5d7c5" "device1"
[2022-05-09T10:12:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:12:25Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:12:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "c8b9a876-2e15-4df7-9b09-98ed27b5d7c5" "gateway1"
[2022-05-09T10:12:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:12:25Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'c8b9a876-2e15-4df7-9b09-98ed27b5d7c5'
[2022-05-09T10:12:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "c8b9a876-2e15-4df7-9b09-98ed27b5d7c5"
[2022-05-09T10:12:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App c8b9a876-2e15-4df7-9b09-98ed27b5d7c5 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-09T10:12:27Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:12:27Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:12:27Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:12:27Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:12: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-09T10:12:28Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:12:30Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:12:30Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:12:30Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:12:30Z 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-09T10:12:31Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI5NTEsImlhdCI6MTY1MjA5MTE1MSwianRpIjoiODY2Y2E0NWQtNzk3NS00ODA1LWFkOGYtOTRmOTE4MDVlYTZlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Imh4UXphOTNSTWpYMmppS0VzcXkyQXciLCJzZXNzaW9uX3N0YXRlIjoiNmE0ZmM0OTktNzY3ZS00M2NlLTg5MzMtMGM4NTk0MjM2MWI0Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjZhNGZjNDk5LTc2N2UtNDNjZS04OTMzLTBjODU5NDIzNjFiNCJ9.t-W6jR3BHYdzPxksVD1LAfkrxvBD79ZnqFyRZ25JgrM
[2022-05-09T10:12:31Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:12:31Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:12:31Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI5NTEsImlhdCI6MTY1MjA5MTE1MSwianRpIjoiODY2Y2E0NWQtNzk3NS00ODA1LWFkOGYtOTRmOTE4MDVlYTZlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Imh4UXphOTNSTWpYMmppS0VzcXkyQXciLCJzZXNzaW9uX3N0YXRlIjoiNmE0ZmM0OTktNzY3ZS00M2NlLTg5MzMtMGM4NTk0MjM2MWI0Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjZhNGZjNDk5LTc2N2UtNDNjZS04OTMzLTBjODU5NDIzNjFiNCJ9.t-W6jR3BHYdzPxksVD1LAfkrxvBD79ZnqFyRZ25JgrM" "--context" "system-tests"
[2022-05-09T10:12: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-09T10:12:32Z INFO  drogue_cloud_tests::resources::apps] Create application: 5f52fc41-7449-4b86-b196-881da4e26953
[2022-05-09T10:12:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "5f52fc41-7449-4b86-b196-881da4e26953"
[2022-05-09T10:12:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 5f52fc41-7449-4b86-b196-881da4e26953 created.\n", stderr: "" })
[2022-05-09T10:12:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "5f52fc41-7449-4b86-b196-881da4e26953"
[2022-05-09T10:12:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:12:32.624484Z\",\n    \"generation\": 1,\n    \"name\": \"5f52fc41-7449-4b86-b196-881da4e26953\",\n    \"resourceVersion\": \"1f2c4704-1405-467d-827e-ebff80e89f99\",\n    \"uid\": \"2b1c693d-a21b-47bf-b302-e89bb59e1c9b\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:12:32.643243408Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2022-05-09T10:12:32Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:12:32.624484Z"), "generation": Number(1), "name": String("5f52fc41-7449-4b86-b196-881da4e26953"), "resourceVersion": String("1f2c4704-1405-467d-827e-ebff80e89f99"), "uid": String("2b1c693d-a21b-47bf-b302-e89bb59e1c9b")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:12:32.643243408Z"), "status": String("True"), "type": String("Ready")})])})})
[2022-05-09T10:12:32Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:12:33Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "5f52fc41-7449-4b86-b196-881da4e26953"
[2022-05-09T10:12:33Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:12:32.624484Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"5f52fc41-7449-4b86-b196-881da4e26953\",\n    \"resourceVersion\": \"b6373c7e-fbfc-4b60-89e8-572a7c8ab2b9\",\n    \"uid\": \"2b1c693d-a21b-47bf-b302-e89bb59e1c9b\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:12:32.930746925Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:12:32.930675352Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:32.676065682Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:32.684686115Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:32.741889606Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:32.747624657Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:32.930548766Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:32.930598397Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"cmIA6j33scbJ\",\n        \"username\": \"user-5f52fc41-7449-4b86-b196-881da4e26953\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:12:33Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:12:32.624484Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("5f52fc41-7449-4b86-b196-881da4e26953"), "resourceVersion": String("b6373c7e-fbfc-4b60-89e8-572a7c8ab2b9"), "uid": String("2b1c693d-a21b-47bf-b302-e89bb59e1c9b")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:12:32.930746925Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:12:32.930675352Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:12:32.676065682Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:12:32.684686115Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:12:32.741889606Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:12:32.747624657Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:12:32.930548766Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:12:32.930598397Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("cmIA6j33scbJ"), "username": String("user-5f52fc41-7449-4b86-b196-881da4e26953")})})})})
[2022-05-09T10:12:33Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:12:33Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "5f52fc41-7449-4b86-b196-881da4e26953"
[2022-05-09T10:12:33Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:12:32.624484Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"5f52fc41-7449-4b86-b196-881da4e26953\",\n    \"resourceVersion\": \"b6373c7e-fbfc-4b60-89e8-572a7c8ab2b9\",\n    \"uid\": \"2b1c693d-a21b-47bf-b302-e89bb59e1c9b\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:12:32.930746925Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:12:32.930675352Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:32.676065682Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:32.684686115Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:32.741889606Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:32.747624657Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:32.930548766Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:32.930598397Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"cmIA6j33scbJ\",\n        \"username\": \"user-5f52fc41-7449-4b86-b196-881da4e26953\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:12:33Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:12:32.624484Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("5f52fc41-7449-4b86-b196-881da4e26953"), "resourceVersion": String("b6373c7e-fbfc-4b60-89e8-572a7c8ab2b9"), "uid": String("2b1c693d-a21b-47bf-b302-e89bb59e1c9b")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:12:32.930746925Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:12:32.930675352Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:12:32.676065682Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:12:32.684686115Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:12:32.741889606Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:12:32.747624657Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:12:32.930548766Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:12:32.930598397Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("cmIA6j33scbJ"), "username": String("user-5f52fc41-7449-4b86-b196-881da4e26953")})})})})
[2022-05-09T10:12:33Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:12:33Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:12:33Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "5f52fc41-7449-4b86-b196-881da4e26953" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:12:33Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:12:33Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:12:33Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:12:33Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:12:33Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE0NTEsImlhdCI6MTY1MjA5MTE1MSwiYXV0aF90aW1lIjoxNjUyMDkxMTQ4LCJqdGkiOiI1NjZlNGNkOC01MTBiLTRmNmMtOGNhNC05M2Y3ZTYwN2IwNTUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJoeFF6YTkzUk1qWDJqaUtFc3F5MkF3Iiwic2Vzc2lvbl9zdGF0ZSI6IjZhNGZjNDk5LTc2N2UtNDNjZS04OTMzLTBjODU5NDIzNjFiNCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjZhNGZjNDk5LTc2N2UtNDNjZS04OTMzLTBjODU5NDIzNjFiNCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.u_reQI1gGEfo8l-rYB3ZFjQ39-qCBX7y1JP3_OwgZZChwYRn5Kjs8HKA_ZM9xwy4hYFKpfXUrGbE20LTtZaY_QumXxZBklT_STrQ6jiZ5xWYPowKi5-VLTY4n1TWy6_ncWypOLeNPdl1Jew36-g87k7-FxYzIq9-smsL7AJzpPOhvWrQEn_Pc_1aFF8PqjTXmojZBX35KEL8bfXyNKufTbszyLe5nJ_7o6B4AdnwhM4ht-pi6RczGUVELbangqAJavjmwJc4K1RfQwPvBNvKEqZZ1KS-qs8uV12QF5A3Hxzy3shOiJ9oupq-1rHN0fvRZPHgRK21K5ZVMuRIEzUFBQ\n", stderr: "" })
[2022-05-09T10:12:33Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:12:33Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:12:33Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:12:33Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "5f52fc41-7449-4b86-b196-881da4e26953" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:12:33Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:12:33Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T10:12:33Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:12:33Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE0NTEsImlhdCI6MTY1MjA5MTE1MSwiYXV0aF90aW1lIjoxNjUyMDkxMTQ4LCJqdGkiOiI1NjZlNGNkOC01MTBiLTRmNmMtOGNhNC05M2Y3ZTYwN2IwNTUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJoeFF6YTkzUk1qWDJqaUtFc3F5MkF3Iiwic2Vzc2lvbl9zdGF0ZSI6IjZhNGZjNDk5LTc2N2UtNDNjZS04OTMzLTBjODU5NDIzNjFiNCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjZhNGZjNDk5LTc2N2UtNDNjZS04OTMzLTBjODU5NDIzNjFiNCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.u_reQI1gGEfo8l-rYB3ZFjQ39-qCBX7y1JP3_OwgZZChwYRn5Kjs8HKA_ZM9xwy4hYFKpfXUrGbE20LTtZaY_QumXxZBklT_STrQ6jiZ5xWYPowKi5-VLTY4n1TWy6_ncWypOLeNPdl1Jew36-g87k7-FxYzIq9-smsL7AJzpPOhvWrQEn_Pc_1aFF8PqjTXmojZBX35KEL8bfXyNKufTbszyLe5nJ_7o6B4AdnwhM4ht-pi6RczGUVELbangqAJavjmwJc4K1RfQwPvBNvKEqZZ1KS-qs8uV12QF5A3Hxzy3shOiJ9oupq-1rHN0fvRZPHgRK21K5ZVMuRIEzUFBQ\n", stderr: "" })
[2022-05-09T10:12: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-integration.172.18.0.2.nip.io:30002", client_id: "fe890b7f-6dd1-4063-b9f2-716c420b779d", persistence: None, user_data: None }
[2022-05-09T10:12:33Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:12:33Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbf95ae0
[2022-05-09T10:12:33Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbf95ae0
[2022-05-09T10:12: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: 0x55efdbf96050, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbfc93a0, 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: 0x55efdbf957d0, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE0NTEsImlhdCI6MTY1MjA5MTE1MSwiYXV0aF90aW1lIjoxNjUyMDkxMTQ4LCJqdGkiOiI1NjZlNGNkOC01MTBiLTRmNmMtOGNhNC05M2Y3ZTYwN2IwNTUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJoeFF6YTkzUk1qWDJqaUtFc3F5MkF3Iiwic2Vzc2lvbl9zdGF0ZSI6IjZhNGZjNDk5LTc2N2UtNDNjZS04OTMzLTBjODU5NDIzNjFiNCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjZhNGZjNDk5LTc2N2UtNDNjZS04OTMzLTBjODU5NDIzNjFiNCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.u_reQI1gGEfo8l-rYB3ZFjQ39-qCBX7y1JP3_OwgZZChwYRn5Kjs8HKA_ZM9xwy4hYFKpfXUrGbE20LTtZaY_QumXxZBklT_STrQ6jiZ5xWYPowKi5-VLTY4n1TWy6_ncWypOLeNPdl1Jew36-g87k7-FxYzIq9-smsL7AJzpPOhvWrQEn_Pc_1aFF8PqjTXmojZBX35KEL8bfXyNKufTbszyLe5nJ_7o6B4AdnwhM4ht-pi6RczGUVELbangqAJavjmwJc4K1RfQwPvBNvKEqZZ1KS-qs8uV12QF5A3Hxzy3shOiJ9oupq-1rHN0fvRZPHgRK21K5ZVMuRIEzUFBQ"), 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-09T10:12:33Z DEBUG paho_mqtt::async_client] Subscribe to '"app/5f52fc41-7449-4b86-b196-881da4e26953"' @ QOS 0
[2022-05-09T10:12:33Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:12:33Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:12:33Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:12: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-09T10:12:33Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:12: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-09T10:12:35Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:12: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-09T10:12:35Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:12: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-09T10:12:36Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:12: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-09T10:12:36Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:12: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-09T10:12:37Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:12: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-09T10:12:37Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:12: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-09T10:12:37Z 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: 0x7f0edc0038b0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x7f0ee000a9e0 } }, data: MessageData { topic: "app/5f52fc41-7449-4b86-b196-881da4e26953", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x7f0ee000a9e0 } } } }
[2022-05-09T10:12:37Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007c10, 0x55efdbe6a230
[2022-05-09T10:12:37Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbe6a230, 0x55efdc057f80
[2022-05-09T10:12:37Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbe6a230, 0x7f0ee0006920
[2022-05-09T10:12:37Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006920, 0x55efdc05bde0
[2022-05-09T10:12:37Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006920, 0x7f0ed80053b0
[2022-05-09T10:12:37Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80053b0, 0x55efdc057f80
[2022-05-09T10:12:37Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80053b0, 0x55efdc1acc20
[2022-05-09T10:12:37Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80053b0, 0x55efdc057f80
[2022-05-09T10:12:37Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80053b0, 0x55efdc057f80
[2022-05-09T10:12:37Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80053b0, 0x7f0ed8007d80
[2022-05-09T10:12:37Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007d80, 0x55efdc057f80
[2022-05-09T10:12:37Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007d80, 0x55efdc057f80
[2022-05-09T10:12:37Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007d80, 0x7f0ed8008d20
[2022-05-09T10:12:37Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8008d20, 0x7f0ed8007d80
[2022-05-09T10:12:37Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ed8007d80
[2022-05-09T10:12:37Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/5f52fc41-7449-4b86-b196-881da4e26953", content_type: Some("application/json"), user_properties: {"device": "device1", "sender": "gateway1", "instance": "drogue", "applicationuid": "2b1c693d-a21b-47bf-b302-e89bb59e1c9b", "id": "b271ad0d-4d42-4c84-badd-9a685060f3dc", "application": "5f52fc41-7449-4b86-b196-881da4e26953", "subject": "warmup", "deviceuid": "3feb5fe5-1463-44b1-bad1-7260d1be94b6", "type": "io.drogue.event.v1", "specversion": "1.0", "source": "drogue://5f52fc41%2D7449%2D4b86%2Db196%2D881da4e26953/device1", "time": "2022-05-09T10:12:37.477706523+00:00", "senderuid": "11908ccc-5c9f-4921-ac79-1d4f869177ea", "partitionkey": "5f52fc41%2D7449%2D4b86%2Db196%2D881da4e26953/device1"}, payload: "{\"index\":3}" }
[2022-05-09T10:12:38Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:12:38Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:12:38Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:12:38Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:12: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: "ssl://mqtt-endpoint.172.18.0.2.nip.io:30001", client_id: "57bf7e75-b09d-4065-be14-3a5ddc96163f", persistence: None, user_data: None }
[2022-05-09T10:12:38Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:12:38Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbe6ca80
[2022-05-09T10:12:38Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbe6ca80
[2022-05-09T10:12: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: 0x55efdbf60ec0, password: 0x55efdbf86b30, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc1917e0, 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: 0x55efdbf60c30, 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@5f52fc41-7449-4b86-b196-881da4e26953"), 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-09T10:12:38Z 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: 0x7f0edc026740, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x7f0ee00047d0 } }, data: MessageData { topic: "app/5f52fc41-7449-4b86-b196-881da4e26953", 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: 0x7f0ee00047d0 } } } }
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8008d40, 0x7f0ed8007f50
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007f50, 0x7f0edc0176b0
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007f50, 0x7f0ed8007da0
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007da0, 0x7f0edc017360
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007da0, 0x7f0ed8007d80
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007d80, 0x7f0edc0176b0
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007d80, 0x7f0ed8004e30
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004e30, 0x7f0edc0176b0
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004e30, 0x7f0edc0176b0
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004e30, 0x7f0edc0171a0
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004e30, 0x7f0ed80076e0
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80076e0, 0x7f0edc0176b0
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80076e0, 0x7f0ed8007c10
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007c10, 0x7f0edc0176b0
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ed8007c10
[2022-05-09T10:12:38Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/5f52fc41-7449-4b86-b196-881da4e26953", content_type: Some("application/json"), user_properties: {"specversion": "1.0", "type": "io.drogue.connection.v1", "instance": "drogue", "source": "drogue://5f52fc41%2D7449%2D4b86%2Db196%2D881da4e26953/gateway1", "deviceuid": "11908ccc-5c9f-4921-ac79-1d4f869177ea", "partitionkey": "5f52fc41%2D7449%2D4b86%2Db196%2D881da4e26953/gateway1", "sender": "gateway1", "device": "gateway1", "subject": "connection", "applicationuid": "2b1c693d-a21b-47bf-b302-e89bb59e1c9b", "senderuid": "11908ccc-5c9f-4921-ac79-1d4f869177ea", "application": "5f52fc41-7449-4b86-b196-881da4e26953", "time": "2022-05-09T10:12:38.534145681+00:00", "id": "44780f59-990c-4626-aba6-75008dfcc16a"}, payload: "{\"connected\":true}" }
[2022-05-09T10:12: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: 0x55efdbe54d80 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdbe54d80 } } } }
[2022-05-09T10:12:38Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:12:38Z 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: 0x7f0edc002630, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x7f0ee0005160 } }, data: MessageData { topic: "app/5f52fc41-7449-4b86-b196-881da4e26953", 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: 0x7f0ee0005160 } } } }
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8005390, 0x7f0edc0038b0
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0edc0038b0, 0x7f0edc0267e0
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0edc0038b0, 0x7f0ed8007f30
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007f30, 0x7f0edc02b870
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007f30, 0x7f0ed8008d40
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8008d40, 0x7f0edc0267e0
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8008d40, 0x7f0ed8006cc0
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8006cc0, 0x7f0edc0267e0
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8006cc0, 0x7f0edc0267e0
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8006cc0, 0x7f0ed8007da0
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007da0, 0x7f0ed8006cc0
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8006cc0, 0x7f0edc0267e0
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8006cc0, 0x7f0edc0267e0
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8006cc0, 0x7f0edc02c3e0
[2022-05-09T10:12:38Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ed8006cc0
[2022-05-09T10:12:38Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/5f52fc41-7449-4b86-b196-881da4e26953", content_type: Some("application/json"), user_properties: {"senderuid": "11908ccc-5c9f-4921-ac79-1d4f869177ea", "applicationuid": "2b1c693d-a21b-47bf-b302-e89bb59e1c9b", "partitionkey": "5f52fc41%2D7449%2D4b86%2Db196%2D881da4e26953/gateway1", "application": "5f52fc41-7449-4b86-b196-881da4e26953", "instance": "drogue", "subject": "connection", "id": "3f67fd2b-e5cd-4dc6-8fdf-f5040e17d751", "source": "drogue://5f52fc41%2D7449%2D4b86%2Db196%2D881da4e26953/gateway1", "type": "io.drogue.connection.v1", "time": "2022-05-09T10:12:38.795354079+00:00", "specversion": "1.0", "deviceuid": "11908ccc-5c9f-4921-ac79-1d4f869177ea", "device": "gateway1", "sender": "gateway1"}, payload: "{\"connected\":false}" }
[2022-05-09T10:12:39Z 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: 0x7f0ee0005af0 } }, data: MessageData { topic: "app/5f52fc41-7449-4b86-b196-881da4e26953", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x7f0ee0005af0 } } } }
[2022-05-09T10:12:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80076e0, 0x7f0ed8008d40
[2022-05-09T10:12:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8008d40, 0x7f0edc02efc0
[2022-05-09T10:12:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8008d40, 0x7f0ed8007da0
[2022-05-09T10:12:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007da0, 0x7f0edc0172d0
[2022-05-09T10:12:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007da0, 0x7f0ed8007d80
[2022-05-09T10:12:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007d80, 0x7f0edc02efc0
[2022-05-09T10:12:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007d80, 0x7f0edc02efc0
[2022-05-09T10:12:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007d80, 0x7f0ed8006ca0
[2022-05-09T10:12:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8006ca0, 0x7f0ed8007d80
[2022-05-09T10:12:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007d80, 0x7f0edc02efc0
[2022-05-09T10:12:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007d80, 0x7f0ed8004e30
[2022-05-09T10:12:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004e30, 0x7f0edc02efc0
[2022-05-09T10:12:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004e30, 0x7f0edc02b5d0
[2022-05-09T10:12:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004e30, 0x7f0edc02efc0
[2022-05-09T10:12:39Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ed8009a60
[2022-05-09T10:12:39Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/5f52fc41-7449-4b86-b196-881da4e26953", content_type: Some("application/octet-stream"), user_properties: {"sender": "gateway1", "instance": "drogue", "device": "device1", "partitionkey": "5f52fc41%2D7449%2D4b86%2Db196%2D881da4e26953/device1", "senderuid": "11908ccc-5c9f-4921-ac79-1d4f869177ea", "time": "2022-05-09T10:12:38.793926551+00:00", "deviceuid": "3feb5fe5-1463-44b1-bad1-7260d1be94b6", "applicationuid": "2b1c693d-a21b-47bf-b302-e89bb59e1c9b", "application": "5f52fc41-7449-4b86-b196-881da4e26953", "id": "fb49a98f-767a-49cd-b16c-7c256d741b03", "type": "io.drogue.event.v1", "specversion": "1.0", "subject": "telemetry", "source": "drogue://5f52fc41%2D7449%2D4b86%2Db196%2D881da4e26953/device1"}, payload: "" }
[2022-05-09T10:12:39Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:12:39Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:12:39Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:12: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: "5f52fc41-7449-4b86-b196-881da4e26953", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "5f52fc41-7449-4b86-b196-881da4e26953", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:12:39Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:12:39Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "5f52fc41-7449-4b86-b196-881da4e26953" "device1"
[2022-05-09T10:12:39Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:12:39Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:12:39Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "5f52fc41-7449-4b86-b196-881da4e26953" "gateway1"
[2022-05-09T10:12:39Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:12:39Z INFO  drogue_cloud_tests::resources::apps] Destroy application '5f52fc41-7449-4b86-b196-881da4e26953'
[2022-05-09T10:12:39Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "5f52fc41-7449-4b86-b196-881da4e26953"
[2022-05-09T10:12:39Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 5f52fc41-7449-4b86-b196-881da4e26953 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-09T10:12:41Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:12:41Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:12:41Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:12:41Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:12:41Z 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-09T10:12:42Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:12:44Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:12:44Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:12:44Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:12: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-09T10:12:45Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI5NjUsImlhdCI6MTY1MjA5MTE2NSwianRpIjoiYmIxYjFmZjItYzUyZS00YWE5LWIwZGUtOWQyYTdiNjZlZjkwIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ik03cllCQWY2OUNLeDAtSThQaU9jVUEiLCJzZXNzaW9uX3N0YXRlIjoiZjUzMDlhZDgtOTI2OC00ZTQyLWI4MjItZjg1NDVlOTdmNmI2Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImY1MzA5YWQ4LTkyNjgtNGU0Mi1iODIyLWY4NTQ1ZTk3ZjZiNiJ9.0akdOv49mLZicAgVQN7zo6bxm6i-utI-HSfaWJW1_DA
[2022-05-09T10:12:45Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:12:45Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:12:45Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI5NjUsImlhdCI6MTY1MjA5MTE2NSwianRpIjoiYmIxYjFmZjItYzUyZS00YWE5LWIwZGUtOWQyYTdiNjZlZjkwIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ik03cllCQWY2OUNLeDAtSThQaU9jVUEiLCJzZXNzaW9uX3N0YXRlIjoiZjUzMDlhZDgtOTI2OC00ZTQyLWI4MjItZjg1NDVlOTdmNmI2Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImY1MzA5YWQ4LTkyNjgtNGU0Mi1iODIyLWY4NTQ1ZTk3ZjZiNiJ9.0akdOv49mLZicAgVQN7zo6bxm6i-utI-HSfaWJW1_DA" "--context" "system-tests"
[2022-05-09T10:12: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-09T10:12:46Z INFO  drogue_cloud_tests::resources::apps] Create application: 31ab483d-353f-41ce-b69b-f9a4c8bf1ec5
[2022-05-09T10:12:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "31ab483d-353f-41ce-b69b-f9a4c8bf1ec5"
[2022-05-09T10:12:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 31ab483d-353f-41ce-b69b-f9a4c8bf1ec5 created.\n", stderr: "" })
[2022-05-09T10:12:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "31ab483d-353f-41ce-b69b-f9a4c8bf1ec5"
[2022-05-09T10:12:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:12:46.585652Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"31ab483d-353f-41ce-b69b-f9a4c8bf1ec5\",\n    \"resourceVersion\": \"6c16c48e-7ec7-4240-895b-6dfb3cc16de6\",\n    \"uid\": \"e07faeab-f24a-4ae2-a33d-d9bac48de4b0\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:12:46.597892069Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:12:46.597925622Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:46.597839731Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:46.597842577Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:46.597843608Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:46.597844741Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:46.597845502Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:46.597860540Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:12:46Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:12:46.585652Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("31ab483d-353f-41ce-b69b-f9a4c8bf1ec5"), "resourceVersion": String("6c16c48e-7ec7-4240-895b-6dfb3cc16de6"), "uid": String("e07faeab-f24a-4ae2-a33d-d9bac48de4b0")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:12:46.597892069Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:12:46.597925622Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:12:46.597839731Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:12:46.597842577Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:12:46.597843608Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:12:46.597844741Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:12:46.597845502Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:12:46.597860540Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T10:12:46Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:12:47Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "31ab483d-353f-41ce-b69b-f9a4c8bf1ec5"
[2022-05-09T10:12:47Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:12:46.585652Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"31ab483d-353f-41ce-b69b-f9a4c8bf1ec5\",\n    \"resourceVersion\": \"b5dcf5ac-4b77-4682-86aa-fcc3e76b25ac\",\n    \"uid\": \"e07faeab-f24a-4ae2-a33d-d9bac48de4b0\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:12:46.873836904Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:12:46.873942040Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:46.621297110Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:46.627122069Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:46.695102966Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:46.701002003Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:46.873673028Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:46.873689167Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"fweeK0Fkya35\",\n        \"username\": \"user-31ab483d-353f-41ce-b69b-f9a4c8bf1ec5\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:12:47Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:12:46.585652Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("31ab483d-353f-41ce-b69b-f9a4c8bf1ec5"), "resourceVersion": String("b5dcf5ac-4b77-4682-86aa-fcc3e76b25ac"), "uid": String("e07faeab-f24a-4ae2-a33d-d9bac48de4b0")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:12:46.873836904Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:12:46.873942040Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:12:46.621297110Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:12:46.627122069Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:12:46.695102966Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:12:46.701002003Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:12:46.873673028Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:12:46.873689167Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("fweeK0Fkya35"), "username": String("user-31ab483d-353f-41ce-b69b-f9a4c8bf1ec5")})})})})
[2022-05-09T10:12:47Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:12:47Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "31ab483d-353f-41ce-b69b-f9a4c8bf1ec5"
[2022-05-09T10:12:47Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:12:46.585652Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"31ab483d-353f-41ce-b69b-f9a4c8bf1ec5\",\n    \"resourceVersion\": \"b5dcf5ac-4b77-4682-86aa-fcc3e76b25ac\",\n    \"uid\": \"e07faeab-f24a-4ae2-a33d-d9bac48de4b0\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:12:46.873836904Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:12:46.873942040Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:46.621297110Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:46.627122069Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:46.695102966Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:46.701002003Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:46.873673028Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:12:46.873689167Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"fweeK0Fkya35\",\n        \"username\": \"user-31ab483d-353f-41ce-b69b-f9a4c8bf1ec5\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:12:47Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:12:46.585652Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("31ab483d-353f-41ce-b69b-f9a4c8bf1ec5"), "resourceVersion": String("b5dcf5ac-4b77-4682-86aa-fcc3e76b25ac"), "uid": String("e07faeab-f24a-4ae2-a33d-d9bac48de4b0")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:12:46.873836904Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:12:46.873942040Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:12:46.621297110Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:12:46.627122069Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:12:46.695102966Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:12:46.701002003Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:12:46.873673028Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:12:46.873689167Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("fweeK0Fkya35"), "username": String("user-31ab483d-353f-41ce-b69b-f9a4c8bf1ec5")})})})})
[2022-05-09T10:12:47Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:12:47Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:12:47Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "31ab483d-353f-41ce-b69b-f9a4c8bf1ec5" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:12:47Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:12:47Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:12:47Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:12:47Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:12:47Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE0NjUsImlhdCI6MTY1MjA5MTE2NSwiYXV0aF90aW1lIjoxNjUyMDkxMTYzLCJqdGkiOiJlYjhlNWFjNC0xMGIyLTQ2YTUtYThmNC0yN2U3MzVjZGFmMzkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJNN3JZQkFmNjlDS3gwLUk4UGlPY1VBIiwic2Vzc2lvbl9zdGF0ZSI6ImY1MzA5YWQ4LTkyNjgtNGU0Mi1iODIyLWY4NTQ1ZTk3ZjZiNiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImY1MzA5YWQ4LTkyNjgtNGU0Mi1iODIyLWY4NTQ1ZTk3ZjZiNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.ZIPS9xRQOOUlX6YYlAKW-imwENmtVB3VWgbCfWh0wnLgV4JHsBtqH7dQJxj7oHqIQVhH3sPa_4JMxB84A3UbTZsditpUSPp7p6jgQtUFXDL0KOACoo0RmccneQRHDqdfRklO3SIXKzfrJ-MLWf1jFN3v1JVo7w-3w-JmFpLCYcz5_dtZsvn7jlBDQaL1srQ_VUTefgMwGHqYQ7ibGCXHvjXV7M9KMB7a2VAAVw9RJ69nd9mvc_StouHrPcMMWTYgXv0MMYYwVPllAa-N89Fywwkr51m0iYII_6h1J_M7PBY8FBiHEd219HiuNGjrpFhJcVwLQBagZ5HCDFWeyLgeSQ\n", stderr: "" })
[2022-05-09T10:12:47Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:12:47Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:12:47Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:12:47Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "31ab483d-353f-41ce-b69b-f9a4c8bf1ec5" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:12:47Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:12:47Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T10:12:47Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:12:47Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE0NjUsImlhdCI6MTY1MjA5MTE2NSwiYXV0aF90aW1lIjoxNjUyMDkxMTYzLCJqdGkiOiJlYjhlNWFjNC0xMGIyLTQ2YTUtYThmNC0yN2U3MzVjZGFmMzkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJNN3JZQkFmNjlDS3gwLUk4UGlPY1VBIiwic2Vzc2lvbl9zdGF0ZSI6ImY1MzA5YWQ4LTkyNjgtNGU0Mi1iODIyLWY4NTQ1ZTk3ZjZiNiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImY1MzA5YWQ4LTkyNjgtNGU0Mi1iODIyLWY4NTQ1ZTk3ZjZiNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.ZIPS9xRQOOUlX6YYlAKW-imwENmtVB3VWgbCfWh0wnLgV4JHsBtqH7dQJxj7oHqIQVhH3sPa_4JMxB84A3UbTZsditpUSPp7p6jgQtUFXDL0KOACoo0RmccneQRHDqdfRklO3SIXKzfrJ-MLWf1jFN3v1JVo7w-3w-JmFpLCYcz5_dtZsvn7jlBDQaL1srQ_VUTefgMwGHqYQ7ibGCXHvjXV7M9KMB7a2VAAVw9RJ69nd9mvc_StouHrPcMMWTYgXv0MMYYwVPllAa-N89Fywwkr51m0iYII_6h1J_M7PBY8FBiHEd219HiuNGjrpFhJcVwLQBagZ5HCDFWeyLgeSQ\n", stderr: "" })
[2022-05-09T10:12: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-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "01f0541b-4e1a-4cb2-bf71-4002fd33c04a", persistence: None, user_data: None }
[2022-05-09T10:12:47Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:12:47Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc2095e0
[2022-05-09T10:12:47Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc2095e0
[2022-05-09T10:12: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: 0x0, password: 0x55efdc209920, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc209ff0, 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: 0x55efdc222e00, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE0NjUsImlhdCI6MTY1MjA5MTE2NSwiYXV0aF90aW1lIjoxNjUyMDkxMTYzLCJqdGkiOiJlYjhlNWFjNC0xMGIyLTQ2YTUtYThmNC0yN2U3MzVjZGFmMzkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJNN3JZQkFmNjlDS3gwLUk4UGlPY1VBIiwic2Vzc2lvbl9zdGF0ZSI6ImY1MzA5YWQ4LTkyNjgtNGU0Mi1iODIyLWY4NTQ1ZTk3ZjZiNiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImY1MzA5YWQ4LTkyNjgtNGU0Mi1iODIyLWY4NTQ1ZTk3ZjZiNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.ZIPS9xRQOOUlX6YYlAKW-imwENmtVB3VWgbCfWh0wnLgV4JHsBtqH7dQJxj7oHqIQVhH3sPa_4JMxB84A3UbTZsditpUSPp7p6jgQtUFXDL0KOACoo0RmccneQRHDqdfRklO3SIXKzfrJ-MLWf1jFN3v1JVo7w-3w-JmFpLCYcz5_dtZsvn7jlBDQaL1srQ_VUTefgMwGHqYQ7ibGCXHvjXV7M9KMB7a2VAAVw9RJ69nd9mvc_StouHrPcMMWTYgXv0MMYYwVPllAa-N89Fywwkr51m0iYII_6h1J_M7PBY8FBiHEd219HiuNGjrpFhJcVwLQBagZ5HCDFWeyLgeSQ"), 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-09T10:12:47Z DEBUG paho_mqtt::async_client] Subscribe to '"app/31ab483d-353f-41ce-b69b-f9a4c8bf1ec5"' @ QOS 0
[2022-05-09T10:12:47Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:12:47Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:12:47Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:12: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-09T10:12:47Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:12: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-09T10:12:49Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:12: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-09T10:12:49Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:12: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-09T10:12:50Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:12: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-09T10:12:50Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:12: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-09T10:12:51Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:12: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-09T10:12:51Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:12: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-09T10:12:51Z 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: 0x7f0edc02a230, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x7f0ed0001f00 } }, data: MessageData { topic: "app/31ab483d-353f-41ce-b69b-f9a4c8bf1ec5", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x7f0ed0001f00 } } } }
[2022-05-09T10:12:51Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc2c9f30, 0x7f0ee0006d80
[2022-05-09T10:12:51Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006d80, 0x7f0ed8008ee0
[2022-05-09T10:12:51Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006d80, 0x55efdbed3a30
[2022-05-09T10:12:51Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbed3a30, 0x55efdc05d9d0
[2022-05-09T10:12:51Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbed3a30, 0x7f0ee000af90
[2022-05-09T10:12:51Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000af90, 0x7f0ed8008ee0
[2022-05-09T10:12:51Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000af90, 0x7f0ed8008ee0
[2022-05-09T10:12:51Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000af90, 0x7f0ee00094c0
[2022-05-09T10:12:51Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000af90, 0x7f0ee0009c60
[2022-05-09T10:12:51Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000af90, 0x7f0ee0009c60
[2022-05-09T10:12:51Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000af90, 0x7f0ee000dee0
[2022-05-09T10:12:51Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000dee0, 0x7f0ee000af90
[2022-05-09T10:12:51Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000af90, 0x7f0ee0009c60
[2022-05-09T10:12:51Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000af90, 0x7f0ee0009c60
[2022-05-09T10:12:51Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee000af90
[2022-05-09T10:12:51Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/31ab483d-353f-41ce-b69b-f9a4c8bf1ec5", content_type: Some("application/json"), user_properties: {"type": "io.drogue.event.v1", "application": "31ab483d-353f-41ce-b69b-f9a4c8bf1ec5", "time": "2022-05-09T10:12:51.487806877+00:00", "senderuid": "9e3ad6a0-74cd-4ebe-929c-83c316e01a1e", "deviceuid": "58057fe7-eb20-4390-ab90-3bf869e0091d", "applicationuid": "e07faeab-f24a-4ae2-a33d-d9bac48de4b0", "id": "ea37574d-a24f-40be-b49b-20676299678c", "device": "device1", "sender": "gateway1", "instance": "drogue", "source": "drogue://31ab483d%2D353f%2D41ce%2Db69b%2Df9a4c8bf1ec5/device1", "partitionkey": "31ab483d%2D353f%2D41ce%2Db69b%2Df9a4c8bf1ec5/device1", "subject": "warmup", "specversion": "1.0"}, payload: "{\"index\":3}" }
[2022-05-09T10:12:52Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:12:52Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:12:52Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:12:52Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:12: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-endpoint.172.18.0.2.nip.io:30001", client_id: "6ddc2806-f1ba-49a8-b8ef-e5bb08c8e4cf", persistence: None, user_data: None }
[2022-05-09T10:12:52Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:12:52Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbe84a80
[2022-05-09T10:12:52Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbe84a80
[2022-05-09T10:12: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: 0x55efdc381f00, password: 0x55efdbf23580, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbe4d330, 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: 0x55efdc381bf0, 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@31ab483d-353f-41ce-b69b-f9a4c8bf1ec5"), 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-09T10:12:52Z 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: 0x7f0edc00d2e0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x7f0ed0002890 } }, data: MessageData { topic: "app/31ab483d-353f-41ce-b69b-f9a4c8bf1ec5", 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: 0x7f0ed0002890 } } } }
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbeb1980, 0x55efdc13b880
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc13b880, 0x55efdbe89970
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc13b880, 0x7f0ee000aff0
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000aff0, 0x55efdc2c0110
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000aff0, 0x7f0ed8007b20
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007b20, 0x55efdbe89970
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007b20, 0x7f0ed80088e0
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80088e0, 0x55efdbe89970
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80088e0, 0x7f0ed8003a20
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003a20, 0x55efdbe89970
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003a20, 0x55efdbe89970
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003a20, 0x55efdbe89970
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003a20, 0x55efdbfce120
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003a20, 0x7f0ed8003870
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ed8003870
[2022-05-09T10:12:52Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/31ab483d-353f-41ce-b69b-f9a4c8bf1ec5", content_type: Some("application/json"), user_properties: {"instance": "drogue", "type": "io.drogue.connection.v1", "device": "gateway1", "sender": "gateway1", "specversion": "1.0", "deviceuid": "9e3ad6a0-74cd-4ebe-929c-83c316e01a1e", "applicationuid": "e07faeab-f24a-4ae2-a33d-d9bac48de4b0", "id": "4db87333-fe04-4503-bacc-98a68a0c5674", "application": "31ab483d-353f-41ce-b69b-f9a4c8bf1ec5", "subject": "connection", "partitionkey": "31ab483d%2D353f%2D41ce%2Db69b%2Df9a4c8bf1ec5/gateway1", "senderuid": "9e3ad6a0-74cd-4ebe-929c-83c316e01a1e", "time": "2022-05-09T10:12:52.621115833+00:00", "source": "drogue://31ab483d%2D353f%2D41ce%2Db69b%2Df9a4c8bf1ec5/gateway1"}, payload: "{\"connected\":true}" }
[2022-05-09T10:12: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: 0x55efdbe8c2c0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdbe8c2c0 } } } }
[2022-05-09T10:12:52Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:12:52Z 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: 0x7f0edc01d330, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x7f0ed00034b0 } }, data: MessageData { topic: "app/31ab483d-353f-41ce-b69b-f9a4c8bf1ec5", 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: 0x7f0ed00034b0 } } } }
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003290, 0x7f0ed8003a00
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003a00, 0x7f0edc032be0
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003a00, 0x7f0ed8003ae0
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003ae0, 0x7f0edc034810
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003ae0, 0x7f0ed8007b20
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007b20, 0x7f0edc032be0
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007b20, 0x7f0edc032be0
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007b20, 0x7f0edc032be0
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007b20, 0x7f0ed8003850
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003850, 0x7f0edc032be0
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003850, 0x7f0ed8003b40
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003b40, 0x7f0edc032a20
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003b40, 0x7f0ed8003ba0
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003ba0, 0x7f0edc032be0
[2022-05-09T10:12:52Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ed8003ba0
[2022-05-09T10:12:52Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/31ab483d-353f-41ce-b69b-f9a4c8bf1ec5", content_type: Some("application/json"), user_properties: {"specversion": "1.0", "type": "io.drogue.connection.v1", "subject": "connection", "time": "2022-05-09T10:12:52.804282450+00:00", "sender": "gateway1", "instance": "drogue", "source": "drogue://31ab483d%2D353f%2D41ce%2Db69b%2Df9a4c8bf1ec5/gateway1", "deviceuid": "9e3ad6a0-74cd-4ebe-929c-83c316e01a1e", "device": "gateway1", "id": "93593075-4c62-4bbc-8831-126cd7398701", "application": "31ab483d-353f-41ce-b69b-f9a4c8bf1ec5", "applicationuid": "e07faeab-f24a-4ae2-a33d-d9bac48de4b0", "partitionkey": "31ab483d%2D353f%2D41ce%2Db69b%2Df9a4c8bf1ec5/gateway1", "senderuid": "9e3ad6a0-74cd-4ebe-929c-83c316e01a1e"}, payload: "{\"connected\":false}" }
[2022-05-09T10:12:53Z 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: 0x7f0ed0003b10 } }, data: MessageData { topic: "app/31ab483d-353f-41ce-b69b-f9a4c8bf1ec5", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x7f0ed0003b10 } } } }
[2022-05-09T10:12:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80076d0, 0x7f0edc00d2e0
[2022-05-09T10:12:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0edc00d2e0, 0x7f0ed8003890
[2022-05-09T10:12:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0edc00d2e0, 0x55efdc2e0370
[2022-05-09T10:12:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc2e0370, 0x7f0edc01b610
[2022-05-09T10:12:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc2e0370, 0x7f0ed8007b20
[2022-05-09T10:12:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007b20, 0x7f0ed8003890
[2022-05-09T10:12:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007b20, 0x7f0edc01d370
[2022-05-09T10:12:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007b20, 0x7f0ed8003290
[2022-05-09T10:12:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003290, 0x7f0ed8003890
[2022-05-09T10:12:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003290, 0x7f0ed8003850
[2022-05-09T10:12:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003850, 0x7f0ed8003890
[2022-05-09T10:12:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003850, 0x7f0ed8003890
[2022-05-09T10:12:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003850, 0x7f0ed8003890
[2022-05-09T10:12:53Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003850, 0x7f0ed8003b80
[2022-05-09T10:12:53Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ed8003c20
[2022-05-09T10:12:53Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/31ab483d-353f-41ce-b69b-f9a4c8bf1ec5", content_type: Some("application/octet-stream"), user_properties: {"senderuid": "9e3ad6a0-74cd-4ebe-929c-83c316e01a1e", "partitionkey": "31ab483d%2D353f%2D41ce%2Db69b%2Df9a4c8bf1ec5/device1", "device": "device1", "application": "31ab483d-353f-41ce-b69b-f9a4c8bf1ec5", "sender": "gateway1", "subject": "telemetry", "type": "io.drogue.event.v1", "specversion": "1.0", "applicationuid": "e07faeab-f24a-4ae2-a33d-d9bac48de4b0", "deviceuid": "58057fe7-eb20-4390-ab90-3bf869e0091d", "id": "d6c9fe43-5e81-4767-b101-e3f72a45957c", "source": "drogue://31ab483d%2D353f%2D41ce%2Db69b%2Df9a4c8bf1ec5/device1", "instance": "drogue", "time": "2022-05-09T10:12:52.802860281+00:00"}, payload: "" }
[2022-05-09T10:12:53Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:12:53Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:12:53Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:12:53Z 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: "31ab483d-353f-41ce-b69b-f9a4c8bf1ec5", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "31ab483d-353f-41ce-b69b-f9a4c8bf1ec5", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:12:53Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:12:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "31ab483d-353f-41ce-b69b-f9a4c8bf1ec5" "device1"
[2022-05-09T10:12:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:12:53Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:12:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "31ab483d-353f-41ce-b69b-f9a4c8bf1ec5" "gateway1"
[2022-05-09T10:12:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:12:53Z INFO  drogue_cloud_tests::resources::apps] Destroy application '31ab483d-353f-41ce-b69b-f9a4c8bf1ec5'
[2022-05-09T10:12:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "31ab483d-353f-41ce-b69b-f9a4c8bf1ec5"
[2022-05-09T10:12:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 31ab483d-353f-41ce-b69b-f9a4c8bf1ec5 deleted.\n", stderr: "" })

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

Duration: 15s

Test output
-------------- TEST START --------------
[2022-05-09T10:12:55Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:12:55Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:12:55Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:12:55Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:12:55Z 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-09T10:12:56Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:12:58Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:12:58Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:12:58Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:12: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-09T10:13:00Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI5NzksImlhdCI6MTY1MjA5MTE3OSwianRpIjoiNzFmYWZjZTMtMmE1MS00ZWNhLTk5OGQtNjI1MzIyOTVlZTJlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlZSdjNicDgtTGktTk8xMWR6Z3ptMFEiLCJzZXNzaW9uX3N0YXRlIjoiMGU4NWViY2UtN2U0Ny00NTZiLWFiMDUtYzY3Y2VhNDRiY2I5Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjBlODVlYmNlLTdlNDctNDU2Yi1hYjA1LWM2N2NlYTQ0YmNiOSJ9.BxDUJHLXJuxPiq60HGZWExgNpx27xO64W1Az4oUMfGM
[2022-05-09T10:13:00Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:13:00Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:13:00Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI5NzksImlhdCI6MTY1MjA5MTE3OSwianRpIjoiNzFmYWZjZTMtMmE1MS00ZWNhLTk5OGQtNjI1MzIyOTVlZTJlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlZSdjNicDgtTGktTk8xMWR6Z3ptMFEiLCJzZXNzaW9uX3N0YXRlIjoiMGU4NWViY2UtN2U0Ny00NTZiLWFiMDUtYzY3Y2VhNDRiY2I5Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjBlODVlYmNlLTdlNDctNDU2Yi1hYjA1LWM2N2NlYTQ0YmNiOSJ9.BxDUJHLXJuxPiq60HGZWExgNpx27xO64W1Az4oUMfGM" "--context" "system-tests"
[2022-05-09T10:13:00Z 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-09T10:13:00Z INFO  drogue_cloud_tests::resources::apps] Create application: 7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea
[2022-05-09T10:13:00Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea"
[2022-05-09T10:13:00Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea created.\n", stderr: "" })
[2022-05-09T10:13:00Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea"
[2022-05-09T10:13:00Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:13:00.869196Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea\",\n    \"resourceVersion\": \"bf5d75b2-883c-4fcc-981c-9a9f1840f762\",\n    \"uid\": \"e50b0f6e-4bf5-424d-b000-7e562471040e\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:00.882614181Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:00.882692708Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:00.882569067Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:00.882571492Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:00.882572323Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:00.882573425Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:00.882574066Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:00.882582943Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:13:00Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:13:00.869196Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea"), "resourceVersion": String("bf5d75b2-883c-4fcc-981c-9a9f1840f762"), "uid": String("e50b0f6e-4bf5-424d-b000-7e562471040e")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:00.882614181Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:00.882692708Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:00.882569067Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:13:00.882571492Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:13:00.882572323Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:00.882573425Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:13:00.882574066Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:00.882582943Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T10:13:00Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:13:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea"
[2022-05-09T10:13:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:13:00.869196Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea\",\n    \"resourceVersion\": \"b89dcb69-dbea-48c4-9482-fe9e50890f27\",\n    \"uid\": \"e50b0f6e-4bf5-424d-b000-7e562471040e\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:01.128843523Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:01.128957867Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:00.908609084Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:00.915652531Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:00.973494887Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:00.979035694Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:01.128701787Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:01.128811563Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"dkVEKaynQsTO\",\n        \"username\": \"user-7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:13:01Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:13:00.869196Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea"), "resourceVersion": String("b89dcb69-dbea-48c4-9482-fe9e50890f27"), "uid": String("e50b0f6e-4bf5-424d-b000-7e562471040e")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:01.128843523Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:01.128957867Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:00.908609084Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:13:00.915652531Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:13:00.973494887Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:00.979035694Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:13:01.128701787Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:01.128811563Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("dkVEKaynQsTO"), "username": String("user-7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea")})})})})
[2022-05-09T10:13:01Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:13:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea"
[2022-05-09T10:13:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:13:00.869196Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea\",\n    \"resourceVersion\": \"b89dcb69-dbea-48c4-9482-fe9e50890f27\",\n    \"uid\": \"e50b0f6e-4bf5-424d-b000-7e562471040e\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:01.128843523Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:01.128957867Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:00.908609084Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:00.915652531Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:00.973494887Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:00.979035694Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:01.128701787Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:01.128811563Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"dkVEKaynQsTO\",\n        \"username\": \"user-7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:13:01Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:13:00.869196Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea"), "resourceVersion": String("b89dcb69-dbea-48c4-9482-fe9e50890f27"), "uid": String("e50b0f6e-4bf5-424d-b000-7e562471040e")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:01.128843523Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:01.128957867Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:00.908609084Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:13:00.915652531Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:13:00.973494887Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:00.979035694Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:13:01.128701787Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:01.128811563Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("dkVEKaynQsTO"), "username": String("user-7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea")})})})})
[2022-05-09T10:13:01Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:13:01Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:13:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:13:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:13:01Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:13:01Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:13:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:13:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE0ODAsImlhdCI6MTY1MjA5MTE4MCwiYXV0aF90aW1lIjoxNjUyMDkxMTc3LCJqdGkiOiIzNTU3OWIzYS1mM2FhLTQxYmMtYjc2Yi01YjM1YjVlYjAyNzEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJWUnYzYnA4LUxpLU5PMTFkemd6bTBRIiwic2Vzc2lvbl9zdGF0ZSI6IjBlODVlYmNlLTdlNDctNDU2Yi1hYjA1LWM2N2NlYTQ0YmNiOSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjBlODVlYmNlLTdlNDctNDU2Yi1hYjA1LWM2N2NlYTQ0YmNiOSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.Ku0dW4DHGwoxc8gWvme1hkAR8WPYiOLd8-Wlw6ChsM8iIKgJcKCc4bPtIiCrgMYd_ZLLM5EZ-Piwm7icrOKO9pPP57FWLrzI7XlU84ZnoegPakIEIW8CcSS1yX3_4PW7MTp8oSRJdBEwCtt8Tu_WWODn4-mIO00K5LLpmeH3zpH8wnb_38SfjSKIrJFgTp9mSErBldinu70gfeAQZ1JBeoYuW53qTHuuB-b0BnZy_NE9vgxu3pmXDsCkELlO0CAQJ0fzrhLT3QdxLs8EhKY6zoRIIybdfCs0K7lHhDwv2ONEjfyoPDbQc9K_Gz10CF1lo4GQnBS_pWK-eycJGbK-ZQ\n", stderr: "" })
[2022-05-09T10:13:01Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:13:01Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:13:01Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:13:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:13:02Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:13:02Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T10:13:02Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:13:02Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE0ODAsImlhdCI6MTY1MjA5MTE4MCwiYXV0aF90aW1lIjoxNjUyMDkxMTc3LCJqdGkiOiIzNTU3OWIzYS1mM2FhLTQxYmMtYjc2Yi01YjM1YjVlYjAyNzEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJWUnYzYnA4LUxpLU5PMTFkemd6bTBRIiwic2Vzc2lvbl9zdGF0ZSI6IjBlODVlYmNlLTdlNDctNDU2Yi1hYjA1LWM2N2NlYTQ0YmNiOSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjBlODVlYmNlLTdlNDctNDU2Yi1hYjA1LWM2N2NlYTQ0YmNiOSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.Ku0dW4DHGwoxc8gWvme1hkAR8WPYiOLd8-Wlw6ChsM8iIKgJcKCc4bPtIiCrgMYd_ZLLM5EZ-Piwm7icrOKO9pPP57FWLrzI7XlU84ZnoegPakIEIW8CcSS1yX3_4PW7MTp8oSRJdBEwCtt8Tu_WWODn4-mIO00K5LLpmeH3zpH8wnb_38SfjSKIrJFgTp9mSErBldinu70gfeAQZ1JBeoYuW53qTHuuB-b0BnZy_NE9vgxu3pmXDsCkELlO0CAQJ0fzrhLT3QdxLs8EhKY6zoRIIybdfCs0K7lHhDwv2ONEjfyoPDbQc9K_Gz10CF1lo4GQnBS_pWK-eycJGbK-ZQ\n", stderr: "" })
[2022-05-09T10:13: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: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "84103b00-8f89-4542-919c-e7f2ed65fb35", persistence: None, user_data: None }
[2022-05-09T10:13:02Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:13:02Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbe85c40
[2022-05-09T10:13:02Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbe85c40
[2022-05-09T10:13:02Z 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: 0x55efdbe86980, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc273b80, 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: 0x55efdbe86940, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE0ODAsImlhdCI6MTY1MjA5MTE4MCwiYXV0aF90aW1lIjoxNjUyMDkxMTc3LCJqdGkiOiIzNTU3OWIzYS1mM2FhLTQxYmMtYjc2Yi01YjM1YjVlYjAyNzEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJWUnYzYnA4LUxpLU5PMTFkemd6bTBRIiwic2Vzc2lvbl9zdGF0ZSI6IjBlODVlYmNlLTdlNDctNDU2Yi1hYjA1LWM2N2NlYTQ0YmNiOSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjBlODVlYmNlLTdlNDctNDU2Yi1hYjA1LWM2N2NlYTQ0YmNiOSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.Ku0dW4DHGwoxc8gWvme1hkAR8WPYiOLd8-Wlw6ChsM8iIKgJcKCc4bPtIiCrgMYd_ZLLM5EZ-Piwm7icrOKO9pPP57FWLrzI7XlU84ZnoegPakIEIW8CcSS1yX3_4PW7MTp8oSRJdBEwCtt8Tu_WWODn4-mIO00K5LLpmeH3zpH8wnb_38SfjSKIrJFgTp9mSErBldinu70gfeAQZ1JBeoYuW53qTHuuB-b0BnZy_NE9vgxu3pmXDsCkELlO0CAQJ0fzrhLT3QdxLs8EhKY6zoRIIybdfCs0K7lHhDwv2ONEjfyoPDbQc9K_Gz10CF1lo4GQnBS_pWK-eycJGbK-ZQ"), 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-09T10:13:02Z DEBUG paho_mqtt::async_client] Subscribe to '"app/7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea"' @ QOS 0
[2022-05-09T10:13:02Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:13:02Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:13:02Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:13: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-09T10:13:02Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:13: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-09T10:13:03Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:13: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-09T10:13:03Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:13: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-09T10:13:04Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:13: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-09T10:13:04Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:13: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-09T10:13:05Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:13: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-09T10:13:05Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:13: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-09T10:13:05Z 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: 0x7f0ed0016810, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea", 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, 53, 57, 54, 57, 98, 99, 51, 45, 55, 100, 48, 99, 45, 52, 56, 98, 54, 45, 97, 101, 55, 57, 45, 101, 53, 49, 52, 50, 54, 102, 102, 49, 49, 100, 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, 55, 50, 51, 56, 97, 54, 97, 101, 37, 50, 68, 102, 48, 57, 54, 37, 50, 68, 52, 99, 54, 54, 37, 50, 68, 98, 100, 101, 97, 37, 50, 68, 56, 99, 97, 54, 97, 56, 101, 48, 99, 53, 101, 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, 48, 58, 49, 51, 58, 48, 53, 46, 52, 57, 50, 53, 51, 54, 53, 51, 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, 55, 50, 51, 56, 97, 54, 97, 101, 45, 102, 48, 57, 54, 45, 52, 99, 54, 54, 45, 98, 100, 101, 97, 45, 56, 99, 97, 54, 97, 56, 101, 48, 99, 53, 101, 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, 101, 53, 48, 98, 48, 102, 54, 101, 45, 52, 98, 102, 53, 45, 52, 50, 52, 100, 45, 98, 48, 48, 48, 45, 55, 101, 53, 54, 50, 52, 55, 49, 48, 52, 48, 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, 50, 51, 48, 51, 54, 101, 98, 51, 45, 101, 97, 99, 48, 45, 52, 97, 101, 101, 45, 98, 100, 99, 48, 45, 57, 56, 49, 100, 51, 101, 55, 102, 55, 53, 55, 48, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 55, 50, 51, 56, 97, 54, 97, 101, 37, 50, 68, 102, 48, 57, 54, 37, 50, 68, 52, 99, 54, 54, 37, 50, 68, 98, 100, 101, 97, 37, 50, 68, 56, 99, 97, 54, 97, 56, 101, 48, 99, 53, 101, 97, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 49, 98, 97, 98, 100, 51, 53, 53, 45, 97, 55, 54, 54, 45, 52, 52, 50, 98, 45, 98, 57, 101, 50, 45, 52, 54, 97, 100, 48, 52, 53, 99, 53, 98, 48, 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-09T10:13:05Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"c5969bc3-7d0c-48b6-ae79-e51426ff11d4\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://7238a6ae%2Df096%2D4c66%2Dbdea%2D8ca6a8e0c5ea/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:13:05.492536539Z\",\"data\":{\"index\":3},\"application\":\"7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea\",\"sender\":\"gateway1\",\"applicationuid\":\"e50b0f6e-4bf5-424d-b000-7e562471040e\",\"instance\":\"drogue\",\"senderuid\":\"23036eb3-eac0-4aee-bdc0-981d3e7f7570\",\"partitionkey\":\"7238a6ae%2Df096%2D4c66%2Dbdea%2D8ca6a8e0c5ea/device1\",\"deviceuid\":\"1babd355-a766-442b-b9e2-46ad045c5b03\",\"device\":\"device1\"}" }
[2022-05-09T10:13:06Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:13:06Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:13:06Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:13:06Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:13: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-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "eaf6d5d6-5e25-4bae-bdf7-946c44d6d9fb", persistence: None, user_data: None }
[2022-05-09T10:13:06Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:13:06Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbef77f0
[2022-05-09T10:13:06Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbef77f0
[2022-05-09T10:13: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: 0x55efdc19f040, password: 0x55efdc19c4c0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc2da380, 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: 0x55efdc19f080, 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@7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea"), 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-09T10:13:07Z 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: 0x55efdbf123b0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdbf123b0 } } } }
[2022-05-09T10:13:07Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:13:07Z 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: 0x7f0ed000d460, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea", 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, 101, 48, 97, 100, 57, 101, 99, 45, 51, 100, 51, 101, 45, 52, 52, 50, 57, 45, 97, 98, 52, 49, 45, 100, 49, 102, 100, 100, 57, 56, 52, 101, 50, 51, 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, 50, 51, 56, 97, 54, 97, 101, 37, 50, 68, 102, 48, 57, 54, 37, 50, 68, 52, 99, 54, 54, 37, 50, 68, 98, 100, 101, 97, 37, 50, 68, 56, 99, 97, 54, 97, 56, 101, 48, 99, 53, 101, 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, 48, 58, 49, 51, 58, 48, 54, 46, 56, 48, 49, 55, 51, 57, 55, 53, 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, 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, 55, 50, 51, 56, 97, 54, 97, 101, 37, 50, 68, 102, 48, 57, 54, 37, 50, 68, 52, 99, 54, 54, 37, 50, 68, 98, 100, 101, 97, 37, 50, 68, 56, 99, 97, 54, 97, 56, 101, 48, 99, 53, 101, 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, 50, 51, 48, 51, 54, 101, 98, 51, 45, 101, 97, 99, 48, 45, 52, 97, 101, 101, 45, 98, 100, 99, 48, 45, 57, 56, 49, 100, 51, 101, 55, 102, 55, 53, 55, 48, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 101, 53, 48, 98, 48, 102, 54, 101, 45, 52, 98, 102, 53, 45, 52, 50, 52, 100, 45, 98, 48, 48, 48, 45, 55, 101, 53, 54, 50, 52, 55, 49, 48, 52, 48, 101, 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, 55, 50, 51, 56, 97, 54, 97, 101, 45, 102, 48, 57, 54, 45, 52, 99, 54, 54, 45, 98, 100, 101, 97, 45, 56, 99, 97, 54, 97, 56, 101, 48, 99, 53, 101, 97, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 50, 51, 48, 51, 54, 101, 98, 51, 45, 101, 97, 99, 48, 45, 52, 97, 101, 101, 45, 98, 100, 99, 48, 45, 57, 56, 49, 100, 51, 101, 55, 102, 55, 53, 55, 48, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:13:07Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"5e0ad9ec-3d3e-4429-ab41-d1fdd984e231\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://7238a6ae%2Df096%2D4c66%2Dbdea%2D8ca6a8e0c5ea/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:13:06.801739755Z\",\"data\":{\"connected\":true},\"instance\":\"drogue\",\"partitionkey\":\"7238a6ae%2Df096%2D4c66%2Dbdea%2D8ca6a8e0c5ea/gateway1\",\"senderuid\":\"23036eb3-eac0-4aee-bdc0-981d3e7f7570\",\"applicationuid\":\"e50b0f6e-4bf5-424d-b000-7e562471040e\",\"sender\":\"gateway1\",\"device\":\"gateway1\",\"application\":\"7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea\",\"deviceuid\":\"23036eb3-eac0-4aee-bdc0-981d3e7f7570\"}" }
[2022-05-09T10:13:07Z 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: 0x7f0ed00170c0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea", 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, 48, 100, 99, 52, 99, 55, 45, 99, 56, 48, 52, 45, 52, 53, 57, 51, 45, 57, 53, 101, 51, 45, 52, 54, 57, 101, 101, 52, 98, 54, 53, 50, 57, 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, 55, 50, 51, 56, 97, 54, 97, 101, 37, 50, 68, 102, 48, 57, 54, 37, 50, 68, 52, 99, 54, 54, 37, 50, 68, 98, 100, 101, 97, 37, 50, 68, 56, 99, 97, 54, 97, 56, 101, 48, 99, 53, 101, 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, 48, 58, 49, 51, 58, 48, 55, 46, 57, 48, 50, 56, 56, 57, 51, 54, 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, 117, 105, 100, 34, 58, 34, 50, 51, 48, 51, 54, 101, 98, 51, 45, 101, 97, 99, 48, 45, 52, 97, 101, 101, 45, 98, 100, 99, 48, 45, 57, 56, 49, 100, 51, 101, 55, 102, 55, 53, 55, 48, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 101, 53, 48, 98, 48, 102, 54, 101, 45, 52, 98, 102, 53, 45, 52, 50, 52, 100, 45, 98, 48, 48, 48, 45, 55, 101, 53, 54, 50, 52, 55, 49, 48, 52, 48, 101, 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, 55, 50, 51, 56, 97, 54, 97, 101, 37, 50, 68, 102, 48, 57, 54, 37, 50, 68, 52, 99, 54, 54, 37, 50, 68, 98, 100, 101, 97, 37, 50, 68, 56, 99, 97, 54, 97, 56, 101, 48, 99, 53, 101, 97, 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, 117, 105, 100, 34, 58, 34, 50, 51, 48, 51, 54, 101, 98, 51, 45, 101, 97, 99, 48, 45, 52, 97, 101, 101, 45, 98, 100, 99, 48, 45, 57, 56, 49, 100, 51, 101, 55, 102, 55, 53, 55, 48, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 55, 50, 51, 56, 97, 54, 97, 101, 45, 102, 48, 57, 54, 45, 52, 99, 54, 54, 45, 98, 100, 101, 97, 45, 56, 99, 97, 54, 97, 56, 101, 48, 99, 53, 101, 97, 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-09T10:13:07Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"040dc4c7-c804-4593-95e3-469ee4b65292\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://7238a6ae%2Df096%2D4c66%2Dbdea%2D8ca6a8e0c5ea/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:13:07.902889362Z\",\"data\":{\"connected\":false},\"senderuid\":\"23036eb3-eac0-4aee-bdc0-981d3e7f7570\",\"applicationuid\":\"e50b0f6e-4bf5-424d-b000-7e562471040e\",\"instance\":\"drogue\",\"partitionkey\":\"7238a6ae%2Df096%2D4c66%2Dbdea%2D8ca6a8e0c5ea/gateway1\",\"sender\":\"gateway1\",\"deviceuid\":\"23036eb3-eac0-4aee-bdc0-981d3e7f7570\",\"application\":\"7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea\",\"device\":\"gateway1\"}" }
[2022-05-09T10:13:08Z 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: 0x7f0ed000d460, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea", 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, 100, 97, 48, 97, 49, 102, 56, 45, 98, 50, 101, 51, 45, 52, 98, 102, 97, 45, 56, 100, 98, 51, 45, 102, 102, 100, 100, 101, 97, 53, 55, 57, 48, 51, 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, 55, 50, 51, 56, 97, 54, 97, 101, 37, 50, 68, 102, 48, 57, 54, 37, 50, 68, 52, 99, 54, 54, 37, 50, 68, 98, 100, 101, 97, 37, 50, 68, 56, 99, 97, 54, 97, 56, 101, 48, 99, 53, 101, 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, 48, 58, 49, 51, 58, 48, 55, 46, 57, 48, 49, 57, 50, 48, 52, 53, 48, 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, 55, 50, 51, 56, 97, 54, 97, 101, 37, 50, 68, 102, 48, 57, 54, 37, 50, 68, 52, 99, 54, 54, 37, 50, 68, 98, 100, 101, 97, 37, 50, 68, 56, 99, 97, 54, 97, 56, 101, 48, 99, 53, 101, 97, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 49, 98, 97, 98, 100, 51, 53, 53, 45, 97, 55, 54, 54, 45, 52, 52, 50, 98, 45, 98, 57, 101, 50, 45, 52, 54, 97, 100, 48, 52, 53, 99, 53, 98, 48, 51, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 50, 51, 48, 51, 54, 101, 98, 51, 45, 101, 97, 99, 48, 45, 52, 97, 101, 101, 45, 98, 100, 99, 48, 45, 57, 56, 49, 100, 51, 101, 55, 102, 55, 53, 55, 48, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 55, 50, 51, 56, 97, 54, 97, 101, 45, 102, 48, 57, 54, 45, 52, 99, 54, 54, 45, 98, 100, 101, 97, 45, 56, 99, 97, 54, 97, 56, 101, 48, 99, 53, 101, 97, 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, 101, 53, 48, 98, 48, 102, 54, 101, 45, 52, 98, 102, 53, 45, 52, 50, 52, 100, 45, 98, 48, 48, 48, 45, 55, 101, 53, 54, 50, 52, 55, 49, 48, 52, 48, 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, 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-09T10:13:08Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"4da0a1f8-b2e3-4bfa-8db3-ffddea57903d\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://7238a6ae%2Df096%2D4c66%2Dbdea%2D8ca6a8e0c5ea/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:13:07.901920450Z\",\"data_base64\":\"\",\"partitionkey\":\"7238a6ae%2Df096%2D4c66%2Dbdea%2D8ca6a8e0c5ea/device1\",\"deviceuid\":\"1babd355-a766-442b-b9e2-46ad045c5b03\",\"senderuid\":\"23036eb3-eac0-4aee-bdc0-981d3e7f7570\",\"application\":\"7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea\",\"device\":\"device1\",\"applicationuid\":\"e50b0f6e-4bf5-424d-b000-7e562471040e\",\"instance\":\"drogue\",\"sender\":\"gateway1\"}" }
[2022-05-09T10:13:08Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:13:08Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:13:08Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:13:08Z 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: "7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:13:08Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:13:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea" "device1"
[2022-05-09T10:13:08Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:13:08Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:13:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea" "gateway1"
[2022-05-09T10:13:08Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:13:08Z INFO  drogue_cloud_tests::resources::apps] Destroy application '7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea'
[2022-05-09T10:13:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea"
[2022-05-09T10:13:08Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 7238a6ae-f096-4c66-bdea-8ca6a8e0c5ea deleted.\n", stderr: "" })

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

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T10:13:10Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:13:10Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:13:10Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:13:10Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:13:10Z 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-09T10:13:11Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:13:13Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:13:13Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:13:13Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:13:13Z 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-09T10:13:15Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI5OTUsImlhdCI6MTY1MjA5MTE5NSwianRpIjoiOWIxZmVjY2EtNDI5NS00ODYxLTg3MzMtMWNkYmZhNDU2YzZmIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IkVkWjRyQTRGTWx1X1Q5TExnWUROLXciLCJzZXNzaW9uX3N0YXRlIjoiZTY2NDg1MDYtMjM0OS00NDA5LWI3NTgtMjIwZWZlYWJhZDQxIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImU2NjQ4NTA2LTIzNDktNDQwOS1iNzU4LTIyMGVmZWFiYWQ0MSJ9.cpaTri9MUq5xKC_I1DHnmJIYhAOrL-VsQcEO-95K-FM
[2022-05-09T10:13:15Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:13:15Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:13:15Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTI5OTUsImlhdCI6MTY1MjA5MTE5NSwianRpIjoiOWIxZmVjY2EtNDI5NS00ODYxLTg3MzMtMWNkYmZhNDU2YzZmIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IkVkWjRyQTRGTWx1X1Q5TExnWUROLXciLCJzZXNzaW9uX3N0YXRlIjoiZTY2NDg1MDYtMjM0OS00NDA5LWI3NTgtMjIwZWZlYWJhZDQxIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImU2NjQ4NTA2LTIzNDktNDQwOS1iNzU4LTIyMGVmZWFiYWQ0MSJ9.cpaTri9MUq5xKC_I1DHnmJIYhAOrL-VsQcEO-95K-FM" "--context" "system-tests"
[2022-05-09T10:13:15Z 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-09T10:13:16Z INFO  drogue_cloud_tests::resources::apps] Create application: 05416f5d-e435-47fb-a256-ff77783aaf0d
[2022-05-09T10:13:16Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "05416f5d-e435-47fb-a256-ff77783aaf0d"
[2022-05-09T10:13:16Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 05416f5d-e435-47fb-a256-ff77783aaf0d created.\n", stderr: "" })
[2022-05-09T10:13:16Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "05416f5d-e435-47fb-a256-ff77783aaf0d"
[2022-05-09T10:13:16Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:13:16.057052Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"05416f5d-e435-47fb-a256-ff77783aaf0d\",\n    \"resourceVersion\": \"7faac4d0-1d77-40de-ab4e-504ab68217fc\",\n    \"uid\": \"2bb16e82-0253-4886-9f84-a59376d3acd3\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:16.070901560Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:16.070930103Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:16.070864421Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:16.070865703Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:16.070866274Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:16.070867086Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:16.070868298Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:16.070874429Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:13:16Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:13:16.057052Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("05416f5d-e435-47fb-a256-ff77783aaf0d"), "resourceVersion": String("7faac4d0-1d77-40de-ab4e-504ab68217fc"), "uid": String("2bb16e82-0253-4886-9f84-a59376d3acd3")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:16.070901560Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:16.070930103Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:16.070864421Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:13:16.070865703Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:13:16.070866274Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:16.070867086Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:13:16.070868298Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:16.070874429Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T10:13:16Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:13:17Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "05416f5d-e435-47fb-a256-ff77783aaf0d"
[2022-05-09T10:13:17Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:13:16.057052Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"05416f5d-e435-47fb-a256-ff77783aaf0d\",\n    \"resourceVersion\": \"c15ac8d6-3816-4431-8235-8bc9cbf2fc2e\",\n    \"uid\": \"2bb16e82-0253-4886-9f84-a59376d3acd3\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:16.356662664Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:16.356748333Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:16.100592342Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:16.106965296Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:16.176048525Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:16.183954774Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:16.356561814Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:16.356617850Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"YmYFOqWGd2K8\",\n        \"username\": \"user-05416f5d-e435-47fb-a256-ff77783aaf0d\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:13:17Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:13:16.057052Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("05416f5d-e435-47fb-a256-ff77783aaf0d"), "resourceVersion": String("c15ac8d6-3816-4431-8235-8bc9cbf2fc2e"), "uid": String("2bb16e82-0253-4886-9f84-a59376d3acd3")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:16.356662664Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:16.356748333Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:16.100592342Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:13:16.106965296Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:13:16.176048525Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:16.183954774Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:13:16.356561814Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:16.356617850Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("YmYFOqWGd2K8"), "username": String("user-05416f5d-e435-47fb-a256-ff77783aaf0d")})})})})
[2022-05-09T10:13:17Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:13:17Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "05416f5d-e435-47fb-a256-ff77783aaf0d"
[2022-05-09T10:13:17Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:13:16.057052Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"05416f5d-e435-47fb-a256-ff77783aaf0d\",\n    \"resourceVersion\": \"c15ac8d6-3816-4431-8235-8bc9cbf2fc2e\",\n    \"uid\": \"2bb16e82-0253-4886-9f84-a59376d3acd3\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:16.356662664Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:16.356748333Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:16.100592342Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:16.106965296Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:16.176048525Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:16.183954774Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:16.356561814Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:16.356617850Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"YmYFOqWGd2K8\",\n        \"username\": \"user-05416f5d-e435-47fb-a256-ff77783aaf0d\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:13:17Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:13:16.057052Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("05416f5d-e435-47fb-a256-ff77783aaf0d"), "resourceVersion": String("c15ac8d6-3816-4431-8235-8bc9cbf2fc2e"), "uid": String("2bb16e82-0253-4886-9f84-a59376d3acd3")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:16.356662664Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:16.356748333Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:16.100592342Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:13:16.106965296Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:13:16.176048525Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:16.183954774Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:13:16.356561814Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:16.356617850Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("YmYFOqWGd2K8"), "username": String("user-05416f5d-e435-47fb-a256-ff77783aaf0d")})})})})
[2022-05-09T10:13:17Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:13:17Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:13:17Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "05416f5d-e435-47fb-a256-ff77783aaf0d" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:13:17Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:13:17Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:13:17Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:13:17Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:13:17Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE0OTUsImlhdCI6MTY1MjA5MTE5NSwiYXV0aF90aW1lIjoxNjUyMDkxMTkyLCJqdGkiOiI1Y2YyZTFmYy0wY2QxLTQ0ZDYtYjdlNS0wMzVmMzE3MmQ1NGMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJFZFo0ckE0Rk1sdV9UOUxMZ1lETi13Iiwic2Vzc2lvbl9zdGF0ZSI6ImU2NjQ4NTA2LTIzNDktNDQwOS1iNzU4LTIyMGVmZWFiYWQ0MSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImU2NjQ4NTA2LTIzNDktNDQwOS1iNzU4LTIyMGVmZWFiYWQ0MSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.sq5ZODZQNMB2Jhr7pWvFEAeq7Ua8LSQsXqruhJPvFDIicSvuN6zGYfPSNWvQKojOZ4o5o9tieAWVq3PeNbifKj0p2C65G_CQ1JbC206G_IWaB3zTSDk7-zwetifb3dKRhrMK8IWSV3X0XnwAt7E1FgpdvQJEltYSqbeooI4GFDPreY78USpQ8RTurrdpUokjEtpznFKIFAFN9XuhBlq60Vs1R1S-g61JmzlEOnvUla2tqKg9cplWRsiEAFoTRngvPf8pSSAKc4S8fc8IoGV7ggomJ4x55uNj5C8cyiepcpierPLzNVYc2y6OtQTJPLf_9LUtS3ZGaPkwyLW-9TCQkA\n", stderr: "" })
[2022-05-09T10:13:17Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:13:17Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:13:17Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:13:17Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "05416f5d-e435-47fb-a256-ff77783aaf0d" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:13:17Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:13:17Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T10:13:17Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:13:17Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE0OTUsImlhdCI6MTY1MjA5MTE5NSwiYXV0aF90aW1lIjoxNjUyMDkxMTkyLCJqdGkiOiI1Y2YyZTFmYy0wY2QxLTQ0ZDYtYjdlNS0wMzVmMzE3MmQ1NGMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJFZFo0ckE0Rk1sdV9UOUxMZ1lETi13Iiwic2Vzc2lvbl9zdGF0ZSI6ImU2NjQ4NTA2LTIzNDktNDQwOS1iNzU4LTIyMGVmZWFiYWQ0MSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImU2NjQ4NTA2LTIzNDktNDQwOS1iNzU4LTIyMGVmZWFiYWQ0MSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.sq5ZODZQNMB2Jhr7pWvFEAeq7Ua8LSQsXqruhJPvFDIicSvuN6zGYfPSNWvQKojOZ4o5o9tieAWVq3PeNbifKj0p2C65G_CQ1JbC206G_IWaB3zTSDk7-zwetifb3dKRhrMK8IWSV3X0XnwAt7E1FgpdvQJEltYSqbeooI4GFDPreY78USpQ8RTurrdpUokjEtpznFKIFAFN9XuhBlq60Vs1R1S-g61JmzlEOnvUla2tqKg9cplWRsiEAFoTRngvPf8pSSAKc4S8fc8IoGV7ggomJ4x55uNj5C8cyiepcpierPLzNVYc2y6OtQTJPLf_9LUtS3ZGaPkwyLW-9TCQkA\n", stderr: "" })
[2022-05-09T10:13: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: 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: "33cbef55-4b98-4edf-bdce-e229304f5cd8", persistence: None, user_data: None }
[2022-05-09T10:13:17Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:13:17Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc2cc0e0
[2022-05-09T10:13:17Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc2cc0e0
[2022-05-09T10:13:17Z 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: 0x55efdc1cf460, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc2c0e90, 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: 0x55efdc17a4e0, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE0OTUsImlhdCI6MTY1MjA5MTE5NSwiYXV0aF90aW1lIjoxNjUyMDkxMTkyLCJqdGkiOiI1Y2YyZTFmYy0wY2QxLTQ0ZDYtYjdlNS0wMzVmMzE3MmQ1NGMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJFZFo0ckE0Rk1sdV9UOUxMZ1lETi13Iiwic2Vzc2lvbl9zdGF0ZSI6ImU2NjQ4NTA2LTIzNDktNDQwOS1iNzU4LTIyMGVmZWFiYWQ0MSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImU2NjQ4NTA2LTIzNDktNDQwOS1iNzU4LTIyMGVmZWFiYWQ0MSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.sq5ZODZQNMB2Jhr7pWvFEAeq7Ua8LSQsXqruhJPvFDIicSvuN6zGYfPSNWvQKojOZ4o5o9tieAWVq3PeNbifKj0p2C65G_CQ1JbC206G_IWaB3zTSDk7-zwetifb3dKRhrMK8IWSV3X0XnwAt7E1FgpdvQJEltYSqbeooI4GFDPreY78USpQ8RTurrdpUokjEtpznFKIFAFN9XuhBlq60Vs1R1S-g61JmzlEOnvUla2tqKg9cplWRsiEAFoTRngvPf8pSSAKc4S8fc8IoGV7ggomJ4x55uNj5C8cyiepcpierPLzNVYc2y6OtQTJPLf_9LUtS3ZGaPkwyLW-9TCQkA"), 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-09T10:13:17Z DEBUG paho_mqtt::async_client] Subscribe to '"app/05416f5d-e435-47fb-a256-ff77783aaf0d"' @ QOS 0
[2022-05-09T10:13:17Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:13:17Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:13:17Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:13: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-09T10:13:17Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:13: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-09T10:13:18Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:13: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-09T10:13:18Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:13: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-09T10:13:19Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:13: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-09T10:13:19Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:13: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-09T10:13:20Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:13: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-09T10:13:20Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:13: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-09T10:13:20Z 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: 0x7f0ed002da30, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/05416f5d-e435-47fb-a256-ff77783aaf0d", 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, 97, 98, 52, 97, 56, 48, 102, 45, 51, 100, 100, 98, 45, 52, 48, 49, 55, 45, 97, 57, 49, 99, 45, 100, 97, 48, 48, 48, 97, 54, 57, 52, 100, 52, 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, 48, 53, 52, 49, 54, 102, 53, 100, 37, 50, 68, 101, 52, 51, 53, 37, 50, 68, 52, 55, 102, 98, 37, 50, 68, 97, 50, 53, 54, 37, 50, 68, 102, 102, 55, 55, 55, 56, 51, 97, 97, 102, 48, 100, 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, 48, 58, 49, 51, 58, 50, 48, 46, 52, 57, 55, 50, 50, 55, 49, 48, 55, 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, 50, 98, 98, 49, 54, 101, 56, 50, 45, 48, 50, 53, 51, 45, 52, 56, 56, 54, 45, 57, 102, 56, 52, 45, 97, 53, 57, 51, 55, 54, 100, 51, 97, 99, 100, 51, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 57, 50, 55, 57, 98, 52, 101, 53, 45, 99, 48, 53, 48, 45, 52, 97, 102, 102, 45, 98, 56, 52, 55, 45, 57, 57, 51, 97, 97, 102, 53, 53, 100, 48, 53, 54, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 53, 52, 49, 54, 102, 53, 100, 45, 101, 52, 51, 53, 45, 52, 55, 102, 98, 45, 97, 50, 53, 54, 45, 102, 102, 55, 55, 55, 56, 51, 97, 97, 102, 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, 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, 53, 52, 49, 54, 102, 53, 100, 37, 50, 68, 101, 52, 51, 53, 37, 50, 68, 52, 55, 102, 98, 37, 50, 68, 97, 50, 53, 54, 37, 50, 68, 102, 102, 55, 55, 55, 56, 51, 97, 97, 102, 48, 100, 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, 55, 101, 55, 51, 53, 56, 52, 57, 45, 98, 54, 101, 56, 45, 52, 54, 52, 49, 45, 97, 100, 52, 57, 45, 48, 48, 57, 51, 100, 98, 55, 56, 99, 53, 97, 55, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:13:20Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/05416f5d-e435-47fb-a256-ff77783aaf0d", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"cab4a80f-3ddb-4017-a91c-da000a694d41\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://05416f5d%2De435%2D47fb%2Da256%2Dff77783aaf0d/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:13:20.497227107Z\",\"data\":{\"index\":3},\"applicationuid\":\"2bb16e82-0253-4886-9f84-a59376d3acd3\",\"deviceuid\":\"9279b4e5-c050-4aff-b847-993aaf55d056\",\"application\":\"05416f5d-e435-47fb-a256-ff77783aaf0d\",\"sender\":\"gateway1\",\"device\":\"device1\",\"partitionkey\":\"05416f5d%2De435%2D47fb%2Da256%2Dff77783aaf0d/device1\",\"instance\":\"drogue\",\"senderuid\":\"7e735849-b6e8-4641-ad49-0093db78c5a7\"}" }
[2022-05-09T10:13:21Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:13:21Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:13:21Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:13:21Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:13: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: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "47c6a8dd-2783-44a3-b912-4eceebe76a89", persistence: None, user_data: None }
[2022-05-09T10:13:21Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:13:21Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbfea8a0
[2022-05-09T10:13:21Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbfea8a0
[2022-05-09T10:13: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: 0x55efdc1d0ff0, password: 0x55efdc2bf0b0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbe643e0, 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: 0x55efdc2c54b0, 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@05416f5d-e435-47fb-a256-ff77783aaf0d"), 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-09T10:13:22Z 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: 0x7f0ed00300e0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/05416f5d-e435-47fb-a256-ff77783aaf0d", 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, 50, 50, 52, 98, 101, 52, 45, 53, 54, 48, 102, 45, 52, 53, 50, 48, 45, 56, 98, 49, 99, 45, 48, 98, 57, 50, 54, 54, 53, 48, 100, 48, 51, 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, 48, 53, 52, 49, 54, 102, 53, 100, 37, 50, 68, 101, 52, 51, 53, 37, 50, 68, 52, 55, 102, 98, 37, 50, 68, 97, 50, 53, 54, 37, 50, 68, 102, 102, 55, 55, 55, 56, 51, 97, 97, 102, 48, 100, 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, 48, 58, 49, 51, 58, 50, 49, 46, 57, 54, 55, 49, 56, 52, 53, 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, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 50, 98, 98, 49, 54, 101, 56, 50, 45, 48, 50, 53, 51, 45, 52, 56, 56, 54, 45, 57, 102, 56, 52, 45, 97, 53, 57, 51, 55, 54, 100, 51, 97, 99, 100, 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, 48, 53, 52, 49, 54, 102, 53, 100, 45, 101, 52, 51, 53, 45, 52, 55, 102, 98, 45, 97, 50, 53, 54, 45, 102, 102, 55, 55, 55, 56, 51, 97, 97, 102, 48, 100, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 55, 101, 55, 51, 53, 56, 52, 57, 45, 98, 54, 101, 56, 45, 52, 54, 52, 49, 45, 97, 100, 52, 57, 45, 48, 48, 57, 51, 100, 98, 55, 56, 99, 53, 97, 55, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 53, 52, 49, 54, 102, 53, 100, 37, 50, 68, 101, 52, 51, 53, 37, 50, 68, 52, 55, 102, 98, 37, 50, 68, 97, 50, 53, 54, 37, 50, 68, 102, 102, 55, 55, 55, 56, 51, 97, 97, 102, 48, 100, 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, 55, 51, 53, 56, 52, 57, 45, 98, 54, 101, 56, 45, 52, 54, 52, 49, 45, 97, 100, 52, 57, 45, 48, 48, 57, 51, 100, 98, 55, 56, 99, 53, 97, 55, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:13:22Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/05416f5d-e435-47fb-a256-ff77783aaf0d", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"d2224be4-560f-4520-8b1c-0b926650d032\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://05416f5d%2De435%2D47fb%2Da256%2Dff77783aaf0d/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:13:21.967184535Z\",\"data\":{\"connected\":true},\"applicationuid\":\"2bb16e82-0253-4886-9f84-a59376d3acd3\",\"sender\":\"gateway1\",\"application\":\"05416f5d-e435-47fb-a256-ff77783aaf0d\",\"deviceuid\":\"7e735849-b6e8-4641-ad49-0093db78c5a7\",\"partitionkey\":\"05416f5d%2De435%2D47fb%2Da256%2Dff77783aaf0d/gateway1\",\"device\":\"gateway1\",\"instance\":\"drogue\",\"senderuid\":\"7e735849-b6e8-4641-ad49-0093db78c5a7\"}" }
[2022-05-09T10:13:22Z 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: 0x55efdc06a260 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdc06a260 } } } }
[2022-05-09T10:13:22Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:13:22Z 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: 0x7f0ed000abf0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/05416f5d-e435-47fb-a256-ff77783aaf0d", 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, 101, 57, 52, 97, 50, 56, 45, 97, 102, 54, 102, 45, 52, 56, 52, 49, 45, 97, 54, 98, 52, 45, 97, 50, 102, 97, 53, 48, 51, 49, 56, 97, 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, 48, 53, 52, 49, 54, 102, 53, 100, 37, 50, 68, 101, 52, 51, 53, 37, 50, 68, 52, 55, 102, 98, 37, 50, 68, 97, 50, 53, 54, 37, 50, 68, 102, 102, 55, 55, 55, 56, 51, 97, 97, 102, 48, 100, 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, 48, 58, 49, 51, 58, 50, 50, 46, 56, 51, 48, 51, 52, 50, 57, 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, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 53, 52, 49, 54, 102, 53, 100, 45, 101, 52, 51, 53, 45, 52, 55, 102, 98, 45, 97, 50, 53, 54, 45, 102, 102, 55, 55, 55, 56, 51, 97, 97, 102, 48, 100, 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, 55, 101, 55, 51, 53, 56, 52, 57, 45, 98, 54, 101, 56, 45, 52, 54, 52, 49, 45, 97, 100, 52, 57, 45, 48, 48, 57, 51, 100, 98, 55, 56, 99, 53, 97, 55, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 53, 52, 49, 54, 102, 53, 100, 37, 50, 68, 101, 52, 51, 53, 37, 50, 68, 52, 55, 102, 98, 37, 50, 68, 97, 50, 53, 54, 37, 50, 68, 102, 102, 55, 55, 55, 56, 51, 97, 97, 102, 48, 100, 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, 101, 55, 51, 53, 56, 52, 57, 45, 98, 54, 101, 56, 45, 52, 54, 52, 49, 45, 97, 100, 52, 57, 45, 48, 48, 57, 51, 100, 98, 55, 56, 99, 53, 97, 55, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 50, 98, 98, 49, 54, 101, 56, 50, 45, 48, 50, 53, 51, 45, 52, 56, 56, 54, 45, 57, 102, 56, 52, 45, 97, 53, 57, 51, 55, 54, 100, 51, 97, 99, 100, 51, 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-09T10:13:22Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/05416f5d-e435-47fb-a256-ff77783aaf0d", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"efe94a28-af6f-4841-a6b4-a2fa50318a27\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://05416f5d%2De435%2D47fb%2Da256%2Dff77783aaf0d/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:13:22.830342991Z\",\"data\":{\"connected\":false},\"application\":\"05416f5d-e435-47fb-a256-ff77783aaf0d\",\"device\":\"gateway1\",\"sender\":\"gateway1\",\"senderuid\":\"7e735849-b6e8-4641-ad49-0093db78c5a7\",\"partitionkey\":\"05416f5d%2De435%2D47fb%2Da256%2Dff77783aaf0d/gateway1\",\"deviceuid\":\"7e735849-b6e8-4641-ad49-0093db78c5a7\",\"applicationuid\":\"2bb16e82-0253-4886-9f84-a59376d3acd3\",\"instance\":\"drogue\"}" }
[2022-05-09T10:13:23Z 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: 0x7f0ed0030390, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/05416f5d-e435-47fb-a256-ff77783aaf0d", 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, 51, 49, 51, 99, 102, 52, 53, 45, 102, 49, 98, 51, 45, 52, 101, 53, 99, 45, 56, 50, 97, 53, 45, 49, 56, 52, 101, 98, 49, 102, 101, 102, 50, 102, 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, 48, 53, 52, 49, 54, 102, 53, 100, 37, 50, 68, 101, 52, 51, 53, 37, 50, 68, 52, 55, 102, 98, 37, 50, 68, 97, 50, 53, 54, 37, 50, 68, 102, 102, 55, 55, 55, 56, 51, 97, 97, 102, 48, 100, 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, 48, 58, 49, 51, 58, 50, 50, 46, 56, 50, 57, 51, 56, 56, 52, 51, 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, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 57, 50, 55, 57, 98, 52, 101, 53, 45, 99, 48, 53, 48, 45, 52, 97, 102, 102, 45, 98, 56, 52, 55, 45, 57, 57, 51, 97, 97, 102, 53, 53, 100, 48, 53, 54, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 53, 52, 49, 54, 102, 53, 100, 37, 50, 68, 101, 52, 51, 53, 37, 50, 68, 52, 55, 102, 98, 37, 50, 68, 97, 50, 53, 54, 37, 50, 68, 102, 102, 55, 55, 55, 56, 51, 97, 97, 102, 48, 100, 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, 48, 53, 52, 49, 54, 102, 53, 100, 45, 101, 52, 51, 53, 45, 52, 55, 102, 98, 45, 97, 50, 53, 54, 45, 102, 102, 55, 55, 55, 56, 51, 97, 97, 102, 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, 117, 105, 100, 34, 58, 34, 50, 98, 98, 49, 54, 101, 56, 50, 45, 48, 50, 53, 51, 45, 52, 56, 56, 54, 45, 57, 102, 56, 52, 45, 97, 53, 57, 51, 55, 54, 100, 51, 97, 99, 100, 51, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 55, 101, 55, 51, 53, 56, 52, 57, 45, 98, 54, 101, 56, 45, 52, 54, 52, 49, 45, 97, 100, 52, 57, 45, 48, 48, 57, 51, 100, 98, 55, 56, 99, 53, 97, 55, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:13:23Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/05416f5d-e435-47fb-a256-ff77783aaf0d", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"f313cf45-f1b3-4e5c-82a5-184eb1fef2fb\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://05416f5d%2De435%2D47fb%2Da256%2Dff77783aaf0d/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:13:22.829388437Z\",\"data_base64\":\"\",\"sender\":\"gateway1\",\"device\":\"device1\",\"deviceuid\":\"9279b4e5-c050-4aff-b847-993aaf55d056\",\"partitionkey\":\"05416f5d%2De435%2D47fb%2Da256%2Dff77783aaf0d/device1\",\"application\":\"05416f5d-e435-47fb-a256-ff77783aaf0d\",\"instance\":\"drogue\",\"applicationuid\":\"2bb16e82-0253-4886-9f84-a59376d3acd3\",\"senderuid\":\"7e735849-b6e8-4641-ad49-0093db78c5a7\"}" }
[2022-05-09T10:13:23Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:13:23Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:13:23Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:13:23Z 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: "05416f5d-e435-47fb-a256-ff77783aaf0d", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "05416f5d-e435-47fb-a256-ff77783aaf0d", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:13:23Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:13:23Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "05416f5d-e435-47fb-a256-ff77783aaf0d" "device1"
[2022-05-09T10:13:23Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:13:23Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:13:23Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "05416f5d-e435-47fb-a256-ff77783aaf0d" "gateway1"
[2022-05-09T10:13:23Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:13:23Z INFO  drogue_cloud_tests::resources::apps] Destroy application '05416f5d-e435-47fb-a256-ff77783aaf0d'
[2022-05-09T10:13:23Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "05416f5d-e435-47fb-a256-ff77783aaf0d"
[2022-05-09T10:13:23Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 05416f5d-e435-47fb-a256-ff77783aaf0d deleted.\n", stderr: "" })

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

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T10:13:25Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:13:25Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:13:25Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:13:25Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:13: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-09T10:13:26Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:13:28Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:13:28Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:13:28Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:13: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-09T10:13:30Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMwMDksImlhdCI6MTY1MjA5MTIwOSwianRpIjoiZGVkNzE1YzQtYjk3NC00MTcxLTk4MTQtMTcxYTdiMzFlMzk3IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImRKaXNwUGJzVVFadWgxNGJaRjE0S2ciLCJzZXNzaW9uX3N0YXRlIjoiODQxOWIzNDktMjhkOC00YTEwLWIzNWYtZjdjNjhhMjgyYjA5Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijg0MTliMzQ5LTI4ZDgtNGExMC1iMzVmLWY3YzY4YTI4MmIwOSJ9.2gTNWZjJr6xlsgzpUoYShDh2YjP_1vhzw7GoTrEtvEA
[2022-05-09T10:13:30Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:13:30Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:13:30Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMwMDksImlhdCI6MTY1MjA5MTIwOSwianRpIjoiZGVkNzE1YzQtYjk3NC00MTcxLTk4MTQtMTcxYTdiMzFlMzk3IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImRKaXNwUGJzVVFadWgxNGJaRjE0S2ciLCJzZXNzaW9uX3N0YXRlIjoiODQxOWIzNDktMjhkOC00YTEwLWIzNWYtZjdjNjhhMjgyYjA5Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijg0MTliMzQ5LTI4ZDgtNGExMC1iMzVmLWY3YzY4YTI4MmIwOSJ9.2gTNWZjJr6xlsgzpUoYShDh2YjP_1vhzw7GoTrEtvEA" "--context" "system-tests"
[2022-05-09T10:13:30Z 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-09T10:13:30Z INFO  drogue_cloud_tests::resources::apps] Create application: 0d12a8db-0af1-4730-838e-6fd40b867a87
[2022-05-09T10:13:30Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "0d12a8db-0af1-4730-838e-6fd40b867a87"
[2022-05-09T10:13:30Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 0d12a8db-0af1-4730-838e-6fd40b867a87 created.\n", stderr: "" })
[2022-05-09T10:13:30Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "0d12a8db-0af1-4730-838e-6fd40b867a87"
[2022-05-09T10:13:30Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:13:30.956259Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"0d12a8db-0af1-4730-838e-6fd40b867a87\",\n    \"resourceVersion\": \"431756ff-9b36-4262-b7fa-8cc5459fc11c\",\n    \"uid\": \"d15ac861-9c08-45c3-99a9-e8497a049f48\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:30.968751260Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:30.968794851Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:30.968643629Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:30.968645232Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:30.968646063Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:30.968647396Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:30.968648748Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:30.968716164Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:13:30Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:13:30.956259Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("0d12a8db-0af1-4730-838e-6fd40b867a87"), "resourceVersion": String("431756ff-9b36-4262-b7fa-8cc5459fc11c"), "uid": String("d15ac861-9c08-45c3-99a9-e8497a049f48")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:30.968751260Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:30.968794851Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:30.968643629Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:13:30.968645232Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:13:30.968646063Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:30.968647396Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:13:30.968648748Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:30.968716164Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T10:13:30Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:13:31Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "0d12a8db-0af1-4730-838e-6fd40b867a87"
[2022-05-09T10:13:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:13:30.956259Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"0d12a8db-0af1-4730-838e-6fd40b867a87\",\n    \"resourceVersion\": \"11ba3c12-18a4-4df1-89fb-3fe95a65799a\",\n    \"uid\": \"d15ac861-9c08-45c3-99a9-e8497a049f48\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:31.203813082Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:31.203859770Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:30.994524749Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:31.000800140Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:31.050012585Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:31.055548102Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:31.203713034Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:31.203731188Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"US1sMmfe3uwI\",\n        \"username\": \"user-0d12a8db-0af1-4730-838e-6fd40b867a87\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:13:32Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:13:30.956259Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("0d12a8db-0af1-4730-838e-6fd40b867a87"), "resourceVersion": String("11ba3c12-18a4-4df1-89fb-3fe95a65799a"), "uid": String("d15ac861-9c08-45c3-99a9-e8497a049f48")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:31.203813082Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:31.203859770Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:30.994524749Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:13:31.000800140Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:13:31.050012585Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:31.055548102Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:13:31.203713034Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:31.203731188Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("US1sMmfe3uwI"), "username": String("user-0d12a8db-0af1-4730-838e-6fd40b867a87")})})})})
[2022-05-09T10:13:32Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:13:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "0d12a8db-0af1-4730-838e-6fd40b867a87"
[2022-05-09T10:13:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:13:30.956259Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"0d12a8db-0af1-4730-838e-6fd40b867a87\",\n    \"resourceVersion\": \"11ba3c12-18a4-4df1-89fb-3fe95a65799a\",\n    \"uid\": \"d15ac861-9c08-45c3-99a9-e8497a049f48\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:31.203813082Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:31.203859770Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:30.994524749Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:31.000800140Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:31.050012585Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:31.055548102Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:31.203713034Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:31.203731188Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"US1sMmfe3uwI\",\n        \"username\": \"user-0d12a8db-0af1-4730-838e-6fd40b867a87\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:13:32Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:13:30.956259Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("0d12a8db-0af1-4730-838e-6fd40b867a87"), "resourceVersion": String("11ba3c12-18a4-4df1-89fb-3fe95a65799a"), "uid": String("d15ac861-9c08-45c3-99a9-e8497a049f48")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:31.203813082Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:31.203859770Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:30.994524749Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:13:31.000800140Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:13:31.050012585Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:31.055548102Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:13:31.203713034Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:31.203731188Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("US1sMmfe3uwI"), "username": String("user-0d12a8db-0af1-4730-838e-6fd40b867a87")})})})})
[2022-05-09T10:13:32Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:13:32Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:13:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "0d12a8db-0af1-4730-838e-6fd40b867a87" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:13:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:13:32Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:13:32Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:13:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:13:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE1MTAsImlhdCI6MTY1MjA5MTIxMCwiYXV0aF90aW1lIjoxNjUyMDkxMjA3LCJqdGkiOiIwNmU1ZWJjOS0xZmFhLTRmNjYtYmNjOS1hZGE0ZTVmNDlmMDMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJkSmlzcFBic1VRWnVoMTRiWkYxNEtnIiwic2Vzc2lvbl9zdGF0ZSI6Ijg0MTliMzQ5LTI4ZDgtNGExMC1iMzVmLWY3YzY4YTI4MmIwOSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijg0MTliMzQ5LTI4ZDgtNGExMC1iMzVmLWY3YzY4YTI4MmIwOSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.qxzwCNf2x9bkv35ymPrh25YGej49N0BfQj4ojvniCn-APfH6fb8Cv5wnUj5XdnTXd5NL-yoKLgzr3xR75QMehDe2zCv22c5qJCJbFncql3vNT_LsDlawKkSo6lHRJYtgtxvgTZo8ZPy34AMXZgFG0Mi19H11SZJ5fgVDXmW2HPVwdQyq5cBefZh9NNzVeGSrnsdPZe8Eqw2Ql61M5WSOsWMjQy2HrD4lLp2sd0r_XFEA30e9rwtRt7DbfnEwSVBRVmDenuORmqlSad14IN3r_uifV8WLOWE5D75WcZ0tc70r8881rlth7VJIPJyZ-G7iqDG8DNmPJOass6bw4egLbg\n", stderr: "" })
[2022-05-09T10:13:32Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:13:32Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:13:32Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:13:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "0d12a8db-0af1-4730-838e-6fd40b867a87" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:13:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:13:32Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T10:13:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:13:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE1MTAsImlhdCI6MTY1MjA5MTIxMCwiYXV0aF90aW1lIjoxNjUyMDkxMjA3LCJqdGkiOiIwNmU1ZWJjOS0xZmFhLTRmNjYtYmNjOS1hZGE0ZTVmNDlmMDMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJkSmlzcFBic1VRWnVoMTRiWkYxNEtnIiwic2Vzc2lvbl9zdGF0ZSI6Ijg0MTliMzQ5LTI4ZDgtNGExMC1iMzVmLWY3YzY4YTI4MmIwOSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijg0MTliMzQ5LTI4ZDgtNGExMC1iMzVmLWY3YzY4YTI4MmIwOSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.qxzwCNf2x9bkv35ymPrh25YGej49N0BfQj4ojvniCn-APfH6fb8Cv5wnUj5XdnTXd5NL-yoKLgzr3xR75QMehDe2zCv22c5qJCJbFncql3vNT_LsDlawKkSo6lHRJYtgtxvgTZo8ZPy34AMXZgFG0Mi19H11SZJ5fgVDXmW2HPVwdQyq5cBefZh9NNzVeGSrnsdPZe8Eqw2Ql61M5WSOsWMjQy2HrD4lLp2sd0r_XFEA30e9rwtRt7DbfnEwSVBRVmDenuORmqlSad14IN3r_uifV8WLOWE5D75WcZ0tc70r8881rlth7VJIPJyZ-G7iqDG8DNmPJOass6bw4egLbg\n", stderr: "" })
[2022-05-09T10:13: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: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "21f754c0-d5c1-4d78-8652-a89d59e14983", persistence: None, user_data: None }
[2022-05-09T10:13:32Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:13:32Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc19ba10
[2022-05-09T10:13:32Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc19ba10
[2022-05-09T10:13:32Z 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: 0x55efdc19a4c0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbfb9200, 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: 0x55efdc19ae70, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE1MTAsImlhdCI6MTY1MjA5MTIxMCwiYXV0aF90aW1lIjoxNjUyMDkxMjA3LCJqdGkiOiIwNmU1ZWJjOS0xZmFhLTRmNjYtYmNjOS1hZGE0ZTVmNDlmMDMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJkSmlzcFBic1VRWnVoMTRiWkYxNEtnIiwic2Vzc2lvbl9zdGF0ZSI6Ijg0MTliMzQ5LTI4ZDgtNGExMC1iMzVmLWY3YzY4YTI4MmIwOSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijg0MTliMzQ5LTI4ZDgtNGExMC1iMzVmLWY3YzY4YTI4MmIwOSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.qxzwCNf2x9bkv35ymPrh25YGej49N0BfQj4ojvniCn-APfH6fb8Cv5wnUj5XdnTXd5NL-yoKLgzr3xR75QMehDe2zCv22c5qJCJbFncql3vNT_LsDlawKkSo6lHRJYtgtxvgTZo8ZPy34AMXZgFG0Mi19H11SZJ5fgVDXmW2HPVwdQyq5cBefZh9NNzVeGSrnsdPZe8Eqw2Ql61M5WSOsWMjQy2HrD4lLp2sd0r_XFEA30e9rwtRt7DbfnEwSVBRVmDenuORmqlSad14IN3r_uifV8WLOWE5D75WcZ0tc70r8881rlth7VJIPJyZ-G7iqDG8DNmPJOass6bw4egLbg"), 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-09T10:13:32Z DEBUG paho_mqtt::async_client] Subscribe to '"app/0d12a8db-0af1-4730-838e-6fd40b867a87"' @ QOS 0
[2022-05-09T10:13:32Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:13:32Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:13:32Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:13: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-09T10:13:32Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:13: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-09T10:13:33Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:13: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-09T10:13:33Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:13: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-09T10:13:34Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:13: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-09T10:13:34Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:13: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-09T10:13:35Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:13: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-09T10:13:35Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:13: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-09T10:13:35Z 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: 0x7f0edc032b50, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc032dd0 } }, data: MessageData { topic: "app/0d12a8db-0af1-4730-838e-6fd40b867a87", 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, 97, 97, 49, 56, 53, 100, 101, 45, 101, 48, 54, 52, 45, 52, 49, 97, 49, 45, 56, 55, 55, 97, 45, 52, 53, 97, 56, 52, 101, 100, 53, 99, 56, 52, 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, 48, 100, 49, 50, 97, 56, 100, 98, 37, 50, 68, 48, 97, 102, 49, 37, 50, 68, 52, 55, 51, 48, 37, 50, 68, 56, 51, 56, 101, 37, 50, 68, 54, 102, 100, 52, 48, 98, 56, 54, 55, 97, 56, 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, 48, 58, 49, 51, 58, 51, 53, 46, 52, 57, 52, 52, 53, 51, 51, 49, 54, 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, 100, 49, 53, 97, 99, 56, 54, 49, 45, 57, 99, 48, 56, 45, 52, 53, 99, 51, 45, 57, 57, 97, 57, 45, 101, 56, 52, 57, 55, 97, 48, 52, 57, 102, 52, 56, 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, 48, 100, 49, 50, 97, 56, 100, 98, 37, 50, 68, 48, 97, 102, 49, 37, 50, 68, 52, 55, 51, 48, 37, 50, 68, 56, 51, 56, 101, 37, 50, 68, 54, 102, 100, 52, 48, 98, 56, 54, 55, 97, 56, 55, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 55, 49, 99, 101, 52, 51, 101, 57, 45, 56, 55, 55, 50, 45, 52, 99, 52, 51, 45, 98, 97, 98, 55, 45, 55, 102, 100, 52, 55, 56, 100, 49, 55, 101, 51, 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, 102, 53, 98, 54, 53, 102, 52, 54, 45, 99, 97, 101, 101, 45, 52, 48, 57, 53, 45, 98, 54, 102, 52, 45, 101, 54, 97, 102, 53, 99, 57, 55, 53, 51, 97, 50, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 100, 49, 50, 97, 56, 100, 98, 45, 48, 97, 102, 49, 45, 52, 55, 51, 48, 45, 56, 51, 56, 101, 45, 54, 102, 100, 52, 48, 98, 56, 54, 55, 97, 56, 55, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc032dd0 } } } }
[2022-05-09T10:13:35Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee0006220
[2022-05-09T10:13:35Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/0d12a8db-0af1-4730-838e-6fd40b867a87", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"6aa185de-e064-41a1-877a-45a84ed5c84b\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://0d12a8db%2D0af1%2D4730%2D838e%2D6fd40b867a87/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:13:35.494453316Z\",\"data\":{\"index\":3},\"applicationuid\":\"d15ac861-9c08-45c3-99a9-e8497a049f48\",\"instance\":\"drogue\",\"device\":\"device1\",\"partitionkey\":\"0d12a8db%2D0af1%2D4730%2D838e%2D6fd40b867a87/device1\",\"deviceuid\":\"71ce43e9-8772-4c43-bab7-7fd478d17e31\",\"sender\":\"gateway1\",\"senderuid\":\"f5b65f46-caee-4095-b6f4-e6af5c9753a2\",\"application\":\"0d12a8db-0af1-4730-838e-6fd40b867a87\"}" }
[2022-05-09T10:13:36Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:13:36Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:13:36Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:13:36Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:13:36Z 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: "b227552f-e932-4d82-92a6-2d3056a3ce11", persistence: None, user_data: None }
[2022-05-09T10:13:36Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:13:36Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbebbe50
[2022-05-09T10:13:36Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbebbe50
[2022-05-09T10:13:36Z 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: 0x55efdc37f3f0, password: 0x55efdc198be0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbf4f7a0, 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: 0x55efdc37f120, 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@0d12a8db-0af1-4730-838e-6fd40b867a87"), 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-09T10:13:36Z 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: 0x7f0edc011d00, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc011f90 } }, data: MessageData { topic: "app/0d12a8db-0af1-4730-838e-6fd40b867a87", 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, 99, 99, 99, 56, 101, 98, 98, 45, 49, 52, 56, 55, 45, 52, 50, 99, 57, 45, 57, 51, 99, 97, 45, 54, 98, 54, 100, 48, 48, 54, 51, 57, 48, 100, 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, 100, 49, 50, 97, 56, 100, 98, 37, 50, 68, 48, 97, 102, 49, 37, 50, 68, 52, 55, 51, 48, 37, 50, 68, 56, 51, 56, 101, 37, 50, 68, 54, 102, 100, 52, 48, 98, 56, 54, 55, 97, 56, 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, 48, 58, 49, 51, 58, 51, 54, 46, 53, 51, 53, 51, 57, 52, 49, 54, 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, 117, 105, 100, 34, 58, 34, 102, 53, 98, 54, 53, 102, 52, 54, 45, 99, 97, 101, 101, 45, 52, 48, 57, 53, 45, 98, 54, 102, 52, 45, 101, 54, 97, 102, 53, 99, 57, 55, 53, 51, 97, 50, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 100, 49, 50, 97, 56, 100, 98, 45, 48, 97, 102, 49, 45, 52, 55, 51, 48, 45, 56, 51, 56, 101, 45, 54, 102, 100, 52, 48, 98, 56, 54, 55, 97, 56, 55, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 100, 49, 53, 97, 99, 56, 54, 49, 45, 57, 99, 48, 56, 45, 52, 53, 99, 51, 45, 57, 57, 97, 57, 45, 101, 56, 52, 57, 55, 97, 48, 52, 57, 102, 52, 56, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 100, 49, 50, 97, 56, 100, 98, 37, 50, 68, 48, 97, 102, 49, 37, 50, 68, 52, 55, 51, 48, 37, 50, 68, 56, 51, 56, 101, 37, 50, 68, 54, 102, 100, 52, 48, 98, 56, 54, 55, 97, 56, 55, 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, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 102, 53, 98, 54, 53, 102, 52, 54, 45, 99, 97, 101, 101, 45, 52, 48, 57, 53, 45, 98, 54, 102, 52, 45, 101, 54, 97, 102, 53, 99, 57, 55, 53, 51, 97, 50, 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: 0x7f0edc011f90 } } } }
[2022-05-09T10:13:36Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0edc0017e0
[2022-05-09T10:13:36Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/0d12a8db-0af1-4730-838e-6fd40b867a87", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"dccc8ebb-1487-42c9-93ca-6b6d006390db\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://0d12a8db%2D0af1%2D4730%2D838e%2D6fd40b867a87/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:13:36.535394160Z\",\"data\":{\"connected\":true},\"deviceuid\":\"f5b65f46-caee-4095-b6f4-e6af5c9753a2\",\"application\":\"0d12a8db-0af1-4730-838e-6fd40b867a87\",\"applicationuid\":\"d15ac861-9c08-45c3-99a9-e8497a049f48\",\"partitionkey\":\"0d12a8db%2D0af1%2D4730%2D838e%2D6fd40b867a87/gateway1\",\"sender\":\"gateway1\",\"instance\":\"drogue\",\"senderuid\":\"f5b65f46-caee-4095-b6f4-e6af5c9753a2\",\"device\":\"gateway1\"}" }
[2022-05-09T10:13:36Z 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: 0x55efdbf226f0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdbf226f0 } } } }
[2022-05-09T10:13:36Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:13:36Z 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: 0x7f0edc012130, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc02a230 } }, data: MessageData { topic: "app/0d12a8db-0af1-4730-838e-6fd40b867a87", 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, 53, 57, 101, 56, 98, 100, 56, 45, 99, 56, 50, 97, 45, 52, 51, 49, 99, 45, 57, 53, 99, 99, 45, 101, 55, 52, 48, 99, 100, 57, 56, 97, 102, 52, 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, 48, 100, 49, 50, 97, 56, 100, 98, 37, 50, 68, 48, 97, 102, 49, 37, 50, 68, 52, 55, 51, 48, 37, 50, 68, 56, 51, 56, 101, 37, 50, 68, 54, 102, 100, 52, 48, 98, 56, 54, 55, 97, 56, 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, 48, 58, 49, 51, 58, 51, 54, 46, 56, 52, 51, 49, 53, 53, 48, 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, 102, 97, 108, 115, 101, 125, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 102, 53, 98, 54, 53, 102, 52, 54, 45, 99, 97, 101, 101, 45, 52, 48, 57, 53, 45, 98, 54, 102, 52, 45, 101, 54, 97, 102, 53, 99, 57, 55, 53, 51, 97, 50, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 100, 49, 53, 97, 99, 56, 54, 49, 45, 57, 99, 48, 56, 45, 52, 53, 99, 51, 45, 57, 57, 97, 57, 45, 101, 56, 52, 57, 55, 97, 48, 52, 57, 102, 52, 56, 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, 102, 53, 98, 54, 53, 102, 52, 54, 45, 99, 97, 101, 101, 45, 52, 48, 57, 53, 45, 98, 54, 102, 52, 45, 101, 54, 97, 102, 53, 99, 57, 55, 53, 51, 97, 50, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 100, 49, 50, 97, 56, 100, 98, 45, 48, 97, 102, 49, 45, 52, 55, 51, 48, 45, 56, 51, 56, 101, 45, 54, 102, 100, 52, 48, 98, 56, 54, 55, 97, 56, 55, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 100, 49, 50, 97, 56, 100, 98, 37, 50, 68, 48, 97, 102, 49, 37, 50, 68, 52, 55, 51, 48, 37, 50, 68, 56, 51, 56, 101, 37, 50, 68, 54, 102, 100, 52, 48, 98, 56, 54, 55, 97, 56, 55, 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, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc02a230 } } } }
[2022-05-09T10:13:36Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0edc0017e0
[2022-05-09T10:13:36Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/0d12a8db-0af1-4730-838e-6fd40b867a87", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"e59e8bd8-c82a-431c-95cc-e740cd98af4c\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://0d12a8db%2D0af1%2D4730%2D838e%2D6fd40b867a87/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:13:36.843155054Z\",\"data\":{\"connected\":false},\"deviceuid\":\"f5b65f46-caee-4095-b6f4-e6af5c9753a2\",\"applicationuid\":\"d15ac861-9c08-45c3-99a9-e8497a049f48\",\"instance\":\"drogue\",\"device\":\"gateway1\",\"senderuid\":\"f5b65f46-caee-4095-b6f4-e6af5c9753a2\",\"application\":\"0d12a8db-0af1-4730-838e-6fd40b867a87\",\"partitionkey\":\"0d12a8db%2D0af1%2D4730%2D838e%2D6fd40b867a87/gateway1\",\"sender\":\"gateway1\"}" }
[2022-05-09T10:13:37Z 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: 0x7f0edc01c3f0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc01c670 } }, data: MessageData { topic: "app/0d12a8db-0af1-4730-838e-6fd40b867a87", 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, 98, 100, 56, 48, 99, 49, 97, 45, 101, 99, 51, 53, 45, 52, 99, 50, 50, 45, 57, 97, 48, 102, 45, 102, 53, 53, 53, 52, 55, 48, 99, 50, 51, 100, 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, 48, 100, 49, 50, 97, 56, 100, 98, 37, 50, 68, 48, 97, 102, 49, 37, 50, 68, 52, 55, 51, 48, 37, 50, 68, 56, 51, 56, 101, 37, 50, 68, 54, 102, 100, 52, 48, 98, 56, 54, 55, 97, 56, 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, 48, 58, 49, 51, 58, 51, 54, 46, 56, 51, 54, 54, 49, 52, 54, 57, 54, 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, 48, 100, 49, 50, 97, 56, 100, 98, 37, 50, 68, 48, 97, 102, 49, 37, 50, 68, 52, 55, 51, 48, 37, 50, 68, 56, 51, 56, 101, 37, 50, 68, 54, 102, 100, 52, 48, 98, 56, 54, 55, 97, 56, 55, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 55, 49, 99, 101, 52, 51, 101, 57, 45, 56, 55, 55, 50, 45, 52, 99, 52, 51, 45, 98, 97, 98, 55, 45, 55, 102, 100, 52, 55, 56, 100, 49, 55, 101, 51, 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, 102, 53, 98, 54, 53, 102, 52, 54, 45, 99, 97, 101, 101, 45, 52, 48, 57, 53, 45, 98, 54, 102, 52, 45, 101, 54, 97, 102, 53, 99, 57, 55, 53, 51, 97, 50, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 100, 49, 53, 97, 99, 56, 54, 49, 45, 57, 99, 48, 56, 45, 52, 53, 99, 51, 45, 57, 57, 97, 57, 45, 101, 56, 52, 57, 55, 97, 48, 52, 57, 102, 52, 56, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 100, 49, 50, 97, 56, 100, 98, 45, 48, 97, 102, 49, 45, 52, 55, 51, 48, 45, 56, 51, 56, 101, 45, 54, 102, 100, 52, 48, 98, 56, 54, 55, 97, 56, 55, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc01c670 } } } }
[2022-05-09T10:13:37Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0edc0017e0
[2022-05-09T10:13:37Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/0d12a8db-0af1-4730-838e-6fd40b867a87", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"7bd80c1a-ec35-4c22-9a0f-f555470c23de\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://0d12a8db%2D0af1%2D4730%2D838e%2D6fd40b867a87/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:13:36.836614696Z\",\"data_base64\":\"\",\"device\":\"device1\",\"instance\":\"drogue\",\"partitionkey\":\"0d12a8db%2D0af1%2D4730%2D838e%2D6fd40b867a87/device1\",\"deviceuid\":\"71ce43e9-8772-4c43-bab7-7fd478d17e31\",\"sender\":\"gateway1\",\"senderuid\":\"f5b65f46-caee-4095-b6f4-e6af5c9753a2\",\"applicationuid\":\"d15ac861-9c08-45c3-99a9-e8497a049f48\",\"application\":\"0d12a8db-0af1-4730-838e-6fd40b867a87\"}" }
[2022-05-09T10:13:37Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:13:37Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:13:37Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:13:37Z 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: "0d12a8db-0af1-4730-838e-6fd40b867a87", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "0d12a8db-0af1-4730-838e-6fd40b867a87", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:13:37Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:13:37Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "0d12a8db-0af1-4730-838e-6fd40b867a87" "device1"
[2022-05-09T10:13:37Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:13:37Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:13:37Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "0d12a8db-0af1-4730-838e-6fd40b867a87" "gateway1"
[2022-05-09T10:13:37Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:13:37Z INFO  drogue_cloud_tests::resources::apps] Destroy application '0d12a8db-0af1-4730-838e-6fd40b867a87'
[2022-05-09T10:13:37Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "0d12a8db-0af1-4730-838e-6fd40b867a87"
[2022-05-09T10:13:37Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 0d12a8db-0af1-4730-838e-6fd40b867a87 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-09T10:13:39Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:13:39Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:13:39Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:13:39Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:13: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-09T10:13:40Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:13:42Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:13:42Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:13:42Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:13: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-09T10:13:44Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMwMjQsImlhdCI6MTY1MjA5MTIyNCwianRpIjoiNTRiMWI1MTItMjcwNy00ZTJlLWFmMjYtY2UyNmUyOGYxNzI1IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImM3VWdsYlZDTG5TaVNmc21fRl9jUmciLCJzZXNzaW9uX3N0YXRlIjoiOGVkNzViMTItNWY0MS00MjdjLTg1MDItMzQ3YTU2MGE4ODk5Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjhlZDc1YjEyLTVmNDEtNDI3Yy04NTAyLTM0N2E1NjBhODg5OSJ9.2rtBRqx0R5sd3QrLcjAJJpS9_NclU-HYq21duaqhH6o
[2022-05-09T10:13:44Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:13:44Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:13:44Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMwMjQsImlhdCI6MTY1MjA5MTIyNCwianRpIjoiNTRiMWI1MTItMjcwNy00ZTJlLWFmMjYtY2UyNmUyOGYxNzI1IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImM3VWdsYlZDTG5TaVNmc21fRl9jUmciLCJzZXNzaW9uX3N0YXRlIjoiOGVkNzViMTItNWY0MS00MjdjLTg1MDItMzQ3YTU2MGE4ODk5Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjhlZDc1YjEyLTVmNDEtNDI3Yy04NTAyLTM0N2E1NjBhODg5OSJ9.2rtBRqx0R5sd3QrLcjAJJpS9_NclU-HYq21duaqhH6o" "--context" "system-tests"
[2022-05-09T10:13:44Z 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-09T10:13:45Z INFO  drogue_cloud_tests::resources::apps] Create application: e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938
[2022-05-09T10:13:45Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938"
[2022-05-09T10:13:45Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938 created.\n", stderr: "" })
[2022-05-09T10:13:45Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938"
[2022-05-09T10:13:45Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:13:45.039453Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938\",\n    \"resourceVersion\": \"26ad18e5-5b90-4f99-b278-3806f269b513\",\n    \"uid\": \"fbc4e8a1-c56e-40c3-af9b-4a9c4fc90cb1\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:45.053978301Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:45.054073060Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:45.053915044Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:45.053918140Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:45.053919132Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:45.053920384Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:45.053921125Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:45.053942315Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:13:45Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:13:45.039453Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938"), "resourceVersion": String("26ad18e5-5b90-4f99-b278-3806f269b513"), "uid": String("fbc4e8a1-c56e-40c3-af9b-4a9c4fc90cb1")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:45.053978301Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:45.054073060Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:45.053915044Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:13:45.053918140Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:13:45.053919132Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:45.053920384Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:13:45.053921125Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:45.053942315Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T10:13:45Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:13:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938"
[2022-05-09T10:13:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:13:45.039453Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938\",\n    \"resourceVersion\": \"8813aebb-9a32-4dc8-854d-450ac1681de5\",\n    \"uid\": \"fbc4e8a1-c56e-40c3-af9b-4a9c4fc90cb1\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:45.312463845Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:45.312615569Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:45.079119028Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:45.084904174Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:45.154505814Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:45.161688340Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:45.312291262Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:45.312411827Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"ddvN8BJr7IKo\",\n        \"username\": \"user-e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:13:46Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:13:45.039453Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938"), "resourceVersion": String("8813aebb-9a32-4dc8-854d-450ac1681de5"), "uid": String("fbc4e8a1-c56e-40c3-af9b-4a9c4fc90cb1")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:45.312463845Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:45.312615569Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:45.079119028Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:13:45.084904174Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:13:45.154505814Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:45.161688340Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:13:45.312291262Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:45.312411827Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("ddvN8BJr7IKo"), "username": String("user-e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938")})})})})
[2022-05-09T10:13:46Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:13:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938"
[2022-05-09T10:13:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:13:45.039453Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938\",\n    \"resourceVersion\": \"8813aebb-9a32-4dc8-854d-450ac1681de5\",\n    \"uid\": \"fbc4e8a1-c56e-40c3-af9b-4a9c4fc90cb1\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:45.312463845Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:45.312615569Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:45.079119028Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:45.084904174Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:45.154505814Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:45.161688340Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:45.312291262Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:45.312411827Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"ddvN8BJr7IKo\",\n        \"username\": \"user-e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:13:46Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:13:45.039453Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938"), "resourceVersion": String("8813aebb-9a32-4dc8-854d-450ac1681de5"), "uid": String("fbc4e8a1-c56e-40c3-af9b-4a9c4fc90cb1")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:45.312463845Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:45.312615569Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:45.079119028Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:13:45.084904174Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:13:45.154505814Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:45.161688340Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:13:45.312291262Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:45.312411827Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("ddvN8BJr7IKo"), "username": String("user-e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938")})})})})
[2022-05-09T10:13:46Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:13:46Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:13:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:13:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:13:46Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:13:46Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:13:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:13:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE1MjQsImlhdCI6MTY1MjA5MTIyNCwiYXV0aF90aW1lIjoxNjUyMDkxMjIxLCJqdGkiOiI3NjI1ZDViNy01YTI3LTRlYWUtYWU4NS0yYjJjZTlkYWZlNTciLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJjN1VnbGJWQ0xuU2lTZnNtX0ZfY1JnIiwic2Vzc2lvbl9zdGF0ZSI6IjhlZDc1YjEyLTVmNDEtNDI3Yy04NTAyLTM0N2E1NjBhODg5OSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjhlZDc1YjEyLTVmNDEtNDI3Yy04NTAyLTM0N2E1NjBhODg5OSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.OFrfC6l6yOOQOiEC8gAW-kP6S1E_znkMJ3R9Nl7y_N3d4X7qvbwRucHeBYcpc3xC0yh0jXxLwT-BfvXDJ9RLosdbSBYL22xGziRZO2JSa9UIKk7pDDc187AxFuccO-HqUUi8SNfFFvOq0G5IX0XeayiJ-HJwcBFNF0HhbCifP4siF00MGNKiIZzYi3QrbRP99D1Qlr8tzGE1zzScBDvrhYY1EkI-2pJ16WXx8HDrtsgLxrJnTUIyVMlQHyH5gVHnd8d-vvym6CtiXsEfWd_WGBt7fFMbDOjuJQWe_28sRQ7PetRRXQyn6m_07j3xjXXxW5sVIvaDNulKXbDHLHiZ9Q\n", stderr: "" })
[2022-05-09T10:13:46Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:13:46Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:13:46Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:13:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:13:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:13:46Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T10:13:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:13:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE1MjQsImlhdCI6MTY1MjA5MTIyNCwiYXV0aF90aW1lIjoxNjUyMDkxMjIxLCJqdGkiOiI3NjI1ZDViNy01YTI3LTRlYWUtYWU4NS0yYjJjZTlkYWZlNTciLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJjN1VnbGJWQ0xuU2lTZnNtX0ZfY1JnIiwic2Vzc2lvbl9zdGF0ZSI6IjhlZDc1YjEyLTVmNDEtNDI3Yy04NTAyLTM0N2E1NjBhODg5OSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjhlZDc1YjEyLTVmNDEtNDI3Yy04NTAyLTM0N2E1NjBhODg5OSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.OFrfC6l6yOOQOiEC8gAW-kP6S1E_znkMJ3R9Nl7y_N3d4X7qvbwRucHeBYcpc3xC0yh0jXxLwT-BfvXDJ9RLosdbSBYL22xGziRZO2JSa9UIKk7pDDc187AxFuccO-HqUUi8SNfFFvOq0G5IX0XeayiJ-HJwcBFNF0HhbCifP4siF00MGNKiIZzYi3QrbRP99D1Qlr8tzGE1zzScBDvrhYY1EkI-2pJ16WXx8HDrtsgLxrJnTUIyVMlQHyH5gVHnd8d-vvym6CtiXsEfWd_WGBt7fFMbDOjuJQWe_28sRQ7PetRRXQyn6m_07j3xjXXxW5sVIvaDNulKXbDHLHiZ9Q\n", stderr: "" })
[2022-05-09T10:13: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: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "147899e8-c0e8-48fe-a86c-895ee3a71a94", persistence: None, user_data: None }
[2022-05-09T10:13:46Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:13:46Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbf3b5b0
[2022-05-09T10:13:46Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbf3b5b0
[2022-05-09T10:13: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: 0x55efdc198cc0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbff2af0, 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: 0x55efdc0c8b60, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE1MjQsImlhdCI6MTY1MjA5MTIyNCwiYXV0aF90aW1lIjoxNjUyMDkxMjIxLCJqdGkiOiI3NjI1ZDViNy01YTI3LTRlYWUtYWU4NS0yYjJjZTlkYWZlNTciLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJjN1VnbGJWQ0xuU2lTZnNtX0ZfY1JnIiwic2Vzc2lvbl9zdGF0ZSI6IjhlZDc1YjEyLTVmNDEtNDI3Yy04NTAyLTM0N2E1NjBhODg5OSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjhlZDc1YjEyLTVmNDEtNDI3Yy04NTAyLTM0N2E1NjBhODg5OSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.OFrfC6l6yOOQOiEC8gAW-kP6S1E_znkMJ3R9Nl7y_N3d4X7qvbwRucHeBYcpc3xC0yh0jXxLwT-BfvXDJ9RLosdbSBYL22xGziRZO2JSa9UIKk7pDDc187AxFuccO-HqUUi8SNfFFvOq0G5IX0XeayiJ-HJwcBFNF0HhbCifP4siF00MGNKiIZzYi3QrbRP99D1Qlr8tzGE1zzScBDvrhYY1EkI-2pJ16WXx8HDrtsgLxrJnTUIyVMlQHyH5gVHnd8d-vvym6CtiXsEfWd_WGBt7fFMbDOjuJQWe_28sRQ7PetRRXQyn6m_07j3xjXXxW5sVIvaDNulKXbDHLHiZ9Q"), 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-09T10:13:46Z DEBUG paho_mqtt::async_client] Subscribe to '"app/e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938"' @ QOS 0
[2022-05-09T10:13:46Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:13:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:13:46Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:13: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-09T10:13:46Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:13: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-09T10:13:47Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:13: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-09T10:13:47Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:13: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-09T10:13:48Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:13: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-09T10:13:48Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:13: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-09T10:13:49Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:13: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-09T10:13:49Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:13: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-09T10:13:49Z 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: 0x7f0ed0006720, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed00069a0 } }, data: MessageData { topic: "app/e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938", 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, 56, 98, 50, 51, 48, 57, 102, 45, 53, 50, 49, 100, 45, 52, 54, 50, 51, 45, 56, 100, 56, 101, 45, 102, 100, 102, 98, 50, 97, 55, 51, 99, 52, 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, 56, 54, 102, 57, 56, 100, 53, 37, 50, 68, 52, 97, 50, 100, 37, 50, 68, 52, 98, 52, 99, 37, 50, 68, 98, 49, 56, 53, 37, 50, 68, 56, 99, 98, 49, 102, 54, 101, 54, 99, 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, 48, 58, 49, 51, 58, 52, 57, 46, 53, 48, 56, 51, 57, 55, 55, 49, 48, 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, 98, 97, 50, 53, 49, 48, 54, 48, 45, 52, 99, 50, 57, 45, 52, 53, 55, 48, 45, 98, 49, 52, 100, 45, 98, 100, 102, 53, 98, 48, 97, 53, 55, 99, 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, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 102, 98, 99, 52, 101, 56, 97, 49, 45, 99, 53, 54, 101, 45, 52, 48, 99, 51, 45, 97, 102, 57, 98, 45, 52, 97, 57, 99, 52, 102, 99, 57, 48, 99, 98, 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, 101, 56, 54, 102, 57, 56, 100, 53, 45, 52, 97, 50, 100, 45, 52, 98, 52, 99, 45, 98, 49, 56, 53, 45, 56, 99, 98, 49, 102, 54, 101, 54, 99, 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, 117, 105, 100, 34, 58, 34, 51, 100, 49, 53, 49, 51, 97, 53, 45, 56, 99, 54, 50, 45, 52, 48, 100, 98, 45, 98, 54, 97, 50, 45, 99, 53, 53, 56, 54, 50, 53, 101, 53, 51, 54, 52, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 101, 56, 54, 102, 57, 56, 100, 53, 37, 50, 68, 52, 97, 50, 100, 37, 50, 68, 52, 98, 52, 99, 37, 50, 68, 98, 49, 56, 53, 37, 50, 68, 56, 99, 98, 49, 102, 54, 101, 54, 99, 57, 51, 56, 47, 100, 101, 118, 105, 99, 101, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed00069a0 } } } }
[2022-05-09T10:13:49Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdc1fa820
[2022-05-09T10:13:49Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"48b2309f-521d-4623-8d8e-fdfb2a73c43c\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://e86f98d5%2D4a2d%2D4b4c%2Db185%2D8cb1f6e6c938/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:13:49.508397710Z\",\"data\":{\"index\":3},\"deviceuid\":\"ba251060-4c29-4570-b14d-bdf5b0a57cec\",\"instance\":\"drogue\",\"applicationuid\":\"fbc4e8a1-c56e-40c3-af9b-4a9c4fc90cb1\",\"sender\":\"gateway1\",\"application\":\"e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938\",\"device\":\"device1\",\"senderuid\":\"3d1513a5-8c62-40db-b6a2-c558625e5364\",\"partitionkey\":\"e86f98d5%2D4a2d%2D4b4c%2Db185%2D8cb1f6e6c938/device1\"}" }
[2022-05-09T10:13:50Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:13:50Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:13:50Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:13:50Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:13:50Z 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: "cb24c5fe-b31a-414d-92af-15649c6b61ee", persistence: None, user_data: None }
[2022-05-09T10:13:50Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:13:50Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc07f770
[2022-05-09T10:13:50Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc07f770
[2022-05-09T10:13:50Z 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: 0x55efdbf61bf0, password: 0x55efdc193310, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc19e220, 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: 0x55efdbeee650, 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@e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938"), 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-09T10:13:51Z 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: 0x7f0ed002be90, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed002c120 } }, data: MessageData { topic: "app/e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938", 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, 48, 48, 102, 55, 56, 48, 53, 45, 98, 99, 49, 49, 45, 52, 54, 48, 52, 45, 56, 98, 50, 100, 45, 54, 56, 54, 99, 49, 101, 54, 54, 101, 97, 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, 101, 56, 54, 102, 57, 56, 100, 53, 37, 50, 68, 52, 97, 50, 100, 37, 50, 68, 52, 98, 52, 99, 37, 50, 68, 98, 49, 56, 53, 37, 50, 68, 56, 99, 98, 49, 102, 54, 101, 54, 99, 57, 51, 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, 48, 58, 49, 51, 58, 53, 48, 46, 57, 55, 55, 50, 50, 52, 51, 56, 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, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 102, 98, 99, 52, 101, 56, 97, 49, 45, 99, 53, 54, 101, 45, 52, 48, 99, 51, 45, 97, 102, 57, 98, 45, 52, 97, 57, 99, 52, 102, 99, 57, 48, 99, 98, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 51, 100, 49, 53, 49, 51, 97, 53, 45, 56, 99, 54, 50, 45, 52, 48, 100, 98, 45, 98, 54, 97, 50, 45, 99, 53, 53, 56, 54, 50, 53, 101, 53, 51, 54, 52, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 51, 100, 49, 53, 49, 51, 97, 53, 45, 56, 99, 54, 50, 45, 52, 48, 100, 98, 45, 98, 54, 97, 50, 45, 99, 53, 53, 56, 54, 50, 53, 101, 53, 51, 54, 52, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 101, 56, 54, 102, 57, 56, 100, 53, 37, 50, 68, 52, 97, 50, 100, 37, 50, 68, 52, 98, 52, 99, 37, 50, 68, 98, 49, 56, 53, 37, 50, 68, 56, 99, 98, 49, 102, 54, 101, 54, 99, 57, 51, 56, 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, 101, 56, 54, 102, 57, 56, 100, 53, 45, 52, 97, 50, 100, 45, 52, 98, 52, 99, 45, 98, 49, 56, 53, 45, 56, 99, 98, 49, 102, 54, 101, 54, 99, 57, 51, 56, 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, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed002c120 } } } }
[2022-05-09T10:13:51Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdc1fa820
[2022-05-09T10:13:51Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"400f7805-bc11-4604-8b2d-686c1e66eab8\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://e86f98d5%2D4a2d%2D4b4c%2Db185%2D8cb1f6e6c938/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:13:50.977224381Z\",\"data\":{\"connected\":true},\"applicationuid\":\"fbc4e8a1-c56e-40c3-af9b-4a9c4fc90cb1\",\"senderuid\":\"3d1513a5-8c62-40db-b6a2-c558625e5364\",\"deviceuid\":\"3d1513a5-8c62-40db-b6a2-c558625e5364\",\"partitionkey\":\"e86f98d5%2D4a2d%2D4b4c%2Db185%2D8cb1f6e6c938/gateway1\",\"sender\":\"gateway1\",\"application\":\"e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938\",\"device\":\"gateway1\",\"instance\":\"drogue\"}" }
[2022-05-09T10:13:51Z 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: 0x55efdc1afb40 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdc1afb40 } } } }
[2022-05-09T10:13:51Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:13: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: 0x7f0ed002c120, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed002c3a0 } }, data: MessageData { topic: "app/e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938", 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, 57, 53, 48, 49, 51, 99, 45, 52, 55, 52, 49, 45, 52, 99, 49, 97, 45, 97, 56, 56, 102, 45, 98, 52, 55, 48, 53, 98, 97, 53, 97, 49, 100, 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, 101, 56, 54, 102, 57, 56, 100, 53, 37, 50, 68, 52, 97, 50, 100, 37, 50, 68, 52, 98, 52, 99, 37, 50, 68, 98, 49, 56, 53, 37, 50, 68, 56, 99, 98, 49, 102, 54, 101, 54, 99, 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, 48, 58, 49, 51, 58, 53, 49, 46, 56, 52, 54, 57, 57, 52, 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, 102, 98, 99, 52, 101, 56, 97, 49, 45, 99, 53, 54, 101, 45, 52, 48, 99, 51, 45, 97, 102, 57, 98, 45, 52, 97, 57, 99, 52, 102, 99, 57, 48, 99, 98, 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, 101, 56, 54, 102, 57, 56, 100, 53, 45, 52, 97, 50, 100, 45, 52, 98, 52, 99, 45, 98, 49, 56, 53, 45, 56, 99, 98, 49, 102, 54, 101, 54, 99, 57, 51, 56, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 101, 56, 54, 102, 57, 56, 100, 53, 37, 50, 68, 52, 97, 50, 100, 37, 50, 68, 52, 98, 52, 99, 37, 50, 68, 98, 49, 56, 53, 37, 50, 68, 56, 99, 98, 49, 102, 54, 101, 54, 99, 57, 51, 56, 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, 117, 105, 100, 34, 58, 34, 51, 100, 49, 53, 49, 51, 97, 53, 45, 56, 99, 54, 50, 45, 52, 48, 100, 98, 45, 98, 54, 97, 50, 45, 99, 53, 53, 56, 54, 50, 53, 101, 53, 51, 54, 52, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 98, 97, 50, 53, 49, 48, 54, 48, 45, 52, 99, 50, 57, 45, 52, 53, 55, 48, 45, 98, 49, 52, 100, 45, 98, 100, 102, 53, 98, 48, 97, 53, 55, 99, 101, 99, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed002c3a0 } } } }
[2022-05-09T10:13:52Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdc1fa820
[2022-05-09T10:13:52Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"7395013c-4741-4c1a-a88f-b4705ba5a1d7\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://e86f98d5%2D4a2d%2D4b4c%2Db185%2D8cb1f6e6c938/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:13:51.846994579Z\",\"data_base64\":\"\",\"applicationuid\":\"fbc4e8a1-c56e-40c3-af9b-4a9c4fc90cb1\",\"sender\":\"gateway1\",\"instance\":\"drogue\",\"application\":\"e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938\",\"partitionkey\":\"e86f98d5%2D4a2d%2D4b4c%2Db185%2D8cb1f6e6c938/device1\",\"device\":\"device1\",\"senderuid\":\"3d1513a5-8c62-40db-b6a2-c558625e5364\",\"deviceuid\":\"ba251060-4c29-4570-b14d-bdf5b0a57cec\"}" }
[2022-05-09T10:13: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: 0x7f0ed002c690, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed002c920 } }, data: MessageData { topic: "app/e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938", 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, 54, 51, 99, 56, 100, 49, 98, 45, 100, 99, 49, 102, 45, 52, 101, 48, 49, 45, 56, 57, 53, 98, 45, 97, 98, 52, 102, 99, 49, 97, 97, 101, 101, 54, 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, 101, 56, 54, 102, 57, 56, 100, 53, 37, 50, 68, 52, 97, 50, 100, 37, 50, 68, 52, 98, 52, 99, 37, 50, 68, 98, 49, 56, 53, 37, 50, 68, 56, 99, 98, 49, 102, 54, 101, 54, 99, 57, 51, 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, 48, 58, 49, 51, 58, 53, 50, 46, 53, 51, 52, 48, 57, 57, 54, 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, 102, 97, 108, 115, 101, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 101, 56, 54, 102, 57, 56, 100, 53, 45, 52, 97, 50, 100, 45, 52, 98, 52, 99, 45, 98, 49, 56, 53, 45, 56, 99, 98, 49, 102, 54, 101, 54, 99, 57, 51, 56, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 51, 100, 49, 53, 49, 51, 97, 53, 45, 56, 99, 54, 50, 45, 52, 48, 100, 98, 45, 98, 54, 97, 50, 45, 99, 53, 53, 56, 54, 50, 53, 101, 53, 51, 54, 52, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 102, 98, 99, 52, 101, 56, 97, 49, 45, 99, 53, 54, 101, 45, 52, 48, 99, 51, 45, 97, 102, 57, 98, 45, 52, 97, 57, 99, 52, 102, 99, 57, 48, 99, 98, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 51, 100, 49, 53, 49, 51, 97, 53, 45, 56, 99, 54, 50, 45, 52, 48, 100, 98, 45, 98, 54, 97, 50, 45, 99, 53, 53, 56, 54, 50, 53, 101, 53, 51, 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, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 101, 56, 54, 102, 57, 56, 100, 53, 37, 50, 68, 52, 97, 50, 100, 37, 50, 68, 52, 98, 52, 99, 37, 50, 68, 98, 49, 56, 53, 37, 50, 68, 56, 99, 98, 49, 102, 54, 101, 54, 99, 57, 51, 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, 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: 0x7f0ed002c920 } } } }
[2022-05-09T10:13:52Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ed0002c80
[2022-05-09T10:13:52Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"363c8d1b-dc1f-4e01-895b-ab4fc1aaee6f\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://e86f98d5%2D4a2d%2D4b4c%2Db185%2D8cb1f6e6c938/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:13:52.534099679Z\",\"data\":{\"connected\":false},\"application\":\"e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938\",\"deviceuid\":\"3d1513a5-8c62-40db-b6a2-c558625e5364\",\"applicationuid\":\"fbc4e8a1-c56e-40c3-af9b-4a9c4fc90cb1\",\"senderuid\":\"3d1513a5-8c62-40db-b6a2-c558625e5364\",\"sender\":\"gateway1\",\"partitionkey\":\"e86f98d5%2D4a2d%2D4b4c%2Db185%2D8cb1f6e6c938/gateway1\",\"instance\":\"drogue\",\"device\":\"gateway1\"}" }
[2022-05-09T10:13:52Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:13:52Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:13:52Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:13: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: "e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:13:52Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:13:52Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938" "device1"
[2022-05-09T10:13:52Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:13:52Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:13:52Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938" "gateway1"
[2022-05-09T10:13:52Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:13:52Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938'
[2022-05-09T10:13:52Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938"
[2022-05-09T10:13:52Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App e86f98d5-4a2d-4b4c-b185-8cb1f6e6c938 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-09T10:13:54Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:13:54Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:13:54Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:13:54Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:13: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-09T10:13:55Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:13:57Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:13:57Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:13:57Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:13: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-09T10:13:59Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMwMzksImlhdCI6MTY1MjA5MTIzOSwianRpIjoiODBjNDI4MmEtMzk2Mi00OWE4LTlkNmQtMzZlMjliNzg0MGU0IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6InVjR0dncURZTVlMNjBNSUdMTlh0bnciLCJzZXNzaW9uX3N0YXRlIjoiODk2ZmY2ZWMtM2Y1Yi00MDc5LTlmMTItMDgzNjNhMjIwMDc5Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijg5NmZmNmVjLTNmNWItNDA3OS05ZjEyLTA4MzYzYTIyMDA3OSJ9.xZNmco4UmbjcN4ORj1OMeIfuNFBBuklu4AlJ1lRZTgw
[2022-05-09T10:13:59Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:13:59Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:13:59Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMwMzksImlhdCI6MTY1MjA5MTIzOSwianRpIjoiODBjNDI4MmEtMzk2Mi00OWE4LTlkNmQtMzZlMjliNzg0MGU0IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6InVjR0dncURZTVlMNjBNSUdMTlh0bnciLCJzZXNzaW9uX3N0YXRlIjoiODk2ZmY2ZWMtM2Y1Yi00MDc5LTlmMTItMDgzNjNhMjIwMDc5Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijg5NmZmNmVjLTNmNWItNDA3OS05ZjEyLTA4MzYzYTIyMDA3OSJ9.xZNmco4UmbjcN4ORj1OMeIfuNFBBuklu4AlJ1lRZTgw" "--context" "system-tests"
[2022-05-09T10:13: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-09T10:13:59Z INFO  drogue_cloud_tests::resources::apps] Create application: 3201d9bc-0360-4895-a2cb-9cff2b03f7ba
[2022-05-09T10:13:59Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "3201d9bc-0360-4895-a2cb-9cff2b03f7ba"
[2022-05-09T10:13:59Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 3201d9bc-0360-4895-a2cb-9cff2b03f7ba created.\n", stderr: "" })
[2022-05-09T10:13:59Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "3201d9bc-0360-4895-a2cb-9cff2b03f7ba"
[2022-05-09T10:13:59Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:13:59.871188Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"3201d9bc-0360-4895-a2cb-9cff2b03f7ba\",\n    \"resourceVersion\": \"e36c481f-2a81-42b7-b4a1-a1db2470a00f\",\n    \"uid\": \"04b7ea22-8993-4438-8877-6f2faa242b25\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:59.884728153Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:13:59.884757849Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:59.884679754Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:59.884682469Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:59.884683171Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:59.884684142Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:59.884684703Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:59.884699981Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:13:59Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:13:59.871188Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("3201d9bc-0360-4895-a2cb-9cff2b03f7ba"), "resourceVersion": String("e36c481f-2a81-42b7-b4a1-a1db2470a00f"), "uid": String("04b7ea22-8993-4438-8877-6f2faa242b25")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:59.884728153Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:59.884757849Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:59.884679754Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:13:59.884682469Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:13:59.884683171Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:59.884684142Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:13:59.884684703Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:13:59.884699981Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T10:13:59Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:14:00Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "3201d9bc-0360-4895-a2cb-9cff2b03f7ba"
[2022-05-09T10:14:00Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:13:59.871188Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"3201d9bc-0360-4895-a2cb-9cff2b03f7ba\",\n    \"resourceVersion\": \"5792843e-ebc8-4f11-8503-94447ed16676\",\n    \"uid\": \"04b7ea22-8993-4438-8877-6f2faa242b25\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:00.258353678Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:00.258393133Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:59.912093430Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:59.921816976Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:00.025444294Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:00.036979969Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:00.258309005Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:00.258325676Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"BF0AWTm0cUT5\",\n        \"username\": \"user-3201d9bc-0360-4895-a2cb-9cff2b03f7ba\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:14:00Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:13:59.871188Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("3201d9bc-0360-4895-a2cb-9cff2b03f7ba"), "resourceVersion": String("5792843e-ebc8-4f11-8503-94447ed16676"), "uid": String("04b7ea22-8993-4438-8877-6f2faa242b25")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:14:00.258353678Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:00.258393133Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:59.912093430Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:13:59.921816976Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:14:00.025444294Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:00.036979969Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:14:00.258309005Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:00.258325676Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("BF0AWTm0cUT5"), "username": String("user-3201d9bc-0360-4895-a2cb-9cff2b03f7ba")})})})})
[2022-05-09T10:14:00Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:14:00Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "3201d9bc-0360-4895-a2cb-9cff2b03f7ba"
[2022-05-09T10:14:00Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:13:59.871188Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"3201d9bc-0360-4895-a2cb-9cff2b03f7ba\",\n    \"resourceVersion\": \"5792843e-ebc8-4f11-8503-94447ed16676\",\n    \"uid\": \"04b7ea22-8993-4438-8877-6f2faa242b25\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:00.258353678Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:00.258393133Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:59.912093430Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:13:59.921816976Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:00.025444294Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:00.036979969Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:00.258309005Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:00.258325676Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"BF0AWTm0cUT5\",\n        \"username\": \"user-3201d9bc-0360-4895-a2cb-9cff2b03f7ba\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:14:00Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:13:59.871188Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("3201d9bc-0360-4895-a2cb-9cff2b03f7ba"), "resourceVersion": String("5792843e-ebc8-4f11-8503-94447ed16676"), "uid": String("04b7ea22-8993-4438-8877-6f2faa242b25")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:14:00.258353678Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:00.258393133Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:13:59.912093430Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:13:59.921816976Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:14:00.025444294Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:00.036979969Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:14:00.258309005Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:00.258325676Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("BF0AWTm0cUT5"), "username": String("user-3201d9bc-0360-4895-a2cb-9cff2b03f7ba")})})})})
[2022-05-09T10:14:00Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:14:00Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:14:00Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "3201d9bc-0360-4895-a2cb-9cff2b03f7ba" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:14:00Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:14:00Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:14:00Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:14:00Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:14:00Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE1MzksImlhdCI6MTY1MjA5MTIzOSwiYXV0aF90aW1lIjoxNjUyMDkxMjM2LCJqdGkiOiI0ZWYxMGQ4OC1lMjU4LTRjYWItOTFmYS1mZmFhMjcxNjk5NTIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ1Y0dHZ3FEWU1ZTDYwTUlHTE5YdG53Iiwic2Vzc2lvbl9zdGF0ZSI6Ijg5NmZmNmVjLTNmNWItNDA3OS05ZjEyLTA4MzYzYTIyMDA3OSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijg5NmZmNmVjLTNmNWItNDA3OS05ZjEyLTA4MzYzYTIyMDA3OSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.mP9v4uPr9ye9hkEqK3D8lDI8eBtBb2-JZGIvGmsdRkz8lgxuXeoeNFg-NVDuptgvoP6A09X1hAT29ODCUMd9cxRs_WFlmn_zzfkQLQnDcYOmASmuiT2jkM4A3NA98i_xJIfzlVBcza1Kn8JOYrqVAkWn8gaeW5qYKvVKdAfGc3sl0B1uJl1z9GrqLG7r7ZsFYYHe-Rh3ucTn2sFMn4YKx1MvNuoOvCA5vOuyY7XB-AabNvAJA5weP6NYz-kq2kUwStxOqtXAnT7QGMZ2xStQ8aX4kEpA3RriUday6hx8Es1vneL9iEqL2ffcCrEM_XAdYgCE_NxreJ5y3q3lH1jilg\n", stderr: "" })
[2022-05-09T10:14:00Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:14:00Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:14:00Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:14:00Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "3201d9bc-0360-4895-a2cb-9cff2b03f7ba" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:14:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:14:01Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T10:14:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:14:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE1MzksImlhdCI6MTY1MjA5MTIzOSwiYXV0aF90aW1lIjoxNjUyMDkxMjM2LCJqdGkiOiI0ZWYxMGQ4OC1lMjU4LTRjYWItOTFmYS1mZmFhMjcxNjk5NTIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ1Y0dHZ3FEWU1ZTDYwTUlHTE5YdG53Iiwic2Vzc2lvbl9zdGF0ZSI6Ijg5NmZmNmVjLTNmNWItNDA3OS05ZjEyLTA4MzYzYTIyMDA3OSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijg5NmZmNmVjLTNmNWItNDA3OS05ZjEyLTA4MzYzYTIyMDA3OSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.mP9v4uPr9ye9hkEqK3D8lDI8eBtBb2-JZGIvGmsdRkz8lgxuXeoeNFg-NVDuptgvoP6A09X1hAT29ODCUMd9cxRs_WFlmn_zzfkQLQnDcYOmASmuiT2jkM4A3NA98i_xJIfzlVBcza1Kn8JOYrqVAkWn8gaeW5qYKvVKdAfGc3sl0B1uJl1z9GrqLG7r7ZsFYYHe-Rh3ucTn2sFMn4YKx1MvNuoOvCA5vOuyY7XB-AabNvAJA5weP6NYz-kq2kUwStxOqtXAnT7QGMZ2xStQ8aX4kEpA3RriUday6hx8Es1vneL9iEqL2ffcCrEM_XAdYgCE_NxreJ5y3q3lH1jilg\n", stderr: "" })
[2022-05-09T10:14: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: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "3e17abf0-0ea2-4824-9218-a051fa18fc9e", persistence: None, user_data: None }
[2022-05-09T10:14:01Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:14:01Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc112e50
[2022-05-09T10:14:01Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc112e50
[2022-05-09T10:14: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: 0x55efdc111480, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbebc880, 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: 0x55efdc110f60, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE1MzksImlhdCI6MTY1MjA5MTIzOSwiYXV0aF90aW1lIjoxNjUyMDkxMjM2LCJqdGkiOiI0ZWYxMGQ4OC1lMjU4LTRjYWItOTFmYS1mZmFhMjcxNjk5NTIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJ1Y0dHZ3FEWU1ZTDYwTUlHTE5YdG53Iiwic2Vzc2lvbl9zdGF0ZSI6Ijg5NmZmNmVjLTNmNWItNDA3OS05ZjEyLTA4MzYzYTIyMDA3OSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijg5NmZmNmVjLTNmNWItNDA3OS05ZjEyLTA4MzYzYTIyMDA3OSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.mP9v4uPr9ye9hkEqK3D8lDI8eBtBb2-JZGIvGmsdRkz8lgxuXeoeNFg-NVDuptgvoP6A09X1hAT29ODCUMd9cxRs_WFlmn_zzfkQLQnDcYOmASmuiT2jkM4A3NA98i_xJIfzlVBcza1Kn8JOYrqVAkWn8gaeW5qYKvVKdAfGc3sl0B1uJl1z9GrqLG7r7ZsFYYHe-Rh3ucTn2sFMn4YKx1MvNuoOvCA5vOuyY7XB-AabNvAJA5weP6NYz-kq2kUwStxOqtXAnT7QGMZ2xStQ8aX4kEpA3RriUday6hx8Es1vneL9iEqL2ffcCrEM_XAdYgCE_NxreJ5y3q3lH1jilg"), 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-09T10:14:01Z DEBUG paho_mqtt::async_client] Subscribe to '"app/3201d9bc-0360-4895-a2cb-9cff2b03f7ba"' @ QOS 0
[2022-05-09T10:14:01Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:14:01Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:14:01Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:14: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-09T10:14:01Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:14: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-09T10:14:02Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:14: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-09T10:14:02Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:14: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-09T10:14:03Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:14: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-09T10:14:03Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:14: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-09T10:14:04Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:14: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-09T10:14:04Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:14: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-09T10:14:04Z 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: 0x7f0edc029dd0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x55efdbf906e0 } }, data: MessageData { topic: "app/3201d9bc-0360-4895-a2cb-9cff2b03f7ba", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x55efdbf906e0 } } } }
[2022-05-09T10:14:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbf5cb20, 0x55efdc1ffa10
[2022-05-09T10:14:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc1ffa10, 0x7f0ed8003db0
[2022-05-09T10:14:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc1ffa10, 0x55efdc0c4580
[2022-05-09T10:14:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc0c4580, 0x55efdc178f10
[2022-05-09T10:14:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc0c4580, 0x7f0ee0007050
[2022-05-09T10:14:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007050, 0x7f0ed8003db0
[2022-05-09T10:14:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007050, 0x7f0ed8003db0
[2022-05-09T10:14:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007050, 0x7f0ee00079b0
[2022-05-09T10:14:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007050, 0x7f0ee00073d0
[2022-05-09T10:14:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00073d0, 0x7f0ee0007050
[2022-05-09T10:14:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007050, 0x7f0ee00079b0
[2022-05-09T10:14:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007050, 0x7f0ee00079b0
[2022-05-09T10:14:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007050, 0x7f0ee0004390
[2022-05-09T10:14:04Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007050, 0x7f0ee00079b0
[2022-05-09T10:14:04Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee0007050
[2022-05-09T10:14:04Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/3201d9bc-0360-4895-a2cb-9cff2b03f7ba", content_type: Some("application/json"), user_properties: {"application": "3201d9bc-0360-4895-a2cb-9cff2b03f7ba", "id": "e0f4bc14-a4c7-4216-bef8-fcbe7183e0a0", "source": "drogue://3201d9bc%2D0360%2D4895%2Da2cb%2D9cff2b03f7ba/device1", "subject": "warmup", "applicationuid": "04b7ea22-8993-4438-8877-6f2faa242b25", "specversion": "1.0", "type": "io.drogue.event.v1", "time": "2022-05-09T10:14:04.511518825+00:00", "sender": "gateway1", "device": "device1", "instance": "drogue", "senderuid": "6496bef9-7fd5-480f-b769-dbd9e2747195", "deviceuid": "60cbc6d9-3c46-4a6d-b292-0f14f5cd2e2d", "partitionkey": "3201d9bc%2D0360%2D4895%2Da2cb%2D9cff2b03f7ba/device1"}, payload: "{\"index\":3}" }
[2022-05-09T10:14:05Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:14:05Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:14:05Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:14:05Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:14: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: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "bae6dac5-7c35-4031-9476-d14a1ac86ac5", persistence: None, user_data: None }
[2022-05-09T10:14:05Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:14:05Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbf28dd0
[2022-05-09T10:14:05Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbf28dd0
[2022-05-09T10:14: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: 0x55efdbfc8f50, password: 0x55efdbfed8d0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc185e10, 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: 0x55efdc1950a0, 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@3201d9bc-0360-4895-a2cb-9cff2b03f7ba"), 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-09T10:14:05Z 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: 0x7f0edc024d90, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x55efdc04f220 } }, data: MessageData { topic: "app/3201d9bc-0360-4895-a2cb-9cff2b03f7ba", 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: 0x55efdc04f220 } } } }
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001eb0, 0x7f0ee0006cc0
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006cc0, 0x7f0edc02a110
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006cc0, 0x7f0ee0007e20
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007e20, 0x7f0edc005de0
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007e20, 0x7f0ee0007050
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007050, 0x7f0edc02a110
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007050, 0x7f0edc005b40
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007050, 0x7f0edc02a110
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007050, 0x7f0edc02a110
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007050, 0x7f0ee0007e00
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007e00, 0x7f0ee0007050
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007050, 0x7f0edc02a110
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007050, 0x7f0ee000beb0
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee000beb0, 0x7f0edc02a110
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee000beb0
[2022-05-09T10:14:05Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/3201d9bc-0360-4895-a2cb-9cff2b03f7ba", content_type: Some("application/json"), user_properties: {"application": "3201d9bc-0360-4895-a2cb-9cff2b03f7ba", "senderuid": "6496bef9-7fd5-480f-b769-dbd9e2747195", "sender": "gateway1", "partitionkey": "3201d9bc%2D0360%2D4895%2Da2cb%2D9cff2b03f7ba/gateway1", "id": "a83d90d6-fc65-468a-bd15-1f9f36165240", "specversion": "1.0", "subject": "connection", "deviceuid": "6496bef9-7fd5-480f-b769-dbd9e2747195", "device": "gateway1", "source": "drogue://3201d9bc%2D0360%2D4895%2Da2cb%2D9cff2b03f7ba/gateway1", "time": "2022-05-09T10:14:05.792799170+00:00", "type": "io.drogue.connection.v1", "applicationuid": "04b7ea22-8993-4438-8877-6f2faa242b25", "instance": "drogue"}, payload: "{\"connected\":true}" }
[2022-05-09T10:14:05Z 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: 0x55efdc1cee80 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdc1cee80 } } } }
[2022-05-09T10:14:05Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:14:05Z 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: 0x7f0edc021230, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x55efdc0d1f20 } }, data: MessageData { topic: "app/3201d9bc-0360-4895-a2cb-9cff2b03f7ba", 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: 0x55efdc0d1f20 } } } }
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001eb0, 0x7f0ee0006c30
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006c30, 0x7f0edc030e70
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006c30, 0x7f0ee00073d0
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00073d0, 0x7f0edc02ff00
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00073d0, 0x7f0ee0006bd0
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006bd0, 0x7f0edc030e70
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006bd0, 0x7f0ee0004750
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0004750, 0x7f0edc030e70
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0004750, 0x7f0edc030920
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0004750, 0x7f0edc030e70
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0004750, 0x7f0ee0007d50
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007d50, 0x7f0ee0004750
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0004750, 0x7f0edc030e70
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0004750, 0x7f0edc030e70
[2022-05-09T10:14:05Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee0004750
[2022-05-09T10:14:05Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/3201d9bc-0360-4895-a2cb-9cff2b03f7ba", content_type: Some("application/json"), user_properties: {"type": "io.drogue.connection.v1", "senderuid": "6496bef9-7fd5-480f-b769-dbd9e2747195", "id": "b74c15b2-8014-4db9-bb16-b244075f2a74", "partitionkey": "3201d9bc%2D0360%2D4895%2Da2cb%2D9cff2b03f7ba/gateway1", "instance": "drogue", "deviceuid": "6496bef9-7fd5-480f-b769-dbd9e2747195", "source": "drogue://3201d9bc%2D0360%2D4895%2Da2cb%2D9cff2b03f7ba/gateway1", "specversion": "1.0", "time": "2022-05-09T10:14:05.862730378+00:00", "device": "gateway1", "application": "3201d9bc-0360-4895-a2cb-9cff2b03f7ba", "subject": "connection", "applicationuid": "04b7ea22-8993-4438-8877-6f2faa242b25", "sender": "gateway1"}, payload: "{\"connected\":false}" }
[2022-05-09T10:14:06Z 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: 0x55efdbdff4d0 } }, data: MessageData { topic: "app/3201d9bc-0360-4895-a2cb-9cff2b03f7ba", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x55efdbdff4d0 } } } }
[2022-05-09T10:14:06Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00073f0, 0x7f0ee0007e20
[2022-05-09T10:14:06Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007e20, 0x7f0edc016240
[2022-05-09T10:14:06Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007e20, 0x7f0edc024db0
[2022-05-09T10:14:06Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0edc024db0, 0x7f0edc005c10
[2022-05-09T10:14:06Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0edc024db0, 0x7f0ee0004340
[2022-05-09T10:14:06Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0004340, 0x7f0edc016240
[2022-05-09T10:14:06Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0004340, 0x7f0ee0008d40
[2022-05-09T10:14:06Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0008d40, 0x7f0edc016240
[2022-05-09T10:14:06Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0008d40, 0x7f0edc005cc0
[2022-05-09T10:14:06Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0008d40, 0x7f0ee0006c50
[2022-05-09T10:14:06Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006c50, 0x7f0edc016240
[2022-05-09T10:14:06Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006c50, 0x7f0edc016240
[2022-05-09T10:14:06Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006c50, 0x7f0ee0006c30
[2022-05-09T10:14:06Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006c30, 0x7f0edc016240
[2022-05-09T10:14:06Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee0003900
[2022-05-09T10:14:06Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/3201d9bc-0360-4895-a2cb-9cff2b03f7ba", content_type: Some("application/octet-stream"), user_properties: {"device": "device1", "subject": "telemetry", "partitionkey": "3201d9bc%2D0360%2D4895%2Da2cb%2D9cff2b03f7ba/device1", "id": "a23086b3-c5fa-4799-bb5a-337dbc991de7", "applicationuid": "04b7ea22-8993-4438-8877-6f2faa242b25", "time": "2022-05-09T10:14:05.861789669+00:00", "instance": "drogue", "deviceuid": "60cbc6d9-3c46-4a6d-b292-0f14f5cd2e2d", "application": "3201d9bc-0360-4895-a2cb-9cff2b03f7ba", "type": "io.drogue.event.v1", "senderuid": "6496bef9-7fd5-480f-b769-dbd9e2747195", "sender": "gateway1", "specversion": "1.0", "source": "drogue://3201d9bc%2D0360%2D4895%2Da2cb%2D9cff2b03f7ba/device1"}, payload: "" }
[2022-05-09T10:14:06Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:14:06Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:14:06Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:14:06Z 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: "3201d9bc-0360-4895-a2cb-9cff2b03f7ba", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "3201d9bc-0360-4895-a2cb-9cff2b03f7ba", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:14:06Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:14:06Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "3201d9bc-0360-4895-a2cb-9cff2b03f7ba" "device1"
[2022-05-09T10:14:06Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:14:06Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:14:06Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "3201d9bc-0360-4895-a2cb-9cff2b03f7ba" "gateway1"
[2022-05-09T10:14:06Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:14:06Z INFO  drogue_cloud_tests::resources::apps] Destroy application '3201d9bc-0360-4895-a2cb-9cff2b03f7ba'
[2022-05-09T10:14:06Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "3201d9bc-0360-4895-a2cb-9cff2b03f7ba"
[2022-05-09T10:14:06Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 3201d9bc-0360-4895-a2cb-9cff2b03f7ba deleted.\n", stderr: "" })

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

Duration: 15s

Test output
-------------- TEST START --------------
[2022-05-09T10:14:08Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:14:08Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:14:08Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:14:08Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:14: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-09T10:14:09Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:14:11Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:14:11Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:14:11Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:14: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-09T10:14:13Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMwNTMsImlhdCI6MTY1MjA5MTI1MywianRpIjoiZDc1MDdlMDktMWZiYi00YTJhLWFiMzUtZmU3ZWMzZGZiNzYxIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlA2dG83bk95NGVDTWg2OGFCM196VmciLCJzZXNzaW9uX3N0YXRlIjoiM2E5ZjFjZGUtYWVmMS00MWVkLThjMzgtMGQ4ZGQ0NTdiODE4Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjNhOWYxY2RlLWFlZjEtNDFlZC04YzM4LTBkOGRkNDU3YjgxOCJ9.a9Wo8z1Qa5k5dmvHSeDg7tVCt_Lt2ql1Z-lLElmVBds
[2022-05-09T10:14:13Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:14:13Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:14:13Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMwNTMsImlhdCI6MTY1MjA5MTI1MywianRpIjoiZDc1MDdlMDktMWZiYi00YTJhLWFiMzUtZmU3ZWMzZGZiNzYxIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlA2dG83bk95NGVDTWg2OGFCM196VmciLCJzZXNzaW9uX3N0YXRlIjoiM2E5ZjFjZGUtYWVmMS00MWVkLThjMzgtMGQ4ZGQ0NTdiODE4Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjNhOWYxY2RlLWFlZjEtNDFlZC04YzM4LTBkOGRkNDU3YjgxOCJ9.a9Wo8z1Qa5k5dmvHSeDg7tVCt_Lt2ql1Z-lLElmVBds" "--context" "system-tests"
[2022-05-09T10:14: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-09T10:14:13Z INFO  drogue_cloud_tests::resources::apps] Create application: 7b2ae6c6-c26f-455d-9904-e9d6037701e6
[2022-05-09T10:14:13Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "7b2ae6c6-c26f-455d-9904-e9d6037701e6"
[2022-05-09T10:14:13Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 7b2ae6c6-c26f-455d-9904-e9d6037701e6 created.\n", stderr: "" })
[2022-05-09T10:14:13Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "7b2ae6c6-c26f-455d-9904-e9d6037701e6"
[2022-05-09T10:14:13Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:14:13.956013Z\",\n    \"generation\": 1,\n    \"name\": \"7b2ae6c6-c26f-455d-9904-e9d6037701e6\",\n    \"resourceVersion\": \"273577a5-c557-4f5d-a47c-a61d34ff4fc6\",\n    \"uid\": \"627ea70e-39a3-4501-a6b5-2983cd1a5982\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:13.968542942Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2022-05-09T10:14:13Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:14:13.956013Z"), "generation": Number(1), "name": String("7b2ae6c6-c26f-455d-9904-e9d6037701e6"), "resourceVersion": String("273577a5-c557-4f5d-a47c-a61d34ff4fc6"), "uid": String("627ea70e-39a3-4501-a6b5-2983cd1a5982")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:14:13.968542942Z"), "status": String("True"), "type": String("Ready")})])})})
[2022-05-09T10:14:13Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:14:14Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "7b2ae6c6-c26f-455d-9904-e9d6037701e6"
[2022-05-09T10:14:15Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:14:13.956013Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"7b2ae6c6-c26f-455d-9904-e9d6037701e6\",\n    \"resourceVersion\": \"1395bf3c-41c6-4ded-99e3-3980c7fef1d7\",\n    \"uid\": \"627ea70e-39a3-4501-a6b5-2983cd1a5982\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:14.263335772Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:14.263291680Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:14.002683584Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:14.010118973Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:14.061472753Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:14.068493097Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:14.263187396Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:14.263234794Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"WeG4T3ZuhPKz\",\n        \"username\": \"user-7b2ae6c6-c26f-455d-9904-e9d6037701e6\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:14:15Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:14:13.956013Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("7b2ae6c6-c26f-455d-9904-e9d6037701e6"), "resourceVersion": String("1395bf3c-41c6-4ded-99e3-3980c7fef1d7"), "uid": String("627ea70e-39a3-4501-a6b5-2983cd1a5982")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:14:14.263335772Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:14:14.263291680Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:14:14.002683584Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:14:14.010118973Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:14:14.061472753Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:14.068493097Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:14:14.263187396Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:14.263234794Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("WeG4T3ZuhPKz"), "username": String("user-7b2ae6c6-c26f-455d-9904-e9d6037701e6")})})})})
[2022-05-09T10:14:15Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:14:15Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "7b2ae6c6-c26f-455d-9904-e9d6037701e6"
[2022-05-09T10:14:15Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:14:13.956013Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"7b2ae6c6-c26f-455d-9904-e9d6037701e6\",\n    \"resourceVersion\": \"1395bf3c-41c6-4ded-99e3-3980c7fef1d7\",\n    \"uid\": \"627ea70e-39a3-4501-a6b5-2983cd1a5982\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:14.263335772Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:14.263291680Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:14.002683584Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:14.010118973Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:14.061472753Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:14.068493097Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:14.263187396Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:14.263234794Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"WeG4T3ZuhPKz\",\n        \"username\": \"user-7b2ae6c6-c26f-455d-9904-e9d6037701e6\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:14:15Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:14:13.956013Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("7b2ae6c6-c26f-455d-9904-e9d6037701e6"), "resourceVersion": String("1395bf3c-41c6-4ded-99e3-3980c7fef1d7"), "uid": String("627ea70e-39a3-4501-a6b5-2983cd1a5982")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:14:14.263335772Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:14:14.263291680Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:14:14.002683584Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:14:14.010118973Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:14:14.061472753Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:14.068493097Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:14:14.263187396Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:14.263234794Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("WeG4T3ZuhPKz"), "username": String("user-7b2ae6c6-c26f-455d-9904-e9d6037701e6")})})})})
[2022-05-09T10:14:15Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:14:15Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:14:15Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "7b2ae6c6-c26f-455d-9904-e9d6037701e6" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:14:15Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:14:15Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:14:15Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:14:15Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:14:15Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE1NTMsImlhdCI6MTY1MjA5MTI1MywiYXV0aF90aW1lIjoxNjUyMDkxMjUwLCJqdGkiOiI2YmUyODAzMC04ZmEwLTRlNmUtOTNiOC1lOGMzZTk0OTEwMGYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJQNnRvN25PeTRlQ01oNjhhQjNfelZnIiwic2Vzc2lvbl9zdGF0ZSI6IjNhOWYxY2RlLWFlZjEtNDFlZC04YzM4LTBkOGRkNDU3YjgxOCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjNhOWYxY2RlLWFlZjEtNDFlZC04YzM4LTBkOGRkNDU3YjgxOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.Ly78LMpJQl-_giRNyK9-qWYfD1qHawA-MHi3ceuztjgSHVY811BIrWYyqxlr_vz6O8sczdFKZBtOEMTnwFAurM6Mp7-AQfjVTZfbatyOKu-uNtRnO9OwEFBe0L48fsf-K6VQYU1lQUV8YBCmIISPbAEUKsSjNxjwTzzbUyynGGUwSlYTxWpvIUtUqiCnZad363F0rcyNl6Ei09-fUgzSi1jtQcWWHWQCY5vz4fFFAMMg_VWKYInPvwDb_ntb2X-lmo6N2KYzRpW5_uH_ZXrk3DOXm3-BAl5MseS2spzTDV4mEtvpKQZffVOh5BmXrBjp2sJgrdSd7oBSI65CmuArqw\n", stderr: "" })
[2022-05-09T10:14:15Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:14:15Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:14:15Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:14:15Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "7b2ae6c6-c26f-455d-9904-e9d6037701e6" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:14:15Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:14:15Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T10:14:15Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:14:15Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE1NTMsImlhdCI6MTY1MjA5MTI1MywiYXV0aF90aW1lIjoxNjUyMDkxMjUwLCJqdGkiOiI2YmUyODAzMC04ZmEwLTRlNmUtOTNiOC1lOGMzZTk0OTEwMGYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJQNnRvN25PeTRlQ01oNjhhQjNfelZnIiwic2Vzc2lvbl9zdGF0ZSI6IjNhOWYxY2RlLWFlZjEtNDFlZC04YzM4LTBkOGRkNDU3YjgxOCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjNhOWYxY2RlLWFlZjEtNDFlZC04YzM4LTBkOGRkNDU3YjgxOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.Ly78LMpJQl-_giRNyK9-qWYfD1qHawA-MHi3ceuztjgSHVY811BIrWYyqxlr_vz6O8sczdFKZBtOEMTnwFAurM6Mp7-AQfjVTZfbatyOKu-uNtRnO9OwEFBe0L48fsf-K6VQYU1lQUV8YBCmIISPbAEUKsSjNxjwTzzbUyynGGUwSlYTxWpvIUtUqiCnZad363F0rcyNl6Ei09-fUgzSi1jtQcWWHWQCY5vz4fFFAMMg_VWKYInPvwDb_ntb2X-lmo6N2KYzRpW5_uH_ZXrk3DOXm3-BAl5MseS2spzTDV4mEtvpKQZffVOh5BmXrBjp2sJgrdSd7oBSI65CmuArqw\n", stderr: "" })
[2022-05-09T10:14:15Z 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: "69531216-5ec5-49cc-9456-c16dd12f4a51", persistence: None, user_data: None }
[2022-05-09T10:14:15Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:14:15Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc1ec310
[2022-05-09T10:14:15Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc1ec310
[2022-05-09T10:14:15Z 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: 0x55efdc1b0060, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc1b0d70, 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: 0x55efdc2ca6f0, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE1NTMsImlhdCI6MTY1MjA5MTI1MywiYXV0aF90aW1lIjoxNjUyMDkxMjUwLCJqdGkiOiI2YmUyODAzMC04ZmEwLTRlNmUtOTNiOC1lOGMzZTk0OTEwMGYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJQNnRvN25PeTRlQ01oNjhhQjNfelZnIiwic2Vzc2lvbl9zdGF0ZSI6IjNhOWYxY2RlLWFlZjEtNDFlZC04YzM4LTBkOGRkNDU3YjgxOCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjNhOWYxY2RlLWFlZjEtNDFlZC04YzM4LTBkOGRkNDU3YjgxOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.Ly78LMpJQl-_giRNyK9-qWYfD1qHawA-MHi3ceuztjgSHVY811BIrWYyqxlr_vz6O8sczdFKZBtOEMTnwFAurM6Mp7-AQfjVTZfbatyOKu-uNtRnO9OwEFBe0L48fsf-K6VQYU1lQUV8YBCmIISPbAEUKsSjNxjwTzzbUyynGGUwSlYTxWpvIUtUqiCnZad363F0rcyNl6Ei09-fUgzSi1jtQcWWHWQCY5vz4fFFAMMg_VWKYInPvwDb_ntb2X-lmo6N2KYzRpW5_uH_ZXrk3DOXm3-BAl5MseS2spzTDV4mEtvpKQZffVOh5BmXrBjp2sJgrdSd7oBSI65CmuArqw"), 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-09T10:14:15Z DEBUG paho_mqtt::async_client] Subscribe to '"app/7b2ae6c6-c26f-455d-9904-e9d6037701e6"' @ QOS 0
[2022-05-09T10:14:15Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:14:15Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:14:15Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:14: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-09T10:14:15Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:14: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-09T10:14:16Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:14: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-09T10:14:16Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:14: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-09T10:14:17Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:14: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-09T10:14:17Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:14: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-09T10:14:18Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:14: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-09T10:14:18Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:14: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-09T10:14: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: 0x7f0edc007b20, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x7f0ed00008d0 } }, data: MessageData { topic: "app/7b2ae6c6-c26f-455d-9904-e9d6037701e6", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x7f0ed00008d0 } } } }
[2022-05-09T10:14:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbeacd40, 0x55efdbe806c0
[2022-05-09T10:14:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbe806c0, 0x55efdc133450
[2022-05-09T10:14:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbe806c0, 0x55efdbe806e0
[2022-05-09T10:14:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbe806e0, 0x55efdc201890
[2022-05-09T10:14:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbe806e0, 0x7f0ed8004c80
[2022-05-09T10:14:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004c80, 0x55efdc133450
[2022-05-09T10:14:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004c80, 0x55efdc133450
[2022-05-09T10:14:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004c80, 0x55efdbf29290
[2022-05-09T10:14:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004c80, 0x7f0ed800b160
[2022-05-09T10:14:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed800b160, 0x55efdc133450
[2022-05-09T10:14:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed800b160, 0x7f0ed800b1f0
[2022-05-09T10:14:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed800b1f0, 0x55efdc133450
[2022-05-09T10:14:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed800b1f0, 0x7f0ed800b280
[2022-05-09T10:14:18Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed800b280, 0x55efdc133450
[2022-05-09T10:14:18Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ed800b280
[2022-05-09T10:14:18Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/7b2ae6c6-c26f-455d-9904-e9d6037701e6", content_type: Some("application/json"), user_properties: {"source": "drogue://7b2ae6c6%2Dc26f%2D455d%2D9904%2De9d6037701e6/device1", "time": "2022-05-09T10:14:18.519228216+00:00", "specversion": "1.0", "applicationuid": "627ea70e-39a3-4501-a6b5-2983cd1a5982", "instance": "drogue", "deviceuid": "e893ba35-897c-41c9-b514-b1a9d91f664a", "partitionkey": "7b2ae6c6%2Dc26f%2D455d%2D9904%2De9d6037701e6/device1", "senderuid": "447fe9ea-cc9f-412b-8eea-a68efb19558d", "id": "fa2deeff-cb3c-4ff7-8b8b-5b344c04a0bb", "sender": "gateway1", "subject": "warmup", "device": "device1", "type": "io.drogue.event.v1", "application": "7b2ae6c6-c26f-455d-9904-e9d6037701e6"}, payload: "{\"index\":3}" }
[2022-05-09T10:14:19Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:14:19Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:14:19Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:14:19Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:14: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-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "8b888332-1088-45c3-9c05-79690d3e460c", persistence: None, user_data: None }
[2022-05-09T10:14:19Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:14:19Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc346650
[2022-05-09T10:14:19Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc346650
[2022-05-09T10:14: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: 0x55efdbf77c20, password: 0x55efdbe4e6c0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc1b0910, 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: 0x55efdc140040, 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@7b2ae6c6-c26f-455d-9904-e9d6037701e6"), 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-09T10:14: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: 0x7f0edc01a780, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x7f0ed0001260 } }, data: MessageData { topic: "app/7b2ae6c6-c26f-455d-9904-e9d6037701e6", 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: 0x7f0ed0001260 } } } }
[2022-05-09T10:14:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004c80, 0x55efdc3879f0
[2022-05-09T10:14:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc3879f0, 0x7f0edc02be40
[2022-05-09T10:14:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc3879f0, 0x55efdbe806c0
[2022-05-09T10:14:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbe806c0, 0x55efdbf8ac40
[2022-05-09T10:14:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbe806c0, 0x7f0ed800b280
[2022-05-09T10:14:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed800b280, 0x7f0edc02be40
[2022-05-09T10:14:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed800b280, 0x7f0edc02be40
[2022-05-09T10:14:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed800b280, 0x7f0edc02be40
[2022-05-09T10:14:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed800b280, 0x7f0edc02be40
[2022-05-09T10:14:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed800b280, 0x7f0ed800bae0
[2022-05-09T10:14:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed800b210, 0x7f0ed800b230
[2022-05-09T10:14:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed800b230, 0x7f0edc022f20
[2022-05-09T10:14:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed800b230, 0x7f0ed800b1f0
[2022-05-09T10:14:20Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed800b1f0, 0x7f0edc02be40
[2022-05-09T10:14:20Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ed800b1f0
[2022-05-09T10:14: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: 0x55efdc2b1f80 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdc2b1f80 } } } }
[2022-05-09T10:14:20Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/7b2ae6c6-c26f-455d-9904-e9d6037701e6", content_type: Some("application/json"), user_properties: {"subject": "connection", "partitionkey": "7b2ae6c6%2Dc26f%2D455d%2D9904%2De9d6037701e6/gateway1", "application": "7b2ae6c6-c26f-455d-9904-e9d6037701e6", "applicationuid": "627ea70e-39a3-4501-a6b5-2983cd1a5982", "specversion": "1.0", "type": "io.drogue.connection.v1", "source": "drogue://7b2ae6c6%2Dc26f%2D455d%2D9904%2De9d6037701e6/gateway1", "id": "73003767-750d-4197-91cf-221803c1deb2", "senderuid": "447fe9ea-cc9f-412b-8eea-a68efb19558d", "time": "2022-05-09T10:14:19.879102618+00:00", "device": "gateway1", "instance": "drogue", "sender": "gateway1", "deviceuid": "447fe9ea-cc9f-412b-8eea-a68efb19558d"}, payload: "{\"connected\":true}" }
[2022-05-09T10:14:20Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:14:21Z 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: 0x7f0ed0001e80 } }, data: MessageData { topic: "app/7b2ae6c6-c26f-455d-9904-e9d6037701e6", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x7f0ed0001e80 } } } }
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80011d0, 0x7f0ed800b230
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed800b230, 0x7f0edc01a910
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed800b230, 0x7f0ed80020d0
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80020d0, 0x7f0edc029240
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80020d0, 0x7f0ed800b2c0
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed800b2c0, 0x7f0edc01a910
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed800b2c0, 0x7f0edc01a910
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed800b2c0, 0x7f0edc01a910
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed800b2c0, 0x7f0edc01a910
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed800b2c0, 0x7f0edc024ca0
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed800b2c0, 0x7f0ed800b1a0
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed800b1a0, 0x7f0edc01a910
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed800b1a0, 0x7f0ed800b350
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed800b350, 0x7f0ed800b1a0
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ed800b3f0
[2022-05-09T10:14:21Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/7b2ae6c6-c26f-455d-9904-e9d6037701e6", content_type: Some("application/octet-stream"), user_properties: {"subject": "telemetry", "partitionkey": "7b2ae6c6%2Dc26f%2D455d%2D9904%2De9d6037701e6/device1", "senderuid": "447fe9ea-cc9f-412b-8eea-a68efb19558d", "application": "7b2ae6c6-c26f-455d-9904-e9d6037701e6", "applicationuid": "627ea70e-39a3-4501-a6b5-2983cd1a5982", "instance": "drogue", "deviceuid": "e893ba35-897c-41c9-b514-b1a9d91f664a", "specversion": "1.0", "type": "io.drogue.event.v1", "time": "2022-05-09T10:14:20.866855993+00:00", "sender": "gateway1", "id": "e32a43bd-1598-45da-98a5-75429a5df6f4", "source": "drogue://7b2ae6c6%2Dc26f%2D455d%2D9904%2De9d6037701e6/device1", "device": "device1"}, payload: "" }
[2022-05-09T10:14:21Z 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: 0x7f0edc031a60, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x7f0ed0002810 } }, data: MessageData { topic: "app/7b2ae6c6-c26f-455d-9904-e9d6037701e6", 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: 0x7f0ed0002810 } } } }
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc135960, 0x55efdc134650
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc134650, 0x55efdc1368e0
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc134650, 0x7f0ee0007d70
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007d70, 0x55efdbe51950
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007d70, 0x7f0ee0003d20
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0003d20, 0x55efdc1368e0
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0003d20, 0x55efdc134940
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0003d20, 0x55efdc1368e0
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0003d20, 0x7f0ee0004120
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0003d20, 0x7f0ee0004120
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0003d20, 0x7f0ee0004120
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0003d20, 0x7f0ee00037d0
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00037d0, 0x7f0ee0004120
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00037d0, 0x7f0ee0006aa0
[2022-05-09T10:14:21Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee0006aa0
[2022-05-09T10:14:21Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/7b2ae6c6-c26f-455d-9904-e9d6037701e6", content_type: Some("application/json"), user_properties: {"partitionkey": "7b2ae6c6%2Dc26f%2D455d%2D9904%2De9d6037701e6/gateway1", "instance": "drogue", "id": "fca6a494-7c1b-4b08-9a03-f1c8e0f272d3", "type": "io.drogue.connection.v1", "senderuid": "447fe9ea-cc9f-412b-8eea-a68efb19558d", "subject": "connection", "specversion": "1.0", "applicationuid": "627ea70e-39a3-4501-a6b5-2983cd1a5982", "source": "drogue://7b2ae6c6%2Dc26f%2D455d%2D9904%2De9d6037701e6/gateway1", "sender": "gateway1", "deviceuid": "447fe9ea-cc9f-412b-8eea-a68efb19558d", "device": "gateway1", "time": "2022-05-09T10:14:21.575753599+00:00", "application": "7b2ae6c6-c26f-455d-9904-e9d6037701e6"}, payload: "{\"connected\":false}" }
[2022-05-09T10:14:21Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:14:21Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:14:21Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:14:21Z 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: "7b2ae6c6-c26f-455d-9904-e9d6037701e6", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "7b2ae6c6-c26f-455d-9904-e9d6037701e6", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:14:21Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:14:21Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "7b2ae6c6-c26f-455d-9904-e9d6037701e6" "device1"
[2022-05-09T10:14:21Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:14:21Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:14:21Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "7b2ae6c6-c26f-455d-9904-e9d6037701e6" "gateway1"
[2022-05-09T10:14:21Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:14:21Z INFO  drogue_cloud_tests::resources::apps] Destroy application '7b2ae6c6-c26f-455d-9904-e9d6037701e6'
[2022-05-09T10:14:21Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "7b2ae6c6-c26f-455d-9904-e9d6037701e6"
[2022-05-09T10:14:21Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 7b2ae6c6-c26f-455d-9904-e9d6037701e6 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-09T10:14:24Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:14:24Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:14:24Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:14:24Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:14:24Z 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-09T10:14:25Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:14:26Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:14:26Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:14:26Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:14: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-09T10:14:28Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMwNjgsImlhdCI6MTY1MjA5MTI2OCwianRpIjoiMWMxMjUyYWItMjBlYy00YWU5LWExODUtMTQ3MmYxNDQ4OGRmIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImJPc3U4b3RwajQwam1RSmFOeTlEZ3ciLCJzZXNzaW9uX3N0YXRlIjoiOTU2MmM4MjAtOTMxNS00MDRlLWE0MjEtZDk5MWExYjI2MTQ1Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijk1NjJjODIwLTkzMTUtNDA0ZS1hNDIxLWQ5OTFhMWIyNjE0NSJ9.DPUCWiuBm2Vn-Wi_kQJ_j8kJKkGGeTyimpoeWdIAYj4
[2022-05-09T10:14:28Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:14:28Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:14:28Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMwNjgsImlhdCI6MTY1MjA5MTI2OCwianRpIjoiMWMxMjUyYWItMjBlYy00YWU5LWExODUtMTQ3MmYxNDQ4OGRmIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImJPc3U4b3RwajQwam1RSmFOeTlEZ3ciLCJzZXNzaW9uX3N0YXRlIjoiOTU2MmM4MjAtOTMxNS00MDRlLWE0MjEtZDk5MWExYjI2MTQ1Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijk1NjJjODIwLTkzMTUtNDA0ZS1hNDIxLWQ5OTFhMWIyNjE0NSJ9.DPUCWiuBm2Vn-Wi_kQJ_j8kJKkGGeTyimpoeWdIAYj4" "--context" "system-tests"
[2022-05-09T10:14:28Z 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-09T10:14:29Z INFO  drogue_cloud_tests::resources::apps] Create application: 7ef5d837-4467-46bf-a0f3-720171a16180
[2022-05-09T10:14:29Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "7ef5d837-4467-46bf-a0f3-720171a16180"
[2022-05-09T10:14:29Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 7ef5d837-4467-46bf-a0f3-720171a16180 created.\n", stderr: "" })
[2022-05-09T10:14:29Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "7ef5d837-4467-46bf-a0f3-720171a16180"
[2022-05-09T10:14:29Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:14:29.118258Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"7ef5d837-4467-46bf-a0f3-720171a16180\",\n    \"resourceVersion\": \"fbc77c12-ecc2-4afa-ace4-66183d1ec943\",\n    \"uid\": \"991a6ec8-71b4-4a25-ad2f-10226d007d5d\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:29.132575355Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:29.132681724Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:29.131988769Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:29.131990391Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:29.131991253Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:29.131992255Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:29.131993498Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:29.132020698Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:14:29Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:14:29.118258Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("7ef5d837-4467-46bf-a0f3-720171a16180"), "resourceVersion": String("fbc77c12-ecc2-4afa-ace4-66183d1ec943"), "uid": String("991a6ec8-71b4-4a25-ad2f-10226d007d5d")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:14:29.132575355Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:29.132681724Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:14:29.131988769Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:14:29.131990391Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:14:29.131991253Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:29.131992255Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:14:29.131993498Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:29.132020698Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T10:14:29Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:14:30Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "7ef5d837-4467-46bf-a0f3-720171a16180"
[2022-05-09T10:14:30Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:14:29.118258Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"7ef5d837-4467-46bf-a0f3-720171a16180\",\n    \"resourceVersion\": \"8f13556a-a016-4f76-aa62-3742e2144b25\",\n    \"uid\": \"991a6ec8-71b4-4a25-ad2f-10226d007d5d\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:29.391670025Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:29.391710561Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:29.157944510Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:29.162876190Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:29.217306140Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:29.225133212Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:29.391626343Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:29.391643285Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"k2eVMLjWmsNH\",\n        \"username\": \"user-7ef5d837-4467-46bf-a0f3-720171a16180\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:14:30Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:14:29.118258Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("7ef5d837-4467-46bf-a0f3-720171a16180"), "resourceVersion": String("8f13556a-a016-4f76-aa62-3742e2144b25"), "uid": String("991a6ec8-71b4-4a25-ad2f-10226d007d5d")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:14:29.391670025Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:29.391710561Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:14:29.157944510Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:14:29.162876190Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:14:29.217306140Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:29.225133212Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:14:29.391626343Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:29.391643285Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("k2eVMLjWmsNH"), "username": String("user-7ef5d837-4467-46bf-a0f3-720171a16180")})})})})
[2022-05-09T10:14:30Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:14:30Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "7ef5d837-4467-46bf-a0f3-720171a16180"
[2022-05-09T10:14:30Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:14:29.118258Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"7ef5d837-4467-46bf-a0f3-720171a16180\",\n    \"resourceVersion\": \"8f13556a-a016-4f76-aa62-3742e2144b25\",\n    \"uid\": \"991a6ec8-71b4-4a25-ad2f-10226d007d5d\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:29.391670025Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:29.391710561Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:29.157944510Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:29.162876190Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:29.217306140Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:29.225133212Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:29.391626343Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:29.391643285Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"k2eVMLjWmsNH\",\n        \"username\": \"user-7ef5d837-4467-46bf-a0f3-720171a16180\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:14:30Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:14:29.118258Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("7ef5d837-4467-46bf-a0f3-720171a16180"), "resourceVersion": String("8f13556a-a016-4f76-aa62-3742e2144b25"), "uid": String("991a6ec8-71b4-4a25-ad2f-10226d007d5d")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:14:29.391670025Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:29.391710561Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:14:29.157944510Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:14:29.162876190Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:14:29.217306140Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:29.225133212Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:14:29.391626343Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:29.391643285Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("k2eVMLjWmsNH"), "username": String("user-7ef5d837-4467-46bf-a0f3-720171a16180")})})})})
[2022-05-09T10:14:30Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:14:30Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:14:30Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "7ef5d837-4467-46bf-a0f3-720171a16180" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:14:30Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:14:30Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:14:30Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:14:30Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:14:30Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE1NjgsImlhdCI6MTY1MjA5MTI2OCwiYXV0aF90aW1lIjoxNjUyMDkxMjY1LCJqdGkiOiJkNWJlNjhlYy1hNDNiLTRhOGQtOTY0Mi1jOTE4NjkzZGU2MzEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJiT3N1OG90cGo0MGptUUphTnk5RGd3Iiwic2Vzc2lvbl9zdGF0ZSI6Ijk1NjJjODIwLTkzMTUtNDA0ZS1hNDIxLWQ5OTFhMWIyNjE0NSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijk1NjJjODIwLTkzMTUtNDA0ZS1hNDIxLWQ5OTFhMWIyNjE0NSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.indblYkBEOFD7Fg6vJ-WTQ7rvpn5zW84aNGaPi13G8kX5rbVzOROpnuLDdEnk2vRLZqFWavlP3AQ55FxM4LrpMAmal8E_ZvUozRjBuY4p6KpH-jIZvh59-CIR67cim-c6kn4xpqMun9dlT9XjmGsU3BN7jtOH5ITeWZ4E7OXmiQswyeQC-OJXEZ1yXyGkE103GUaJo8q22p3gwMgzyGdhCwu51B5spywdHnJphJrwLQsnGzaFdXqL6dSH_QkeAGpKmG5E2mIGky38tClNBhKcgb9Lwx7JkHWPurKNbzA7_gD8QB6CR-ai70qwT0NwBtqDUFk_CFGeRWDWncjI6hekg\n", stderr: "" })
[2022-05-09T10:14:30Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:14:30Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:14:30Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:14:30Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "7ef5d837-4467-46bf-a0f3-720171a16180" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:14:30Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:14:30Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T10:14:30Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:14:30Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE1NjgsImlhdCI6MTY1MjA5MTI2OCwiYXV0aF90aW1lIjoxNjUyMDkxMjY1LCJqdGkiOiJkNWJlNjhlYy1hNDNiLTRhOGQtOTY0Mi1jOTE4NjkzZGU2MzEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJiT3N1OG90cGo0MGptUUphTnk5RGd3Iiwic2Vzc2lvbl9zdGF0ZSI6Ijk1NjJjODIwLTkzMTUtNDA0ZS1hNDIxLWQ5OTFhMWIyNjE0NSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijk1NjJjODIwLTkzMTUtNDA0ZS1hNDIxLWQ5OTFhMWIyNjE0NSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.indblYkBEOFD7Fg6vJ-WTQ7rvpn5zW84aNGaPi13G8kX5rbVzOROpnuLDdEnk2vRLZqFWavlP3AQ55FxM4LrpMAmal8E_ZvUozRjBuY4p6KpH-jIZvh59-CIR67cim-c6kn4xpqMun9dlT9XjmGsU3BN7jtOH5ITeWZ4E7OXmiQswyeQC-OJXEZ1yXyGkE103GUaJo8q22p3gwMgzyGdhCwu51B5spywdHnJphJrwLQsnGzaFdXqL6dSH_QkeAGpKmG5E2mIGky38tClNBhKcgb9Lwx7JkHWPurKNbzA7_gD8QB6CR-ai70qwT0NwBtqDUFk_CFGeRWDWncjI6hekg\n", stderr: "" })
[2022-05-09T10:14:30Z 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: "3bb8a067-7f05-41ea-8978-abc8afed597d", persistence: None, user_data: None }
[2022-05-09T10:14:30Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:14:30Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc0e9470
[2022-05-09T10:14:30Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc0e9470
[2022-05-09T10:14:30Z 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: 0x55efdc205f00, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc205340, 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: 0x55efdbf84600, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE1NjgsImlhdCI6MTY1MjA5MTI2OCwiYXV0aF90aW1lIjoxNjUyMDkxMjY1LCJqdGkiOiJkNWJlNjhlYy1hNDNiLTRhOGQtOTY0Mi1jOTE4NjkzZGU2MzEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJiT3N1OG90cGo0MGptUUphTnk5RGd3Iiwic2Vzc2lvbl9zdGF0ZSI6Ijk1NjJjODIwLTkzMTUtNDA0ZS1hNDIxLWQ5OTFhMWIyNjE0NSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijk1NjJjODIwLTkzMTUtNDA0ZS1hNDIxLWQ5OTFhMWIyNjE0NSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.indblYkBEOFD7Fg6vJ-WTQ7rvpn5zW84aNGaPi13G8kX5rbVzOROpnuLDdEnk2vRLZqFWavlP3AQ55FxM4LrpMAmal8E_ZvUozRjBuY4p6KpH-jIZvh59-CIR67cim-c6kn4xpqMun9dlT9XjmGsU3BN7jtOH5ITeWZ4E7OXmiQswyeQC-OJXEZ1yXyGkE103GUaJo8q22p3gwMgzyGdhCwu51B5spywdHnJphJrwLQsnGzaFdXqL6dSH_QkeAGpKmG5E2mIGky38tClNBhKcgb9Lwx7JkHWPurKNbzA7_gD8QB6CR-ai70qwT0NwBtqDUFk_CFGeRWDWncjI6hekg"), 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-09T10:14:30Z DEBUG paho_mqtt::async_client] Subscribe to '"app/7ef5d837-4467-46bf-a0f3-720171a16180"' @ QOS 0
[2022-05-09T10:14:30Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:14:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:14:30Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:14: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-09T10:14:30Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:14: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-09T10:14:31Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:14: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-09T10:14:31Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:14: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-09T10:14:32Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:14: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-09T10:14:32Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:14: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-09T10:14:33Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:14: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-09T10:14:33Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:14: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-09T10:14:33Z 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: 0x7f0ed0016d10, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/7ef5d837-4467-46bf-a0f3-720171a16180", 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, 50, 52, 54, 101, 48, 101, 56, 45, 54, 48, 53, 52, 45, 52, 55, 57, 100, 45, 97, 50, 57, 102, 45, 54, 49, 50, 51, 48, 98, 99, 101, 52, 102, 102, 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, 55, 101, 102, 53, 100, 56, 51, 55, 37, 50, 68, 52, 52, 54, 55, 37, 50, 68, 52, 54, 98, 102, 37, 50, 68, 97, 48, 102, 51, 37, 50, 68, 55, 50, 48, 49, 55, 49, 97, 49, 54, 49, 56, 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, 48, 58, 49, 52, 58, 51, 51, 46, 53, 49, 54, 57, 52, 48, 51, 54, 53, 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, 55, 101, 102, 53, 100, 56, 51, 55, 37, 50, 68, 52, 52, 54, 55, 37, 50, 68, 52, 54, 98, 102, 37, 50, 68, 97, 48, 102, 51, 37, 50, 68, 55, 50, 48, 49, 55, 49, 97, 49, 54, 49, 56, 48, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 54, 53, 53, 101, 56, 100, 98, 98, 45, 49, 51, 102, 101, 45, 52, 49, 56, 49, 45, 98, 49, 48, 48, 45, 101, 97, 51, 48, 54, 48, 53, 50, 48, 98, 50, 53, 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, 55, 101, 102, 53, 100, 56, 51, 55, 45, 52, 52, 54, 55, 45, 52, 54, 98, 102, 45, 97, 48, 102, 51, 45, 55, 50, 48, 49, 55, 49, 97, 49, 54, 49, 56, 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, 117, 105, 100, 34, 58, 34, 57, 57, 49, 97, 54, 101, 99, 56, 45, 55, 49, 98, 52, 45, 52, 97, 50, 53, 45, 97, 100, 50, 102, 45, 49, 48, 50, 50, 54, 100, 48, 48, 55, 100, 53, 100, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 101, 101, 97, 97, 54, 51, 54, 100, 45, 55, 100, 56, 56, 45, 52, 48, 48, 50, 45, 56, 50, 50, 100, 45, 99, 97, 56, 97, 54, 54, 55, 98, 98, 101, 50, 55, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:14:33Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/7ef5d837-4467-46bf-a0f3-720171a16180", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"5246e0e8-6054-479d-a29f-61230bce4ffc\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://7ef5d837%2D4467%2D46bf%2Da0f3%2D720171a16180/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:14:33.516940365Z\",\"data\":{\"index\":3},\"partitionkey\":\"7ef5d837%2D4467%2D46bf%2Da0f3%2D720171a16180/device1\",\"deviceuid\":\"655e8dbb-13fe-4181-b100-ea3060520b25\",\"instance\":\"drogue\",\"device\":\"device1\",\"application\":\"7ef5d837-4467-46bf-a0f3-720171a16180\",\"sender\":\"gateway1\",\"applicationuid\":\"991a6ec8-71b4-4a25-ad2f-10226d007d5d\",\"senderuid\":\"eeaa636d-7d88-4002-822d-ca8a667bbe27\"}" }
[2022-05-09T10:14:34Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:14:34Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:14:34Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:14:34Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:14:34Z 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: "590b6bf5-c63c-44b8-8054-fc3bb8a9c6ce", persistence: None, user_data: None }
[2022-05-09T10:14:34Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:14:34Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbebaac0
[2022-05-09T10:14:34Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbebaac0
[2022-05-09T10:14:34Z 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: 0x55efdc2983e0, password: 0x55efdbf79b80, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbf829b0, 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: 0x55efdc297160, 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@7ef5d837-4467-46bf-a0f3-720171a16180"), 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-09T10:14:35Z 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: 0x7f0ed0010210, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/7ef5d837-4467-46bf-a0f3-720171a16180", 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, 101, 97, 48, 99, 57, 102, 100, 45, 57, 49, 53, 102, 45, 52, 54, 100, 100, 45, 97, 49, 53, 52, 45, 98, 100, 48, 54, 98, 100, 57, 52, 97, 100, 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, 55, 101, 102, 53, 100, 56, 51, 55, 37, 50, 68, 52, 52, 54, 55, 37, 50, 68, 52, 54, 98, 102, 37, 50, 68, 97, 48, 102, 51, 37, 50, 68, 55, 50, 48, 49, 55, 49, 97, 49, 54, 49, 56, 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, 48, 58, 49, 52, 58, 51, 52, 46, 57, 51, 57, 49, 56, 55, 50, 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, 116, 114, 117, 101, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 55, 101, 102, 53, 100, 56, 51, 55, 45, 52, 52, 54, 55, 45, 52, 54, 98, 102, 45, 97, 48, 102, 51, 45, 55, 50, 48, 49, 55, 49, 97, 49, 54, 49, 56, 48, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 55, 101, 102, 53, 100, 56, 51, 55, 37, 50, 68, 52, 52, 54, 55, 37, 50, 68, 52, 54, 98, 102, 37, 50, 68, 97, 48, 102, 51, 37, 50, 68, 55, 50, 48, 49, 55, 49, 97, 49, 54, 49, 56, 48, 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, 57, 57, 49, 97, 54, 101, 99, 56, 45, 55, 49, 98, 52, 45, 52, 97, 50, 53, 45, 97, 100, 50, 102, 45, 49, 48, 50, 50, 54, 100, 48, 48, 55, 100, 53, 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, 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, 101, 101, 97, 97, 54, 51, 54, 100, 45, 55, 100, 56, 56, 45, 52, 48, 48, 50, 45, 56, 50, 50, 100, 45, 99, 97, 56, 97, 54, 54, 55, 98, 98, 101, 50, 55, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 101, 101, 97, 97, 54, 51, 54, 100, 45, 55, 100, 56, 56, 45, 52, 48, 48, 50, 45, 56, 50, 50, 100, 45, 99, 97, 56, 97, 54, 54, 55, 98, 98, 101, 50, 55, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:14:35Z 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: 0x55efdc1a3d00 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdc1a3d00 } } } }
[2022-05-09T10:14:35Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/7ef5d837-4467-46bf-a0f3-720171a16180", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"dea0c9fd-915f-46dd-a154-bd06bd94ad80\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://7ef5d837%2D4467%2D46bf%2Da0f3%2D720171a16180/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:14:34.939187213Z\",\"data\":{\"connected\":true},\"application\":\"7ef5d837-4467-46bf-a0f3-720171a16180\",\"partitionkey\":\"7ef5d837%2D4467%2D46bf%2Da0f3%2D720171a16180/gateway1\",\"applicationuid\":\"991a6ec8-71b4-4a25-ad2f-10226d007d5d\",\"sender\":\"gateway1\",\"instance\":\"drogue\",\"device\":\"gateway1\",\"senderuid\":\"eeaa636d-7d88-4002-822d-ca8a667bbe27\",\"deviceuid\":\"eeaa636d-7d88-4002-822d-ca8a667bbe27\"}" }
[2022-05-09T10:14:35Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:14:36Z 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: 0x7f0ed0017660, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/7ef5d837-4467-46bf-a0f3-720171a16180", 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, 53, 52, 56, 101, 101, 50, 45, 50, 52, 99, 53, 45, 52, 48, 50, 48, 45, 98, 57, 97, 56, 45, 49, 54, 98, 100, 49, 98, 48, 50, 100, 51, 52, 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, 55, 101, 102, 53, 100, 56, 51, 55, 37, 50, 68, 52, 52, 54, 55, 37, 50, 68, 52, 54, 98, 102, 37, 50, 68, 97, 48, 102, 51, 37, 50, 68, 55, 50, 48, 49, 55, 49, 97, 49, 54, 49, 56, 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, 48, 58, 49, 52, 58, 51, 53, 46, 56, 56, 57, 48, 53, 52, 57, 56, 53, 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, 55, 101, 102, 53, 100, 56, 51, 55, 37, 50, 68, 52, 52, 54, 55, 37, 50, 68, 52, 54, 98, 102, 37, 50, 68, 97, 48, 102, 51, 37, 50, 68, 55, 50, 48, 49, 55, 49, 97, 49, 54, 49, 56, 48, 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, 34, 58, 34, 55, 101, 102, 53, 100, 56, 51, 55, 45, 52, 52, 54, 55, 45, 52, 54, 98, 102, 45, 97, 48, 102, 51, 45, 55, 50, 48, 49, 55, 49, 97, 49, 54, 49, 56, 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, 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, 101, 97, 97, 54, 51, 54, 100, 45, 55, 100, 56, 56, 45, 52, 48, 48, 50, 45, 56, 50, 50, 100, 45, 99, 97, 56, 97, 54, 54, 55, 98, 98, 101, 50, 55, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 57, 57, 49, 97, 54, 101, 99, 56, 45, 55, 49, 98, 52, 45, 52, 97, 50, 53, 45, 97, 100, 50, 102, 45, 49, 48, 50, 50, 54, 100, 48, 48, 55, 100, 53, 100, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 54, 53, 53, 101, 56, 100, 98, 98, 45, 49, 51, 102, 101, 45, 52, 49, 56, 49, 45, 98, 49, 48, 48, 45, 101, 97, 51, 48, 54, 48, 53, 50, 48, 98, 50, 53, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:14:36Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/7ef5d837-4467-46bf-a0f3-720171a16180", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"26548ee2-24c5-4020-b9a8-16bd1b02d34f\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://7ef5d837%2D4467%2D46bf%2Da0f3%2D720171a16180/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:14:35.889054985Z\",\"data_base64\":\"\",\"partitionkey\":\"7ef5d837%2D4467%2D46bf%2Da0f3%2D720171a16180/device1\",\"device\":\"device1\",\"application\":\"7ef5d837-4467-46bf-a0f3-720171a16180\",\"instance\":\"drogue\",\"sender\":\"gateway1\",\"senderuid\":\"eeaa636d-7d88-4002-822d-ca8a667bbe27\",\"applicationuid\":\"991a6ec8-71b4-4a25-ad2f-10226d007d5d\",\"deviceuid\":\"655e8dbb-13fe-4181-b100-ea3060520b25\"}" }
[2022-05-09T10:14:36Z 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: 0x7f0ed000ce90, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/7ef5d837-4467-46bf-a0f3-720171a16180", 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, 102, 101, 98, 57, 99, 52, 55, 45, 100, 51, 100, 51, 45, 52, 101, 98, 51, 45, 57, 52, 52, 56, 45, 49, 48, 55, 51, 51, 53, 51, 97, 53, 100, 57, 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, 55, 101, 102, 53, 100, 56, 51, 55, 37, 50, 68, 52, 52, 54, 55, 37, 50, 68, 52, 54, 98, 102, 37, 50, 68, 97, 48, 102, 51, 37, 50, 68, 55, 50, 48, 49, 55, 49, 97, 49, 54, 49, 56, 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, 48, 58, 49, 52, 58, 51, 54, 46, 51, 54, 48, 52, 56, 52, 55, 54, 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, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 55, 101, 102, 53, 100, 56, 51, 55, 37, 50, 68, 52, 52, 54, 55, 37, 50, 68, 52, 54, 98, 102, 37, 50, 68, 97, 48, 102, 51, 37, 50, 68, 55, 50, 48, 49, 55, 49, 97, 49, 54, 49, 56, 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, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 101, 101, 97, 97, 54, 51, 54, 100, 45, 55, 100, 56, 56, 45, 52, 48, 48, 50, 45, 56, 50, 50, 100, 45, 99, 97, 56, 97, 54, 54, 55, 98, 98, 101, 50, 55, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 55, 101, 102, 53, 100, 56, 51, 55, 45, 52, 52, 54, 55, 45, 52, 54, 98, 102, 45, 97, 48, 102, 51, 45, 55, 50, 48, 49, 55, 49, 97, 49, 54, 49, 56, 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, 117, 105, 100, 34, 58, 34, 57, 57, 49, 97, 54, 101, 99, 56, 45, 55, 49, 98, 52, 45, 52, 97, 50, 53, 45, 97, 100, 50, 102, 45, 49, 48, 50, 50, 54, 100, 48, 48, 55, 100, 53, 100, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 101, 101, 97, 97, 54, 51, 54, 100, 45, 55, 100, 56, 56, 45, 52, 48, 48, 50, 45, 56, 50, 50, 100, 45, 99, 97, 56, 97, 54, 54, 55, 98, 98, 101, 50, 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: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:14:36Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/7ef5d837-4467-46bf-a0f3-720171a16180", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"6feb9c47-d3d3-4eb3-9448-1073353a5d94\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://7ef5d837%2D4467%2D46bf%2Da0f3%2D720171a16180/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:14:36.360484767Z\",\"data\":{\"connected\":false},\"partitionkey\":\"7ef5d837%2D4467%2D46bf%2Da0f3%2D720171a16180/gateway1\",\"device\":\"gateway1\",\"deviceuid\":\"eeaa636d-7d88-4002-822d-ca8a667bbe27\",\"application\":\"7ef5d837-4467-46bf-a0f3-720171a16180\",\"sender\":\"gateway1\",\"applicationuid\":\"991a6ec8-71b4-4a25-ad2f-10226d007d5d\",\"senderuid\":\"eeaa636d-7d88-4002-822d-ca8a667bbe27\",\"instance\":\"drogue\"}" }
[2022-05-09T10:14:36Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:14:36Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:14:36Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:14:36Z 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: "7ef5d837-4467-46bf-a0f3-720171a16180", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "7ef5d837-4467-46bf-a0f3-720171a16180", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:14:36Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:14:36Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "7ef5d837-4467-46bf-a0f3-720171a16180" "device1"
[2022-05-09T10:14:36Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:14:36Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:14:36Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "7ef5d837-4467-46bf-a0f3-720171a16180" "gateway1"
[2022-05-09T10:14:36Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:14:36Z INFO  drogue_cloud_tests::resources::apps] Destroy application '7ef5d837-4467-46bf-a0f3-720171a16180'
[2022-05-09T10:14:36Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "7ef5d837-4467-46bf-a0f3-720171a16180"
[2022-05-09T10:14:36Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 7ef5d837-4467-46bf-a0f3-720171a16180 deleted.\n", stderr: "" })

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

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T10:14:38Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:14:38Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:14:38Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:14:38Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:14:38Z 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-09T10:14:39Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:14:41Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:14:41Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:14:41Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:14:41Z 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-09T10:14:42Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMwODIsImlhdCI6MTY1MjA5MTI4MiwianRpIjoiYTVhYjk0NTMtNDE0MS00Mjg2LTgwOTAtYTc1MjI2ZjNiZTM1IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlhEZTBXOXhXVW9wRWRvT3BPQmxVdlEiLCJzZXNzaW9uX3N0YXRlIjoiZTRjZTc1YjEtYjRiYy00ZTM2LWE1YmItMGYzNDNmMjBhMmJkIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImU0Y2U3NWIxLWI0YmMtNGUzNi1hNWJiLTBmMzQzZjIwYTJiZCJ9.dQu5nqYGzzZj_pV0HuLt5U7KTWS0foyBVhWH06bibJw
[2022-05-09T10:14:42Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:14:42Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:14:42Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMwODIsImlhdCI6MTY1MjA5MTI4MiwianRpIjoiYTVhYjk0NTMtNDE0MS00Mjg2LTgwOTAtYTc1MjI2ZjNiZTM1IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlhEZTBXOXhXVW9wRWRvT3BPQmxVdlEiLCJzZXNzaW9uX3N0YXRlIjoiZTRjZTc1YjEtYjRiYy00ZTM2LWE1YmItMGYzNDNmMjBhMmJkIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImU0Y2U3NWIxLWI0YmMtNGUzNi1hNWJiLTBmMzQzZjIwYTJiZCJ9.dQu5nqYGzzZj_pV0HuLt5U7KTWS0foyBVhWH06bibJw" "--context" "system-tests"
[2022-05-09T10:14:43Z 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-09T10:14:43Z INFO  drogue_cloud_tests::resources::apps] Create application: 81556cae-51dd-4be9-8b09-b04798fef7ce
[2022-05-09T10:14:43Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "81556cae-51dd-4be9-8b09-b04798fef7ce"
[2022-05-09T10:14:43Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 81556cae-51dd-4be9-8b09-b04798fef7ce created.\n", stderr: "" })
[2022-05-09T10:14:43Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "81556cae-51dd-4be9-8b09-b04798fef7ce"
[2022-05-09T10:14:43Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:14:43.786093Z\",\n    \"generation\": 1,\n    \"name\": \"81556cae-51dd-4be9-8b09-b04798fef7ce\",\n    \"resourceVersion\": \"81ba06be-35f8-42b7-8387-d9dd6bc7983d\",\n    \"uid\": \"c1859907-dfd7-4c68-ace5-f006e19a25a5\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:43.801588217Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2022-05-09T10:14:43Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:14:43.786093Z"), "generation": Number(1), "name": String("81556cae-51dd-4be9-8b09-b04798fef7ce"), "resourceVersion": String("81ba06be-35f8-42b7-8387-d9dd6bc7983d"), "uid": String("c1859907-dfd7-4c68-ace5-f006e19a25a5")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:14:43.801588217Z"), "status": String("True"), "type": String("Ready")})])})})
[2022-05-09T10:14:43Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:14:44Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "81556cae-51dd-4be9-8b09-b04798fef7ce"
[2022-05-09T10:14:44Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:14:43.786093Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"81556cae-51dd-4be9-8b09-b04798fef7ce\",\n    \"resourceVersion\": \"fcfbc45f-d7e4-49b2-a739-f0d3817426e5\",\n    \"uid\": \"c1859907-dfd7-4c68-ace5-f006e19a25a5\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:44.090074595Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:44.090017297Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:43.856084613Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:43.861957290Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:43.931104925Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:43.938675128Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:44.089972032Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:44.089989545Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"rPhQJMkAG9Ha\",\n        \"username\": \"user-81556cae-51dd-4be9-8b09-b04798fef7ce\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:14:44Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:14:43.786093Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("81556cae-51dd-4be9-8b09-b04798fef7ce"), "resourceVersion": String("fcfbc45f-d7e4-49b2-a739-f0d3817426e5"), "uid": String("c1859907-dfd7-4c68-ace5-f006e19a25a5")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:14:44.090074595Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:14:44.090017297Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:14:43.856084613Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:14:43.861957290Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:14:43.931104925Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:43.938675128Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:14:44.089972032Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:44.089989545Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("rPhQJMkAG9Ha"), "username": String("user-81556cae-51dd-4be9-8b09-b04798fef7ce")})})})})
[2022-05-09T10:14:44Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:14:44Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "81556cae-51dd-4be9-8b09-b04798fef7ce"
[2022-05-09T10:14:44Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:14:43.786093Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"81556cae-51dd-4be9-8b09-b04798fef7ce\",\n    \"resourceVersion\": \"fcfbc45f-d7e4-49b2-a739-f0d3817426e5\",\n    \"uid\": \"c1859907-dfd7-4c68-ace5-f006e19a25a5\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:44.090074595Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:44.090017297Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:43.856084613Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:43.861957290Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:43.931104925Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:43.938675128Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:44.089972032Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:44.089989545Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"rPhQJMkAG9Ha\",\n        \"username\": \"user-81556cae-51dd-4be9-8b09-b04798fef7ce\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:14:44Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:14:43.786093Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("81556cae-51dd-4be9-8b09-b04798fef7ce"), "resourceVersion": String("fcfbc45f-d7e4-49b2-a739-f0d3817426e5"), "uid": String("c1859907-dfd7-4c68-ace5-f006e19a25a5")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:14:44.090074595Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:14:44.090017297Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:14:43.856084613Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:14:43.861957290Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:14:43.931104925Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:43.938675128Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:14:44.089972032Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:44.089989545Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("rPhQJMkAG9Ha"), "username": String("user-81556cae-51dd-4be9-8b09-b04798fef7ce")})})})})
[2022-05-09T10:14:44Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:14:44Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:14:44Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "81556cae-51dd-4be9-8b09-b04798fef7ce" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:14:44Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:14:44Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:14:44Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:14:44Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:14:44Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE1ODMsImlhdCI6MTY1MjA5MTI4MywiYXV0aF90aW1lIjoxNjUyMDkxMjgwLCJqdGkiOiIyMjczN2Y3OS1jYzFiLTRkN2EtYmI1MS0yZjMwODUxYjhiMWEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJYRGUwVzl4V1VvcEVkb09wT0JsVXZRIiwic2Vzc2lvbl9zdGF0ZSI6ImU0Y2U3NWIxLWI0YmMtNGUzNi1hNWJiLTBmMzQzZjIwYTJiZCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImU0Y2U3NWIxLWI0YmMtNGUzNi1hNWJiLTBmMzQzZjIwYTJiZCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.fflmvgUYm79tLw4arxnx9bPSNmCbbN8G4JKZcDiWT99CwPuLuUthh8PjA0WvoU4VlpTGv-2r9jJypDpUGNoHNLElnfdO4Bac6bJwkDE7hk4syYcj4x70Ltz1seR6NTQDWajlaNS143lAyFT8B6MKpM6hnKuLwOTqVsTBexOo6hxG85GbZm3LsAfbHBZWAQp2rdLMvQxR4l4joDViQ8j97SKR8fa6ejfeLsEfMjyXz7cxxcDW4VMzi6Qk00KlJK7U1kq6yv0aCfBM4imF_NPjOO7JwZE_5x8_Kk8oNuWU78DevnpA4OMwAJefSaf7XFzLEQ8vXfFGMPsN4ePNN0nlIQ\n", stderr: "" })
[2022-05-09T10:14:44Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:14:44Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:14:44Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:14:44Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "81556cae-51dd-4be9-8b09-b04798fef7ce" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:14:44Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:14:44Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T10:14:44Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:14:44Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE1ODMsImlhdCI6MTY1MjA5MTI4MywiYXV0aF90aW1lIjoxNjUyMDkxMjgwLCJqdGkiOiIyMjczN2Y3OS1jYzFiLTRkN2EtYmI1MS0yZjMwODUxYjhiMWEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJYRGUwVzl4V1VvcEVkb09wT0JsVXZRIiwic2Vzc2lvbl9zdGF0ZSI6ImU0Y2U3NWIxLWI0YmMtNGUzNi1hNWJiLTBmMzQzZjIwYTJiZCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImU0Y2U3NWIxLWI0YmMtNGUzNi1hNWJiLTBmMzQzZjIwYTJiZCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.fflmvgUYm79tLw4arxnx9bPSNmCbbN8G4JKZcDiWT99CwPuLuUthh8PjA0WvoU4VlpTGv-2r9jJypDpUGNoHNLElnfdO4Bac6bJwkDE7hk4syYcj4x70Ltz1seR6NTQDWajlaNS143lAyFT8B6MKpM6hnKuLwOTqVsTBexOo6hxG85GbZm3LsAfbHBZWAQp2rdLMvQxR4l4joDViQ8j97SKR8fa6ejfeLsEfMjyXz7cxxcDW4VMzi6Qk00KlJK7U1kq6yv0aCfBM4imF_NPjOO7JwZE_5x8_Kk8oNuWU78DevnpA4OMwAJefSaf7XFzLEQ8vXfFGMPsN4ePNN0nlIQ\n", stderr: "" })
[2022-05-09T10:14: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: 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: "4fe9341c-501a-4406-822d-69d759d7c81a", persistence: None, user_data: None }
[2022-05-09T10:14:44Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:14:44Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc2043b0
[2022-05-09T10:14:44Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc2043b0
[2022-05-09T10:14:44Z 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: 0x55efdbe2a110, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc205610, 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: 0x55efdc111c60, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE1ODMsImlhdCI6MTY1MjA5MTI4MywiYXV0aF90aW1lIjoxNjUyMDkxMjgwLCJqdGkiOiIyMjczN2Y3OS1jYzFiLTRkN2EtYmI1MS0yZjMwODUxYjhiMWEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJYRGUwVzl4V1VvcEVkb09wT0JsVXZRIiwic2Vzc2lvbl9zdGF0ZSI6ImU0Y2U3NWIxLWI0YmMtNGUzNi1hNWJiLTBmMzQzZjIwYTJiZCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImU0Y2U3NWIxLWI0YmMtNGUzNi1hNWJiLTBmMzQzZjIwYTJiZCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.fflmvgUYm79tLw4arxnx9bPSNmCbbN8G4JKZcDiWT99CwPuLuUthh8PjA0WvoU4VlpTGv-2r9jJypDpUGNoHNLElnfdO4Bac6bJwkDE7hk4syYcj4x70Ltz1seR6NTQDWajlaNS143lAyFT8B6MKpM6hnKuLwOTqVsTBexOo6hxG85GbZm3LsAfbHBZWAQp2rdLMvQxR4l4joDViQ8j97SKR8fa6ejfeLsEfMjyXz7cxxcDW4VMzi6Qk00KlJK7U1kq6yv0aCfBM4imF_NPjOO7JwZE_5x8_Kk8oNuWU78DevnpA4OMwAJefSaf7XFzLEQ8vXfFGMPsN4ePNN0nlIQ"), 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-09T10:14:45Z DEBUG paho_mqtt::async_client] Subscribe to '"app/81556cae-51dd-4be9-8b09-b04798fef7ce"' @ QOS 0
[2022-05-09T10:14:45Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:14:45Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:14:45Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:14: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-09T10:14:45Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:14: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-09T10:14:46Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:14: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-09T10:14:46Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:14: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-09T10:14:47Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:14: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-09T10:14:47Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:14: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-09T10:14:48Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:14: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-09T10:14:48Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:14: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-09T10:14:48Z 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: 0x7f0edc01cdc0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/81556cae-51dd-4be9-8b09-b04798fef7ce", 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, 97, 102, 54, 57, 99, 52, 97, 45, 102, 100, 55, 100, 45, 52, 54, 49, 100, 45, 56, 50, 53, 48, 45, 98, 102, 101, 56, 100, 99, 101, 48, 98, 55, 57, 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, 56, 49, 53, 53, 54, 99, 97, 101, 37, 50, 68, 53, 49, 100, 100, 37, 50, 68, 52, 98, 101, 57, 37, 50, 68, 56, 98, 48, 57, 37, 50, 68, 98, 48, 52, 55, 57, 56, 102, 101, 102, 55, 99, 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, 48, 58, 49, 52, 58, 52, 56, 46, 53, 51, 53, 54, 54, 51, 52, 56, 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, 49, 50, 54, 51, 100, 54, 99, 57, 45, 101, 52, 100, 97, 45, 52, 55, 57, 100, 45, 56, 53, 54, 53, 45, 53, 53, 51, 55, 57, 53, 50, 49, 98, 55, 48, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 56, 49, 53, 53, 54, 99, 97, 101, 45, 53, 49, 100, 100, 45, 52, 98, 101, 57, 45, 56, 98, 48, 57, 45, 98, 48, 52, 55, 57, 56, 102, 101, 102, 55, 99, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 98, 54, 50, 54, 97, 55, 53, 52, 45, 99, 54, 100, 99, 45, 52, 52, 101, 97, 45, 56, 56, 101, 54, 45, 101, 55, 55, 52, 57, 56, 54, 50, 100, 56, 55, 50, 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, 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, 56, 49, 53, 53, 54, 99, 97, 101, 37, 50, 68, 53, 49, 100, 100, 37, 50, 68, 52, 98, 101, 57, 37, 50, 68, 56, 98, 48, 57, 37, 50, 68, 98, 48, 52, 55, 57, 56, 102, 101, 102, 55, 99, 101, 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, 99, 49, 56, 53, 57, 57, 48, 55, 45, 100, 102, 100, 55, 45, 52, 99, 54, 56, 45, 97, 99, 101, 53, 45, 102, 48, 48, 54, 101, 49, 57, 97, 50, 53, 97, 53, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:14:48Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/81556cae-51dd-4be9-8b09-b04798fef7ce", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"3af69c4a-fd7d-461d-8250-bfe8dce0b79a\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://81556cae%2D51dd%2D4be9%2D8b09%2Db04798fef7ce/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:14:48.535663488Z\",\"data\":{\"index\":3},\"senderuid\":\"1263d6c9-e4da-479d-8565-55379521b701\",\"application\":\"81556cae-51dd-4be9-8b09-b04798fef7ce\",\"deviceuid\":\"b626a754-c6dc-44ea-88e6-e7749862d872\",\"instance\":\"drogue\",\"sender\":\"gateway1\",\"device\":\"device1\",\"partitionkey\":\"81556cae%2D51dd%2D4be9%2D8b09%2Db04798fef7ce/device1\",\"applicationuid\":\"c1859907-dfd7-4c68-ace5-f006e19a25a5\"}" }
[2022-05-09T10:14:49Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:14:49Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:14:49Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:14:49Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:14:49Z 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: "9e4344e4-b4f1-4bb4-ad41-537b03ad5d1b", persistence: None, user_data: None }
[2022-05-09T10:14:49Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:14:49Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc05c420
[2022-05-09T10:14:49Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc05c420
[2022-05-09T10:14:49Z 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: 0x55efdc139560, password: 0x55efdc07ce60, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc056290, 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: 0x55efdc1394a0, 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@81556cae-51dd-4be9-8b09-b04798fef7ce"), 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-09T10:14: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: 0x55efdc09adf0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdc09adf0 } } } }
[2022-05-09T10:14:49Z 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: 0x7f0edc02b230, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/81556cae-51dd-4be9-8b09-b04798fef7ce", 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, 50, 51, 55, 57, 51, 52, 49, 45, 56, 55, 100, 100, 45, 52, 100, 55, 57, 45, 56, 53, 50, 49, 45, 55, 57, 48, 97, 99, 56, 49, 56, 54, 51, 102, 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, 56, 49, 53, 53, 54, 99, 97, 101, 37, 50, 68, 53, 49, 100, 100, 37, 50, 68, 52, 98, 101, 57, 37, 50, 68, 56, 98, 48, 57, 37, 50, 68, 98, 48, 52, 55, 57, 56, 102, 101, 102, 55, 99, 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, 48, 58, 49, 52, 58, 52, 57, 46, 54, 57, 55, 55, 54, 48, 52, 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, 116, 114, 117, 101, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 56, 49, 53, 53, 54, 99, 97, 101, 45, 53, 49, 100, 100, 45, 52, 98, 101, 57, 45, 56, 98, 48, 57, 45, 98, 48, 52, 55, 57, 56, 102, 101, 102, 55, 99, 101, 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, 50, 54, 51, 100, 54, 99, 57, 45, 101, 52, 100, 97, 45, 52, 55, 57, 100, 45, 56, 53, 54, 53, 45, 53, 53, 51, 55, 57, 53, 50, 49, 98, 55, 48, 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, 56, 49, 53, 53, 54, 99, 97, 101, 37, 50, 68, 53, 49, 100, 100, 37, 50, 68, 52, 98, 101, 57, 37, 50, 68, 56, 98, 48, 57, 37, 50, 68, 98, 48, 52, 55, 57, 56, 102, 101, 102, 55, 99, 101, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 49, 50, 54, 51, 100, 54, 99, 57, 45, 101, 52, 100, 97, 45, 52, 55, 57, 100, 45, 56, 53, 54, 53, 45, 53, 53, 51, 55, 57, 53, 50, 49, 98, 55, 48, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 99, 49, 56, 53, 57, 57, 48, 55, 45, 100, 102, 100, 55, 45, 52, 99, 54, 56, 45, 97, 99, 101, 53, 45, 102, 48, 48, 54, 101, 49, 57, 97, 50, 53, 97, 53, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:14:49Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/81556cae-51dd-4be9-8b09-b04798fef7ce", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"72379341-87dd-4d79-8521-790ac81863fa\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://81556cae%2D51dd%2D4be9%2D8b09%2Db04798fef7ce/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:14:49.697760415Z\",\"data\":{\"connected\":true},\"application\":\"81556cae-51dd-4be9-8b09-b04798fef7ce\",\"sender\":\"gateway1\",\"senderuid\":\"1263d6c9-e4da-479d-8565-55379521b701\",\"device\":\"gateway1\",\"instance\":\"drogue\",\"partitionkey\":\"81556cae%2D51dd%2D4be9%2D8b09%2Db04798fef7ce/gateway1\",\"deviceuid\":\"1263d6c9-e4da-479d-8565-55379521b701\",\"applicationuid\":\"c1859907-dfd7-4c68-ace5-f006e19a25a5\"}" }
[2022-05-09T10:14:49Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:14:50Z 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: 0x7f0edc02b4c0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/81556cae-51dd-4be9-8b09-b04798fef7ce", 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, 97, 101, 52, 55, 53, 56, 52, 45, 55, 48, 55, 102, 45, 52, 52, 56, 100, 45, 98, 55, 53, 99, 45, 52, 51, 100, 53, 56, 52, 48, 97, 101, 57, 52, 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, 56, 49, 53, 53, 54, 99, 97, 101, 37, 50, 68, 53, 49, 100, 100, 37, 50, 68, 52, 98, 101, 57, 37, 50, 68, 56, 98, 48, 57, 37, 50, 68, 98, 48, 52, 55, 57, 56, 102, 101, 102, 55, 99, 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, 48, 58, 49, 52, 58, 52, 57, 46, 56, 57, 53, 48, 48, 57, 54, 57, 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, 56, 49, 53, 53, 54, 99, 97, 101, 45, 53, 49, 100, 100, 45, 52, 98, 101, 57, 45, 56, 98, 48, 57, 45, 98, 48, 52, 55, 57, 56, 102, 101, 102, 55, 99, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 99, 49, 56, 53, 57, 57, 48, 55, 45, 100, 102, 100, 55, 45, 52, 99, 54, 56, 45, 97, 99, 101, 53, 45, 102, 48, 48, 54, 101, 49, 57, 97, 50, 53, 97, 53, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 49, 50, 54, 51, 100, 54, 99, 57, 45, 101, 52, 100, 97, 45, 52, 55, 57, 100, 45, 56, 53, 54, 53, 45, 53, 53, 51, 55, 57, 53, 50, 49, 98, 55, 48, 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, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 56, 49, 53, 53, 54, 99, 97, 101, 37, 50, 68, 53, 49, 100, 100, 37, 50, 68, 52, 98, 101, 57, 37, 50, 68, 56, 98, 48, 57, 37, 50, 68, 98, 48, 52, 55, 57, 56, 102, 101, 102, 55, 99, 101, 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, 98, 54, 50, 54, 97, 55, 53, 52, 45, 99, 54, 100, 99, 45, 52, 52, 101, 97, 45, 56, 56, 101, 54, 45, 101, 55, 55, 52, 57, 56, 54, 50, 100, 56, 55, 50, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:14:50Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/81556cae-51dd-4be9-8b09-b04798fef7ce", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"5ae47584-707f-448d-b75c-43d5840ae949\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://81556cae%2D51dd%2D4be9%2D8b09%2Db04798fef7ce/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:14:49.895009694Z\",\"data_base64\":\"\",\"application\":\"81556cae-51dd-4be9-8b09-b04798fef7ce\",\"applicationuid\":\"c1859907-dfd7-4c68-ace5-f006e19a25a5\",\"senderuid\":\"1263d6c9-e4da-479d-8565-55379521b701\",\"device\":\"device1\",\"instance\":\"drogue\",\"partitionkey\":\"81556cae%2D51dd%2D4be9%2D8b09%2Db04798fef7ce/device1\",\"sender\":\"gateway1\",\"deviceuid\":\"b626a754-c6dc-44ea-88e6-e7749862d872\"}" }
[2022-05-09T10:14:50Z 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: 0x7f0edc0292f0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/81556cae-51dd-4be9-8b09-b04798fef7ce", 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, 101, 49, 50, 52, 99, 52, 45, 98, 97, 50, 52, 45, 52, 57, 54, 54, 45, 97, 51, 57, 53, 45, 57, 53, 102, 56, 49, 51, 52, 51, 49, 50, 98, 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, 56, 49, 53, 53, 54, 99, 97, 101, 37, 50, 68, 53, 49, 100, 100, 37, 50, 68, 52, 98, 101, 57, 37, 50, 68, 56, 98, 48, 57, 37, 50, 68, 98, 48, 52, 55, 57, 56, 102, 101, 102, 55, 99, 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, 48, 58, 49, 52, 58, 53, 48, 46, 51, 55, 55, 53, 48, 53, 51, 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, 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, 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, 99, 49, 56, 53, 57, 57, 48, 55, 45, 100, 102, 100, 55, 45, 52, 99, 54, 56, 45, 97, 99, 101, 53, 45, 102, 48, 48, 54, 101, 49, 57, 97, 50, 53, 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, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 49, 50, 54, 51, 100, 54, 99, 57, 45, 101, 52, 100, 97, 45, 52, 55, 57, 100, 45, 56, 53, 54, 53, 45, 53, 53, 51, 55, 57, 53, 50, 49, 98, 55, 48, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 49, 50, 54, 51, 100, 54, 99, 57, 45, 101, 52, 100, 97, 45, 52, 55, 57, 100, 45, 56, 53, 54, 53, 45, 53, 53, 51, 55, 57, 53, 50, 49, 98, 55, 48, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 56, 49, 53, 53, 54, 99, 97, 101, 45, 53, 49, 100, 100, 45, 52, 98, 101, 57, 45, 56, 98, 48, 57, 45, 98, 48, 52, 55, 57, 56, 102, 101, 102, 55, 99, 101, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 56, 49, 53, 53, 54, 99, 97, 101, 37, 50, 68, 53, 49, 100, 100, 37, 50, 68, 52, 98, 101, 57, 37, 50, 68, 56, 98, 48, 57, 37, 50, 68, 98, 48, 52, 55, 57, 56, 102, 101, 102, 55, 99, 101, 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-09T10:14:50Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/81556cae-51dd-4be9-8b09-b04798fef7ce", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"18e124c4-ba24-4966-a395-95f8134312b6\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://81556cae%2D51dd%2D4be9%2D8b09%2Db04798fef7ce/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:14:50.377505317Z\",\"data\":{\"connected\":false},\"instance\":\"drogue\",\"device\":\"gateway1\",\"applicationuid\":\"c1859907-dfd7-4c68-ace5-f006e19a25a5\",\"sender\":\"gateway1\",\"deviceuid\":\"1263d6c9-e4da-479d-8565-55379521b701\",\"senderuid\":\"1263d6c9-e4da-479d-8565-55379521b701\",\"application\":\"81556cae-51dd-4be9-8b09-b04798fef7ce\",\"partitionkey\":\"81556cae%2D51dd%2D4be9%2D8b09%2Db04798fef7ce/gateway1\"}" }
[2022-05-09T10:14:50Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:14:50Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:14:50Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:14:50Z 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: "81556cae-51dd-4be9-8b09-b04798fef7ce", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "81556cae-51dd-4be9-8b09-b04798fef7ce", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:14:50Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:14:50Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "81556cae-51dd-4be9-8b09-b04798fef7ce" "device1"
[2022-05-09T10:14:50Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:14:50Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:14:50Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "81556cae-51dd-4be9-8b09-b04798fef7ce" "gateway1"
[2022-05-09T10:14:50Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:14:50Z INFO  drogue_cloud_tests::resources::apps] Destroy application '81556cae-51dd-4be9-8b09-b04798fef7ce'
[2022-05-09T10:14:50Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "81556cae-51dd-4be9-8b09-b04798fef7ce"
[2022-05-09T10:14:50Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 81556cae-51dd-4be9-8b09-b04798fef7ce deleted.\n", stderr: "" })

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

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T10:14:52Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:14:52Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:14:52Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:14:52Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:14:52Z 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-09T10:14:53Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:14:54Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:14:54Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:14:54Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:14: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-09T10:14:56Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMwOTYsImlhdCI6MTY1MjA5MTI5NiwianRpIjoiMTE3MWVjODktZWRjNi00NjFhLThiNjMtNTYxMWQ3ODEzOWE4IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IkRRcE5GUElxUElIbjBLQVhBemt3V2ciLCJzZXNzaW9uX3N0YXRlIjoiMDRhYzk0OTItMWNlNS00MDVkLTk0ZGYtMTQyNmFiOGYzZmM1Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjA0YWM5NDkyLTFjZTUtNDA1ZC05NGRmLTE0MjZhYjhmM2ZjNSJ9.rHOyOwvOG9PDin-Sd_-9VsXUbaIREras2BR97zBvp10
[2022-05-09T10:14:56Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:14:56Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:14:56Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMwOTYsImlhdCI6MTY1MjA5MTI5NiwianRpIjoiMTE3MWVjODktZWRjNi00NjFhLThiNjMtNTYxMWQ3ODEzOWE4IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IkRRcE5GUElxUElIbjBLQVhBemt3V2ciLCJzZXNzaW9uX3N0YXRlIjoiMDRhYzk0OTItMWNlNS00MDVkLTk0ZGYtMTQyNmFiOGYzZmM1Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjA0YWM5NDkyLTFjZTUtNDA1ZC05NGRmLTE0MjZhYjhmM2ZjNSJ9.rHOyOwvOG9PDin-Sd_-9VsXUbaIREras2BR97zBvp10" "--context" "system-tests"
[2022-05-09T10:14: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-09T10:14:57Z INFO  drogue_cloud_tests::resources::apps] Create application: 2fd72cea-437c-405a-bc4f-dde5e62b72b8
[2022-05-09T10:14:57Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "2fd72cea-437c-405a-bc4f-dde5e62b72b8"
[2022-05-09T10:14:57Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 2fd72cea-437c-405a-bc4f-dde5e62b72b8 created.\n", stderr: "" })
[2022-05-09T10:14:57Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "2fd72cea-437c-405a-bc4f-dde5e62b72b8"
[2022-05-09T10:14:57Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:14:57.376963Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"2fd72cea-437c-405a-bc4f-dde5e62b72b8\",\n    \"resourceVersion\": \"fab7793f-3299-495b-8daa-c5390bccbe3d\",\n    \"uid\": \"a067e2fa-84db-46b2-861e-44dc989ce480\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:57.390398922Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:57.390479073Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:57.390026226Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:57.390027799Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:57.390028691Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:57.390030644Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:57.390031236Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:57.390039522Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:14:57Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:14:57.376963Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("2fd72cea-437c-405a-bc4f-dde5e62b72b8"), "resourceVersion": String("fab7793f-3299-495b-8daa-c5390bccbe3d"), "uid": String("a067e2fa-84db-46b2-861e-44dc989ce480")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:14:57.390398922Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:57.390479073Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:14:57.390026226Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:14:57.390027799Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:14:57.390028691Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:57.390030644Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:14:57.390031236Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:57.390039522Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T10:14:57Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:14:58Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "2fd72cea-437c-405a-bc4f-dde5e62b72b8"
[2022-05-09T10:14:58Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:14:57.376963Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"2fd72cea-437c-405a-bc4f-dde5e62b72b8\",\n    \"resourceVersion\": \"dac5160d-3d4a-468a-ad0a-ff268ca9a50b\",\n    \"uid\": \"a067e2fa-84db-46b2-861e-44dc989ce480\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:57.725718946Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:57.725771474Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:57.415875419Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:57.420923666Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:57.498040841Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:57.507820954Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:57.725485850Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:57.725682999Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"Parj1zJpGbRi\",\n        \"username\": \"user-2fd72cea-437c-405a-bc4f-dde5e62b72b8\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:14:58Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:14:57.376963Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("2fd72cea-437c-405a-bc4f-dde5e62b72b8"), "resourceVersion": String("dac5160d-3d4a-468a-ad0a-ff268ca9a50b"), "uid": String("a067e2fa-84db-46b2-861e-44dc989ce480")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:14:57.725718946Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:57.725771474Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:14:57.415875419Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:14:57.420923666Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:14:57.498040841Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:57.507820954Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:14:57.725485850Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:57.725682999Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("Parj1zJpGbRi"), "username": String("user-2fd72cea-437c-405a-bc4f-dde5e62b72b8")})})})})
[2022-05-09T10:14:58Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:14:58Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "2fd72cea-437c-405a-bc4f-dde5e62b72b8"
[2022-05-09T10:14:58Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:14:57.376963Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"2fd72cea-437c-405a-bc4f-dde5e62b72b8\",\n    \"resourceVersion\": \"dac5160d-3d4a-468a-ad0a-ff268ca9a50b\",\n    \"uid\": \"a067e2fa-84db-46b2-861e-44dc989ce480\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:57.725718946Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:14:57.725771474Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:57.415875419Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:57.420923666Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:57.498040841Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:57.507820954Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:57.725485850Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:14:57.725682999Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"Parj1zJpGbRi\",\n        \"username\": \"user-2fd72cea-437c-405a-bc4f-dde5e62b72b8\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:14:58Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:14:57.376963Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("2fd72cea-437c-405a-bc4f-dde5e62b72b8"), "resourceVersion": String("dac5160d-3d4a-468a-ad0a-ff268ca9a50b"), "uid": String("a067e2fa-84db-46b2-861e-44dc989ce480")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:14:57.725718946Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:57.725771474Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:14:57.415875419Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:14:57.420923666Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:14:57.498040841Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:57.507820954Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:14:57.725485850Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:14:57.725682999Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("Parj1zJpGbRi"), "username": String("user-2fd72cea-437c-405a-bc4f-dde5e62b72b8")})})})})
[2022-05-09T10:14:58Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:14:58Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:14:58Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "2fd72cea-437c-405a-bc4f-dde5e62b72b8" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:14:58Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:14:58Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:14:58Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:14:58Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:14:58Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE1OTYsImlhdCI6MTY1MjA5MTI5NiwiYXV0aF90aW1lIjoxNjUyMDkxMjkzLCJqdGkiOiJjNTA3N2EyYS1jM2JkLTQ1Y2EtYjhmOS0xZjAwMDgxY2FiZWIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJEUXBORlBJcVBJSG4wS0FYQXprd1dnIiwic2Vzc2lvbl9zdGF0ZSI6IjA0YWM5NDkyLTFjZTUtNDA1ZC05NGRmLTE0MjZhYjhmM2ZjNSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjA0YWM5NDkyLTFjZTUtNDA1ZC05NGRmLTE0MjZhYjhmM2ZjNSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.Q61dGaS5_vtgKHZ2pWrGfC_ZRd3gURxybYWRccnATuXBmM-gTgWSF6-BR6geBWf05DRv9Un1THoB9z5LpEh4bUJO3EXPv3qkGC-Z6QHt0mk8jZq6AcDAZcWgkTBC-h9jAV0Py56dbhFXERmTZpb1ThdweajyKv5rNeeUzpVVpoh--gEELXRebFNYrEjuBryrRX_QyUJU_5n8GtYzRNUZQTN0qTXCjKBeh3Cx1G56GyZn4guosiYCkEcBUk0b2dpywPcTUdpvfKuSACE77Wxgvvxx1WmLm3zXStrpH1fyj1ZL-Xz2XHKtqQisdC6B1CbRW5IwFZIvr9ACK2-bIbsgPA\n", stderr: "" })
[2022-05-09T10:14:58Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:14:58Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:14:58Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:14:58Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "2fd72cea-437c-405a-bc4f-dde5e62b72b8" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:14:58Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:14:58Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T10:14:58Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:14:58Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE1OTYsImlhdCI6MTY1MjA5MTI5NiwiYXV0aF90aW1lIjoxNjUyMDkxMjkzLCJqdGkiOiJjNTA3N2EyYS1jM2JkLTQ1Y2EtYjhmOS0xZjAwMDgxY2FiZWIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJEUXBORlBJcVBJSG4wS0FYQXprd1dnIiwic2Vzc2lvbl9zdGF0ZSI6IjA0YWM5NDkyLTFjZTUtNDA1ZC05NGRmLTE0MjZhYjhmM2ZjNSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjA0YWM5NDkyLTFjZTUtNDA1ZC05NGRmLTE0MjZhYjhmM2ZjNSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.Q61dGaS5_vtgKHZ2pWrGfC_ZRd3gURxybYWRccnATuXBmM-gTgWSF6-BR6geBWf05DRv9Un1THoB9z5LpEh4bUJO3EXPv3qkGC-Z6QHt0mk8jZq6AcDAZcWgkTBC-h9jAV0Py56dbhFXERmTZpb1ThdweajyKv5rNeeUzpVVpoh--gEELXRebFNYrEjuBryrRX_QyUJU_5n8GtYzRNUZQTN0qTXCjKBeh3Cx1G56GyZn4guosiYCkEcBUk0b2dpywPcTUdpvfKuSACE77Wxgvvxx1WmLm3zXStrpH1fyj1ZL-Xz2XHKtqQisdC6B1CbRW5IwFZIvr9ACK2-bIbsgPA\n", stderr: "" })
[2022-05-09T10:14: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: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "889f257b-acdd-45e6-b5f9-02a591008184", persistence: None, user_data: None }
[2022-05-09T10:14:58Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:14:58Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc320090
[2022-05-09T10:14:58Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc320090
[2022-05-09T10:14: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: 0x55efdc1a22c0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbdfd900, 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: 0x55efdbe6fe70, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE1OTYsImlhdCI6MTY1MjA5MTI5NiwiYXV0aF90aW1lIjoxNjUyMDkxMjkzLCJqdGkiOiJjNTA3N2EyYS1jM2JkLTQ1Y2EtYjhmOS0xZjAwMDgxY2FiZWIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJEUXBORlBJcVBJSG4wS0FYQXprd1dnIiwic2Vzc2lvbl9zdGF0ZSI6IjA0YWM5NDkyLTFjZTUtNDA1ZC05NGRmLTE0MjZhYjhmM2ZjNSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjA0YWM5NDkyLTFjZTUtNDA1ZC05NGRmLTE0MjZhYjhmM2ZjNSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.Q61dGaS5_vtgKHZ2pWrGfC_ZRd3gURxybYWRccnATuXBmM-gTgWSF6-BR6geBWf05DRv9Un1THoB9z5LpEh4bUJO3EXPv3qkGC-Z6QHt0mk8jZq6AcDAZcWgkTBC-h9jAV0Py56dbhFXERmTZpb1ThdweajyKv5rNeeUzpVVpoh--gEELXRebFNYrEjuBryrRX_QyUJU_5n8GtYzRNUZQTN0qTXCjKBeh3Cx1G56GyZn4guosiYCkEcBUk0b2dpywPcTUdpvfKuSACE77Wxgvvxx1WmLm3zXStrpH1fyj1ZL-Xz2XHKtqQisdC6B1CbRW5IwFZIvr9ACK2-bIbsgPA"), 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-09T10:14:58Z DEBUG paho_mqtt::async_client] Subscribe to '"app/2fd72cea-437c-405a-bc4f-dde5e62b72b8"' @ QOS 0
[2022-05-09T10:14:58Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:14:58Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:14:58Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:14: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-09T10:14:58Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:14: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-09T10:15:00Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:15: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-09T10:15:00Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:15: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-09T10:15:01Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:15: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-09T10:15:01Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:15: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-09T10:15:02Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:15: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-09T10:15:02Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:15: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-09T10:15: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: 0x7f0ed0017650, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed00178d0 } }, data: MessageData { topic: "app/2fd72cea-437c-405a-bc4f-dde5e62b72b8", 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, 57, 98, 48, 54, 57, 55, 101, 45, 53, 97, 102, 99, 45, 52, 49, 50, 51, 45, 57, 100, 57, 53, 45, 101, 54, 50, 48, 101, 51, 53, 102, 57, 99, 49, 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, 50, 102, 100, 55, 50, 99, 101, 97, 37, 50, 68, 52, 51, 55, 99, 37, 50, 68, 52, 48, 53, 97, 37, 50, 68, 98, 99, 52, 102, 37, 50, 68, 100, 100, 101, 53, 101, 54, 50, 98, 55, 50, 98, 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, 48, 58, 49, 53, 58, 48, 50, 46, 53, 51, 49, 55, 56, 54, 54, 50, 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, 117, 105, 100, 34, 58, 34, 101, 52, 57, 100, 97, 57, 55, 49, 45, 55, 56, 99, 102, 45, 52, 49, 97, 100, 45, 97, 56, 50, 101, 45, 52, 98, 100, 97, 56, 48, 49, 55, 52, 57, 51, 57, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 48, 57, 102, 101, 50, 51, 101, 97, 45, 97, 48, 51, 54, 45, 52, 56, 54, 51, 45, 98, 49, 48, 51, 45, 50, 98, 54, 53, 57, 102, 99, 56, 57, 51, 97, 53, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 50, 102, 100, 55, 50, 99, 101, 97, 45, 52, 51, 55, 99, 45, 52, 48, 53, 97, 45, 98, 99, 52, 102, 45, 100, 100, 101, 53, 101, 54, 50, 98, 55, 50, 98, 56, 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, 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, 97, 48, 54, 55, 101, 50, 102, 97, 45, 56, 52, 100, 98, 45, 52, 54, 98, 50, 45, 56, 54, 49, 101, 45, 52, 52, 100, 99, 57, 56, 57, 99, 101, 52, 56, 48, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 50, 102, 100, 55, 50, 99, 101, 97, 37, 50, 68, 52, 51, 55, 99, 37, 50, 68, 52, 48, 53, 97, 37, 50, 68, 98, 99, 52, 102, 37, 50, 68, 100, 100, 101, 53, 101, 54, 50, 98, 55, 50, 98, 56, 47, 100, 101, 118, 105, 99, 101, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed00178d0 } } } }
[2022-05-09T10:15:02Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbe82c40
[2022-05-09T10:15:02Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/2fd72cea-437c-405a-bc4f-dde5e62b72b8", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"59b0697e-5afc-4123-9d95-e620e35f9c18\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://2fd72cea%2D437c%2D405a%2Dbc4f%2Ddde5e62b72b8/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:15:02.531786621Z\",\"data\":{\"index\":3},\"senderuid\":\"e49da971-78cf-41ad-a82e-4bda80174939\",\"deviceuid\":\"09fe23ea-a036-4863-b103-2b659fc893a5\",\"application\":\"2fd72cea-437c-405a-bc4f-dde5e62b72b8\",\"instance\":\"drogue\",\"device\":\"device1\",\"sender\":\"gateway1\",\"applicationuid\":\"a067e2fa-84db-46b2-861e-44dc989ce480\",\"partitionkey\":\"2fd72cea%2D437c%2D405a%2Dbc4f%2Ddde5e62b72b8/device1\"}" }
[2022-05-09T10:15:03Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:15:03Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:15:03Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:15:03Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:15: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-endpoint.172.18.0.2.nip.io:30001", client_id: "7559451a-4ca3-41bd-97c3-797c32c28e37", persistence: None, user_data: None }
[2022-05-09T10:15:03Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:15:03Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbe33700
[2022-05-09T10:15:03Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbe33700
[2022-05-09T10:15: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: 0x55efdc13c760, password: 0x55efdbe63a60, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc09c680, 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: 0x55efdc299430, 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@2fd72cea-437c-405a-bc4f-dde5e62b72b8"), 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-09T10:15: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: 0x55efdbf3fee0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdbf3fee0 } } } }
[2022-05-09T10:15:03Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:15:03Z 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: 0x7f0ed000b050, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed000b2e0 } }, data: MessageData { topic: "app/2fd72cea-437c-405a-bc4f-dde5e62b72b8", 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, 97, 97, 57, 102, 52, 50, 45, 51, 57, 102, 48, 45, 52, 49, 97, 97, 45, 56, 50, 99, 99, 45, 52, 98, 49, 57, 101, 55, 101, 48, 101, 101, 54, 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, 102, 100, 55, 50, 99, 101, 97, 37, 50, 68, 52, 51, 55, 99, 37, 50, 68, 52, 48, 53, 97, 37, 50, 68, 98, 99, 52, 102, 37, 50, 68, 100, 100, 101, 53, 101, 54, 50, 98, 55, 50, 98, 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, 48, 58, 49, 53, 58, 48, 51, 46, 54, 52, 57, 52, 48, 53, 57, 53, 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, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 50, 102, 100, 55, 50, 99, 101, 97, 37, 50, 68, 52, 51, 55, 99, 37, 50, 68, 52, 48, 53, 97, 37, 50, 68, 98, 99, 52, 102, 37, 50, 68, 100, 100, 101, 53, 101, 54, 50, 98, 55, 50, 98, 56, 47, 103, 97, 116, 101, 119, 97, 121, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 101, 52, 57, 100, 97, 57, 55, 49, 45, 55, 56, 99, 102, 45, 52, 49, 97, 100, 45, 97, 56, 50, 101, 45, 52, 98, 100, 97, 56, 48, 49, 55, 52, 57, 51, 57, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 97, 48, 54, 55, 101, 50, 102, 97, 45, 56, 52, 100, 98, 45, 52, 54, 98, 50, 45, 56, 54, 49, 101, 45, 52, 52, 100, 99, 57, 56, 57, 99, 101, 52, 56, 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, 34, 58, 34, 50, 102, 100, 55, 50, 99, 101, 97, 45, 52, 51, 55, 99, 45, 52, 48, 53, 97, 45, 98, 99, 52, 102, 45, 100, 100, 101, 53, 101, 54, 50, 98, 55, 50, 98, 56, 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, 52, 57, 100, 97, 57, 55, 49, 45, 55, 56, 99, 102, 45, 52, 49, 97, 100, 45, 97, 56, 50, 101, 45, 52, 98, 100, 97, 56, 48, 49, 55, 52, 57, 51, 57, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed000b2e0 } } } }
[2022-05-09T10:15:03Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbef33c0
[2022-05-09T10:15:03Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/2fd72cea-437c-405a-bc4f-dde5e62b72b8", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"06aa9f42-39f0-41aa-82cc-4b19e7e0ee6c\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://2fd72cea%2D437c%2D405a%2Dbc4f%2Ddde5e62b72b8/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:15:03.649405953Z\",\"data\":{\"connected\":true},\"partitionkey\":\"2fd72cea%2D437c%2D405a%2Dbc4f%2Ddde5e62b72b8/gateway1\",\"deviceuid\":\"e49da971-78cf-41ad-a82e-4bda80174939\",\"applicationuid\":\"a067e2fa-84db-46b2-861e-44dc989ce480\",\"instance\":\"drogue\",\"device\":\"gateway1\",\"application\":\"2fd72cea-437c-405a-bc4f-dde5e62b72b8\",\"sender\":\"gateway1\",\"senderuid\":\"e49da971-78cf-41ad-a82e-4bda80174939\"}" }
[2022-05-09T10:15: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: 0x7f0ed0017fa0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed0007c20 } }, data: MessageData { topic: "app/2fd72cea-437c-405a-bc4f-dde5e62b72b8", 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, 98, 52, 54, 50, 55, 55, 50, 45, 56, 57, 99, 99, 45, 52, 52, 102, 97, 45, 56, 52, 53, 48, 45, 57, 99, 98, 53, 57, 100, 54, 57, 54, 49, 98, 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, 50, 102, 100, 55, 50, 99, 101, 97, 37, 50, 68, 52, 51, 55, 99, 37, 50, 68, 52, 48, 53, 97, 37, 50, 68, 98, 99, 52, 102, 37, 50, 68, 100, 100, 101, 53, 101, 54, 50, 98, 55, 50, 98, 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, 48, 58, 49, 53, 58, 48, 51, 46, 57, 49, 48, 52, 49, 51, 54, 57, 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, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 50, 102, 100, 55, 50, 99, 101, 97, 37, 50, 68, 52, 51, 55, 99, 37, 50, 68, 52, 48, 53, 97, 37, 50, 68, 98, 99, 52, 102, 37, 50, 68, 100, 100, 101, 53, 101, 54, 50, 98, 55, 50, 98, 56, 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, 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, 48, 54, 55, 101, 50, 102, 97, 45, 56, 52, 100, 98, 45, 52, 54, 98, 50, 45, 56, 54, 49, 101, 45, 52, 52, 100, 99, 57, 56, 57, 99, 101, 52, 56, 48, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 50, 102, 100, 55, 50, 99, 101, 97, 45, 52, 51, 55, 99, 45, 52, 48, 53, 97, 45, 98, 99, 52, 102, 45, 100, 100, 101, 53, 101, 54, 50, 98, 55, 50, 98, 56, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 101, 52, 57, 100, 97, 57, 55, 49, 45, 55, 56, 99, 102, 45, 52, 49, 97, 100, 45, 97, 56, 50, 101, 45, 52, 98, 100, 97, 56, 48, 49, 55, 52, 57, 51, 57, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 101, 52, 57, 100, 97, 57, 55, 49, 45, 55, 56, 99, 102, 45, 52, 49, 97, 100, 45, 97, 56, 50, 101, 45, 52, 98, 100, 97, 56, 48, 49, 55, 52, 57, 51, 57, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed0007c20 } } } }
[2022-05-09T10:15:04Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbef33c0
[2022-05-09T10:15:04Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/2fd72cea-437c-405a-bc4f-dde5e62b72b8", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"5b462772-89cc-44fa-8450-9cb59d6961bf\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://2fd72cea%2D437c%2D405a%2Dbc4f%2Ddde5e62b72b8/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:15:03.910413697Z\",\"data\":{\"connected\":false},\"partitionkey\":\"2fd72cea%2D437c%2D405a%2Dbc4f%2Ddde5e62b72b8/gateway1\",\"device\":\"gateway1\",\"sender\":\"gateway1\",\"instance\":\"drogue\",\"applicationuid\":\"a067e2fa-84db-46b2-861e-44dc989ce480\",\"application\":\"2fd72cea-437c-405a-bc4f-dde5e62b72b8\",\"deviceuid\":\"e49da971-78cf-41ad-a82e-4bda80174939\",\"senderuid\":\"e49da971-78cf-41ad-a82e-4bda80174939\"}" }
[2022-05-09T10:15: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: 0x7f0ed0007dc0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed0008040 } }, data: MessageData { topic: "app/2fd72cea-437c-405a-bc4f-dde5e62b72b8", 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, 51, 57, 101, 50, 98, 49, 98, 45, 101, 99, 51, 55, 45, 52, 52, 57, 99, 45, 97, 102, 57, 98, 45, 98, 97, 50, 99, 99, 51, 50, 51, 98, 50, 53, 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, 50, 102, 100, 55, 50, 99, 101, 97, 37, 50, 68, 52, 51, 55, 99, 37, 50, 68, 52, 48, 53, 97, 37, 50, 68, 98, 99, 52, 102, 37, 50, 68, 100, 100, 101, 53, 101, 54, 50, 98, 55, 50, 98, 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, 48, 58, 49, 53, 58, 48, 51, 46, 57, 48, 56, 57, 56, 55, 52, 56, 49, 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, 102, 100, 55, 50, 99, 101, 97, 37, 50, 68, 52, 51, 55, 99, 37, 50, 68, 52, 48, 53, 97, 37, 50, 68, 98, 99, 52, 102, 37, 50, 68, 100, 100, 101, 53, 101, 54, 50, 98, 55, 50, 98, 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, 50, 102, 100, 55, 50, 99, 101, 97, 45, 52, 51, 55, 99, 45, 52, 48, 53, 97, 45, 98, 99, 52, 102, 45, 100, 100, 101, 53, 101, 54, 50, 98, 55, 50, 98, 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, 117, 105, 100, 34, 58, 34, 48, 57, 102, 101, 50, 51, 101, 97, 45, 97, 48, 51, 54, 45, 52, 56, 54, 51, 45, 98, 49, 48, 51, 45, 50, 98, 54, 53, 57, 102, 99, 56, 57, 51, 97, 53, 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, 48, 54, 55, 101, 50, 102, 97, 45, 56, 52, 100, 98, 45, 52, 54, 98, 50, 45, 56, 54, 49, 101, 45, 52, 52, 100, 99, 57, 56, 57, 99, 101, 52, 56, 48, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 101, 52, 57, 100, 97, 57, 55, 49, 45, 55, 56, 99, 102, 45, 52, 49, 97, 100, 45, 97, 56, 50, 101, 45, 52, 98, 100, 97, 56, 48, 49, 55, 52, 57, 51, 57, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed0008040 } } } }
[2022-05-09T10:15:04Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbef33c0
[2022-05-09T10:15:04Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/2fd72cea-437c-405a-bc4f-dde5e62b72b8", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"b39e2b1b-ec37-449c-af9b-ba2cc323b259\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://2fd72cea%2D437c%2D405a%2Dbc4f%2Ddde5e62b72b8/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:15:03.908987481Z\",\"data_base64\":\"\",\"partitionkey\":\"2fd72cea%2D437c%2D405a%2Dbc4f%2Ddde5e62b72b8/device1\",\"application\":\"2fd72cea-437c-405a-bc4f-dde5e62b72b8\",\"sender\":\"gateway1\",\"deviceuid\":\"09fe23ea-a036-4863-b103-2b659fc893a5\",\"device\":\"device1\",\"instance\":\"drogue\",\"applicationuid\":\"a067e2fa-84db-46b2-861e-44dc989ce480\",\"senderuid\":\"e49da971-78cf-41ad-a82e-4bda80174939\"}" }
[2022-05-09T10:15:04Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:15:04Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:15:04Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:15: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: "2fd72cea-437c-405a-bc4f-dde5e62b72b8", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "2fd72cea-437c-405a-bc4f-dde5e62b72b8", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:15:04Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:15:04Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "2fd72cea-437c-405a-bc4f-dde5e62b72b8" "device1"
[2022-05-09T10:15:04Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:15:04Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:15:04Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "2fd72cea-437c-405a-bc4f-dde5e62b72b8" "gateway1"
[2022-05-09T10:15:04Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:15:04Z INFO  drogue_cloud_tests::resources::apps] Destroy application '2fd72cea-437c-405a-bc4f-dde5e62b72b8'
[2022-05-09T10:15:04Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "2fd72cea-437c-405a-bc4f-dde5e62b72b8"
[2022-05-09T10:15:04Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 2fd72cea-437c-405a-bc4f-dde5e62b72b8 deleted.\n", stderr: "" })

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

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T10:15:06Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:15:06Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:15:06Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:15:06Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:15: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-09T10:15:07Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:15:09Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:15:09Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:15:09Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:15: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-09T10:15:11Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMxMTEsImlhdCI6MTY1MjA5MTMxMSwianRpIjoiNjUwNzhhNTAtODc3NC00Y2Q4LWI1MDQtOTMzYmM5OTNlMmY4IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjhHb3dqRExaaGpWUi0zamhxdVExZXciLCJzZXNzaW9uX3N0YXRlIjoiNzUxNTc2NWEtNzJkYy00ZTYwLThjMDYtMzYzOWNhZDJmMDU5Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijc1MTU3NjVhLTcyZGMtNGU2MC04YzA2LTM2MzljYWQyZjA1OSJ9.CpsAOcn-9i4synyXsnQTiO6orbe1N_6Wq1WSeXIqUGM
[2022-05-09T10:15:11Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:15:11Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:15:11Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMxMTEsImlhdCI6MTY1MjA5MTMxMSwianRpIjoiNjUwNzhhNTAtODc3NC00Y2Q4LWI1MDQtOTMzYmM5OTNlMmY4IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjhHb3dqRExaaGpWUi0zamhxdVExZXciLCJzZXNzaW9uX3N0YXRlIjoiNzUxNTc2NWEtNzJkYy00ZTYwLThjMDYtMzYzOWNhZDJmMDU5Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijc1MTU3NjVhLTcyZGMtNGU2MC04YzA2LTM2MzljYWQyZjA1OSJ9.CpsAOcn-9i4synyXsnQTiO6orbe1N_6Wq1WSeXIqUGM" "--context" "system-tests"
[2022-05-09T10:15: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-09T10:15:11Z INFO  drogue_cloud_tests::resources::apps] Create application: 05178285-ba13-41f7-a73e-14abfaf40986
[2022-05-09T10:15:11Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "05178285-ba13-41f7-a73e-14abfaf40986"
[2022-05-09T10:15:11Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 05178285-ba13-41f7-a73e-14abfaf40986 created.\n", stderr: "" })
[2022-05-09T10:15:11Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "05178285-ba13-41f7-a73e-14abfaf40986"
[2022-05-09T10:15:11Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:15:11.884511Z\",\n    \"generation\": 1,\n    \"name\": \"05178285-ba13-41f7-a73e-14abfaf40986\",\n    \"resourceVersion\": \"7bd36c5a-4d5f-4192-b50f-e220f00b3c2d\",\n    \"uid\": \"0cdf6b2b-8078-4bd5-a709-162b324de88a\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:15:11.898600263Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2022-05-09T10:15:11Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:15:11.884511Z"), "generation": Number(1), "name": String("05178285-ba13-41f7-a73e-14abfaf40986"), "resourceVersion": String("7bd36c5a-4d5f-4192-b50f-e220f00b3c2d"), "uid": String("0cdf6b2b-8078-4bd5-a709-162b324de88a")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:15:11.898600263Z"), "status": String("True"), "type": String("Ready")})])})})
[2022-05-09T10:15:11Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:15:12Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "05178285-ba13-41f7-a73e-14abfaf40986"
[2022-05-09T10:15:12Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:15:11.884511Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"05178285-ba13-41f7-a73e-14abfaf40986\",\n    \"resourceVersion\": \"76ca5afc-3712-4c1c-8de1-69ea17c7fd6c\",\n    \"uid\": \"0cdf6b2b-8078-4bd5-a709-162b324de88a\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:15:12.206186754Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:15:12.206149123Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:11.930386305Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:11.938062074Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:12.034524232Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:12.040738279Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:12.206099801Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:12.206120800Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"qGJfzrMq3sp3\",\n        \"username\": \"user-05178285-ba13-41f7-a73e-14abfaf40986\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:15:12Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:15:11.884511Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("05178285-ba13-41f7-a73e-14abfaf40986"), "resourceVersion": String("76ca5afc-3712-4c1c-8de1-69ea17c7fd6c"), "uid": String("0cdf6b2b-8078-4bd5-a709-162b324de88a")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:15:12.206186754Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:15:12.206149123Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:15:11.930386305Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:15:11.938062074Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:15:12.034524232Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:15:12.040738279Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:15:12.206099801Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:15:12.206120800Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("qGJfzrMq3sp3"), "username": String("user-05178285-ba13-41f7-a73e-14abfaf40986")})})})})
[2022-05-09T10:15:12Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:15:12Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "05178285-ba13-41f7-a73e-14abfaf40986"
[2022-05-09T10:15:12Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:15:11.884511Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"05178285-ba13-41f7-a73e-14abfaf40986\",\n    \"resourceVersion\": \"76ca5afc-3712-4c1c-8de1-69ea17c7fd6c\",\n    \"uid\": \"0cdf6b2b-8078-4bd5-a709-162b324de88a\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:15:12.206186754Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:15:12.206149123Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:11.930386305Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:11.938062074Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:12.034524232Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:12.040738279Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:12.206099801Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:12.206120800Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"qGJfzrMq3sp3\",\n        \"username\": \"user-05178285-ba13-41f7-a73e-14abfaf40986\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:15:12Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:15:11.884511Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("05178285-ba13-41f7-a73e-14abfaf40986"), "resourceVersion": String("76ca5afc-3712-4c1c-8de1-69ea17c7fd6c"), "uid": String("0cdf6b2b-8078-4bd5-a709-162b324de88a")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:15:12.206186754Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:15:12.206149123Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:15:11.930386305Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:15:11.938062074Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:15:12.034524232Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:15:12.040738279Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:15:12.206099801Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:15:12.206120800Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("qGJfzrMq3sp3"), "username": String("user-05178285-ba13-41f7-a73e-14abfaf40986")})})})})
[2022-05-09T10:15:12Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:15:12Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:15:12Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "05178285-ba13-41f7-a73e-14abfaf40986" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:15:12Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:15:12Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:15:12Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:15:12Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:15:12Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE2MTEsImlhdCI6MTY1MjA5MTMxMSwiYXV0aF90aW1lIjoxNjUyMDkxMzA4LCJqdGkiOiJkNzU4NDdhOS0wZTM1LTQwYmMtODE3Ny05MGE3MzkwYTgwYWEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI4R293akRMWmhqVlItM2pocXVRMWV3Iiwic2Vzc2lvbl9zdGF0ZSI6Ijc1MTU3NjVhLTcyZGMtNGU2MC04YzA2LTM2MzljYWQyZjA1OSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijc1MTU3NjVhLTcyZGMtNGU2MC04YzA2LTM2MzljYWQyZjA1OSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.uR1bjgSk0srl3S5vaUiUNHsR5XfsPsGR15NArT4f_M2d-xAUVRLUENEKSPtDQm0sC_3bl6Kaq_-26HHWRjJgaZrX3h0pK1okTkt3PjdvKbwBxkifpQh88WakDsI5uuz1epqvuPIPzIPBh5Z4ju7PIrq4UJ4sJf8_X8lIuHd4pSC1fWtCwWroTH5RKBJVCTRTOu-hy9YxMkMt8OVbLo3aELhs8vsEC-7TZ_4IMkP3kULSpgin1UaW4fQdkMK-p0kdtXR2-WWotrV9zk8i8a5-DU0obT_fw-zlR2smal_tIbOrmlDwlB7g0i4VjYCZublJuo1w6zKQ3pRwGIsDygsZ3g\n", stderr: "" })
[2022-05-09T10:15:12Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:15:12Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:15:12Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:15:12Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "05178285-ba13-41f7-a73e-14abfaf40986" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:15:13Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:15:13Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T10:15:13Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:15:13Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE2MTEsImlhdCI6MTY1MjA5MTMxMSwiYXV0aF90aW1lIjoxNjUyMDkxMzA4LCJqdGkiOiJkNzU4NDdhOS0wZTM1LTQwYmMtODE3Ny05MGE3MzkwYTgwYWEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI4R293akRMWmhqVlItM2pocXVRMWV3Iiwic2Vzc2lvbl9zdGF0ZSI6Ijc1MTU3NjVhLTcyZGMtNGU2MC04YzA2LTM2MzljYWQyZjA1OSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijc1MTU3NjVhLTcyZGMtNGU2MC04YzA2LTM2MzljYWQyZjA1OSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.uR1bjgSk0srl3S5vaUiUNHsR5XfsPsGR15NArT4f_M2d-xAUVRLUENEKSPtDQm0sC_3bl6Kaq_-26HHWRjJgaZrX3h0pK1okTkt3PjdvKbwBxkifpQh88WakDsI5uuz1epqvuPIPzIPBh5Z4ju7PIrq4UJ4sJf8_X8lIuHd4pSC1fWtCwWroTH5RKBJVCTRTOu-hy9YxMkMt8OVbLo3aELhs8vsEC-7TZ_4IMkP3kULSpgin1UaW4fQdkMK-p0kdtXR2-WWotrV9zk8i8a5-DU0obT_fw-zlR2smal_tIbOrmlDwlB7g0i4VjYCZublJuo1w6zKQ3pRwGIsDygsZ3g\n", stderr: "" })
[2022-05-09T10:15: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: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "a8c994a5-605d-4319-b856-d30c5081324a", persistence: None, user_data: None }
[2022-05-09T10:15:13Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:15:13Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbfbd150
[2022-05-09T10:15:13Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbfbd150
[2022-05-09T10:15: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: 0x55efdc1114a0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc111b70, 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: 0x55efdc051330, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE2MTEsImlhdCI6MTY1MjA5MTMxMSwiYXV0aF90aW1lIjoxNjUyMDkxMzA4LCJqdGkiOiJkNzU4NDdhOS0wZTM1LTQwYmMtODE3Ny05MGE3MzkwYTgwYWEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI4R293akRMWmhqVlItM2pocXVRMWV3Iiwic2Vzc2lvbl9zdGF0ZSI6Ijc1MTU3NjVhLTcyZGMtNGU2MC04YzA2LTM2MzljYWQyZjA1OSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijc1MTU3NjVhLTcyZGMtNGU2MC04YzA2LTM2MzljYWQyZjA1OSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.uR1bjgSk0srl3S5vaUiUNHsR5XfsPsGR15NArT4f_M2d-xAUVRLUENEKSPtDQm0sC_3bl6Kaq_-26HHWRjJgaZrX3h0pK1okTkt3PjdvKbwBxkifpQh88WakDsI5uuz1epqvuPIPzIPBh5Z4ju7PIrq4UJ4sJf8_X8lIuHd4pSC1fWtCwWroTH5RKBJVCTRTOu-hy9YxMkMt8OVbLo3aELhs8vsEC-7TZ_4IMkP3kULSpgin1UaW4fQdkMK-p0kdtXR2-WWotrV9zk8i8a5-DU0obT_fw-zlR2smal_tIbOrmlDwlB7g0i4VjYCZublJuo1w6zKQ3pRwGIsDygsZ3g"), 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-09T10:15:13Z DEBUG paho_mqtt::async_client] Subscribe to '"app/05178285-ba13-41f7-a73e-14abfaf40986"' @ QOS 0
[2022-05-09T10:15:13Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:15:13Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:15:13Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:15: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-09T10:15:13Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:15: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-09T10:15:14Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:15: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-09T10:15:14Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:15: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-09T10:15:15Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:15: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-09T10:15:15Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:15: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-09T10:15:16Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:15: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-09T10:15:16Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:15: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-09T10:15: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: 0x7f0ed0017b90, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed0017e10 } }, data: MessageData { topic: "app/05178285-ba13-41f7-a73e-14abfaf40986", 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, 101, 56, 48, 50, 57, 52, 45, 100, 99, 98, 102, 45, 52, 56, 98, 102, 45, 57, 100, 100, 48, 45, 49, 53, 101, 54, 55, 102, 102, 97, 50, 49, 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, 48, 53, 49, 55, 56, 50, 56, 53, 37, 50, 68, 98, 97, 49, 51, 37, 50, 68, 52, 49, 102, 55, 37, 50, 68, 97, 55, 51, 101, 37, 50, 68, 49, 52, 97, 98, 102, 97, 102, 52, 48, 57, 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, 48, 58, 49, 53, 58, 49, 54, 46, 53, 52, 54, 55, 48, 50, 56, 51, 51, 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, 48, 53, 49, 55, 56, 50, 56, 53, 45, 98, 97, 49, 51, 45, 52, 49, 102, 55, 45, 97, 55, 51, 101, 45, 49, 52, 97, 98, 102, 97, 102, 52, 48, 57, 56, 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, 117, 105, 100, 34, 58, 34, 99, 100, 102, 98, 99, 98, 57, 57, 45, 101, 49, 48, 54, 45, 52, 52, 57, 49, 45, 97, 51, 53, 49, 45, 50, 102, 56, 52, 101, 54, 97, 53, 98, 51, 99, 55, 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, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 53, 49, 55, 56, 50, 56, 53, 37, 50, 68, 98, 97, 49, 51, 37, 50, 68, 52, 49, 102, 55, 37, 50, 68, 97, 55, 51, 101, 37, 50, 68, 49, 52, 97, 98, 102, 97, 102, 52, 48, 57, 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, 48, 99, 100, 102, 54, 98, 50, 98, 45, 56, 48, 55, 56, 45, 52, 98, 100, 53, 45, 97, 55, 48, 57, 45, 49, 54, 50, 98, 51, 50, 52, 100, 101, 56, 56, 97, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 55, 48, 50, 53, 56, 51, 57, 97, 45, 99, 49, 48, 56, 45, 52, 55, 102, 55, 45, 56, 101, 50, 49, 45, 54, 99, 57, 97, 54, 53, 53, 98, 100, 53, 101, 55, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed0017e10 } } } }
[2022-05-09T10:15:16Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee0001e90
[2022-05-09T10:15:16Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/05178285-ba13-41f7-a73e-14abfaf40986", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"18e80294-dcbf-48bf-9dd0-15e67ffa217a\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://05178285%2Dba13%2D41f7%2Da73e%2D14abfaf40986/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:15:16.546702833Z\",\"data\":{\"index\":3},\"application\":\"05178285-ba13-41f7-a73e-14abfaf40986\",\"instance\":\"drogue\",\"senderuid\":\"cdfbcb99-e106-4491-a351-2f84e6a5b3c7\",\"device\":\"device1\",\"sender\":\"gateway1\",\"partitionkey\":\"05178285%2Dba13%2D41f7%2Da73e%2D14abfaf40986/device1\",\"applicationuid\":\"0cdf6b2b-8078-4bd5-a709-162b324de88a\",\"deviceuid\":\"7025839a-c108-47f7-8e21-6c9a655bd5e7\"}" }
[2022-05-09T10:15:17Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:15:17Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:15:17Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:15:17Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:15: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: "ead72443-c200-4873-9eff-e8f49a000481", persistence: None, user_data: None }
[2022-05-09T10:15:17Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:15:17Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc19a6a0
[2022-05-09T10:15:17Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc19a6a0
[2022-05-09T10:15: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: 0x55efdc1d1690, password: 0x55efdbf7be90, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc19ee20, 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: 0x55efdc29b410, 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@05178285-ba13-41f7-a73e-14abfaf40986"), 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-09T10:15:17Z 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: 0x7f0ed002b610, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed002b8a0 } }, data: MessageData { topic: "app/05178285-ba13-41f7-a73e-14abfaf40986", 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, 53, 55, 101, 101, 56, 101, 99, 45, 48, 51, 48, 49, 45, 52, 97, 101, 51, 45, 98, 101, 98, 54, 45, 99, 51, 49, 100, 54, 53, 51, 98, 100, 55, 97, 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, 48, 53, 49, 55, 56, 50, 56, 53, 37, 50, 68, 98, 97, 49, 51, 37, 50, 68, 52, 49, 102, 55, 37, 50, 68, 97, 55, 51, 101, 37, 50, 68, 49, 52, 97, 98, 102, 97, 102, 52, 48, 57, 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, 48, 58, 49, 53, 58, 49, 55, 46, 56, 48, 51, 51, 54, 50, 49, 54, 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, 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, 48, 53, 49, 55, 56, 50, 56, 53, 37, 50, 68, 98, 97, 49, 51, 37, 50, 68, 52, 49, 102, 55, 37, 50, 68, 97, 55, 51, 101, 37, 50, 68, 49, 52, 97, 98, 102, 97, 102, 52, 48, 57, 56, 54, 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, 48, 99, 100, 102, 54, 98, 50, 98, 45, 56, 48, 55, 56, 45, 52, 98, 100, 53, 45, 97, 55, 48, 57, 45, 49, 54, 50, 98, 51, 50, 52, 100, 101, 56, 56, 97, 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, 99, 100, 102, 98, 99, 98, 57, 57, 45, 101, 49, 48, 54, 45, 52, 52, 57, 49, 45, 97, 51, 53, 49, 45, 50, 102, 56, 52, 101, 54, 97, 53, 98, 51, 99, 55, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 99, 100, 102, 98, 99, 98, 57, 57, 45, 101, 49, 48, 54, 45, 52, 52, 57, 49, 45, 97, 51, 53, 49, 45, 50, 102, 56, 52, 101, 54, 97, 53, 98, 51, 99, 55, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 53, 49, 55, 56, 50, 56, 53, 45, 98, 97, 49, 51, 45, 52, 49, 102, 55, 45, 97, 55, 51, 101, 45, 49, 52, 97, 98, 102, 97, 102, 52, 48, 57, 56, 54, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed002b8a0 } } } }
[2022-05-09T10:15:17Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdc134c80
[2022-05-09T10:15:17Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/05178285-ba13-41f7-a73e-14abfaf40986", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"957ee8ec-0301-4ae3-beb6-c31d653bd7a8\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://05178285%2Dba13%2D41f7%2Da73e%2D14abfaf40986/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:15:17.803362162Z\",\"data\":{\"connected\":true},\"device\":\"gateway1\",\"partitionkey\":\"05178285%2Dba13%2D41f7%2Da73e%2D14abfaf40986/gateway1\",\"instance\":\"drogue\",\"applicationuid\":\"0cdf6b2b-8078-4bd5-a709-162b324de88a\",\"sender\":\"gateway1\",\"senderuid\":\"cdfbcb99-e106-4491-a351-2f84e6a5b3c7\",\"deviceuid\":\"cdfbcb99-e106-4491-a351-2f84e6a5b3c7\",\"application\":\"05178285-ba13-41f7-a73e-14abfaf40986\"}" }
[2022-05-09T10:15:17Z 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: 0x55efdbe4d170 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdbe4d170 } } } }
[2022-05-09T10:15:17Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:15: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: 0x7f0ed001b480, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed001b710 } }, data: MessageData { topic: "app/05178285-ba13-41f7-a73e-14abfaf40986", 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, 53, 53, 57, 101, 55, 55, 57, 45, 99, 101, 52, 97, 45, 52, 57, 54, 102, 45, 57, 98, 99, 48, 45, 55, 52, 57, 97, 98, 52, 100, 55, 56, 97, 57, 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, 48, 53, 49, 55, 56, 50, 56, 53, 37, 50, 68, 98, 97, 49, 51, 37, 50, 68, 52, 49, 102, 55, 37, 50, 68, 97, 55, 51, 101, 37, 50, 68, 49, 52, 97, 98, 102, 97, 102, 52, 48, 57, 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, 48, 58, 49, 53, 58, 49, 55, 46, 57, 49, 50, 50, 54, 55, 53, 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, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 99, 100, 102, 98, 99, 98, 57, 57, 45, 101, 49, 48, 54, 45, 52, 52, 57, 49, 45, 97, 51, 53, 49, 45, 50, 102, 56, 52, 101, 54, 97, 53, 98, 51, 99, 55, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 53, 49, 55, 56, 50, 56, 53, 45, 98, 97, 49, 51, 45, 52, 49, 102, 55, 45, 97, 55, 51, 101, 45, 49, 52, 97, 98, 102, 97, 102, 52, 48, 57, 56, 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, 48, 99, 100, 102, 54, 98, 50, 98, 45, 56, 48, 55, 56, 45, 52, 98, 100, 53, 45, 97, 55, 48, 57, 45, 49, 54, 50, 98, 51, 50, 52, 100, 101, 56, 56, 97, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 99, 100, 102, 98, 99, 98, 57, 57, 45, 101, 49, 48, 54, 45, 52, 52, 57, 49, 45, 97, 51, 53, 49, 45, 50, 102, 56, 52, 101, 54, 97, 53, 98, 51, 99, 55, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 53, 49, 55, 56, 50, 56, 53, 37, 50, 68, 98, 97, 49, 51, 37, 50, 68, 52, 49, 102, 55, 37, 50, 68, 97, 55, 51, 101, 37, 50, 68, 49, 52, 97, 98, 102, 97, 102, 52, 48, 57, 56, 54, 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, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed001b710 } } } }
[2022-05-09T10:15:18Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee0001e90
[2022-05-09T10:15:18Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/05178285-ba13-41f7-a73e-14abfaf40986", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"b559e779-ce4a-496f-9bc0-749ab4d78a97\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://05178285%2Dba13%2D41f7%2Da73e%2D14abfaf40986/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:15:17.912267533Z\",\"data\":{\"connected\":false},\"senderuid\":\"cdfbcb99-e106-4491-a351-2f84e6a5b3c7\",\"application\":\"05178285-ba13-41f7-a73e-14abfaf40986\",\"instance\":\"drogue\",\"applicationuid\":\"0cdf6b2b-8078-4bd5-a709-162b324de88a\",\"deviceuid\":\"cdfbcb99-e106-4491-a351-2f84e6a5b3c7\",\"partitionkey\":\"05178285%2Dba13%2D41f7%2Da73e%2D14abfaf40986/gateway1\",\"device\":\"gateway1\",\"sender\":\"gateway1\"}" }
[2022-05-09T10:15: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: 0x7f0ed001b9f0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed001bc70 } }, data: MessageData { topic: "app/05178285-ba13-41f7-a73e-14abfaf40986", 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, 53, 98, 57, 98, 55, 50, 97, 45, 51, 99, 52, 56, 45, 52, 100, 57, 49, 45, 97, 57, 52, 50, 45, 98, 48, 98, 97, 52, 52, 102, 52, 53, 54, 102, 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, 48, 53, 49, 55, 56, 50, 56, 53, 37, 50, 68, 98, 97, 49, 51, 37, 50, 68, 52, 49, 102, 55, 37, 50, 68, 97, 55, 51, 101, 37, 50, 68, 49, 52, 97, 98, 102, 97, 102, 52, 48, 57, 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, 48, 58, 49, 53, 58, 49, 55, 46, 57, 49, 49, 54, 48, 49, 57, 56, 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, 34, 58, 34, 48, 53, 49, 55, 56, 50, 56, 53, 45, 98, 97, 49, 51, 45, 52, 49, 102, 55, 45, 97, 55, 51, 101, 45, 49, 52, 97, 98, 102, 97, 102, 52, 48, 57, 56, 54, 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, 48, 50, 53, 56, 51, 57, 97, 45, 99, 49, 48, 56, 45, 52, 55, 102, 55, 45, 56, 101, 50, 49, 45, 54, 99, 57, 97, 54, 53, 53, 98, 100, 53, 101, 55, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 53, 49, 55, 56, 50, 56, 53, 37, 50, 68, 98, 97, 49, 51, 37, 50, 68, 52, 49, 102, 55, 37, 50, 68, 97, 55, 51, 101, 37, 50, 68, 49, 52, 97, 98, 102, 97, 102, 52, 48, 57, 56, 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, 99, 100, 102, 54, 98, 50, 98, 45, 56, 48, 55, 56, 45, 52, 98, 100, 53, 45, 97, 55, 48, 57, 45, 49, 54, 50, 98, 51, 50, 52, 100, 101, 56, 56, 97, 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, 99, 100, 102, 98, 99, 98, 57, 57, 45, 101, 49, 48, 54, 45, 52, 52, 57, 49, 45, 97, 51, 53, 49, 45, 50, 102, 56, 52, 101, 54, 97, 53, 98, 51, 99, 55, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed001bc70 } } } }
[2022-05-09T10:15:18Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee0001e90
[2022-05-09T10:15:18Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/05178285-ba13-41f7-a73e-14abfaf40986", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"b5b9b72a-3c48-4d91-a942-b0ba44f456f2\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://05178285%2Dba13%2D41f7%2Da73e%2D14abfaf40986/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:15:17.911601989Z\",\"data_base64\":\"\",\"application\":\"05178285-ba13-41f7-a73e-14abfaf40986\",\"instance\":\"drogue\",\"deviceuid\":\"7025839a-c108-47f7-8e21-6c9a655bd5e7\",\"partitionkey\":\"05178285%2Dba13%2D41f7%2Da73e%2D14abfaf40986/device1\",\"device\":\"device1\",\"applicationuid\":\"0cdf6b2b-8078-4bd5-a709-162b324de88a\",\"sender\":\"gateway1\",\"senderuid\":\"cdfbcb99-e106-4491-a351-2f84e6a5b3c7\"}" }
[2022-05-09T10:15:18Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:15:18Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:15:18Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:15: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: "05178285-ba13-41f7-a73e-14abfaf40986", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "05178285-ba13-41f7-a73e-14abfaf40986", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:15:18Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:15:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "05178285-ba13-41f7-a73e-14abfaf40986" "device1"
[2022-05-09T10:15:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:15:18Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:15:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "05178285-ba13-41f7-a73e-14abfaf40986" "gateway1"
[2022-05-09T10:15:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:15:18Z INFO  drogue_cloud_tests::resources::apps] Destroy application '05178285-ba13-41f7-a73e-14abfaf40986'
[2022-05-09T10:15:18Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "05178285-ba13-41f7-a73e-14abfaf40986"
[2022-05-09T10:15:18Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 05178285-ba13-41f7-a73e-14abfaf40986 deleted.\n", stderr: "" })

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

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T10:15:20Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:15:20Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:15:20Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:15:20Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:15: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-09T10:15:21Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:15:23Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:15:23Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:15:23Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:15: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-09T10:15:25Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMxMjQsImlhdCI6MTY1MjA5MTMyNCwianRpIjoiNjc3OWE4YmMtZDljYy00MjZjLWE0OGMtMjVlZWQxNGJlYjhjIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImNpOUZMWlFrUm5EOGRJSEFfcEg5Y2ciLCJzZXNzaW9uX3N0YXRlIjoiM2I4MTk2ZDItYmEwYi00NjliLWFiMjItYTMyMmY3ZDAwZTBhIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjNiODE5NmQyLWJhMGItNDY5Yi1hYjIyLWEzMjJmN2QwMGUwYSJ9.cD0T9QZ7FLPXiQyVt_v7fSAmtl_-JEuSkfUtAisvx9c
[2022-05-09T10:15:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:15:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:15:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMxMjQsImlhdCI6MTY1MjA5MTMyNCwianRpIjoiNjc3OWE4YmMtZDljYy00MjZjLWE0OGMtMjVlZWQxNGJlYjhjIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImNpOUZMWlFrUm5EOGRJSEFfcEg5Y2ciLCJzZXNzaW9uX3N0YXRlIjoiM2I4MTk2ZDItYmEwYi00NjliLWFiMjItYTMyMmY3ZDAwZTBhIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjNiODE5NmQyLWJhMGItNDY5Yi1hYjIyLWEzMjJmN2QwMGUwYSJ9.cD0T9QZ7FLPXiQyVt_v7fSAmtl_-JEuSkfUtAisvx9c" "--context" "system-tests"
[2022-05-09T10:15: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-09T10:15:25Z INFO  drogue_cloud_tests::resources::apps] Create application: 01d2f001-dc80-4c79-bbb9-7a9cb884796d
[2022-05-09T10:15:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "01d2f001-dc80-4c79-bbb9-7a9cb884796d"
[2022-05-09T10:15:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 01d2f001-dc80-4c79-bbb9-7a9cb884796d created.\n", stderr: "" })
[2022-05-09T10:15:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "01d2f001-dc80-4c79-bbb9-7a9cb884796d"
[2022-05-09T10:15:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:15:25.817340Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"01d2f001-dc80-4c79-bbb9-7a9cb884796d\",\n    \"resourceVersion\": \"eb784974-4569-4e08-865e-b4ee6af0a5b4\",\n    \"uid\": \"2613d019-6093-4317-b87d-016cf4d27a6e\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:15:25.827904192Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:15:25.827929460Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:25.827868876Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:25.827871351Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:25.827872172Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:25.827872984Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:25.827873435Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:25.827880177Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:15:25Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:15:25.817340Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("01d2f001-dc80-4c79-bbb9-7a9cb884796d"), "resourceVersion": String("eb784974-4569-4e08-865e-b4ee6af0a5b4"), "uid": String("2613d019-6093-4317-b87d-016cf4d27a6e")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:15:25.827904192Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:15:25.827929460Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:15:25.827868876Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:15:25.827871351Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:15:25.827872172Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:15:25.827872984Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:15:25.827873435Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:15:25.827880177Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T10:15:25Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:15:26Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "01d2f001-dc80-4c79-bbb9-7a9cb884796d"
[2022-05-09T10:15:26Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:15:25.817340Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"01d2f001-dc80-4c79-bbb9-7a9cb884796d\",\n    \"resourceVersion\": \"3c556ad9-aff4-4e85-9295-bc48002896b1\",\n    \"uid\": \"2613d019-6093-4317-b87d-016cf4d27a6e\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:15:26.096425667Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:15:26.096533038Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:25.850960535Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:25.859054206Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:25.909903585Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:25.915485229Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:26.096272811Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:26.096375312Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"H7R32mUvka7z\",\n        \"username\": \"user-01d2f001-dc80-4c79-bbb9-7a9cb884796d\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:15:26Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:15:25.817340Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("01d2f001-dc80-4c79-bbb9-7a9cb884796d"), "resourceVersion": String("3c556ad9-aff4-4e85-9295-bc48002896b1"), "uid": String("2613d019-6093-4317-b87d-016cf4d27a6e")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:15:26.096425667Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:15:26.096533038Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:15:25.850960535Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:15:25.859054206Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:15:25.909903585Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:15:25.915485229Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:15:26.096272811Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:15:26.096375312Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("H7R32mUvka7z"), "username": String("user-01d2f001-dc80-4c79-bbb9-7a9cb884796d")})})})})
[2022-05-09T10:15:26Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:15:26Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "01d2f001-dc80-4c79-bbb9-7a9cb884796d"
[2022-05-09T10:15:26Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:15:25.817340Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"01d2f001-dc80-4c79-bbb9-7a9cb884796d\",\n    \"resourceVersion\": \"3c556ad9-aff4-4e85-9295-bc48002896b1\",\n    \"uid\": \"2613d019-6093-4317-b87d-016cf4d27a6e\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:15:26.096425667Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:15:26.096533038Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:25.850960535Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:25.859054206Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:25.909903585Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:25.915485229Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:26.096272811Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:26.096375312Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"H7R32mUvka7z\",\n        \"username\": \"user-01d2f001-dc80-4c79-bbb9-7a9cb884796d\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:15:26Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:15:25.817340Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("01d2f001-dc80-4c79-bbb9-7a9cb884796d"), "resourceVersion": String("3c556ad9-aff4-4e85-9295-bc48002896b1"), "uid": String("2613d019-6093-4317-b87d-016cf4d27a6e")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:15:26.096425667Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:15:26.096533038Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:15:25.850960535Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:15:25.859054206Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:15:25.909903585Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:15:25.915485229Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:15:26.096272811Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:15:26.096375312Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("H7R32mUvka7z"), "username": String("user-01d2f001-dc80-4c79-bbb9-7a9cb884796d")})})})})
[2022-05-09T10:15:26Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:15:26Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:15:26Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "01d2f001-dc80-4c79-bbb9-7a9cb884796d" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:15:26Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:15:26Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:15:26Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:15:26Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:15:26Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE2MjUsImlhdCI6MTY1MjA5MTMyNSwiYXV0aF90aW1lIjoxNjUyMDkxMzIyLCJqdGkiOiJiNTIyYmEyZS1mMzk0LTQzYWItOTQ1MS1mMTRhYmMyNDJmZDMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJjaTlGTFpRa1JuRDhkSUhBX3BIOWNnIiwic2Vzc2lvbl9zdGF0ZSI6IjNiODE5NmQyLWJhMGItNDY5Yi1hYjIyLWEzMjJmN2QwMGUwYSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjNiODE5NmQyLWJhMGItNDY5Yi1hYjIyLWEzMjJmN2QwMGUwYSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.sv7SSZQfLHDnKT5W6CoKIUtr_fMIeunuju_rFrPrs74G0EiUwHxG80mdxueAw9cKekrfSxWYx6a3azj3oSeWRZdOX_FK5f9-a35am75wFcV2Ltkdf0A0GLxHc_2cI5uZowQ_yOlOlFjkuDyvv53rIXCZ-lwNKn2MeLt8LYGdbqfxf1daS1cYQWZIgaiaHoTeC34qk1oiYznqjoEpRwA9sox9C1RUxO87qV3VvueX8UcxDhJEdzfBhuno9QpSffmbDAUw0_9cz_VcfAlF75qYOWHRwbPmTiFRttJDX24-GZRXbVxHcDQ-KOIUIMeHw-YilA067JWdlsLqOwVHODoLgA\n", stderr: "" })
[2022-05-09T10:15:26Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:15:26Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:15:26Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:15:26Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "01d2f001-dc80-4c79-bbb9-7a9cb884796d" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:15:26Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:15:26Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T10:15:26Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:15:26Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE2MjUsImlhdCI6MTY1MjA5MTMyNSwiYXV0aF90aW1lIjoxNjUyMDkxMzIyLCJqdGkiOiJiNTIyYmEyZS1mMzk0LTQzYWItOTQ1MS1mMTRhYmMyNDJmZDMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJjaTlGTFpRa1JuRDhkSUhBX3BIOWNnIiwic2Vzc2lvbl9zdGF0ZSI6IjNiODE5NmQyLWJhMGItNDY5Yi1hYjIyLWEzMjJmN2QwMGUwYSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjNiODE5NmQyLWJhMGItNDY5Yi1hYjIyLWEzMjJmN2QwMGUwYSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.sv7SSZQfLHDnKT5W6CoKIUtr_fMIeunuju_rFrPrs74G0EiUwHxG80mdxueAw9cKekrfSxWYx6a3azj3oSeWRZdOX_FK5f9-a35am75wFcV2Ltkdf0A0GLxHc_2cI5uZowQ_yOlOlFjkuDyvv53rIXCZ-lwNKn2MeLt8LYGdbqfxf1daS1cYQWZIgaiaHoTeC34qk1oiYznqjoEpRwA9sox9C1RUxO87qV3VvueX8UcxDhJEdzfBhuno9QpSffmbDAUw0_9cz_VcfAlF75qYOWHRwbPmTiFRttJDX24-GZRXbVxHcDQ-KOIUIMeHw-YilA067JWdlsLqOwVHODoLgA\n", stderr: "" })
[2022-05-09T10:15:26Z 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: "39d08043-3461-4459-a555-fbdda8332997", persistence: None, user_data: None }
[2022-05-09T10:15:26Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:15:26Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc07d580
[2022-05-09T10:15:26Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc07d580
[2022-05-09T10:15:26Z 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: 0x55efdbf3a860, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc1d0460, 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: 0x55efdc0eae70, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE2MjUsImlhdCI6MTY1MjA5MTMyNSwiYXV0aF90aW1lIjoxNjUyMDkxMzIyLCJqdGkiOiJiNTIyYmEyZS1mMzk0LTQzYWItOTQ1MS1mMTRhYmMyNDJmZDMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJjaTlGTFpRa1JuRDhkSUhBX3BIOWNnIiwic2Vzc2lvbl9zdGF0ZSI6IjNiODE5NmQyLWJhMGItNDY5Yi1hYjIyLWEzMjJmN2QwMGUwYSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjNiODE5NmQyLWJhMGItNDY5Yi1hYjIyLWEzMjJmN2QwMGUwYSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.sv7SSZQfLHDnKT5W6CoKIUtr_fMIeunuju_rFrPrs74G0EiUwHxG80mdxueAw9cKekrfSxWYx6a3azj3oSeWRZdOX_FK5f9-a35am75wFcV2Ltkdf0A0GLxHc_2cI5uZowQ_yOlOlFjkuDyvv53rIXCZ-lwNKn2MeLt8LYGdbqfxf1daS1cYQWZIgaiaHoTeC34qk1oiYznqjoEpRwA9sox9C1RUxO87qV3VvueX8UcxDhJEdzfBhuno9QpSffmbDAUw0_9cz_VcfAlF75qYOWHRwbPmTiFRttJDX24-GZRXbVxHcDQ-KOIUIMeHw-YilA067JWdlsLqOwVHODoLgA"), 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-09T10:15:27Z DEBUG paho_mqtt::async_client] Subscribe to '"app/01d2f001-dc80-4c79-bbb9-7a9cb884796d"' @ QOS 0
[2022-05-09T10:15:27Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:15:27Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:15:27Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:15: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-09T10:15:27Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:15: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-09T10:15:28Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:15: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-09T10:15:28Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:15: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-09T10:15:29Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:15: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-09T10:15:29Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:15: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-09T10:15:30Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:15: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-09T10:15:30Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:15: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-09T10:15:30Z 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: 0x7f0ed00151f0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x7f0edc02a6a0 } }, data: MessageData { topic: "app/01d2f001-dc80-4c79-bbb9-7a9cb884796d", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x7f0edc02a6a0 } } } }
[2022-05-09T10:15:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbff0cb0, 0x7f0ee0000e00
[2022-05-09T10:15:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000e00, 0x55efdbf39050
[2022-05-09T10:15:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000e00, 0x7f0ed8003f10
[2022-05-09T10:15:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003f10, 0x55efdbf274c0
[2022-05-09T10:15:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003f10, 0x7f0ee0000d90
[2022-05-09T10:15:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000d90, 0x55efdbf39050
[2022-05-09T10:15:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000d90, 0x55efdbf10390
[2022-05-09T10:15:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000d90, 0x7f0ee0003fa0
[2022-05-09T10:15:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0003fa0, 0x55efdbf39050
[2022-05-09T10:15:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0003fa0, 0x55efdbf39050
[2022-05-09T10:15:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0003fa0, 0x7f0ee0005e50
[2022-05-09T10:15:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005e50, 0x55efdbf39050
[2022-05-09T10:15:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005e50, 0x7f0ee0009a30
[2022-05-09T10:15:30Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0009a30, 0x55efdbf39050
[2022-05-09T10:15:30Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee0009a30
[2022-05-09T10:15:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/01d2f001-dc80-4c79-bbb9-7a9cb884796d", content_type: Some("application/json"), user_properties: {"partitionkey": "01d2f001%2Ddc80%2D4c79%2Dbbb9%2D7a9cb884796d/device1", "device": "device1", "senderuid": "6e2f1abe-8ed0-4078-a0c9-4d0dfcff492b", "instance": "drogue", "sender": "gateway1", "applicationuid": "2613d019-6093-4317-b87d-016cf4d27a6e", "specversion": "1.0", "application": "01d2f001-dc80-4c79-bbb9-7a9cb884796d", "deviceuid": "1777702e-7143-4a63-86e5-88fbf9b6e96d", "time": "2022-05-09T10:15:30.546921049+00:00", "id": "e47e9515-6766-4258-a9eb-117639811e1e", "subject": "warmup", "type": "io.drogue.event.v1", "source": "drogue://01d2f001%2Ddc80%2D4c79%2Dbbb9%2D7a9cb884796d/device1"}, payload: "{\"index\":3}" }
[2022-05-09T10:15:31Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:15:31Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:15:31Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:15:31Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:15: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: "1fe28bdf-76de-4a76-9793-6dbb31784719", persistence: None, user_data: None }
[2022-05-09T10:15:31Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:15:31Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbf5ea00
[2022-05-09T10:15:31Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbf5ea00
[2022-05-09T10:15: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: 0x55efdc2b9880, password: 0x55efdc2af1b0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc115ad0, 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: 0x55efdc0c5ba0, 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@01d2f001-dc80-4c79-bbb9-7a9cb884796d"), 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-09T10:15:31Z 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: 0x7f0ed00061f0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x7f0edc01ca50 } }, data: MessageData { topic: "app/01d2f001-dc80-4c79-bbb9-7a9cb884796d", 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: 0x7f0edc01ca50 } } } }
[2022-05-09T10:15:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbfcff10, 0x55efdbe288f0
[2022-05-09T10:15:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbe288f0, 0x55efdc176aa0
[2022-05-09T10:15:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbe288f0, 0x7f0ed8004650
[2022-05-09T10:15:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004650, 0x55efdc1791f0
[2022-05-09T10:15:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004650, 0x7f0ed8004e00
[2022-05-09T10:15:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004e00, 0x55efdc176aa0
[2022-05-09T10:15:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004e00, 0x55efdc176aa0
[2022-05-09T10:15:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004e00, 0x7f0ed80011a0
[2022-05-09T10:15:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80011a0, 0x55efdbfca7e0
[2022-05-09T10:15:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80011a0, 0x55efdc176aa0
[2022-05-09T10:15:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80011a0, 0x7f0ed8004670
[2022-05-09T10:15:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004670, 0x55efdc176aa0
[2022-05-09T10:15:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004670, 0x55efdc176aa0
[2022-05-09T10:15:31Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004670, 0x7f0ed8004000
[2022-05-09T10:15:31Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ed8004000
[2022-05-09T10:15:31Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/01d2f001-dc80-4c79-bbb9-7a9cb884796d", content_type: Some("application/json"), user_properties: {"time": "2022-05-09T10:15:31.669010300+00:00", "deviceuid": "6e2f1abe-8ed0-4078-a0c9-4d0dfcff492b", "device": "gateway1", "instance": "drogue", "sender": "gateway1", "source": "drogue://01d2f001%2Ddc80%2D4c79%2Dbbb9%2D7a9cb884796d/gateway1", "subject": "connection", "type": "io.drogue.connection.v1", "partitionkey": "01d2f001%2Ddc80%2D4c79%2Dbbb9%2D7a9cb884796d/gateway1", "specversion": "1.0", "senderuid": "6e2f1abe-8ed0-4078-a0c9-4d0dfcff492b", "id": "0ce93167-6601-45b4-931c-dcc2c8083fbb", "applicationuid": "2613d019-6093-4317-b87d-016cf4d27a6e", "application": "01d2f001-dc80-4c79-bbb9-7a9cb884796d"}, payload: "{\"connected\":true}" }
[2022-05-09T10:15:31Z 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: 0x55efdc081510 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdc081510 } } } }
[2022-05-09T10:15:31Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:15:32Z 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: 0x7f0edc01d620 } }, data: MessageData { topic: "app/01d2f001-dc80-4c79-bbb9-7a9cb884796d", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x7f0edc01d620 } } } }
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004690, 0x7f0ed8003f30
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003f30, 0x7f0ed0006510
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003f30, 0x7f0ed8004650
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004650, 0x7f0ed00065d0
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004650, 0x7f0ed8000dd0
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8000dd0, 0x7f0ed0006510
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8000dd0, 0x7f0ed8003ef0
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003ef0, 0x7f0ed0006510
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003ef0, 0x7f0ed0032b10
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003ef0, 0x7f0ed80011a0
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80011a0, 0x7f0ed0006510
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80011a0, 0x7f0ed0006510
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80011a0, 0x7f0ed80092b0
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80011a0, 0x7f0ed80092b0
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ed8004020
[2022-05-09T10:15:32Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/01d2f001-dc80-4c79-bbb9-7a9cb884796d", content_type: Some("application/octet-stream"), user_properties: {"sender": "gateway1", "senderuid": "6e2f1abe-8ed0-4078-a0c9-4d0dfcff492b", "specversion": "1.0", "device": "device1", "subject": "telemetry", "applicationuid": "2613d019-6093-4317-b87d-016cf4d27a6e", "partitionkey": "01d2f001%2Ddc80%2D4c79%2Dbbb9%2D7a9cb884796d/device1", "source": "drogue://01d2f001%2Ddc80%2D4c79%2Dbbb9%2D7a9cb884796d/device1", "instance": "drogue", "type": "io.drogue.event.v1", "id": "f326d0f5-6aa4-44ee-ab0a-29dc7031d6e6", "time": "2022-05-09T10:15:31.931762450+00:00", "deviceuid": "1777702e-7143-4a63-86e5-88fbf9b6e96d", "application": "01d2f001-dc80-4c79-bbb9-7a9cb884796d"}, payload: "" }
[2022-05-09T10:15:32Z 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: 0x7f0ed0016620, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x7f0edc01e250 } }, data: MessageData { topic: "app/01d2f001-dc80-4c79-bbb9-7a9cb884796d", 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: 0x7f0edc01e250 } } } }
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0009a70, 0x7f0ee0009a50
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0009a50, 0x7f0ed0015510
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0009a50, 0x7f0ee0003fc0
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0003fc0, 0x7f0ed0001790
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0003fc0, 0x7f0ee0009a30
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0009a30, 0x7f0ed0015510
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0009a30, 0x7f0ed0015510
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0009a30, 0x7f0ed0015510
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0009a30, 0x7f0ed00014f0
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0009a30, 0x7f0ed0015510
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0009a30, 0x7f0ee0009ac0
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0009ac0, 0x7f0ed0015510
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0009ac0, 0x7f0ee0009b00
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0009b00, 0x7f0ee0009ac0
[2022-05-09T10:15:32Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee0009ac0
[2022-05-09T10:15:32Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/01d2f001-dc80-4c79-bbb9-7a9cb884796d", content_type: Some("application/json"), user_properties: {"deviceuid": "6e2f1abe-8ed0-4078-a0c9-4d0dfcff492b", "partitionkey": "01d2f001%2Ddc80%2D4c79%2Dbbb9%2D7a9cb884796d/gateway1", "sender": "gateway1", "id": "b592c759-ef78-4d79-a798-410cb878ac55", "type": "io.drogue.connection.v1", "application": "01d2f001-dc80-4c79-bbb9-7a9cb884796d", "applicationuid": "2613d019-6093-4317-b87d-016cf4d27a6e", "subject": "connection", "source": "drogue://01d2f001%2Ddc80%2D4c79%2Dbbb9%2D7a9cb884796d/gateway1", "device": "gateway1", "time": "2022-05-09T10:15:32.448480435+00:00", "instance": "drogue", "senderuid": "6e2f1abe-8ed0-4078-a0c9-4d0dfcff492b", "specversion": "1.0"}, payload: "{\"connected\":false}" }
[2022-05-09T10:15:32Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:15:32Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:15:32Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:15:32Z 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: "01d2f001-dc80-4c79-bbb9-7a9cb884796d", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "01d2f001-dc80-4c79-bbb9-7a9cb884796d", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:15:32Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:15:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "01d2f001-dc80-4c79-bbb9-7a9cb884796d" "device1"
[2022-05-09T10:15:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:15:32Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:15:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "01d2f001-dc80-4c79-bbb9-7a9cb884796d" "gateway1"
[2022-05-09T10:15:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:15:32Z INFO  drogue_cloud_tests::resources::apps] Destroy application '01d2f001-dc80-4c79-bbb9-7a9cb884796d'
[2022-05-09T10:15:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "01d2f001-dc80-4c79-bbb9-7a9cb884796d"
[2022-05-09T10:15:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 01d2f001-dc80-4c79-bbb9-7a9cb884796d 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-09T10:15:34Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:15:34Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:15:34Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:15:34Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:15: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-09T10:15:35Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:15:37Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:15:37Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:15:37Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:15: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-09T10:15:38Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMxMzgsImlhdCI6MTY1MjA5MTMzOCwianRpIjoiZDc5NjkxZjktYzZjYS00YWRhLWE5MjctZTE4YWNhMjBkNTg5IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Illta3UtOUZ5dkhOaVdQRnJwaWFueWciLCJzZXNzaW9uX3N0YXRlIjoiYjA1YjYwMjQtNDkzOC00M2UxLWI5Y2UtMzFmMzcyZjBhNDY4Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImIwNWI2MDI0LTQ5MzgtNDNlMS1iOWNlLTMxZjM3MmYwYTQ2OCJ9.RtFw60Ei15KzyuRSd4pa0Um6ijyAip4yhO-vIeRdI6Y
[2022-05-09T10:15:38Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:15:38Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:15:38Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMxMzgsImlhdCI6MTY1MjA5MTMzOCwianRpIjoiZDc5NjkxZjktYzZjYS00YWRhLWE5MjctZTE4YWNhMjBkNTg5IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Illta3UtOUZ5dkhOaVdQRnJwaWFueWciLCJzZXNzaW9uX3N0YXRlIjoiYjA1YjYwMjQtNDkzOC00M2UxLWI5Y2UtMzFmMzcyZjBhNDY4Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImIwNWI2MDI0LTQ5MzgtNDNlMS1iOWNlLTMxZjM3MmYwYTQ2OCJ9.RtFw60Ei15KzyuRSd4pa0Um6ijyAip4yhO-vIeRdI6Y" "--context" "system-tests"
[2022-05-09T10:15: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-09T10:15:39Z INFO  drogue_cloud_tests::resources::apps] Create application: 35253102-57d8-4cf0-8767-e2380d5cb7f0
[2022-05-09T10:15:39Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "35253102-57d8-4cf0-8767-e2380d5cb7f0"
[2022-05-09T10:15:39Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 35253102-57d8-4cf0-8767-e2380d5cb7f0 created.\n", stderr: "" })
[2022-05-09T10:15:39Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "35253102-57d8-4cf0-8767-e2380d5cb7f0"
[2022-05-09T10:15:39Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:15:39.662753Z\",\n    \"generation\": 1,\n    \"name\": \"35253102-57d8-4cf0-8767-e2380d5cb7f0\",\n    \"resourceVersion\": \"fe130130-0a4b-4039-8893-2d539725190e\",\n    \"uid\": \"4c41745f-1381-472f-8943-06d33d2ad616\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:15:39.680843771Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2022-05-09T10:15:39Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:15:39.662753Z"), "generation": Number(1), "name": String("35253102-57d8-4cf0-8767-e2380d5cb7f0"), "resourceVersion": String("fe130130-0a4b-4039-8893-2d539725190e"), "uid": String("4c41745f-1381-472f-8943-06d33d2ad616")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:15:39.680843771Z"), "status": String("True"), "type": String("Ready")})])})})
[2022-05-09T10:15:39Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:15:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "35253102-57d8-4cf0-8767-e2380d5cb7f0"
[2022-05-09T10:15:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:15:39.662753Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"35253102-57d8-4cf0-8767-e2380d5cb7f0\",\n    \"resourceVersion\": \"f30b40a7-6249-4064-a8e7-e509b0579768\",\n    \"uid\": \"4c41745f-1381-472f-8943-06d33d2ad616\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:15:40.034225840Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:15:40.034081290Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:39.720305402Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:39.727180885Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:39.783130560Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:39.791397384Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:40.033933203Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:40.034050472Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"CThs82XXl7Dr\",\n        \"username\": \"user-35253102-57d8-4cf0-8767-e2380d5cb7f0\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:15:40Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:15:39.662753Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("35253102-57d8-4cf0-8767-e2380d5cb7f0"), "resourceVersion": String("f30b40a7-6249-4064-a8e7-e509b0579768"), "uid": String("4c41745f-1381-472f-8943-06d33d2ad616")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:15:40.034225840Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:15:40.034081290Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:15:39.720305402Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:15:39.727180885Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:15:39.783130560Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:15:39.791397384Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:15:40.033933203Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:15:40.034050472Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("CThs82XXl7Dr"), "username": String("user-35253102-57d8-4cf0-8767-e2380d5cb7f0")})})})})
[2022-05-09T10:15:40Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:15:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "35253102-57d8-4cf0-8767-e2380d5cb7f0"
[2022-05-09T10:15:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:15:39.662753Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"35253102-57d8-4cf0-8767-e2380d5cb7f0\",\n    \"resourceVersion\": \"f30b40a7-6249-4064-a8e7-e509b0579768\",\n    \"uid\": \"4c41745f-1381-472f-8943-06d33d2ad616\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:15:40.034225840Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:15:40.034081290Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:39.720305402Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:39.727180885Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:39.783130560Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:39.791397384Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:40.033933203Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:40.034050472Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"CThs82XXl7Dr\",\n        \"username\": \"user-35253102-57d8-4cf0-8767-e2380d5cb7f0\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:15:40Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:15:39.662753Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("35253102-57d8-4cf0-8767-e2380d5cb7f0"), "resourceVersion": String("f30b40a7-6249-4064-a8e7-e509b0579768"), "uid": String("4c41745f-1381-472f-8943-06d33d2ad616")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:15:40.034225840Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:15:40.034081290Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:15:39.720305402Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:15:39.727180885Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:15:39.783130560Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:15:39.791397384Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:15:40.033933203Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:15:40.034050472Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("CThs82XXl7Dr"), "username": String("user-35253102-57d8-4cf0-8767-e2380d5cb7f0")})})})})
[2022-05-09T10:15:40Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:15:40Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:15:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "35253102-57d8-4cf0-8767-e2380d5cb7f0" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:15:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:15:40Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:15:40Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:15:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:15:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE2MzgsImlhdCI6MTY1MjA5MTMzOCwiYXV0aF90aW1lIjoxNjUyMDkxMzM2LCJqdGkiOiI0NjY0MWRiNi03MjQyLTQ4MjEtYTFjMC1mZWQ2MjE2YjA1ZDYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJZbWt1LTlGeXZITmlXUEZycGlhbnlnIiwic2Vzc2lvbl9zdGF0ZSI6ImIwNWI2MDI0LTQ5MzgtNDNlMS1iOWNlLTMxZjM3MmYwYTQ2OCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImIwNWI2MDI0LTQ5MzgtNDNlMS1iOWNlLTMxZjM3MmYwYTQ2OCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.lBpYtsnBUW2eyleu4D7XmOR6l4m9uf6NywYhUgpMOs2aL82GsKtsYExm1vPS2bK3p8N_YTwEml1fQBRaydsArwQSzY33odAQM0lCySZbVz7Z_v2JrMOIcjNEVMU1cOoLG6Z9hSjvHUvIJ8Dd9D1r2oBdKvfU3sx9DTLklVHyBPZN4lYuU4vElwLyYv11zGucVyXduVTBTeorT_YiqvDibA7Lc7LTBJUP7Zp0k-rDWXJHJP4szE8WBaeZzc89eZ6ZLLzcigK1GVmoTkOn17-GDNgziZmNtRC5thJM9-KFzdzlAc_E8oIkAG4EVdZsoKLl77T2ZYGVGrUu9pfz_g3ArQ\n", stderr: "" })
[2022-05-09T10:15:40Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:15:40Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:15:40Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:15:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "35253102-57d8-4cf0-8767-e2380d5cb7f0" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:15:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:15:40Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T10:15:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:15:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE2MzgsImlhdCI6MTY1MjA5MTMzOCwiYXV0aF90aW1lIjoxNjUyMDkxMzM2LCJqdGkiOiI0NjY0MWRiNi03MjQyLTQ4MjEtYTFjMC1mZWQ2MjE2YjA1ZDYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJZbWt1LTlGeXZITmlXUEZycGlhbnlnIiwic2Vzc2lvbl9zdGF0ZSI6ImIwNWI2MDI0LTQ5MzgtNDNlMS1iOWNlLTMxZjM3MmYwYTQ2OCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImIwNWI2MDI0LTQ5MzgtNDNlMS1iOWNlLTMxZjM3MmYwYTQ2OCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.lBpYtsnBUW2eyleu4D7XmOR6l4m9uf6NywYhUgpMOs2aL82GsKtsYExm1vPS2bK3p8N_YTwEml1fQBRaydsArwQSzY33odAQM0lCySZbVz7Z_v2JrMOIcjNEVMU1cOoLG6Z9hSjvHUvIJ8Dd9D1r2oBdKvfU3sx9DTLklVHyBPZN4lYuU4vElwLyYv11zGucVyXduVTBTeorT_YiqvDibA7Lc7LTBJUP7Zp0k-rDWXJHJP4szE8WBaeZzc89eZ6ZLLzcigK1GVmoTkOn17-GDNgziZmNtRC5thJM9-KFzdzlAc_E8oIkAG4EVdZsoKLl77T2ZYGVGrUu9pfz_g3ArQ\n", stderr: "" })
[2022-05-09T10:15: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: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "1aeba406-f010-4c9f-8a71-efaa8ea2d036", persistence: None, user_data: None }
[2022-05-09T10:15:40Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:15:40Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbeabbb0
[2022-05-09T10:15:40Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbeabbb0
[2022-05-09T10:15: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: 0x55efdc1d05d0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbeb3150, 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: 0x55efdc186250, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE2MzgsImlhdCI6MTY1MjA5MTMzOCwiYXV0aF90aW1lIjoxNjUyMDkxMzM2LCJqdGkiOiI0NjY0MWRiNi03MjQyLTQ4MjEtYTFjMC1mZWQ2MjE2YjA1ZDYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJZbWt1LTlGeXZITmlXUEZycGlhbnlnIiwic2Vzc2lvbl9zdGF0ZSI6ImIwNWI2MDI0LTQ5MzgtNDNlMS1iOWNlLTMxZjM3MmYwYTQ2OCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImIwNWI2MDI0LTQ5MzgtNDNlMS1iOWNlLTMxZjM3MmYwYTQ2OCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.lBpYtsnBUW2eyleu4D7XmOR6l4m9uf6NywYhUgpMOs2aL82GsKtsYExm1vPS2bK3p8N_YTwEml1fQBRaydsArwQSzY33odAQM0lCySZbVz7Z_v2JrMOIcjNEVMU1cOoLG6Z9hSjvHUvIJ8Dd9D1r2oBdKvfU3sx9DTLklVHyBPZN4lYuU4vElwLyYv11zGucVyXduVTBTeorT_YiqvDibA7Lc7LTBJUP7Zp0k-rDWXJHJP4szE8WBaeZzc89eZ6ZLLzcigK1GVmoTkOn17-GDNgziZmNtRC5thJM9-KFzdzlAc_E8oIkAG4EVdZsoKLl77T2ZYGVGrUu9pfz_g3ArQ"), 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-09T10:15:40Z DEBUG paho_mqtt::async_client] Subscribe to '"app/35253102-57d8-4cf0-8767-e2380d5cb7f0"' @ QOS 0
[2022-05-09T10:15:40Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:15:40Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:15:40Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:15: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-09T10:15:40Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:15: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-09T10:15:42Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:15: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-09T10:15:42Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:15: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-09T10:15:43Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:15: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-09T10:15:43Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:15: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-09T10:15:44Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:15: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-09T10:15:44Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:15: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-09T10:15:44Z 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: 0x7f0edc0097e0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x7f0edc022f60 } }, data: MessageData { topic: "app/35253102-57d8-4cf0-8767-e2380d5cb7f0", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x7f0edc022f60 } } } }
[2022-05-09T10:15:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbebafc0, 0x55efdbf3d140
[2022-05-09T10:15:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbf3d140, 0x55efdc29c150
[2022-05-09T10:15:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbf3d140, 0x7f0ed8003ef0
[2022-05-09T10:15:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003ef0, 0x55efdc110d20
[2022-05-09T10:15:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003ef0, 0x7f0ee0001eb0
[2022-05-09T10:15:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001eb0, 0x55efdc29c150
[2022-05-09T10:15:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001eb0, 0x7f0ee00065d0
[2022-05-09T10:15:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00065d0, 0x55efdc29c150
[2022-05-09T10:15:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00065d0, 0x55efdc29c150
[2022-05-09T10:15:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00065d0, 0x7f0ee0001790
[2022-05-09T10:15:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001790, 0x7f0ee00065d0
[2022-05-09T10:15:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00065d0, 0x55efdbebb2b0
[2022-05-09T10:15:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00065d0, 0x55efdc29c150
[2022-05-09T10:15:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00065d0, 0x55efdc29c150
[2022-05-09T10:15:44Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee00065d0
[2022-05-09T10:15:44Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/35253102-57d8-4cf0-8767-e2380d5cb7f0", content_type: Some("application/json"), user_properties: {"device": "device1", "senderuid": "f78d9073-7d7c-4976-81d0-eb64673c3995", "instance": "drogue", "source": "drogue://35253102%2D57d8%2D4cf0%2D8767%2De2380d5cb7f0/device1", "specversion": "1.0", "sender": "gateway1", "applicationuid": "4c41745f-1381-472f-8943-06d33d2ad616", "partitionkey": "35253102%2D57d8%2D4cf0%2D8767%2De2380d5cb7f0/device1", "subject": "warmup", "time": "2022-05-09T10:15:44.596109571+00:00", "id": "1ac62d9a-7175-4466-9033-6fd931a42428", "deviceuid": "c6634a69-5c38-4a03-9329-4e8776ebe233", "type": "io.drogue.event.v1", "application": "35253102-57d8-4cf0-8767-e2380d5cb7f0"}, payload: "{\"index\":3}" }
[2022-05-09T10:15:45Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:15:45Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:15:45Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:15:45Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:15: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: "1b802357-a768-4f5c-932b-31404497a2e1", persistence: None, user_data: None }
[2022-05-09T10:15:45Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:15:45Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbef74a0
[2022-05-09T10:15:45Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbef74a0
[2022-05-09T10:15: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: 0x55efdc19fdd0, password: 0x55efdbecf300, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc055ed0, 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: 0x55efdc2c2880, 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@35253102-57d8-4cf0-8767-e2380d5cb7f0"), 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-09T10:15: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: 0x7f0edc019b30, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x7f0edc019dd0 } }, data: MessageData { topic: "app/35253102-57d8-4cf0-8767-e2380d5cb7f0", 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: 0x7f0edc019dd0 } } } }
[2022-05-09T10:15:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003f50, 0x55efdbf3d140
[2022-05-09T10:15:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbf3d140, 0x7f0edc023350
[2022-05-09T10:15:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbf3d140, 0x7f0ee0006890
[2022-05-09T10:15:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006890, 0x7f0edc0233d0
[2022-05-09T10:15:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006890, 0x7f0ee00065d0
[2022-05-09T10:15:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00065d0, 0x7f0edc023350
[2022-05-09T10:15:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00065d0, 0x7f0ee0000dc0
[2022-05-09T10:15:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000dc0, 0x7f0edc023350
[2022-05-09T10:15:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000dc0, 0x7f0edc023350
[2022-05-09T10:15:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000dc0, 0x7f0edc00e130
[2022-05-09T10:15:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000dc0, 0x7f0edc023350
[2022-05-09T10:15:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000dc0, 0x7f0ee00068b0
[2022-05-09T10:15:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00068b0, 0x7f0edc023350
[2022-05-09T10:15:45Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00068b0, 0x7f0ee0005e20
[2022-05-09T10:15:45Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee0005e20
[2022-05-09T10:15:45Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/35253102-57d8-4cf0-8767-e2380d5cb7f0", content_type: Some("application/json"), user_properties: {"subject": "connection", "application": "35253102-57d8-4cf0-8767-e2380d5cb7f0", "type": "io.drogue.connection.v1", "source": "drogue://35253102%2D57d8%2D4cf0%2D8767%2De2380d5cb7f0/gateway1", "time": "2022-05-09T10:15:45.714818222+00:00", "applicationuid": "4c41745f-1381-472f-8943-06d33d2ad616", "partitionkey": "35253102%2D57d8%2D4cf0%2D8767%2De2380d5cb7f0/gateway1", "sender": "gateway1", "id": "8b13be0d-5ebc-4f26-84a2-3579e0cd05fa", "instance": "drogue", "deviceuid": "f78d9073-7d7c-4976-81d0-eb64673c3995", "specversion": "1.0", "senderuid": "f78d9073-7d7c-4976-81d0-eb64673c3995", "device": "gateway1"}, payload: "{\"connected\":true}" }
[2022-05-09T10:15: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: 0x55efdbef8540 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdbef8540 } } } }
[2022-05-09T10:15:45Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:15: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: 0x7f0edc025090, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x7f0edc026070 } }, data: MessageData { topic: "app/35253102-57d8-4cf0-8767-e2380d5cb7f0", 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: 0x7f0edc026070 } } } }
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0edc0097e0, 0x7f0edc009800
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0edc009800, 0x7f0edc019cc0
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0edc009800, 0x7f0ee0001790
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001790, 0x7f0edc02ff10
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001790, 0x7f0ee0005e00
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005e00, 0x7f0edc019cc0
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005e00, 0x7f0edc019cc0
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005e00, 0x7f0edc030230
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005e00, 0x7f0ee00068f0
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00068f0, 0x7f0ee0005e00
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005e00, 0x7f0edc019cc0
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005e00, 0x7f0edc019cc0
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005e00, 0x7f0ee0005de0
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005de0, 0x7f0edc019cc0
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee0005de0
[2022-05-09T10:15:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/35253102-57d8-4cf0-8767-e2380d5cb7f0", content_type: Some("application/json"), user_properties: {"partitionkey": "35253102%2D57d8%2D4cf0%2D8767%2De2380d5cb7f0/gateway1", "deviceuid": "f78d9073-7d7c-4976-81d0-eb64673c3995", "id": "6ae15f12-fb7e-4675-a7aa-9245af0f3ca2", "instance": "drogue", "subject": "connection", "specversion": "1.0", "type": "io.drogue.connection.v1", "applicationuid": "4c41745f-1381-472f-8943-06d33d2ad616", "sender": "gateway1", "application": "35253102-57d8-4cf0-8767-e2380d5cb7f0", "device": "gateway1", "source": "drogue://35253102%2D57d8%2D4cf0%2D8767%2De2380d5cb7f0/gateway1", "time": "2022-05-09T10:15:45.946251635+00:00", "senderuid": "f78d9073-7d7c-4976-81d0-eb64673c3995"}, payload: "{\"connected\":false}" }
[2022-05-09T10:15: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: 0x7f0edc026a00 } }, data: MessageData { topic: "app/35253102-57d8-4cf0-8767-e2380d5cb7f0", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x7f0edc026a00 } } } }
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005e80, 0x7f0ee0005e40
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005e40, 0x7f0edc00f1f0
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005e40, 0x7f0ee00065f0
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00065f0, 0x7f0edc023380
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00065f0, 0x7f0ee0000dc0
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000dc0, 0x7f0edc00f1f0
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000dc0, 0x7f0edc00f1f0
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000dc0, 0x7f0ee0005e00
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005e00, 0x7f0edc00f1f0
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005e00, 0x7f0ee0001790
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001790, 0x7f0ee0005e00
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005e00, 0x7f0edc025620
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005e00, 0x7f0edc00f1f0
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005e00, 0x7f0edc00f1f0
[2022-05-09T10:15:46Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee0005f00
[2022-05-09T10:15:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/35253102-57d8-4cf0-8767-e2380d5cb7f0", content_type: Some("application/octet-stream"), user_properties: {"id": "dbf5f2f8-22c0-4276-b60f-5b22803d5472", "source": "drogue://35253102%2D57d8%2D4cf0%2D8767%2De2380d5cb7f0/device1", "subject": "telemetry", "partitionkey": "35253102%2D57d8%2D4cf0%2D8767%2De2380d5cb7f0/device1", "applicationuid": "4c41745f-1381-472f-8943-06d33d2ad616", "specversion": "1.0", "deviceuid": "c6634a69-5c38-4a03-9329-4e8776ebe233", "senderuid": "f78d9073-7d7c-4976-81d0-eb64673c3995", "application": "35253102-57d8-4cf0-8767-e2380d5cb7f0", "instance": "drogue", "sender": "gateway1", "device": "device1", "time": "2022-05-09T10:15:45.944883358+00:00", "type": "io.drogue.event.v1"}, payload: "" }
[2022-05-09T10:15:46Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:15:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:15:46Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:15: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: "35253102-57d8-4cf0-8767-e2380d5cb7f0", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "35253102-57d8-4cf0-8767-e2380d5cb7f0", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:15:46Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:15:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "35253102-57d8-4cf0-8767-e2380d5cb7f0" "device1"
[2022-05-09T10:15:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:15:46Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:15:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "35253102-57d8-4cf0-8767-e2380d5cb7f0" "gateway1"
[2022-05-09T10:15:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:15:46Z INFO  drogue_cloud_tests::resources::apps] Destroy application '35253102-57d8-4cf0-8767-e2380d5cb7f0'
[2022-05-09T10:15:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "35253102-57d8-4cf0-8767-e2380d5cb7f0"
[2022-05-09T10:15:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 35253102-57d8-4cf0-8767-e2380d5cb7f0 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-09T10:15:48Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:15:48Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:15:48Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:15:48Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:15: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-09T10:15:49Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:15:51Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:15:51Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:15:51Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:15: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-09T10:15:53Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMxNTMsImlhdCI6MTY1MjA5MTM1MywianRpIjoiZTJmNDM5ZDItYTkyMC00MjE2LWEzMzMtMzU5N2ZkNmI5MmQ5IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ii0wQ05Ibm14NlRnaFhBLXlKbThVN1EiLCJzZXNzaW9uX3N0YXRlIjoiODExNTYzZWUtMjI1OC00Y2EwLWE5NWYtZDFiODIyZTc3YTQxIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjgxMTU2M2VlLTIyNTgtNGNhMC1hOTVmLWQxYjgyMmU3N2E0MSJ9.dEs1kk036HNEw7FSgYii_mNlUIrQbEDtpYbN5IOJfEg
[2022-05-09T10:15:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:15:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:15:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMxNTMsImlhdCI6MTY1MjA5MTM1MywianRpIjoiZTJmNDM5ZDItYTkyMC00MjE2LWEzMzMtMzU5N2ZkNmI5MmQ5IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ii0wQ05Ibm14NlRnaFhBLXlKbThVN1EiLCJzZXNzaW9uX3N0YXRlIjoiODExNTYzZWUtMjI1OC00Y2EwLWE5NWYtZDFiODIyZTc3YTQxIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjgxMTU2M2VlLTIyNTgtNGNhMC1hOTVmLWQxYjgyMmU3N2E0MSJ9.dEs1kk036HNEw7FSgYii_mNlUIrQbEDtpYbN5IOJfEg" "--context" "system-tests"
[2022-05-09T10:15: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-09T10:15:54Z INFO  drogue_cloud_tests::resources::apps] Create application: cb7b3b78-f520-4443-9ebe-f51a4892ac70
[2022-05-09T10:15:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "cb7b3b78-f520-4443-9ebe-f51a4892ac70"
[2022-05-09T10:15:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App cb7b3b78-f520-4443-9ebe-f51a4892ac70 created.\n", stderr: "" })
[2022-05-09T10:15:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "cb7b3b78-f520-4443-9ebe-f51a4892ac70"
[2022-05-09T10:15:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:15:54.084235Z\",\n    \"generation\": 1,\n    \"name\": \"cb7b3b78-f520-4443-9ebe-f51a4892ac70\",\n    \"resourceVersion\": \"0ef2b472-f554-49b7-8803-ff5dd4e4d5d5\",\n    \"uid\": \"01c190e4-8ae9-4c54-ab61-21c929c241fd\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:15:54.099767263Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2022-05-09T10:15:54Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:15:54.084235Z"), "generation": Number(1), "name": String("cb7b3b78-f520-4443-9ebe-f51a4892ac70"), "resourceVersion": String("0ef2b472-f554-49b7-8803-ff5dd4e4d5d5"), "uid": String("01c190e4-8ae9-4c54-ab61-21c929c241fd")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:15:54.099767263Z"), "status": String("True"), "type": String("Ready")})])})})
[2022-05-09T10:15:54Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:15:55Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "cb7b3b78-f520-4443-9ebe-f51a4892ac70"
[2022-05-09T10:15:55Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:15:54.084235Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"cb7b3b78-f520-4443-9ebe-f51a4892ac70\",\n    \"resourceVersion\": \"b7da9481-06ea-4888-b801-c480970ed148\",\n    \"uid\": \"01c190e4-8ae9-4c54-ab61-21c929c241fd\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:15:54.368695012Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:15:54.368652222Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:54.137115373Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:54.143228743Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:54.205039394Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:54.210733279Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:54.368602951Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:54.368622237Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"DK6KZxAeOXZd\",\n        \"username\": \"user-cb7b3b78-f520-4443-9ebe-f51a4892ac70\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:15:55Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:15:54.084235Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("cb7b3b78-f520-4443-9ebe-f51a4892ac70"), "resourceVersion": String("b7da9481-06ea-4888-b801-c480970ed148"), "uid": String("01c190e4-8ae9-4c54-ab61-21c929c241fd")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:15:54.368695012Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:15:54.368652222Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:15:54.137115373Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:15:54.143228743Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:15:54.205039394Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:15:54.210733279Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:15:54.368602951Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:15:54.368622237Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("DK6KZxAeOXZd"), "username": String("user-cb7b3b78-f520-4443-9ebe-f51a4892ac70")})})})})
[2022-05-09T10:15:55Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:15:55Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "cb7b3b78-f520-4443-9ebe-f51a4892ac70"
[2022-05-09T10:15:55Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:15:54.084235Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"cb7b3b78-f520-4443-9ebe-f51a4892ac70\",\n    \"resourceVersion\": \"b7da9481-06ea-4888-b801-c480970ed148\",\n    \"uid\": \"01c190e4-8ae9-4c54-ab61-21c929c241fd\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:15:54.368695012Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:15:54.368652222Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:54.137115373Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:54.143228743Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:54.205039394Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:54.210733279Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:54.368602951Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:15:54.368622237Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"DK6KZxAeOXZd\",\n        \"username\": \"user-cb7b3b78-f520-4443-9ebe-f51a4892ac70\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:15:55Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:15:54.084235Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("cb7b3b78-f520-4443-9ebe-f51a4892ac70"), "resourceVersion": String("b7da9481-06ea-4888-b801-c480970ed148"), "uid": String("01c190e4-8ae9-4c54-ab61-21c929c241fd")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:15:54.368695012Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:15:54.368652222Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:15:54.137115373Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:15:54.143228743Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:15:54.205039394Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:15:54.210733279Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:15:54.368602951Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:15:54.368622237Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("DK6KZxAeOXZd"), "username": String("user-cb7b3b78-f520-4443-9ebe-f51a4892ac70")})})})})
[2022-05-09T10:15:55Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:15:55Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:15:55Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "cb7b3b78-f520-4443-9ebe-f51a4892ac70" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:15:55Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:15:55Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:15:55Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:15:55Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:15:55Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE2NTMsImlhdCI6MTY1MjA5MTM1MywiYXV0aF90aW1lIjoxNjUyMDkxMzUwLCJqdGkiOiJiODA5NGU2ZS0yOTE4LTQ2MDEtYmQ0MC04MzVkMzhkM2E2ZmQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiItMENOSG5teDZUZ2hYQS15Sm04VTdRIiwic2Vzc2lvbl9zdGF0ZSI6IjgxMTU2M2VlLTIyNTgtNGNhMC1hOTVmLWQxYjgyMmU3N2E0MSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjgxMTU2M2VlLTIyNTgtNGNhMC1hOTVmLWQxYjgyMmU3N2E0MSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.IjEKlYK3RpmI4MC3D-jyqm52NF8mYuz0GKON8MXlaiYAPl1LG7K25jUO-eHn6EeNEM3HbMwKPL_J5IxNTa4JZOmgoF7ooKWVBO-VeMq5wnoXtbPwuQZrFJsFqw2JrbhAiBw8vhxFGqjaJ87LayMMGaFIUFeCoWrXNJpfzq__bTvWJx1oFR7oGgQgM1QnaatXUh0_0BiCmrltQebD-yNQIjCtWXmsugKz-3QZ-t9IiWtuRm4ptd2AEAeN_qvyf91QxOslbyi0njNXftdeHnhAGjSJTFsFdX36a4Bq2h2dLwVAsbNz1u4t1dA1h-waJY1RjXYnKal6-P_TYSzzPaNy4Q\n", stderr: "" })
[2022-05-09T10:15:55Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:15:55Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:15:55Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:15:55Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "cb7b3b78-f520-4443-9ebe-f51a4892ac70" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:15:55Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:15:55Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T10:15:55Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:15:55Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE2NTMsImlhdCI6MTY1MjA5MTM1MywiYXV0aF90aW1lIjoxNjUyMDkxMzUwLCJqdGkiOiJiODA5NGU2ZS0yOTE4LTQ2MDEtYmQ0MC04MzVkMzhkM2E2ZmQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiItMENOSG5teDZUZ2hYQS15Sm04VTdRIiwic2Vzc2lvbl9zdGF0ZSI6IjgxMTU2M2VlLTIyNTgtNGNhMC1hOTVmLWQxYjgyMmU3N2E0MSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjgxMTU2M2VlLTIyNTgtNGNhMC1hOTVmLWQxYjgyMmU3N2E0MSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.IjEKlYK3RpmI4MC3D-jyqm52NF8mYuz0GKON8MXlaiYAPl1LG7K25jUO-eHn6EeNEM3HbMwKPL_J5IxNTa4JZOmgoF7ooKWVBO-VeMq5wnoXtbPwuQZrFJsFqw2JrbhAiBw8vhxFGqjaJ87LayMMGaFIUFeCoWrXNJpfzq__bTvWJx1oFR7oGgQgM1QnaatXUh0_0BiCmrltQebD-yNQIjCtWXmsugKz-3QZ-t9IiWtuRm4ptd2AEAeN_qvyf91QxOslbyi0njNXftdeHnhAGjSJTFsFdX36a4Bq2h2dLwVAsbNz1u4t1dA1h-waJY1RjXYnKal6-P_TYSzzPaNy4Q\n", stderr: "" })
[2022-05-09T10:15: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: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "28f1d4f0-d297-4d4e-bdfc-7b35699562e5", persistence: None, user_data: None }
[2022-05-09T10:15:55Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:15:55Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc1069f0
[2022-05-09T10:15:55Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc1069f0
[2022-05-09T10:15:55Z 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: 0x55efdc1b2170, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc168230, 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: 0x55efdc1b29d0, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE2NTMsImlhdCI6MTY1MjA5MTM1MywiYXV0aF90aW1lIjoxNjUyMDkxMzUwLCJqdGkiOiJiODA5NGU2ZS0yOTE4LTQ2MDEtYmQ0MC04MzVkMzhkM2E2ZmQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiItMENOSG5teDZUZ2hYQS15Sm04VTdRIiwic2Vzc2lvbl9zdGF0ZSI6IjgxMTU2M2VlLTIyNTgtNGNhMC1hOTVmLWQxYjgyMmU3N2E0MSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjgxMTU2M2VlLTIyNTgtNGNhMC1hOTVmLWQxYjgyMmU3N2E0MSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.IjEKlYK3RpmI4MC3D-jyqm52NF8mYuz0GKON8MXlaiYAPl1LG7K25jUO-eHn6EeNEM3HbMwKPL_J5IxNTa4JZOmgoF7ooKWVBO-VeMq5wnoXtbPwuQZrFJsFqw2JrbhAiBw8vhxFGqjaJ87LayMMGaFIUFeCoWrXNJpfzq__bTvWJx1oFR7oGgQgM1QnaatXUh0_0BiCmrltQebD-yNQIjCtWXmsugKz-3QZ-t9IiWtuRm4ptd2AEAeN_qvyf91QxOslbyi0njNXftdeHnhAGjSJTFsFdX36a4Bq2h2dLwVAsbNz1u4t1dA1h-waJY1RjXYnKal6-P_TYSzzPaNy4Q"), 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-09T10:15:55Z DEBUG paho_mqtt::async_client] Subscribe to '"app/cb7b3b78-f520-4443-9ebe-f51a4892ac70"' @ QOS 0
[2022-05-09T10:15:55Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:15:55Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:15:55Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:15: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-09T10:15:55Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:15: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-09T10:15:56Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:15: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-09T10:15:56Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:15: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-09T10:15:57Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:15: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-09T10:15:57Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:15: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-09T10:15:58Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:15: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-09T10:15:58Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:15: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-09T10:15: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: 0x7f0edc0247e0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/cb7b3b78-f520-4443-9ebe-f51a4892ac70", 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, 100, 100, 52, 100, 50, 99, 57, 45, 50, 48, 101, 52, 45, 52, 54, 102, 57, 45, 97, 102, 50, 50, 45, 101, 53, 48, 49, 53, 54, 54, 48, 99, 98, 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, 99, 98, 55, 98, 51, 98, 55, 56, 37, 50, 68, 102, 53, 50, 48, 37, 50, 68, 52, 52, 52, 51, 37, 50, 68, 57, 101, 98, 101, 37, 50, 68, 102, 53, 49, 97, 52, 56, 57, 50, 97, 99, 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, 48, 58, 49, 53, 58, 53, 56, 46, 53, 57, 54, 49, 56, 55, 50, 57, 54, 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, 97, 48, 98, 97, 50, 101, 51, 102, 45, 97, 52, 100, 97, 45, 52, 99, 53, 101, 45, 98, 50, 101, 102, 45, 55, 55, 51, 51, 98, 54, 99, 50, 100, 49, 55, 98, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 99, 98, 55, 98, 51, 98, 55, 56, 45, 102, 53, 50, 48, 45, 52, 52, 52, 51, 45, 57, 101, 98, 101, 45, 102, 53, 49, 97, 52, 56, 57, 50, 97, 99, 55, 48, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 52, 55, 49, 48, 102, 97, 55, 101, 45, 52, 48, 101, 55, 45, 52, 100, 51, 101, 45, 56, 53, 53, 100, 45, 100, 54, 97, 53, 52, 55, 53, 100, 99, 55, 50, 55, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 99, 98, 55, 98, 51, 98, 55, 56, 37, 50, 68, 102, 53, 50, 48, 37, 50, 68, 52, 52, 52, 51, 37, 50, 68, 57, 101, 98, 101, 37, 50, 68, 102, 53, 49, 97, 52, 56, 57, 50, 97, 99, 55, 48, 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, 117, 105, 100, 34, 58, 34, 48, 49, 99, 49, 57, 48, 101, 52, 45, 56, 97, 101, 57, 45, 52, 99, 53, 52, 45, 97, 98, 54, 49, 45, 50, 49, 99, 57, 50, 57, 99, 50, 52, 49, 102, 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-09T10:15:58Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/cb7b3b78-f520-4443-9ebe-f51a4892ac70", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"4dd4d2c9-20e4-46f9-af22-e5015660cbda\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://cb7b3b78%2Df520%2D4443%2D9ebe%2Df51a4892ac70/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:15:58.596187296Z\",\"data\":{\"index\":3},\"deviceuid\":\"a0ba2e3f-a4da-4c5e-b2ef-7733b6c2d17b\",\"application\":\"cb7b3b78-f520-4443-9ebe-f51a4892ac70\",\"senderuid\":\"4710fa7e-40e7-4d3e-855d-d6a5475dc727\",\"partitionkey\":\"cb7b3b78%2Df520%2D4443%2D9ebe%2Df51a4892ac70/device1\",\"sender\":\"gateway1\",\"device\":\"device1\",\"applicationuid\":\"01c190e4-8ae9-4c54-ab61-21c929c241fd\",\"instance\":\"drogue\"}" }
[2022-05-09T10:15:59Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:15:59Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:15:59Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:15:59Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:15: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: "2e68b850-da5b-481a-80d4-9820da0f3c49", persistence: None, user_data: None }
[2022-05-09T10:15:59Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:15:59Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc347be0
[2022-05-09T10:15:59Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc347be0
[2022-05-09T10:15: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: 0x55efdc2b91b0, password: 0x55efdc1997f0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc1cc9f0, 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: 0x55efdc29da50, 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@cb7b3b78-f520-4443-9ebe-f51a4892ac70"), 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-09T10:16: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: 0x7f0edc02d880, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/cb7b3b78-f520-4443-9ebe-f51a4892ac70", 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, 50, 52, 53, 57, 101, 99, 45, 56, 99, 55, 49, 45, 52, 57, 51, 51, 45, 98, 57, 56, 55, 45, 99, 100, 101, 51, 55, 52, 99, 48, 52, 55, 48, 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, 99, 98, 55, 98, 51, 98, 55, 56, 37, 50, 68, 102, 53, 50, 48, 37, 50, 68, 52, 52, 52, 51, 37, 50, 68, 57, 101, 98, 101, 37, 50, 68, 102, 53, 49, 97, 52, 56, 57, 50, 97, 99, 55, 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, 48, 58, 49, 54, 58, 48, 48, 46, 48, 48, 52, 55, 54, 48, 54, 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, 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, 52, 55, 49, 48, 102, 97, 55, 101, 45, 52, 48, 101, 55, 45, 52, 100, 51, 101, 45, 56, 53, 53, 100, 45, 100, 54, 97, 53, 52, 55, 53, 100, 99, 55, 50, 55, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 52, 55, 49, 48, 102, 97, 55, 101, 45, 52, 48, 101, 55, 45, 52, 100, 51, 101, 45, 56, 53, 53, 100, 45, 100, 54, 97, 53, 52, 55, 53, 100, 99, 55, 50, 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, 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, 98, 55, 98, 51, 98, 55, 56, 45, 102, 53, 50, 48, 45, 52, 52, 52, 51, 45, 57, 101, 98, 101, 45, 102, 53, 49, 97, 52, 56, 57, 50, 97, 99, 55, 48, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 48, 49, 99, 49, 57, 48, 101, 52, 45, 56, 97, 101, 57, 45, 52, 99, 53, 52, 45, 97, 98, 54, 49, 45, 50, 49, 99, 57, 50, 57, 99, 50, 52, 49, 102, 100, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 99, 98, 55, 98, 51, 98, 55, 56, 37, 50, 68, 102, 53, 50, 48, 37, 50, 68, 52, 52, 52, 51, 37, 50, 68, 57, 101, 98, 101, 37, 50, 68, 102, 53, 49, 97, 52, 56, 57, 50, 97, 99, 55, 48, 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-09T10:16: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: 0x55efdbef4260 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdbef4260 } } } }
[2022-05-09T10:16:00Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/cb7b3b78-f520-4443-9ebe-f51a4892ac70", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"2e2459ec-8c71-4933-b987-cde374c04706\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://cb7b3b78%2Df520%2D4443%2D9ebe%2Df51a4892ac70/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:16:00.004760639Z\",\"data\":{\"connected\":true},\"instance\":\"drogue\",\"senderuid\":\"4710fa7e-40e7-4d3e-855d-d6a5475dc727\",\"deviceuid\":\"4710fa7e-40e7-4d3e-855d-d6a5475dc727\",\"sender\":\"gateway1\",\"device\":\"gateway1\",\"application\":\"cb7b3b78-f520-4443-9ebe-f51a4892ac70\",\"applicationuid\":\"01c190e4-8ae9-4c54-ab61-21c929c241fd\",\"partitionkey\":\"cb7b3b78%2Df520%2D4443%2D9ebe%2Df51a4892ac70/gateway1\"}" }
[2022-05-09T10:16:00Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:16: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: 0x7f0edc027690, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/cb7b3b78-f520-4443-9ebe-f51a4892ac70", 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, 101, 48, 57, 49, 48, 49, 45, 57, 53, 55, 56, 45, 52, 102, 100, 50, 45, 98, 97, 98, 51, 45, 57, 50, 102, 55, 98, 100, 54, 48, 55, 101, 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, 99, 98, 55, 98, 51, 98, 55, 56, 37, 50, 68, 102, 53, 50, 48, 37, 50, 68, 52, 52, 52, 51, 37, 50, 68, 57, 101, 98, 101, 37, 50, 68, 102, 53, 49, 97, 52, 56, 57, 50, 97, 99, 55, 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, 48, 58, 49, 54, 58, 48, 48, 46, 57, 52, 55, 54, 54, 52, 49, 49, 48, 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, 52, 55, 49, 48, 102, 97, 55, 101, 45, 52, 48, 101, 55, 45, 52, 100, 51, 101, 45, 56, 53, 53, 100, 45, 100, 54, 97, 53, 52, 55, 53, 100, 99, 55, 50, 55, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 99, 98, 55, 98, 51, 98, 55, 56, 45, 102, 53, 50, 48, 45, 52, 52, 52, 51, 45, 57, 101, 98, 101, 45, 102, 53, 49, 97, 52, 56, 57, 50, 97, 99, 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, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 48, 49, 99, 49, 57, 48, 101, 52, 45, 56, 97, 101, 57, 45, 52, 99, 53, 52, 45, 97, 98, 54, 49, 45, 50, 49, 99, 57, 50, 57, 99, 50, 52, 49, 102, 100, 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, 52, 55, 49, 48, 102, 97, 55, 101, 45, 52, 48, 101, 55, 45, 52, 100, 51, 101, 45, 56, 53, 53, 100, 45, 100, 54, 97, 53, 52, 55, 53, 100, 99, 55, 50, 55, 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, 55, 98, 51, 98, 55, 56, 37, 50, 68, 102, 53, 50, 48, 37, 50, 68, 52, 52, 52, 51, 37, 50, 68, 57, 101, 98, 101, 37, 50, 68, 102, 53, 49, 97, 52, 56, 57, 50, 97, 99, 55, 48, 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-09T10:16:01Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/cb7b3b78-f520-4443-9ebe-f51a4892ac70", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"b8e09101-9578-4fd2-bab3-92f7bd607eac\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://cb7b3b78%2Df520%2D4443%2D9ebe%2Df51a4892ac70/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:16:00.947664110Z\",\"data\":{\"connected\":false},\"deviceuid\":\"4710fa7e-40e7-4d3e-855d-d6a5475dc727\",\"application\":\"cb7b3b78-f520-4443-9ebe-f51a4892ac70\",\"device\":\"gateway1\",\"applicationuid\":\"01c190e4-8ae9-4c54-ab61-21c929c241fd\",\"sender\":\"gateway1\",\"senderuid\":\"4710fa7e-40e7-4d3e-855d-d6a5475dc727\",\"instance\":\"drogue\",\"partitionkey\":\"cb7b3b78%2Df520%2D4443%2D9ebe%2Df51a4892ac70/gateway1\"}" }
[2022-05-09T10:16: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: 0x7f0edc02d880, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/cb7b3b78-f520-4443-9ebe-f51a4892ac70", 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, 53, 51, 52, 48, 101, 97, 52, 45, 100, 54, 50, 56, 45, 52, 101, 98, 51, 45, 56, 56, 52, 97, 45, 100, 52, 54, 53, 101, 100, 99, 55, 99, 100, 98, 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, 98, 55, 98, 51, 98, 55, 56, 37, 50, 68, 102, 53, 50, 48, 37, 50, 68, 52, 52, 52, 51, 37, 50, 68, 57, 101, 98, 101, 37, 50, 68, 102, 53, 49, 97, 52, 56, 57, 50, 97, 99, 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, 48, 58, 49, 54, 58, 48, 48, 46, 57, 52, 53, 51, 48, 56, 49, 52, 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, 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, 99, 98, 55, 98, 51, 98, 55, 56, 45, 102, 53, 50, 48, 45, 52, 52, 52, 51, 45, 57, 101, 98, 101, 45, 102, 53, 49, 97, 52, 56, 57, 50, 97, 99, 55, 48, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 99, 98, 55, 98, 51, 98, 55, 56, 37, 50, 68, 102, 53, 50, 48, 37, 50, 68, 52, 52, 52, 51, 37, 50, 68, 57, 101, 98, 101, 37, 50, 68, 102, 53, 49, 97, 52, 56, 57, 50, 97, 99, 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, 52, 55, 49, 48, 102, 97, 55, 101, 45, 52, 48, 101, 55, 45, 52, 100, 51, 101, 45, 56, 53, 53, 100, 45, 100, 54, 97, 53, 52, 55, 53, 100, 99, 55, 50, 55, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 48, 98, 97, 50, 101, 51, 102, 45, 97, 52, 100, 97, 45, 52, 99, 53, 101, 45, 98, 50, 101, 102, 45, 55, 55, 51, 51, 98, 54, 99, 50, 100, 49, 55, 98, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 48, 49, 99, 49, 57, 48, 101, 52, 45, 56, 97, 101, 57, 45, 52, 99, 53, 52, 45, 97, 98, 54, 49, 45, 50, 49, 99, 57, 50, 57, 99, 50, 52, 49, 102, 100, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:16:01Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/cb7b3b78-f520-4443-9ebe-f51a4892ac70", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"75340ea4-d628-4eb3-884a-d465edc7cdb9\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://cb7b3b78%2Df520%2D4443%2D9ebe%2Df51a4892ac70/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:16:00.945308145Z\",\"data_base64\":\"\",\"sender\":\"gateway1\",\"instance\":\"drogue\",\"device\":\"device1\",\"application\":\"cb7b3b78-f520-4443-9ebe-f51a4892ac70\",\"partitionkey\":\"cb7b3b78%2Df520%2D4443%2D9ebe%2Df51a4892ac70/device1\",\"senderuid\":\"4710fa7e-40e7-4d3e-855d-d6a5475dc727\",\"deviceuid\":\"a0ba2e3f-a4da-4c5e-b2ef-7733b6c2d17b\",\"applicationuid\":\"01c190e4-8ae9-4c54-ab61-21c929c241fd\"}" }
[2022-05-09T10:16:01Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:16:01Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:16:01Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:16: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: "cb7b3b78-f520-4443-9ebe-f51a4892ac70", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "cb7b3b78-f520-4443-9ebe-f51a4892ac70", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:16:02Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:16:02Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "cb7b3b78-f520-4443-9ebe-f51a4892ac70" "device1"
[2022-05-09T10:16:02Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:16:02Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:16:02Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "cb7b3b78-f520-4443-9ebe-f51a4892ac70" "gateway1"
[2022-05-09T10:16:02Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:16:02Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'cb7b3b78-f520-4443-9ebe-f51a4892ac70'
[2022-05-09T10:16:02Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "cb7b3b78-f520-4443-9ebe-f51a4892ac70"
[2022-05-09T10:16:02Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App cb7b3b78-f520-4443-9ebe-f51a4892ac70 deleted.\n", stderr: "" })

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

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T10:16:03Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:16:03Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:16:03Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:16:03Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:16: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-09T10:16:05Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:16:06Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:16:06Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:16:06Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:16: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-09T10:16:08Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMxNjgsImlhdCI6MTY1MjA5MTM2OCwianRpIjoiMzVmZTA5NjktMDU5MS00YzBhLWIxYzAtZDVmNzhiZjQ4ODllIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlNGTU0wcUJvWXk1QWcyZ3hUM3BnX3ciLCJzZXNzaW9uX3N0YXRlIjoiZGQwY2Y1YzAtMmI5Ny00YjljLWE2MTItMzA5Mzg3ZjBlYWQ4Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImRkMGNmNWMwLTJiOTctNGI5Yy1hNjEyLTMwOTM4N2YwZWFkOCJ9._VzkoooFrfHINxdzV_66vwdvrB-KOvqqrecrH3pNmRY
[2022-05-09T10:16:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:16:08Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:16:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMxNjgsImlhdCI6MTY1MjA5MTM2OCwianRpIjoiMzVmZTA5NjktMDU5MS00YzBhLWIxYzAtZDVmNzhiZjQ4ODllIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlNGTU0wcUJvWXk1QWcyZ3hUM3BnX3ciLCJzZXNzaW9uX3N0YXRlIjoiZGQwY2Y1YzAtMmI5Ny00YjljLWE2MTItMzA5Mzg3ZjBlYWQ4Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImRkMGNmNWMwLTJiOTctNGI5Yy1hNjEyLTMwOTM4N2YwZWFkOCJ9._VzkoooFrfHINxdzV_66vwdvrB-KOvqqrecrH3pNmRY" "--context" "system-tests"
[2022-05-09T10:16: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-09T10:16:08Z INFO  drogue_cloud_tests::resources::apps] Create application: e52a4084-fbe4-4195-ba9b-59267989af7a
[2022-05-09T10:16:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "e52a4084-fbe4-4195-ba9b-59267989af7a"
[2022-05-09T10:16:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App e52a4084-fbe4-4195-ba9b-59267989af7a created.\n", stderr: "" })
[2022-05-09T10:16:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "e52a4084-fbe4-4195-ba9b-59267989af7a"
[2022-05-09T10:16:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:16:09.007611Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"e52a4084-fbe4-4195-ba9b-59267989af7a\",\n    \"resourceVersion\": \"b8a53bec-8885-4309-9b00-3aecdeae2a76\",\n    \"uid\": \"52b91ed9-ea88-41c4-8066-3f5bcc56935c\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:16:09.024550102Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:16:09.024487976Z\",\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-09T10:16:09.024140627Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:09.024142290Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:09.024143111Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:09.024144434Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:09.024331113Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:09.024350610Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:16:09Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:16:09.007611Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("e52a4084-fbe4-4195-ba9b-59267989af7a"), "resourceVersion": String("b8a53bec-8885-4309-9b00-3aecdeae2a76"), "uid": String("52b91ed9-ea88-41c4-8066-3f5bcc56935c")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:16:09.024550102Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:16:09.024487976Z"), "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-09T10:16:09.024140627Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:16:09.024142290Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:16:09.024143111Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:16:09.024144434Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:16:09.024331113Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:16:09.024350610Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T10:16:09Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:16:10Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "e52a4084-fbe4-4195-ba9b-59267989af7a"
[2022-05-09T10:16:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:16:09.007611Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"e52a4084-fbe4-4195-ba9b-59267989af7a\",\n    \"resourceVersion\": \"acb4e212-af4b-4614-9270-9e35d6784736\",\n    \"uid\": \"52b91ed9-ea88-41c4-8066-3f5bcc56935c\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:16:09.316172451Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:16:09.316061973Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:09.043718567Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:09.053180095Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:09.111706509Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:09.117928580Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:09.315951417Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:09.316029544Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"GZhNeSn7578A\",\n        \"username\": \"user-e52a4084-fbe4-4195-ba9b-59267989af7a\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:16:10Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:16:09.007611Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("e52a4084-fbe4-4195-ba9b-59267989af7a"), "resourceVersion": String("acb4e212-af4b-4614-9270-9e35d6784736"), "uid": String("52b91ed9-ea88-41c4-8066-3f5bcc56935c")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:16:09.316172451Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:16:09.316061973Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:16:09.043718567Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:16:09.053180095Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:16:09.111706509Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:16:09.117928580Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:16:09.315951417Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:16:09.316029544Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("GZhNeSn7578A"), "username": String("user-e52a4084-fbe4-4195-ba9b-59267989af7a")})})})})
[2022-05-09T10:16:10Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:16:10Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "e52a4084-fbe4-4195-ba9b-59267989af7a"
[2022-05-09T10:16:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:16:09.007611Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"e52a4084-fbe4-4195-ba9b-59267989af7a\",\n    \"resourceVersion\": \"acb4e212-af4b-4614-9270-9e35d6784736\",\n    \"uid\": \"52b91ed9-ea88-41c4-8066-3f5bcc56935c\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:16:09.316172451Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:16:09.316061973Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:09.043718567Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:09.053180095Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:09.111706509Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:09.117928580Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:09.315951417Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:09.316029544Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"GZhNeSn7578A\",\n        \"username\": \"user-e52a4084-fbe4-4195-ba9b-59267989af7a\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:16:10Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:16:09.007611Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("e52a4084-fbe4-4195-ba9b-59267989af7a"), "resourceVersion": String("acb4e212-af4b-4614-9270-9e35d6784736"), "uid": String("52b91ed9-ea88-41c4-8066-3f5bcc56935c")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:16:09.316172451Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:16:09.316061973Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:16:09.043718567Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:16:09.053180095Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:16:09.111706509Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:16:09.117928580Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:16:09.315951417Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:16:09.316029544Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("GZhNeSn7578A"), "username": String("user-e52a4084-fbe4-4195-ba9b-59267989af7a")})})})})
[2022-05-09T10:16:10Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:16:10Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:16:10Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "e52a4084-fbe4-4195-ba9b-59267989af7a" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:16:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:16:10Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:16:10Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:16:10Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:16:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE2NjgsImlhdCI6MTY1MjA5MTM2OCwiYXV0aF90aW1lIjoxNjUyMDkxMzY1LCJqdGkiOiIzNzY0MTk0MC1hYmU0LTQ4YTgtOGY1YS04NWRkZTJiMWQ1NWEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJTRk1NMHFCb1l5NUFnMmd4VDNwZ193Iiwic2Vzc2lvbl9zdGF0ZSI6ImRkMGNmNWMwLTJiOTctNGI5Yy1hNjEyLTMwOTM4N2YwZWFkOCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImRkMGNmNWMwLTJiOTctNGI5Yy1hNjEyLTMwOTM4N2YwZWFkOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.D5dLuLN52OdQqaLIczpG8It3OYj00CY6ZM1nAI1uB-yvRuUFORnDYSrPkKVsSVf8WeHOuJ9u77d1LRw1AAmCot7Ge1eQoOuZUcIJZnJ2_NPo3-GDJPDd6NQNJ6-wAqoKrWjqTPdFXvyMZuqg474VVmKB-E-i8g4u-OLeQRtrh0aCUEQz9om6jeiEbiwf_AsgiAmu6sN9ZVuGaYrSJ0NGzrFSfq9mIF7WzoM45sggKj1xBxu8e5GLsrGFlv4rBlcbI-YAMANTZJ1xLEjsMqacQ5xRaQJTXjgbTqkJtCBkO9aDbU6YSuv6kWsP1DjK3BNgJ_8XwoQv3x7H5hIH-685UA\n", stderr: "" })
[2022-05-09T10:16:10Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:16:10Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:16:10Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:16:10Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "e52a4084-fbe4-4195-ba9b-59267989af7a" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:16:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:16:10Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T10:16:10Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:16:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE2NjgsImlhdCI6MTY1MjA5MTM2OCwiYXV0aF90aW1lIjoxNjUyMDkxMzY1LCJqdGkiOiIzNzY0MTk0MC1hYmU0LTQ4YTgtOGY1YS04NWRkZTJiMWQ1NWEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJTRk1NMHFCb1l5NUFnMmd4VDNwZ193Iiwic2Vzc2lvbl9zdGF0ZSI6ImRkMGNmNWMwLTJiOTctNGI5Yy1hNjEyLTMwOTM4N2YwZWFkOCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImRkMGNmNWMwLTJiOTctNGI5Yy1hNjEyLTMwOTM4N2YwZWFkOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.D5dLuLN52OdQqaLIczpG8It3OYj00CY6ZM1nAI1uB-yvRuUFORnDYSrPkKVsSVf8WeHOuJ9u77d1LRw1AAmCot7Ge1eQoOuZUcIJZnJ2_NPo3-GDJPDd6NQNJ6-wAqoKrWjqTPdFXvyMZuqg474VVmKB-E-i8g4u-OLeQRtrh0aCUEQz9om6jeiEbiwf_AsgiAmu6sN9ZVuGaYrSJ0NGzrFSfq9mIF7WzoM45sggKj1xBxu8e5GLsrGFlv4rBlcbI-YAMANTZJ1xLEjsMqacQ5xRaQJTXjgbTqkJtCBkO9aDbU6YSuv6kWsP1DjK3BNgJ_8XwoQv3x7H5hIH-685UA\n", stderr: "" })
[2022-05-09T10:16: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: 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: "74510781-7e94-4269-8476-3a5588226657", persistence: None, user_data: None }
[2022-05-09T10:16:10Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:16:10Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbfe9350
[2022-05-09T10:16:10Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbfe9350
[2022-05-09T10:16:10Z 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: 0x55efdbf7acc0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc1e4ab0, 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: 0x55efdc381830, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE2NjgsImlhdCI6MTY1MjA5MTM2OCwiYXV0aF90aW1lIjoxNjUyMDkxMzY1LCJqdGkiOiIzNzY0MTk0MC1hYmU0LTQ4YTgtOGY1YS04NWRkZTJiMWQ1NWEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJTRk1NMHFCb1l5NUFnMmd4VDNwZ193Iiwic2Vzc2lvbl9zdGF0ZSI6ImRkMGNmNWMwLTJiOTctNGI5Yy1hNjEyLTMwOTM4N2YwZWFkOCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImRkMGNmNWMwLTJiOTctNGI5Yy1hNjEyLTMwOTM4N2YwZWFkOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.D5dLuLN52OdQqaLIczpG8It3OYj00CY6ZM1nAI1uB-yvRuUFORnDYSrPkKVsSVf8WeHOuJ9u77d1LRw1AAmCot7Ge1eQoOuZUcIJZnJ2_NPo3-GDJPDd6NQNJ6-wAqoKrWjqTPdFXvyMZuqg474VVmKB-E-i8g4u-OLeQRtrh0aCUEQz9om6jeiEbiwf_AsgiAmu6sN9ZVuGaYrSJ0NGzrFSfq9mIF7WzoM45sggKj1xBxu8e5GLsrGFlv4rBlcbI-YAMANTZJ1xLEjsMqacQ5xRaQJTXjgbTqkJtCBkO9aDbU6YSuv6kWsP1DjK3BNgJ_8XwoQv3x7H5hIH-685UA"), 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-09T10:16:10Z DEBUG paho_mqtt::async_client] Subscribe to '"app/e52a4084-fbe4-4195-ba9b-59267989af7a"' @ QOS 0
[2022-05-09T10:16:10Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:16:10Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:16:10Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:16: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-09T10:16:10Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:16: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-09T10:16:11Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:16: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-09T10:16:11Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:16: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-09T10:16:12Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:16: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-09T10:16:12Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:16: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-09T10:16:13Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:16: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-09T10:16:13Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:16: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-09T10:16: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: 0x7f0ed0015eb0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/e52a4084-fbe4-4195-ba9b-59267989af7a", 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, 100, 102, 100, 54, 98, 57, 45, 101, 99, 102, 51, 45, 52, 56, 53, 97, 45, 56, 51, 53, 55, 45, 99, 48, 57, 101, 101, 101, 48, 52, 52, 57, 97, 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, 101, 53, 50, 97, 52, 48, 56, 52, 37, 50, 68, 102, 98, 101, 52, 37, 50, 68, 52, 49, 57, 53, 37, 50, 68, 98, 97, 57, 98, 37, 50, 68, 53, 57, 50, 54, 55, 57, 56, 57, 97, 102, 55, 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, 48, 58, 49, 54, 58, 49, 51, 46, 53, 57, 55, 52, 49, 50, 57, 48, 54, 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, 52, 48, 99, 102, 52, 100, 57, 55, 45, 98, 52, 56, 49, 45, 52, 48, 99, 53, 45, 98, 100, 101, 101, 45, 102, 53, 50, 50, 50, 54, 49, 57, 53, 54, 52, 54, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 53, 50, 98, 57, 49, 101, 100, 57, 45, 101, 97, 56, 56, 45, 52, 49, 99, 52, 45, 56, 48, 54, 54, 45, 51, 102, 53, 98, 99, 99, 53, 54, 57, 51, 53, 99, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 101, 53, 50, 97, 52, 48, 56, 52, 37, 50, 68, 102, 98, 101, 52, 37, 50, 68, 52, 49, 57, 53, 37, 50, 68, 98, 97, 57, 98, 37, 50, 68, 53, 57, 50, 54, 55, 57, 56, 57, 97, 102, 55, 97, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 56, 52, 52, 97, 49, 49, 54, 53, 45, 57, 55, 101, 54, 45, 52, 97, 99, 100, 45, 98, 99, 52, 100, 45, 99, 102, 49, 50, 53, 50, 98, 97, 53, 97, 56, 56, 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, 53, 50, 97, 52, 48, 56, 52, 45, 102, 98, 101, 52, 45, 52, 49, 57, 53, 45, 98, 97, 57, 98, 45, 53, 57, 50, 54, 55, 57, 56, 57, 97, 102, 55, 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, 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-09T10:16:13Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/e52a4084-fbe4-4195-ba9b-59267989af7a", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"60dfd6b9-ecf3-485a-8357-c09eee0449a6\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://e52a4084%2Dfbe4%2D4195%2Dba9b%2D59267989af7a/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:16:13.597412906Z\",\"data\":{\"index\":3},\"deviceuid\":\"40cf4d97-b481-40c5-bdee-f52226195646\",\"applicationuid\":\"52b91ed9-ea88-41c4-8066-3f5bcc56935c\",\"partitionkey\":\"e52a4084%2Dfbe4%2D4195%2Dba9b%2D59267989af7a/device1\",\"senderuid\":\"844a1165-97e6-4acd-bc4d-cf1252ba5a88\",\"device\":\"device1\",\"application\":\"e52a4084-fbe4-4195-ba9b-59267989af7a\",\"instance\":\"drogue\",\"sender\":\"gateway1\"}" }
[2022-05-09T10:16:14Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:16:14Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:16:14Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:16:14Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:16: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: "5458d45f-6998-4916-bbb4-553f1f827e3d", persistence: None, user_data: None }
[2022-05-09T10:16:14Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:16:14Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc29ecb0
[2022-05-09T10:16:14Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc29ecb0
[2022-05-09T10:16: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: 0x55efdbff3570, password: 0x55efdbf3baf0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc1332e0, 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: 0x55efdbf27ce0, 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@e52a4084-fbe4-4195-ba9b-59267989af7a"), 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-09T10:16:16Z 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: 0x55efdc0c4850 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdc0c4850 } } } }
[2022-05-09T10:16:16Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:16:16Z 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: 0x7f0ed002b490, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/e52a4084-fbe4-4195-ba9b-59267989af7a", 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, 98, 56, 100, 49, 51, 56, 55, 45, 50, 55, 99, 53, 45, 52, 51, 57, 57, 45, 98, 52, 52, 49, 45, 50, 56, 51, 101, 52, 48, 101, 56, 102, 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, 101, 53, 50, 97, 52, 48, 56, 52, 37, 50, 68, 102, 98, 101, 52, 37, 50, 68, 52, 49, 57, 53, 37, 50, 68, 98, 97, 57, 98, 37, 50, 68, 53, 57, 50, 54, 55, 57, 56, 57, 97, 102, 55, 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, 48, 58, 49, 54, 58, 49, 52, 46, 57, 52, 51, 53, 57, 56, 52, 53, 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, 117, 105, 100, 34, 58, 34, 56, 52, 52, 97, 49, 49, 54, 53, 45, 57, 55, 101, 54, 45, 52, 97, 99, 100, 45, 98, 99, 52, 100, 45, 99, 102, 49, 50, 53, 50, 98, 97, 53, 97, 56, 56, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 101, 53, 50, 97, 52, 48, 56, 52, 45, 102, 98, 101, 52, 45, 52, 49, 57, 53, 45, 98, 97, 57, 98, 45, 53, 57, 50, 54, 55, 57, 56, 57, 97, 102, 55, 97, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 101, 53, 50, 97, 52, 48, 56, 52, 37, 50, 68, 102, 98, 101, 52, 37, 50, 68, 52, 49, 57, 53, 37, 50, 68, 98, 97, 57, 98, 37, 50, 68, 53, 57, 50, 54, 55, 57, 56, 57, 97, 102, 55, 97, 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, 53, 50, 98, 57, 49, 101, 100, 57, 45, 101, 97, 56, 56, 45, 52, 49, 99, 52, 45, 56, 48, 54, 54, 45, 51, 102, 53, 98, 99, 99, 53, 54, 57, 51, 53, 99, 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, 52, 52, 97, 49, 49, 54, 53, 45, 57, 55, 101, 54, 45, 52, 97, 99, 100, 45, 98, 99, 52, 100, 45, 99, 102, 49, 50, 53, 50, 98, 97, 53, 97, 56, 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: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:16:16Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/e52a4084-fbe4-4195-ba9b-59267989af7a", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"3b8d1387-27c5-4399-b441-283e40e8feec\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://e52a4084%2Dfbe4%2D4195%2Dba9b%2D59267989af7a/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:16:14.943598450Z\",\"data\":{\"connected\":true},\"deviceuid\":\"844a1165-97e6-4acd-bc4d-cf1252ba5a88\",\"application\":\"e52a4084-fbe4-4195-ba9b-59267989af7a\",\"partitionkey\":\"e52a4084%2Dfbe4%2D4195%2Dba9b%2D59267989af7a/gateway1\",\"instance\":\"drogue\",\"applicationuid\":\"52b91ed9-ea88-41c4-8066-3f5bcc56935c\",\"device\":\"gateway1\",\"senderuid\":\"844a1165-97e6-4acd-bc4d-cf1252ba5a88\",\"sender\":\"gateway1\"}" }
[2022-05-09T10:16: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: 0x7f0ed0008720, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/e52a4084-fbe4-4195-ba9b-59267989af7a", 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, 99, 102, 50, 50, 49, 52, 99, 45, 53, 98, 56, 51, 45, 52, 55, 49, 48, 45, 56, 51, 49, 101, 45, 100, 99, 57, 48, 48, 52, 97, 49, 55, 101, 98, 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, 101, 53, 50, 97, 52, 48, 56, 52, 37, 50, 68, 102, 98, 101, 52, 37, 50, 68, 52, 49, 57, 53, 37, 50, 68, 98, 97, 57, 98, 37, 50, 68, 53, 57, 50, 54, 55, 57, 56, 57, 97, 102, 55, 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, 48, 58, 49, 54, 58, 49, 54, 46, 48, 52, 52, 57, 48, 52, 55, 52, 48, 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, 56, 52, 52, 97, 49, 49, 54, 53, 45, 57, 55, 101, 54, 45, 52, 97, 99, 100, 45, 98, 99, 52, 100, 45, 99, 102, 49, 50, 53, 50, 98, 97, 53, 97, 56, 56, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 101, 53, 50, 97, 52, 48, 56, 52, 37, 50, 68, 102, 98, 101, 52, 37, 50, 68, 52, 49, 57, 53, 37, 50, 68, 98, 97, 57, 98, 37, 50, 68, 53, 57, 50, 54, 55, 57, 56, 57, 97, 102, 55, 97, 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, 53, 50, 98, 57, 49, 101, 100, 57, 45, 101, 97, 56, 56, 45, 52, 49, 99, 52, 45, 56, 48, 54, 54, 45, 51, 102, 53, 98, 99, 99, 53, 54, 57, 51, 53, 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, 117, 105, 100, 34, 58, 34, 56, 52, 52, 97, 49, 49, 54, 53, 45, 57, 55, 101, 54, 45, 52, 97, 99, 100, 45, 98, 99, 52, 100, 45, 99, 102, 49, 50, 53, 50, 98, 97, 53, 97, 56, 56, 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, 53, 50, 97, 52, 48, 56, 52, 45, 102, 98, 101, 52, 45, 52, 49, 57, 53, 45, 98, 97, 57, 98, 45, 53, 57, 50, 54, 55, 57, 56, 57, 97, 102, 55, 97, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:16:16Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/e52a4084-fbe4-4195-ba9b-59267989af7a", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"9cf2214c-5b83-4710-831e-dc9004a17ebc\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://e52a4084%2Dfbe4%2D4195%2Dba9b%2D59267989af7a/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:16:16.044904740Z\",\"data\":{\"connected\":false},\"senderuid\":\"844a1165-97e6-4acd-bc4d-cf1252ba5a88\",\"partitionkey\":\"e52a4084%2Dfbe4%2D4195%2Dba9b%2D59267989af7a/gateway1\",\"device\":\"gateway1\",\"applicationuid\":\"52b91ed9-ea88-41c4-8066-3f5bcc56935c\",\"sender\":\"gateway1\",\"deviceuid\":\"844a1165-97e6-4acd-bc4d-cf1252ba5a88\",\"instance\":\"drogue\",\"application\":\"e52a4084-fbe4-4195-ba9b-59267989af7a\"}" }
[2022-05-09T10:16: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: 0x7f0ed000aa70, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/e52a4084-fbe4-4195-ba9b-59267989af7a", 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, 102, 97, 99, 50, 98, 57, 50, 45, 49, 99, 102, 98, 45, 52, 55, 52, 54, 45, 97, 49, 99, 100, 45, 99, 99, 57, 57, 56, 52, 57, 97, 52, 98, 98, 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, 101, 53, 50, 97, 52, 48, 56, 52, 37, 50, 68, 102, 98, 101, 52, 37, 50, 68, 52, 49, 57, 53, 37, 50, 68, 98, 97, 57, 98, 37, 50, 68, 53, 57, 50, 54, 55, 57, 56, 57, 97, 102, 55, 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, 48, 58, 49, 54, 58, 49, 54, 46, 48, 52, 51, 55, 54, 54, 51, 52, 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, 56, 52, 52, 97, 49, 49, 54, 53, 45, 57, 55, 101, 54, 45, 52, 97, 99, 100, 45, 98, 99, 52, 100, 45, 99, 102, 49, 50, 53, 50, 98, 97, 53, 97, 56, 56, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 53, 50, 98, 57, 49, 101, 100, 57, 45, 101, 97, 56, 56, 45, 52, 49, 99, 52, 45, 56, 48, 54, 54, 45, 51, 102, 53, 98, 99, 99, 53, 54, 57, 51, 53, 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, 101, 53, 50, 97, 52, 48, 56, 52, 45, 102, 98, 101, 52, 45, 52, 49, 57, 53, 45, 98, 97, 57, 98, 45, 53, 57, 50, 54, 55, 57, 56, 57, 97, 102, 55, 97, 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, 53, 50, 97, 52, 48, 56, 52, 37, 50, 68, 102, 98, 101, 52, 37, 50, 68, 52, 49, 57, 53, 37, 50, 68, 98, 97, 57, 98, 37, 50, 68, 53, 57, 50, 54, 55, 57, 56, 57, 97, 102, 55, 97, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 52, 48, 99, 102, 52, 100, 57, 55, 45, 98, 52, 56, 49, 45, 52, 48, 99, 53, 45, 98, 100, 101, 101, 45, 102, 53, 50, 50, 50, 54, 49, 57, 53, 54, 52, 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: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:16:16Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/e52a4084-fbe4-4195-ba9b-59267989af7a", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"bfac2b92-1cfb-4746-a1cd-cc99849a4bb2\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://e52a4084%2Dfbe4%2D4195%2Dba9b%2D59267989af7a/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:16:16.043766343Z\",\"data_base64\":\"\",\"senderuid\":\"844a1165-97e6-4acd-bc4d-cf1252ba5a88\",\"applicationuid\":\"52b91ed9-ea88-41c4-8066-3f5bcc56935c\",\"instance\":\"drogue\",\"application\":\"e52a4084-fbe4-4195-ba9b-59267989af7a\",\"device\":\"device1\",\"partitionkey\":\"e52a4084%2Dfbe4%2D4195%2Dba9b%2D59267989af7a/device1\",\"deviceuid\":\"40cf4d97-b481-40c5-bdee-f52226195646\",\"sender\":\"gateway1\"}" }
[2022-05-09T10:16:16Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:16:16Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:16:16Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:16:16Z 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: "e52a4084-fbe4-4195-ba9b-59267989af7a", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "e52a4084-fbe4-4195-ba9b-59267989af7a", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:16:16Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:16:16Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "e52a4084-fbe4-4195-ba9b-59267989af7a" "device1"
[2022-05-09T10:16:16Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:16:16Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:16:16Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "e52a4084-fbe4-4195-ba9b-59267989af7a" "gateway1"
[2022-05-09T10:16:16Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:16:16Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'e52a4084-fbe4-4195-ba9b-59267989af7a'
[2022-05-09T10:16:16Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "e52a4084-fbe4-4195-ba9b-59267989af7a"
[2022-05-09T10:16:16Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App e52a4084-fbe4-4195-ba9b-59267989af7a deleted.\n", stderr: "" })

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

Duration: 15s

Test output
-------------- TEST START --------------
[2022-05-09T10:16:18Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:16:18Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:16:18Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:16:18Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:16: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-09T10:16:20Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:16:21Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:16:21Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:16:21Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:16: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-09T10:16:23Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMxODMsImlhdCI6MTY1MjA5MTM4MywianRpIjoiODBmMGUyMWItMmIzMi00YWViLWJjYTQtMGFkZDRmMzNjZTA3IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ii11RGRYbjVMdHNteDhaS2syaG96TGciLCJzZXNzaW9uX3N0YXRlIjoiNzY2OGZiYjgtMDYxNi00NGQyLTkzNDItOWRlOGUwYTA4ZGM2Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijc2NjhmYmI4LTA2MTYtNDRkMi05MzQyLTlkZThlMGEwOGRjNiJ9.s_PnX6Q1WbsGuWJF1fvxmiRvWwSqmwAsPffIRQQuVUg
[2022-05-09T10:16:23Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:16:23Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:16:23Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMxODMsImlhdCI6MTY1MjA5MTM4MywianRpIjoiODBmMGUyMWItMmIzMi00YWViLWJjYTQtMGFkZDRmMzNjZTA3IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ii11RGRYbjVMdHNteDhaS2syaG96TGciLCJzZXNzaW9uX3N0YXRlIjoiNzY2OGZiYjgtMDYxNi00NGQyLTkzNDItOWRlOGUwYTA4ZGM2Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijc2NjhmYmI4LTA2MTYtNDRkMi05MzQyLTlkZThlMGEwOGRjNiJ9.s_PnX6Q1WbsGuWJF1fvxmiRvWwSqmwAsPffIRQQuVUg" "--context" "system-tests"
[2022-05-09T10:16:24Z 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-09T10:16:24Z INFO  drogue_cloud_tests::resources::apps] Create application: d2dcbf0f-461b-4a69-add0-f19b6548fdc7
[2022-05-09T10:16:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "d2dcbf0f-461b-4a69-add0-f19b6548fdc7"
[2022-05-09T10:16:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App d2dcbf0f-461b-4a69-add0-f19b6548fdc7 created.\n", stderr: "" })
[2022-05-09T10:16:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "d2dcbf0f-461b-4a69-add0-f19b6548fdc7"
[2022-05-09T10:16:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:16:24.686936Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"d2dcbf0f-461b-4a69-add0-f19b6548fdc7\",\n    \"resourceVersion\": \"797c70b6-c8e1-4b9d-b34a-1e0aad0a5e2d\",\n    \"uid\": \"ec6cdc91-d70d-4dcc-841d-3c72289aa1e5\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:16:24.707712278Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:16:24.707692681Z\",\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-09T10:16:24.707663647Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:24.707664569Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:24.707665050Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:24.707665751Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:24.707666292Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:24.707670911Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:16:24Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:16:24.686936Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("d2dcbf0f-461b-4a69-add0-f19b6548fdc7"), "resourceVersion": String("797c70b6-c8e1-4b9d-b34a-1e0aad0a5e2d"), "uid": String("ec6cdc91-d70d-4dcc-841d-3c72289aa1e5")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:16:24.707712278Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:16:24.707692681Z"), "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-09T10:16:24.707663647Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:16:24.707664569Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:16:24.707665050Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:16:24.707665751Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:16:24.707666292Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:16:24.707670911Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T10:16:24Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:16:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "d2dcbf0f-461b-4a69-add0-f19b6548fdc7"
[2022-05-09T10:16:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:16:24.686936Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"d2dcbf0f-461b-4a69-add0-f19b6548fdc7\",\n    \"resourceVersion\": \"2084532c-bf2e-4790-aef6-cdf842708cbb\",\n    \"uid\": \"ec6cdc91-d70d-4dcc-841d-3c72289aa1e5\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:16:25.019027345Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:16:25.018856296Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:24.726279199Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:24.736366116Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:24.791363934Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:24.800092842Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:25.018759494Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:25.018824516Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"XzONiGagIl74\",\n        \"username\": \"user-d2dcbf0f-461b-4a69-add0-f19b6548fdc7\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:16:25Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:16:24.686936Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("d2dcbf0f-461b-4a69-add0-f19b6548fdc7"), "resourceVersion": String("2084532c-bf2e-4790-aef6-cdf842708cbb"), "uid": String("ec6cdc91-d70d-4dcc-841d-3c72289aa1e5")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:16:25.019027345Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:16:25.018856296Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:16:24.726279199Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:16:24.736366116Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:16:24.791363934Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:16:24.800092842Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:16:25.018759494Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:16:25.018824516Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("XzONiGagIl74"), "username": String("user-d2dcbf0f-461b-4a69-add0-f19b6548fdc7")})})})})
[2022-05-09T10:16:25Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:16:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "d2dcbf0f-461b-4a69-add0-f19b6548fdc7"
[2022-05-09T10:16:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:16:24.686936Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"d2dcbf0f-461b-4a69-add0-f19b6548fdc7\",\n    \"resourceVersion\": \"2084532c-bf2e-4790-aef6-cdf842708cbb\",\n    \"uid\": \"ec6cdc91-d70d-4dcc-841d-3c72289aa1e5\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:16:25.019027345Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:16:25.018856296Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:24.726279199Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:24.736366116Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:24.791363934Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:24.800092842Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:25.018759494Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:25.018824516Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"XzONiGagIl74\",\n        \"username\": \"user-d2dcbf0f-461b-4a69-add0-f19b6548fdc7\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:16:25Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:16:24.686936Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("d2dcbf0f-461b-4a69-add0-f19b6548fdc7"), "resourceVersion": String("2084532c-bf2e-4790-aef6-cdf842708cbb"), "uid": String("ec6cdc91-d70d-4dcc-841d-3c72289aa1e5")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:16:25.019027345Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:16:25.018856296Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:16:24.726279199Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:16:24.736366116Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:16:24.791363934Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:16:24.800092842Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:16:25.018759494Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:16:25.018824516Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("XzONiGagIl74"), "username": String("user-d2dcbf0f-461b-4a69-add0-f19b6548fdc7")})})})})
[2022-05-09T10:16:25Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:16:25Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:16:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "d2dcbf0f-461b-4a69-add0-f19b6548fdc7" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:16:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:16:25Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:16:25Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:16:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:16:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE2ODQsImlhdCI6MTY1MjA5MTM4NCwiYXV0aF90aW1lIjoxNjUyMDkxMzgwLCJqdGkiOiI5MDFiODRkNC1mNTVmLTRkNDQtYmRjZC1jZDNjMTY3Mzc1Y2UiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiItdURkWG41THRzbXg4WktrMmhvekxnIiwic2Vzc2lvbl9zdGF0ZSI6Ijc2NjhmYmI4LTA2MTYtNDRkMi05MzQyLTlkZThlMGEwOGRjNiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijc2NjhmYmI4LTA2MTYtNDRkMi05MzQyLTlkZThlMGEwOGRjNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.XN-hWpsnCRelVPpGP5dXGg6zO7dhkHlpU6xhDR4f-lSh0G_e_6R-Qvt4lTGPrKHZCtQrE5W0PHeH13WuWmTETkKAHnMUcnnheFqSNyQJcAUHy87EfUggJ4qJSWeHX_v8CuqAiT6a7-sixIyfJOEdJea5SQQUV_tjirE8K4gbdEgMiHBGU6H5YYx0r6tPka1_ywCCG7LX-0CHuCmV8HB6L6ziHaFhfWlcldQhHv9M8IKy2WlDuwffYY3875STWLnpjtZpa-AuRpsqGUtUUQmUJzYv06nNy41ZgnIMqQUOT4FLDNTenC9pVEOIiI2t-Uj8sjfK3d03zQprIPn6xZ0OKw\n", stderr: "" })
[2022-05-09T10:16:25Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:16:25Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:16:25Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:16:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "d2dcbf0f-461b-4a69-add0-f19b6548fdc7" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:16:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:16:25Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T10:16:25Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:16:25Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE2ODQsImlhdCI6MTY1MjA5MTM4NCwiYXV0aF90aW1lIjoxNjUyMDkxMzgwLCJqdGkiOiI5MDFiODRkNC1mNTVmLTRkNDQtYmRjZC1jZDNjMTY3Mzc1Y2UiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiItdURkWG41THRzbXg4WktrMmhvekxnIiwic2Vzc2lvbl9zdGF0ZSI6Ijc2NjhmYmI4LTA2MTYtNDRkMi05MzQyLTlkZThlMGEwOGRjNiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijc2NjhmYmI4LTA2MTYtNDRkMi05MzQyLTlkZThlMGEwOGRjNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.XN-hWpsnCRelVPpGP5dXGg6zO7dhkHlpU6xhDR4f-lSh0G_e_6R-Qvt4lTGPrKHZCtQrE5W0PHeH13WuWmTETkKAHnMUcnnheFqSNyQJcAUHy87EfUggJ4qJSWeHX_v8CuqAiT6a7-sixIyfJOEdJea5SQQUV_tjirE8K4gbdEgMiHBGU6H5YYx0r6tPka1_ywCCG7LX-0CHuCmV8HB6L6ziHaFhfWlcldQhHv9M8IKy2WlDuwffYY3875STWLnpjtZpa-AuRpsqGUtUUQmUJzYv06nNy41ZgnIMqQUOT4FLDNTenC9pVEOIiI2t-Uj8sjfK3d03zQprIPn6xZ0OKw\n", stderr: "" })
[2022-05-09T10:16: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: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "15be7075-fa0d-476a-8486-ebf1431ebfad", persistence: None, user_data: None }
[2022-05-09T10:16:25Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:16:25Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc0c67b0
[2022-05-09T10:16:25Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc0c67b0
[2022-05-09T10:16: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: 0x55efdbf081f0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbeca180, 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: 0x55efdc0c5d70, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE2ODQsImlhdCI6MTY1MjA5MTM4NCwiYXV0aF90aW1lIjoxNjUyMDkxMzgwLCJqdGkiOiI5MDFiODRkNC1mNTVmLTRkNDQtYmRjZC1jZDNjMTY3Mzc1Y2UiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiItdURkWG41THRzbXg4WktrMmhvekxnIiwic2Vzc2lvbl9zdGF0ZSI6Ijc2NjhmYmI4LTA2MTYtNDRkMi05MzQyLTlkZThlMGEwOGRjNiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijc2NjhmYmI4LTA2MTYtNDRkMi05MzQyLTlkZThlMGEwOGRjNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.XN-hWpsnCRelVPpGP5dXGg6zO7dhkHlpU6xhDR4f-lSh0G_e_6R-Qvt4lTGPrKHZCtQrE5W0PHeH13WuWmTETkKAHnMUcnnheFqSNyQJcAUHy87EfUggJ4qJSWeHX_v8CuqAiT6a7-sixIyfJOEdJea5SQQUV_tjirE8K4gbdEgMiHBGU6H5YYx0r6tPka1_ywCCG7LX-0CHuCmV8HB6L6ziHaFhfWlcldQhHv9M8IKy2WlDuwffYY3875STWLnpjtZpa-AuRpsqGUtUUQmUJzYv06nNy41ZgnIMqQUOT4FLDNTenC9pVEOIiI2t-Uj8sjfK3d03zQprIPn6xZ0OKw"), 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-09T10:16:25Z DEBUG paho_mqtt::async_client] Subscribe to '"app/d2dcbf0f-461b-4a69-add0-f19b6548fdc7"' @ QOS 0
[2022-05-09T10:16:25Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:16:25Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:16:25Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:16: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-09T10:16:25Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:16: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-09T10:16:27Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:16: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-09T10:16:27Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:16: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-09T10:16:28Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:16: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-09T10:16:28Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:16: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-09T10:16:29Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:16: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-09T10:16:29Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:16: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-09T10:16:29Z 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: 0x7f0ed0009d70, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed0001980 } }, data: MessageData { topic: "app/d2dcbf0f-461b-4a69-add0-f19b6548fdc7", 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, 57, 56, 56, 98, 99, 98, 48, 45, 57, 50, 52, 100, 45, 52, 102, 99, 54, 45, 97, 53, 57, 48, 45, 51, 51, 55, 101, 53, 97, 50, 50, 97, 55, 99, 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, 100, 50, 100, 99, 98, 102, 48, 102, 37, 50, 68, 52, 54, 49, 98, 37, 50, 68, 52, 97, 54, 57, 37, 50, 68, 97, 100, 100, 48, 37, 50, 68, 102, 49, 57, 98, 54, 53, 52, 56, 102, 100, 99, 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, 48, 58, 49, 54, 58, 50, 57, 46, 54, 50, 51, 57, 54, 48, 51, 53, 49, 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, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 100, 50, 100, 99, 98, 102, 48, 102, 37, 50, 68, 52, 54, 49, 98, 37, 50, 68, 52, 97, 54, 57, 37, 50, 68, 97, 100, 100, 48, 37, 50, 68, 102, 49, 57, 98, 54, 53, 52, 56, 102, 100, 99, 55, 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, 100, 50, 100, 99, 98, 102, 48, 102, 45, 52, 54, 49, 98, 45, 52, 97, 54, 57, 45, 97, 100, 100, 48, 45, 102, 49, 57, 98, 54, 53, 52, 56, 102, 100, 99, 55, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 54, 57, 55, 98, 52, 54, 102, 100, 45, 57, 48, 57, 100, 45, 52, 101, 100, 55, 45, 56, 54, 98, 101, 45, 51, 102, 49, 100, 98, 49, 50, 98, 54, 54, 98, 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, 117, 105, 100, 34, 58, 34, 101, 99, 54, 99, 100, 99, 57, 49, 45, 100, 55, 48, 100, 45, 52, 100, 99, 99, 45, 56, 52, 49, 100, 45, 51, 99, 55, 50, 50, 56, 57, 97, 97, 49, 101, 53, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 102, 56, 100, 48, 51, 99, 101, 99, 45, 102, 49, 97, 50, 45, 52, 98, 55, 102, 45, 56, 99, 99, 98, 45, 56, 51, 52, 52, 48, 55, 55, 48, 49, 48, 50, 56, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed0001980 } } } }
[2022-05-09T10:16:29Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbf8a8f0
[2022-05-09T10:16:29Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/d2dcbf0f-461b-4a69-add0-f19b6548fdc7", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"1988bcb0-924d-4fc6-a590-337e5a22a7cd\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://d2dcbf0f%2D461b%2D4a69%2Dadd0%2Df19b6548fdc7/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:16:29.623960351Z\",\"data\":{\"index\":3},\"device\":\"device1\",\"partitionkey\":\"d2dcbf0f%2D461b%2D4a69%2Dadd0%2Df19b6548fdc7/device1\",\"application\":\"d2dcbf0f-461b-4a69-add0-f19b6548fdc7\",\"senderuid\":\"697b46fd-909d-4ed7-86be-3f1db12b66b3\",\"instance\":\"drogue\",\"sender\":\"gateway1\",\"applicationuid\":\"ec6cdc91-d70d-4dcc-841d-3c72289aa1e5\",\"deviceuid\":\"f8d03cec-f1a2-4b7f-8ccb-834407701028\"}" }
[2022-05-09T10:16:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:16:30Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:16:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:16:30Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:16:30Z 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: "7469891b-4d16-4ab1-b458-0ffad5399296", persistence: None, user_data: None }
[2022-05-09T10:16:30Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:16:30Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc2203b0
[2022-05-09T10:16:30Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc2203b0
[2022-05-09T10:16:30Z 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: 0x55efdc0d1a60, password: 0x55efdbf5bf70, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbdfd9a0, 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: 0x55efdbfcee20, 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@d2dcbf0f-461b-4a69-add0-f19b6548fdc7"), 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-09T10:16: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: 0x7f0ed002b960, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed0014ff0 } }, data: MessageData { topic: "app/d2dcbf0f-461b-4a69-add0-f19b6548fdc7", 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, 55, 51, 100, 51, 56, 48, 51, 45, 97, 50, 51, 97, 45, 52, 57, 51, 53, 45, 57, 98, 99, 52, 45, 53, 54, 97, 49, 97, 57, 53, 99, 53, 98, 97, 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, 100, 50, 100, 99, 98, 102, 48, 102, 37, 50, 68, 52, 54, 49, 98, 37, 50, 68, 52, 97, 54, 57, 37, 50, 68, 97, 100, 100, 48, 37, 50, 68, 102, 49, 57, 98, 54, 53, 52, 56, 102, 100, 99, 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, 48, 58, 49, 54, 58, 51, 48, 46, 55, 52, 51, 48, 52, 49, 51, 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, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 101, 99, 54, 99, 100, 99, 57, 49, 45, 100, 55, 48, 100, 45, 52, 100, 99, 99, 45, 56, 52, 49, 100, 45, 51, 99, 55, 50, 50, 56, 57, 97, 97, 49, 101, 53, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 100, 50, 100, 99, 98, 102, 48, 102, 37, 50, 68, 52, 54, 49, 98, 37, 50, 68, 52, 97, 54, 57, 37, 50, 68, 97, 100, 100, 48, 37, 50, 68, 102, 49, 57, 98, 54, 53, 52, 56, 102, 100, 99, 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, 100, 50, 100, 99, 98, 102, 48, 102, 45, 52, 54, 49, 98, 45, 52, 97, 54, 57, 45, 97, 100, 100, 48, 45, 102, 49, 57, 98, 54, 53, 52, 56, 102, 100, 99, 55, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 54, 57, 55, 98, 52, 54, 102, 100, 45, 57, 48, 57, 100, 45, 52, 101, 100, 55, 45, 56, 54, 98, 101, 45, 51, 102, 49, 100, 98, 49, 50, 98, 54, 54, 98, 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, 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, 57, 55, 98, 52, 54, 102, 100, 45, 57, 48, 57, 100, 45, 52, 101, 100, 55, 45, 56, 54, 98, 101, 45, 51, 102, 49, 100, 98, 49, 50, 98, 54, 54, 98, 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: 0x7f0ed0014ff0 } } } }
[2022-05-09T10:16:30Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbf8a8f0
[2022-05-09T10:16:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/d2dcbf0f-461b-4a69-add0-f19b6548fdc7", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"a73d3803-a23a-4935-9bc4-56a1a95c5bad\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://d2dcbf0f%2D461b%2D4a69%2Dadd0%2Df19b6548fdc7/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:16:30.743041319Z\",\"data\":{\"connected\":true},\"applicationuid\":\"ec6cdc91-d70d-4dcc-841d-3c72289aa1e5\",\"partitionkey\":\"d2dcbf0f%2D461b%2D4a69%2Dadd0%2Df19b6548fdc7/gateway1\",\"application\":\"d2dcbf0f-461b-4a69-add0-f19b6548fdc7\",\"deviceuid\":\"697b46fd-909d-4ed7-86be-3f1db12b66b3\",\"instance\":\"drogue\",\"device\":\"gateway1\",\"senderuid\":\"697b46fd-909d-4ed7-86be-3f1db12b66b3\",\"sender\":\"gateway1\"}" }
[2022-05-09T10:16:31Z 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: 0x55efdbdfe3c0 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdbdfe3c0 } } } }
[2022-05-09T10:16:31Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:16: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: 0x7f0ed0013350, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed0002150 } }, data: MessageData { topic: "app/d2dcbf0f-461b-4a69-add0-f19b6548fdc7", 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, 49, 49, 54, 97, 99, 99, 102, 45, 101, 100, 97, 48, 45, 52, 53, 102, 99, 45, 56, 49, 55, 55, 45, 50, 56, 98, 101, 55, 55, 55, 100, 48, 97, 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, 100, 50, 100, 99, 98, 102, 48, 102, 37, 50, 68, 52, 54, 49, 98, 37, 50, 68, 52, 97, 54, 57, 37, 50, 68, 97, 100, 100, 48, 37, 50, 68, 102, 49, 57, 98, 54, 53, 52, 56, 102, 100, 99, 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, 48, 58, 49, 54, 58, 51, 49, 46, 48, 48, 53, 52, 54, 57, 50, 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, 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, 100, 50, 100, 99, 98, 102, 48, 102, 45, 52, 54, 49, 98, 45, 52, 97, 54, 57, 45, 97, 100, 100, 48, 45, 102, 49, 57, 98, 54, 53, 52, 56, 102, 100, 99, 55, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 100, 50, 100, 99, 98, 102, 48, 102, 37, 50, 68, 52, 54, 49, 98, 37, 50, 68, 52, 97, 54, 57, 37, 50, 68, 97, 100, 100, 48, 37, 50, 68, 102, 49, 57, 98, 54, 53, 52, 56, 102, 100, 99, 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, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 54, 57, 55, 98, 52, 54, 102, 100, 45, 57, 48, 57, 100, 45, 52, 101, 100, 55, 45, 56, 54, 98, 101, 45, 51, 102, 49, 100, 98, 49, 50, 98, 54, 54, 98, 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, 117, 105, 100, 34, 58, 34, 101, 99, 54, 99, 100, 99, 57, 49, 45, 100, 55, 48, 100, 45, 52, 100, 99, 99, 45, 56, 52, 49, 100, 45, 51, 99, 55, 50, 50, 56, 57, 97, 97, 49, 101, 53, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 54, 57, 55, 98, 52, 54, 102, 100, 45, 57, 48, 57, 100, 45, 52, 101, 100, 55, 45, 56, 54, 98, 101, 45, 51, 102, 49, 100, 98, 49, 50, 98, 54, 54, 98, 51, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed0002150 } } } }
[2022-05-09T10:16:31Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdc2afa30
[2022-05-09T10:16:31Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/d2dcbf0f-461b-4a69-add0-f19b6548fdc7", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"2116accf-eda0-45fc-8177-28be777d0ab8\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://d2dcbf0f%2D461b%2D4a69%2Dadd0%2Df19b6548fdc7/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:16:31.005469294Z\",\"data\":{\"connected\":false},\"instance\":\"drogue\",\"application\":\"d2dcbf0f-461b-4a69-add0-f19b6548fdc7\",\"partitionkey\":\"d2dcbf0f%2D461b%2D4a69%2Dadd0%2Df19b6548fdc7/gateway1\",\"device\":\"gateway1\",\"senderuid\":\"697b46fd-909d-4ed7-86be-3f1db12b66b3\",\"sender\":\"gateway1\",\"applicationuid\":\"ec6cdc91-d70d-4dcc-841d-3c72289aa1e5\",\"deviceuid\":\"697b46fd-909d-4ed7-86be-3f1db12b66b3\"}" }
[2022-05-09T10:16: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: 0x7f0ed00153e0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed0015660 } }, data: MessageData { topic: "app/d2dcbf0f-461b-4a69-add0-f19b6548fdc7", 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, 97, 48, 49, 56, 48, 54, 101, 45, 52, 48, 98, 49, 45, 52, 102, 98, 100, 45, 98, 49, 55, 48, 45, 51, 56, 100, 54, 48, 55, 57, 101, 54, 51, 53, 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, 100, 50, 100, 99, 98, 102, 48, 102, 37, 50, 68, 52, 54, 49, 98, 37, 50, 68, 52, 97, 54, 57, 37, 50, 68, 97, 100, 100, 48, 37, 50, 68, 102, 49, 57, 98, 54, 53, 52, 56, 102, 100, 99, 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, 48, 58, 49, 54, 58, 51, 49, 46, 48, 48, 52, 52, 51, 53, 54, 53, 50, 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, 100, 50, 100, 99, 98, 102, 48, 102, 37, 50, 68, 52, 54, 49, 98, 37, 50, 68, 52, 97, 54, 57, 37, 50, 68, 97, 100, 100, 48, 37, 50, 68, 102, 49, 57, 98, 54, 53, 52, 56, 102, 100, 99, 55, 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, 101, 99, 54, 99, 100, 99, 57, 49, 45, 100, 55, 48, 100, 45, 52, 100, 99, 99, 45, 56, 52, 49, 100, 45, 51, 99, 55, 50, 50, 56, 57, 97, 97, 49, 101, 53, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 100, 50, 100, 99, 98, 102, 48, 102, 45, 52, 54, 49, 98, 45, 52, 97, 54, 57, 45, 97, 100, 100, 48, 45, 102, 49, 57, 98, 54, 53, 52, 56, 102, 100, 99, 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, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 54, 57, 55, 98, 52, 54, 102, 100, 45, 57, 48, 57, 100, 45, 52, 101, 100, 55, 45, 56, 54, 98, 101, 45, 51, 102, 49, 100, 98, 49, 50, 98, 54, 54, 98, 51, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 102, 56, 100, 48, 51, 99, 101, 99, 45, 102, 49, 97, 50, 45, 52, 98, 55, 102, 45, 56, 99, 99, 98, 45, 56, 51, 52, 52, 48, 55, 55, 48, 49, 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: 0x7f0ed0015660 } } } }
[2022-05-09T10:16:31Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdc2afa30
[2022-05-09T10:16:31Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/d2dcbf0f-461b-4a69-add0-f19b6548fdc7", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"0a01806e-40b1-4fbd-b170-38d6079e6357\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://d2dcbf0f%2D461b%2D4a69%2Dadd0%2Df19b6548fdc7/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:16:31.004435652Z\",\"data_base64\":\"\",\"partitionkey\":\"d2dcbf0f%2D461b%2D4a69%2Dadd0%2Df19b6548fdc7/device1\",\"applicationuid\":\"ec6cdc91-d70d-4dcc-841d-3c72289aa1e5\",\"application\":\"d2dcbf0f-461b-4a69-add0-f19b6548fdc7\",\"instance\":\"drogue\",\"device\":\"device1\",\"senderuid\":\"697b46fd-909d-4ed7-86be-3f1db12b66b3\",\"deviceuid\":\"f8d03cec-f1a2-4b7f-8ccb-834407701028\",\"sender\":\"gateway1\"}" }
[2022-05-09T10:16:32Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:16:32Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:16:32Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:16:32Z 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: "d2dcbf0f-461b-4a69-add0-f19b6548fdc7", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "d2dcbf0f-461b-4a69-add0-f19b6548fdc7", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:16:32Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:16:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "d2dcbf0f-461b-4a69-add0-f19b6548fdc7" "device1"
[2022-05-09T10:16:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:16:32Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:16:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "d2dcbf0f-461b-4a69-add0-f19b6548fdc7" "gateway1"
[2022-05-09T10:16:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:16:32Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'd2dcbf0f-461b-4a69-add0-f19b6548fdc7'
[2022-05-09T10:16:32Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "d2dcbf0f-461b-4a69-add0-f19b6548fdc7"
[2022-05-09T10:16:32Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App d2dcbf0f-461b-4a69-add0-f19b6548fdc7 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-09T10:16:34Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:16:34Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:16:34Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:16:34Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:16: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-09T10:16:35Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:16:36Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:16:36Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:16:36Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:16: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-09T10:16:38Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMxOTgsImlhdCI6MTY1MjA5MTM5OCwianRpIjoiN2Q3MWE5NDgtZWJlMi00MjU3LTlhMzQtOGUzZDkzNDVlZDhlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Imc0anZWcFdaQU1wWW1kV01uLWxkVVEiLCJzZXNzaW9uX3N0YXRlIjoiNDljYTA0MjctYjQ5My00YzhkLWFmY2ItY2MyOWE3Nzk4MzJiIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjQ5Y2EwNDI3LWI0OTMtNGM4ZC1hZmNiLWNjMjlhNzc5ODMyYiJ9.CDC-Jq7UT4KMlxyjDAKIOqC9OAsRWhNJQKVMObFb5cI
[2022-05-09T10:16:38Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:16:38Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:16:38Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMxOTgsImlhdCI6MTY1MjA5MTM5OCwianRpIjoiN2Q3MWE5NDgtZWJlMi00MjU3LTlhMzQtOGUzZDkzNDVlZDhlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Imc0anZWcFdaQU1wWW1kV01uLWxkVVEiLCJzZXNzaW9uX3N0YXRlIjoiNDljYTA0MjctYjQ5My00YzhkLWFmY2ItY2MyOWE3Nzk4MzJiIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjQ5Y2EwNDI3LWI0OTMtNGM4ZC1hZmNiLWNjMjlhNzc5ODMyYiJ9.CDC-Jq7UT4KMlxyjDAKIOqC9OAsRWhNJQKVMObFb5cI" "--context" "system-tests"
[2022-05-09T10:16: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-09T10:16:39Z INFO  drogue_cloud_tests::resources::apps] Create application: b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2
[2022-05-09T10:16:39Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2"
[2022-05-09T10:16:39Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2 created.\n", stderr: "" })
[2022-05-09T10:16:39Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2"
[2022-05-09T10:16:39Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:16:39.020374Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2\",\n    \"resourceVersion\": \"99fcde30-1467-4afa-a3a7-1d057bc888ec\",\n    \"uid\": \"028208cd-88fb-4c32-a131-98c4e028dfb6\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:16:39.040245347Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:16:39.040202717Z\",\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-09T10:16:39.040096158Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:39.040097651Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:39.040098513Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:39.040099785Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:39.040100186Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:39.040109052Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:16:39Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:16:39.020374Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2"), "resourceVersion": String("99fcde30-1467-4afa-a3a7-1d057bc888ec"), "uid": String("028208cd-88fb-4c32-a131-98c4e028dfb6")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:16:39.040245347Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:16:39.040202717Z"), "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-09T10:16:39.040096158Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:16:39.040097651Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:16:39.040098513Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:16:39.040099785Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:16:39.040100186Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:16:39.040109052Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T10:16:39Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:16:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2"
[2022-05-09T10:16:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:16:39.020374Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2\",\n    \"resourceVersion\": \"4513ddcb-a729-4567-938c-cfdad435777f\",\n    \"uid\": \"028208cd-88fb-4c32-a131-98c4e028dfb6\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:16:39.339291319Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:16:39.339165895Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:39.063636527Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:39.073469859Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:39.135201526Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:39.141075718Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:39.339054736Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:39.339132332Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"uiMGbA2Ea1tq\",\n        \"username\": \"user-b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:16:40Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:16:39.020374Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2"), "resourceVersion": String("4513ddcb-a729-4567-938c-cfdad435777f"), "uid": String("028208cd-88fb-4c32-a131-98c4e028dfb6")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:16:39.339291319Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:16:39.339165895Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:16:39.063636527Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:16:39.073469859Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:16:39.135201526Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:16:39.141075718Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:16:39.339054736Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:16:39.339132332Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("uiMGbA2Ea1tq"), "username": String("user-b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2")})})})})
[2022-05-09T10:16:40Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:16:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2"
[2022-05-09T10:16:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:16:39.020374Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2\",\n    \"resourceVersion\": \"4513ddcb-a729-4567-938c-cfdad435777f\",\n    \"uid\": \"028208cd-88fb-4c32-a131-98c4e028dfb6\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:16:39.339291319Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:16:39.339165895Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:39.063636527Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:39.073469859Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:39.135201526Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:39.141075718Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:39.339054736Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:39.339132332Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"uiMGbA2Ea1tq\",\n        \"username\": \"user-b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:16:40Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:16:39.020374Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2"), "resourceVersion": String("4513ddcb-a729-4567-938c-cfdad435777f"), "uid": String("028208cd-88fb-4c32-a131-98c4e028dfb6")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:16:39.339291319Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:16:39.339165895Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:16:39.063636527Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:16:39.073469859Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:16:39.135201526Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:16:39.141075718Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:16:39.339054736Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:16:39.339132332Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("uiMGbA2Ea1tq"), "username": String("user-b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2")})})})})
[2022-05-09T10:16:40Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:16:40Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:16:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:16:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:16:40Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:16:40Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:16:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:16:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE2OTgsImlhdCI6MTY1MjA5MTM5OCwiYXV0aF90aW1lIjoxNjUyMDkxMzk1LCJqdGkiOiIxYjdhMTY3MS04MWVmLTRiOTMtOGI1MS05YTNiMDgwZjhiMGQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJnNGp2VnBXWkFNcFltZFdNbi1sZFVRIiwic2Vzc2lvbl9zdGF0ZSI6IjQ5Y2EwNDI3LWI0OTMtNGM4ZC1hZmNiLWNjMjlhNzc5ODMyYiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjQ5Y2EwNDI3LWI0OTMtNGM4ZC1hZmNiLWNjMjlhNzc5ODMyYiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.y5WV773G0Om8Xy3Cjbfu3wPfNZOJfi-2ov0vPH1rwdLp5LEa6vnhdFcSc0oqpjFPqUGv08-zXtNc-vlseM5uW-3_NWA_LY9XUY29UGnwJG4DUoTvsZZ7THPHTwYeFq-hdwY6wlkuSCyPRbGz0lbDUT2vgOp7b1SI5BGo4W6CZZQmZJ60T3ydxQdmJdrr9zp2RfZOeVktmDDTRxpdhE8QPb3xi8WJOK9SjF-bRgLgrXs906aI9Hf0UPrbvXBDGh7bAfurtjLj-kkOo5exTunMljSEuylF4pLgBY6Yjfehp8fRSYWlC15kZfBfFdO4__PO8uCh9PjaeyOw78dBlTgEYQ\n", stderr: "" })
[2022-05-09T10:16:40Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:16:40Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:16:40Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:16:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:16:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:16:40Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T10:16:40Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:16:40Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE2OTgsImlhdCI6MTY1MjA5MTM5OCwiYXV0aF90aW1lIjoxNjUyMDkxMzk1LCJqdGkiOiIxYjdhMTY3MS04MWVmLTRiOTMtOGI1MS05YTNiMDgwZjhiMGQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJnNGp2VnBXWkFNcFltZFdNbi1sZFVRIiwic2Vzc2lvbl9zdGF0ZSI6IjQ5Y2EwNDI3LWI0OTMtNGM4ZC1hZmNiLWNjMjlhNzc5ODMyYiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjQ5Y2EwNDI3LWI0OTMtNGM4ZC1hZmNiLWNjMjlhNzc5ODMyYiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.y5WV773G0Om8Xy3Cjbfu3wPfNZOJfi-2ov0vPH1rwdLp5LEa6vnhdFcSc0oqpjFPqUGv08-zXtNc-vlseM5uW-3_NWA_LY9XUY29UGnwJG4DUoTvsZZ7THPHTwYeFq-hdwY6wlkuSCyPRbGz0lbDUT2vgOp7b1SI5BGo4W6CZZQmZJ60T3ydxQdmJdrr9zp2RfZOeVktmDDTRxpdhE8QPb3xi8WJOK9SjF-bRgLgrXs906aI9Hf0UPrbvXBDGh7bAfurtjLj-kkOo5exTunMljSEuylF4pLgBY6Yjfehp8fRSYWlC15kZfBfFdO4__PO8uCh9PjaeyOw78dBlTgEYQ\n", stderr: "" })
[2022-05-09T10:16: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: "wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt", client_id: "0e976987-2afd-450a-b38c-1db119c0538f", persistence: None, user_data: None }
[2022-05-09T10:16:40Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:16:40Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbf95960
[2022-05-09T10:16:40Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbf95960
[2022-05-09T10:16: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: 0x55efdbf95ca0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbdfd9a0, 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: 0x55efdbfcc590, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE2OTgsImlhdCI6MTY1MjA5MTM5OCwiYXV0aF90aW1lIjoxNjUyMDkxMzk1LCJqdGkiOiIxYjdhMTY3MS04MWVmLTRiOTMtOGI1MS05YTNiMDgwZjhiMGQiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJnNGp2VnBXWkFNcFltZFdNbi1sZFVRIiwic2Vzc2lvbl9zdGF0ZSI6IjQ5Y2EwNDI3LWI0OTMtNGM4ZC1hZmNiLWNjMjlhNzc5ODMyYiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjQ5Y2EwNDI3LWI0OTMtNGM4ZC1hZmNiLWNjMjlhNzc5ODMyYiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.y5WV773G0Om8Xy3Cjbfu3wPfNZOJfi-2ov0vPH1rwdLp5LEa6vnhdFcSc0oqpjFPqUGv08-zXtNc-vlseM5uW-3_NWA_LY9XUY29UGnwJG4DUoTvsZZ7THPHTwYeFq-hdwY6wlkuSCyPRbGz0lbDUT2vgOp7b1SI5BGo4W6CZZQmZJ60T3ydxQdmJdrr9zp2RfZOeVktmDDTRxpdhE8QPb3xi8WJOK9SjF-bRgLgrXs906aI9Hf0UPrbvXBDGh7bAfurtjLj-kkOo5exTunMljSEuylF4pLgBY6Yjfehp8fRSYWlC15kZfBfFdO4__PO8uCh9PjaeyOw78dBlTgEYQ"), 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-09T10:16:40Z DEBUG paho_mqtt::async_client] Subscribe to '"app/b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2"' @ QOS 0
[2022-05-09T10:16:40Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:16:40Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:16:40Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:16: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-09T10:16:40Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:16: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-09T10:16:41Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:16: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-09T10:16:41Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:16: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-09T10:16:42Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:16: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-09T10:16:42Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:16: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-09T10:16:43Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:16: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-09T10:16:43Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:16: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-09T10:16: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: 0x7f0ed0015ca0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed0015f20 } }, data: MessageData { topic: "app/b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2", 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, 56, 51, 55, 100, 102, 102, 97, 45, 99, 52, 53, 51, 45, 52, 98, 100, 98, 45, 57, 49, 50, 49, 45, 48, 98, 55, 53, 99, 53, 98, 49, 56, 99, 100, 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, 98, 54, 99, 101, 102, 101, 101, 56, 37, 50, 68, 101, 101, 98, 51, 37, 50, 68, 52, 97, 54, 99, 37, 50, 68, 98, 49, 101, 50, 37, 50, 68, 97, 49, 98, 51, 100, 102, 56, 97, 99, 102, 101, 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, 48, 58, 49, 54, 58, 52, 51, 46, 54, 51, 51, 52, 56, 57, 49, 49, 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, 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, 50, 56, 50, 48, 56, 99, 100, 45, 56, 56, 102, 98, 45, 52, 99, 51, 50, 45, 97, 49, 51, 49, 45, 57, 56, 99, 52, 101, 48, 50, 56, 100, 102, 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, 34, 58, 34, 98, 54, 99, 101, 102, 101, 101, 56, 45, 101, 101, 98, 51, 45, 52, 97, 54, 99, 45, 98, 49, 101, 50, 45, 97, 49, 98, 51, 100, 102, 56, 97, 99, 102, 101, 50, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 56, 102, 98, 52, 102, 57, 97, 101, 45, 49, 51, 101, 54, 45, 52, 55, 54, 57, 45, 56, 98, 49, 99, 45, 53, 102, 54, 53, 54, 99, 56, 53, 53, 54, 98, 49, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 98, 54, 99, 101, 102, 101, 101, 56, 37, 50, 68, 101, 101, 98, 51, 37, 50, 68, 52, 97, 54, 99, 37, 50, 68, 98, 49, 101, 50, 37, 50, 68, 97, 49, 98, 51, 100, 102, 56, 97, 99, 102, 101, 50, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 57, 98, 98, 57, 48, 53, 48, 100, 45, 54, 51, 52, 100, 45, 52, 48, 53, 56, 45, 98, 55, 100, 101, 45, 52, 56, 101, 51, 52, 56, 49, 54, 49, 55, 51, 51, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed0015f20 } } } }
[2022-05-09T10:16:43Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdc2b8b20
[2022-05-09T10:16:43Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"3837dffa-c453-4bdb-9121-0b75c5b18cd9\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://b6cefee8%2Deeb3%2D4a6c%2Db1e2%2Da1b3df8acfe2/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:16:43.633489119Z\",\"data\":{\"index\":3},\"sender\":\"gateway1\",\"device\":\"device1\",\"applicationuid\":\"028208cd-88fb-4c32-a131-98c4e028dfb6\",\"instance\":\"drogue\",\"application\":\"b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2\",\"deviceuid\":\"8fb4f9ae-13e6-4769-8b1c-5f656c8556b1\",\"partitionkey\":\"b6cefee8%2Deeb3%2D4a6c%2Db1e2%2Da1b3df8acfe2/device1\",\"senderuid\":\"9bb9050d-634d-4058-b7de-48e348161733\"}" }
[2022-05-09T10:16:44Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:16:44Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:16:44Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:16:44Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:16: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: "d03f6824-97f8-4692-8278-3510313a94ba", persistence: None, user_data: None }
[2022-05-09T10:16:44Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:16:44Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc0ebdf0
[2022-05-09T10:16:44Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc0ebdf0
[2022-05-09T10:16: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: 0x55efdc2bd050, password: 0x55efdbed4a30, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc1df210, 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: 0x55efdc2bca80, 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@b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2"), 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-09T10:16: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: 0x7f0ed000b1c0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed000b450 } }, data: MessageData { topic: "app/b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2", 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, 102, 49, 97, 48, 49, 99, 57, 45, 100, 99, 49, 101, 45, 52, 102, 97, 99, 45, 97, 50, 57, 99, 45, 55, 54, 54, 49, 57, 98, 48, 50, 97, 49, 49, 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, 98, 54, 99, 101, 102, 101, 101, 56, 37, 50, 68, 101, 101, 98, 51, 37, 50, 68, 52, 97, 54, 99, 37, 50, 68, 98, 49, 101, 50, 37, 50, 68, 97, 49, 98, 51, 100, 102, 56, 97, 99, 102, 101, 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, 48, 58, 49, 54, 58, 52, 52, 46, 57, 52, 56, 54, 49, 51, 52, 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, 116, 114, 117, 101, 125, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 98, 54, 99, 101, 102, 101, 101, 56, 37, 50, 68, 101, 101, 98, 51, 37, 50, 68, 52, 97, 54, 99, 37, 50, 68, 98, 49, 101, 50, 37, 50, 68, 97, 49, 98, 51, 100, 102, 56, 97, 99, 102, 101, 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, 57, 98, 98, 57, 48, 53, 48, 100, 45, 54, 51, 52, 100, 45, 52, 48, 53, 56, 45, 98, 55, 100, 101, 45, 52, 56, 101, 51, 52, 56, 49, 54, 49, 55, 51, 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, 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, 50, 56, 50, 48, 56, 99, 100, 45, 56, 56, 102, 98, 45, 52, 99, 51, 50, 45, 97, 49, 51, 49, 45, 57, 56, 99, 52, 101, 48, 50, 56, 100, 102, 98, 54, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 57, 98, 98, 57, 48, 53, 48, 100, 45, 54, 51, 52, 100, 45, 52, 48, 53, 56, 45, 98, 55, 100, 101, 45, 52, 56, 101, 51, 52, 56, 49, 54, 49, 55, 51, 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, 98, 54, 99, 101, 102, 101, 101, 56, 45, 101, 101, 98, 51, 45, 52, 97, 54, 99, 45, 98, 49, 101, 50, 45, 97, 49, 98, 51, 100, 102, 56, 97, 99, 102, 101, 50, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed000b450 } } } }
[2022-05-09T10:16:45Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdc2b8b20
[2022-05-09T10:16:45Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"bf1a01c9-dc1e-4fac-a29c-76619b02a113\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://b6cefee8%2Deeb3%2D4a6c%2Db1e2%2Da1b3df8acfe2/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:16:44.948613499Z\",\"data\":{\"connected\":true},\"partitionkey\":\"b6cefee8%2Deeb3%2D4a6c%2Db1e2%2Da1b3df8acfe2/gateway1\",\"deviceuid\":\"9bb9050d-634d-4058-b7de-48e348161733\",\"instance\":\"drogue\",\"device\":\"gateway1\",\"applicationuid\":\"028208cd-88fb-4c32-a131-98c4e028dfb6\",\"senderuid\":\"9bb9050d-634d-4058-b7de-48e348161733\",\"sender\":\"gateway1\",\"application\":\"b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2\"}" }
[2022-05-09T10:16: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: 0x55efdbeb2230 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdbeb2230 } } } }
[2022-05-09T10:16:45Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:16: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: 0x7f0ed001bdd0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed001ca30 } }, data: MessageData { topic: "app/b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2", 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, 97, 102, 48, 100, 99, 50, 52, 45, 99, 97, 98, 49, 45, 52, 50, 97, 49, 45, 98, 48, 51, 97, 45, 52, 48, 100, 50, 102, 48, 98, 52, 49, 101, 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, 98, 54, 99, 101, 102, 101, 101, 56, 37, 50, 68, 101, 101, 98, 51, 37, 50, 68, 52, 97, 54, 99, 37, 50, 68, 98, 49, 101, 50, 37, 50, 68, 97, 49, 98, 51, 100, 102, 56, 97, 99, 102, 101, 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, 48, 58, 49, 54, 58, 52, 53, 46, 48, 49, 51, 51, 50, 48, 54, 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, 102, 97, 108, 115, 101, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 98, 54, 99, 101, 102, 101, 101, 56, 45, 101, 101, 98, 51, 45, 52, 97, 54, 99, 45, 98, 49, 101, 50, 45, 97, 49, 98, 51, 100, 102, 56, 97, 99, 102, 101, 50, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 57, 98, 98, 57, 48, 53, 48, 100, 45, 54, 51, 52, 100, 45, 52, 48, 53, 56, 45, 98, 55, 100, 101, 45, 52, 56, 101, 51, 52, 56, 49, 54, 49, 55, 51, 51, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 57, 98, 98, 57, 48, 53, 48, 100, 45, 54, 51, 52, 100, 45, 52, 48, 53, 56, 45, 98, 55, 100, 101, 45, 52, 56, 101, 51, 52, 56, 49, 54, 49, 55, 51, 51, 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, 98, 54, 99, 101, 102, 101, 101, 56, 37, 50, 68, 101, 101, 98, 51, 37, 50, 68, 52, 97, 54, 99, 37, 50, 68, 98, 49, 101, 50, 37, 50, 68, 97, 49, 98, 51, 100, 102, 56, 97, 99, 102, 101, 50, 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, 50, 56, 50, 48, 56, 99, 100, 45, 56, 56, 102, 98, 45, 52, 99, 51, 50, 45, 97, 49, 51, 49, 45, 57, 56, 99, 52, 101, 48, 50, 56, 100, 102, 98, 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, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed001ca30 } } } }
[2022-05-09T10:16:45Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdc2b8b20
[2022-05-09T10:16:45Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"caf0dc24-cab1-42a1-b03a-40d2f0b41eaa\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://b6cefee8%2Deeb3%2D4a6c%2Db1e2%2Da1b3df8acfe2/gateway1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:16:45.013320669Z\",\"data\":{\"connected\":false},\"application\":\"b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2\",\"senderuid\":\"9bb9050d-634d-4058-b7de-48e348161733\",\"deviceuid\":\"9bb9050d-634d-4058-b7de-48e348161733\",\"instance\":\"drogue\",\"partitionkey\":\"b6cefee8%2Deeb3%2D4a6c%2Db1e2%2Da1b3df8acfe2/gateway1\",\"applicationuid\":\"028208cd-88fb-4c32-a131-98c4e028dfb6\",\"device\":\"gateway1\",\"sender\":\"gateway1\"}" }
[2022-05-09T10:16:45Z 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: 0x7f0ed000d620, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0ed000d8a0 } }, data: MessageData { topic: "app/b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2", 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, 49, 48, 99, 49, 99, 56, 101, 45, 97, 102, 54, 100, 45, 52, 56, 49, 54, 45, 57, 97, 101, 100, 45, 100, 48, 102, 57, 52, 53, 52, 56, 56, 102, 56, 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, 54, 99, 101, 102, 101, 101, 56, 37, 50, 68, 101, 101, 98, 51, 37, 50, 68, 52, 97, 54, 99, 37, 50, 68, 98, 49, 101, 50, 37, 50, 68, 97, 49, 98, 51, 100, 102, 56, 97, 99, 102, 101, 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, 48, 58, 49, 54, 58, 52, 53, 46, 48, 49, 50, 56, 55, 56, 48, 55, 50, 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, 48, 50, 56, 50, 48, 56, 99, 100, 45, 56, 56, 102, 98, 45, 52, 99, 51, 50, 45, 97, 49, 51, 49, 45, 57, 56, 99, 52, 101, 48, 50, 56, 100, 102, 98, 54, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 57, 98, 98, 57, 48, 53, 48, 100, 45, 54, 51, 52, 100, 45, 52, 48, 53, 56, 45, 98, 55, 100, 101, 45, 52, 56, 101, 51, 52, 56, 49, 54, 49, 55, 51, 51, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 98, 54, 99, 101, 102, 101, 101, 56, 37, 50, 68, 101, 101, 98, 51, 37, 50, 68, 52, 97, 54, 99, 37, 50, 68, 98, 49, 101, 50, 37, 50, 68, 97, 49, 98, 51, 100, 102, 56, 97, 99, 102, 101, 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, 98, 54, 99, 101, 102, 101, 101, 56, 45, 101, 101, 98, 51, 45, 52, 97, 54, 99, 45, 98, 49, 101, 50, 45, 97, 49, 98, 51, 100, 102, 56, 97, 99, 102, 101, 50, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 56, 102, 98, 52, 102, 57, 97, 101, 45, 49, 51, 101, 54, 45, 52, 55, 54, 57, 45, 56, 98, 49, 99, 45, 53, 102, 54, 53, 54, 99, 56, 53, 53, 54, 98, 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, 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: 0x7f0ed000d8a0 } } } }
[2022-05-09T10:16:45Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdc2b8b20
[2022-05-09T10:16:45Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"210c1c8e-af6d-4816-9aed-d0f945488f86\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://b6cefee8%2Deeb3%2D4a6c%2Db1e2%2Da1b3df8acfe2/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:16:45.012878072Z\",\"data_base64\":\"\",\"applicationuid\":\"028208cd-88fb-4c32-a131-98c4e028dfb6\",\"senderuid\":\"9bb9050d-634d-4058-b7de-48e348161733\",\"partitionkey\":\"b6cefee8%2Deeb3%2D4a6c%2Db1e2%2Da1b3df8acfe2/device1\",\"application\":\"b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2\",\"deviceuid\":\"8fb4f9ae-13e6-4769-8b1c-5f656c8556b1\",\"device\":\"device1\",\"sender\":\"gateway1\",\"instance\":\"drogue\"}" }
[2022-05-09T10:16:46Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:16:46Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:16:46Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:16: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: "b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:16:46Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:16:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2" "device1"
[2022-05-09T10:16:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:16:46Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:16:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2" "gateway1"
[2022-05-09T10:16:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:16:46Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2'
[2022-05-09T10:16:46Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2"
[2022-05-09T10:16:46Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App b6cefee8-eeb3-4a6c-b1e2-a1b3df8acfe2 deleted.\n", stderr: "" })

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

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T10:16:48Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:16:48Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:16:48Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:16:48Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:16: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-09T10:16:49Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:16:50Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:16:50Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:16:50Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:16:50Z INFO  drogue_cloud_tests::init::config] Endpoints: Object({
        "api": String(
            "http://api.172.18.0.2.nip.io",
        ),
        "console": String(
            "http://console.172.18.0.2.nip.io",
        ),
        "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-09T10:16:52Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMyMTIsImlhdCI6MTY1MjA5MTQxMiwianRpIjoiNTc3ZTVlYjgtYWQzNS00NzExLTk1NjUtZGE2NDhmYjkxMGFjIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjJqOG9abk5nblhtVVlJYk03VGY3U2ciLCJzZXNzaW9uX3N0YXRlIjoiYzRhMGQ2MGYtMGE0MS00OGY3LTljNDAtNGRhZDZiODYwMGY1Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImM0YTBkNjBmLTBhNDEtNDhmNy05YzQwLTRkYWQ2Yjg2MDBmNSJ9.K3357N0YK-fC06pl1vGxqeLlo7qv7YOO89-b5YYN40M
[2022-05-09T10:16:52Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:16:52Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:16:52Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMyMTIsImlhdCI6MTY1MjA5MTQxMiwianRpIjoiNTc3ZTVlYjgtYWQzNS00NzExLTk1NjUtZGE2NDhmYjkxMGFjIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjJqOG9abk5nblhtVVlJYk03VGY3U2ciLCJzZXNzaW9uX3N0YXRlIjoiYzRhMGQ2MGYtMGE0MS00OGY3LTljNDAtNGRhZDZiODYwMGY1Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImM0YTBkNjBmLTBhNDEtNDhmNy05YzQwLTRkYWQ2Yjg2MDBmNSJ9.K3357N0YK-fC06pl1vGxqeLlo7qv7YOO89-b5YYN40M" "--context" "system-tests"
[2022-05-09T10:16:52Z 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-09T10:16:53Z INFO  drogue_cloud_tests::resources::apps] Create application: e95ee6b2-c256-42f8-b657-62a1d05d606f
[2022-05-09T10:16:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "e95ee6b2-c256-42f8-b657-62a1d05d606f"
[2022-05-09T10:16:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App e95ee6b2-c256-42f8-b657-62a1d05d606f created.\n", stderr: "" })
[2022-05-09T10:16:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "e95ee6b2-c256-42f8-b657-62a1d05d606f"
[2022-05-09T10:16:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:16:53.309227Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 2,\n    \"name\": \"e95ee6b2-c256-42f8-b657-62a1d05d606f\",\n    \"resourceVersion\": \"dcec9080-30c0-47d0-9ed9-2111f6f0a174\",\n    \"uid\": \"c256697f-6676-426d-9a61-0474204e7527\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:16:53.331683254Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:16:53.331664248Z\",\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-09T10:16:53.331614436Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:53.331633892Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:53.331634302Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:53.331634944Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:53.331635545Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:53.331641336Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 1\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:16:53Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:16:53.309227Z"), "finalizers": Array([String("kafka")]), "generation": Number(2), "name": String("e95ee6b2-c256-42f8-b657-62a1d05d606f"), "resourceVersion": String("dcec9080-30c0-47d0-9ed9-2111f6f0a174"), "uid": String("c256697f-6676-426d-9a61-0474204e7527")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:16:53.331683254Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:16:53.331664248Z"), "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-09T10:16:53.331614436Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:16:53.331633892Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:16:53.331634302Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:16:53.331634944Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:16:53.331635545Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:16:53.331641336Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(1)})})})
[2022-05-09T10:16:53Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:16:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "e95ee6b2-c256-42f8-b657-62a1d05d606f"
[2022-05-09T10:16:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:16:53.309227Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"e95ee6b2-c256-42f8-b657-62a1d05d606f\",\n    \"resourceVersion\": \"a3898f4a-542e-4dbd-8fd4-233146657212\",\n    \"uid\": \"c256697f-6676-426d-9a61-0474204e7527\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:16:53.624060291Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:16:53.623934576Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:53.352956674Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:53.359992027Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:53.414777148Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:53.420677588Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:53.623888419Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:53.623906102Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"YJ17BMaeTB5U\",\n        \"username\": \"user-e95ee6b2-c256-42f8-b657-62a1d05d606f\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:16:54Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:16:53.309227Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("e95ee6b2-c256-42f8-b657-62a1d05d606f"), "resourceVersion": String("a3898f4a-542e-4dbd-8fd4-233146657212"), "uid": String("c256697f-6676-426d-9a61-0474204e7527")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:16:53.624060291Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:16:53.623934576Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:16:53.352956674Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:16:53.359992027Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:16:53.414777148Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:16:53.420677588Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:16:53.623888419Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:16:53.623906102Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("YJ17BMaeTB5U"), "username": String("user-e95ee6b2-c256-42f8-b657-62a1d05d606f")})})})})
[2022-05-09T10:16:54Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:16:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "e95ee6b2-c256-42f8-b657-62a1d05d606f"
[2022-05-09T10:16:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:16:53.309227Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"e95ee6b2-c256-42f8-b657-62a1d05d606f\",\n    \"resourceVersion\": \"a3898f4a-542e-4dbd-8fd4-233146657212\",\n    \"uid\": \"c256697f-6676-426d-9a61-0474204e7527\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:16:53.624060291Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:16:53.623934576Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:53.352956674Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:53.359992027Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:53.414777148Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:53.420677588Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:53.623888419Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:16:53.623906102Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"YJ17BMaeTB5U\",\n        \"username\": \"user-e95ee6b2-c256-42f8-b657-62a1d05d606f\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:16:54Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:16:53.309227Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("e95ee6b2-c256-42f8-b657-62a1d05d606f"), "resourceVersion": String("a3898f4a-542e-4dbd-8fd4-233146657212"), "uid": String("c256697f-6676-426d-9a61-0474204e7527")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:16:53.624060291Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:16:53.623934576Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:16:53.352956674Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:16:53.359992027Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:16:53.414777148Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:16:53.420677588Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:16:53.623888419Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:16:53.623906102Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("YJ17BMaeTB5U"), "username": String("user-e95ee6b2-c256-42f8-b657-62a1d05d606f")})})})})
[2022-05-09T10:16:54Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:16:54Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:16:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "e95ee6b2-c256-42f8-b657-62a1d05d606f" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:16:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:16:54Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:16:54Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:16:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:16:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE3MTIsImlhdCI6MTY1MjA5MTQxMiwiYXV0aF90aW1lIjoxNjUyMDkxNDA5LCJqdGkiOiI4ZWFhNzdhOC05MDI0LTRhYWQtYjEwNy1kNGZhYzBlNDE5NjEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiIyajhvWm5OZ25YbVVZSWJNN1RmN1NnIiwic2Vzc2lvbl9zdGF0ZSI6ImM0YTBkNjBmLTBhNDEtNDhmNy05YzQwLTRkYWQ2Yjg2MDBmNSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImM0YTBkNjBmLTBhNDEtNDhmNy05YzQwLTRkYWQ2Yjg2MDBmNSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.Q-nmp6A4T8hrKGH6sNS-sPAPcT6Sf_cIcDEgditx4z4J-rmB8IAqe8oElkoZcCOmd0J0XjXhR6OfXj5WQDUNJJU4pJRL7Rj5lHKgT-o7cVN8I1rafzdkw538ERIZl9yGUa6Ep2Uj7cP3hdukFGWSWSlNXBAO5fyiw6F_Idp5YWP9iVdEDB2DjPWC0XmN3jkWPn9ZCuxbz0zkJp40Y90cZy-vug6pNI3OizNTTQ5RgMFwVJIgLbFEjkzCx39cMcXr6JG6wQ4pPBey8OfoMgeHG4_c_0UT0Ia5wlJnM7lO4vndMYUiQhxAX2M8c74yuk5w1KsdIfo7qZZ7KZpVLEHSoA\n", stderr: "" })
[2022-05-09T10:16:54Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:16:54Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:16:54Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:16:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "e95ee6b2-c256-42f8-b657-62a1d05d606f" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:16:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:16:54Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T10:16:54Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:16:54Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE3MTIsImlhdCI6MTY1MjA5MTQxMiwiYXV0aF90aW1lIjoxNjUyMDkxNDA5LCJqdGkiOiI4ZWFhNzdhOC05MDI0LTRhYWQtYjEwNy1kNGZhYzBlNDE5NjEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiIyajhvWm5OZ25YbVVZSWJNN1RmN1NnIiwic2Vzc2lvbl9zdGF0ZSI6ImM0YTBkNjBmLTBhNDEtNDhmNy05YzQwLTRkYWQ2Yjg2MDBmNSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImM0YTBkNjBmLTBhNDEtNDhmNy05YzQwLTRkYWQ2Yjg2MDBmNSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.Q-nmp6A4T8hrKGH6sNS-sPAPcT6Sf_cIcDEgditx4z4J-rmB8IAqe8oElkoZcCOmd0J0XjXhR6OfXj5WQDUNJJU4pJRL7Rj5lHKgT-o7cVN8I1rafzdkw538ERIZl9yGUa6Ep2Uj7cP3hdukFGWSWSlNXBAO5fyiw6F_Idp5YWP9iVdEDB2DjPWC0XmN3jkWPn9ZCuxbz0zkJp40Y90cZy-vug6pNI3OizNTTQ5RgMFwVJIgLbFEjkzCx39cMcXr6JG6wQ4pPBey8OfoMgeHG4_c_0UT0Ia5wlJnM7lO4vndMYUiQhxAX2M8c74yuk5w1KsdIfo7qZZ7KZpVLEHSoA\n", stderr: "" })
[2022-05-09T10:16: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: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "49e3ecb4-1547-4aab-82f8-1360265e39d7", persistence: None, user_data: None }
[2022-05-09T10:16:54Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:16:54Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc27a940
[2022-05-09T10:16:54Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc27a940
[2022-05-09T10:16: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: 0x55efdc2dd550, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbe4e170, 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: 0x55efdc27ac00, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE3MTIsImlhdCI6MTY1MjA5MTQxMiwiYXV0aF90aW1lIjoxNjUyMDkxNDA5LCJqdGkiOiI4ZWFhNzdhOC05MDI0LTRhYWQtYjEwNy1kNGZhYzBlNDE5NjEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiIyajhvWm5OZ25YbVVZSWJNN1RmN1NnIiwic2Vzc2lvbl9zdGF0ZSI6ImM0YTBkNjBmLTBhNDEtNDhmNy05YzQwLTRkYWQ2Yjg2MDBmNSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImM0YTBkNjBmLTBhNDEtNDhmNy05YzQwLTRkYWQ2Yjg2MDBmNSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.Q-nmp6A4T8hrKGH6sNS-sPAPcT6Sf_cIcDEgditx4z4J-rmB8IAqe8oElkoZcCOmd0J0XjXhR6OfXj5WQDUNJJU4pJRL7Rj5lHKgT-o7cVN8I1rafzdkw538ERIZl9yGUa6Ep2Uj7cP3hdukFGWSWSlNXBAO5fyiw6F_Idp5YWP9iVdEDB2DjPWC0XmN3jkWPn9ZCuxbz0zkJp40Y90cZy-vug6pNI3OizNTTQ5RgMFwVJIgLbFEjkzCx39cMcXr6JG6wQ4pPBey8OfoMgeHG4_c_0UT0Ia5wlJnM7lO4vndMYUiQhxAX2M8c74yuk5w1KsdIfo7qZZ7KZpVLEHSoA"), 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-09T10:16:54Z DEBUG paho_mqtt::async_client] Subscribe to '"app/e95ee6b2-c256-42f8-b657-62a1d05d606f"' @ QOS 0
[2022-05-09T10:16:54Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:16:54Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:16:54Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:16: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-09T10:16:54Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:16: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-09T10:16:56Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:16: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-09T10:16:56Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:16: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-09T10:16:57Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:16: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-09T10:16:57Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:16: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-09T10:16:58Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:16: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-09T10:16:58Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:16: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-09T10:16: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: 0x7f0edc0093a0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x55efdc271dd0 } }, data: MessageData { topic: "app/e95ee6b2-c256-42f8-b657-62a1d05d606f", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x55efdc271dd0 } } } }
[2022-05-09T10:16:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbfeb8b0, 0x7f0ee0006da0
[2022-05-09T10:16:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006da0, 0x55efdc2b0880
[2022-05-09T10:16:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006da0, 0x55efdbe28750
[2022-05-09T10:16:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbe28750, 0x7f0ed8003240
[2022-05-09T10:16:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbe28750, 0x7f0ed80040f0
[2022-05-09T10:16:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80040f0, 0x55efdc2b0880
[2022-05-09T10:16:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80040f0, 0x55efdc2b0880
[2022-05-09T10:16:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80040f0, 0x55efdc2b0880
[2022-05-09T10:16:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80040f0, 0x55efdc2b0880
[2022-05-09T10:16:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80040f0, 0x7f0ed8004b80
[2022-05-09T10:16:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004b80, 0x7f0ed80040f0
[2022-05-09T10:16:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80040f0, 0x7f0ed8004b80
[2022-05-09T10:16:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004b80, 0x55efdc2b0880
[2022-05-09T10:16:58Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004b80, 0x55efdc0f26d0
[2022-05-09T10:16:58Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ed8004b80
[2022-05-09T10:16:58Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/e95ee6b2-c256-42f8-b657-62a1d05d606f", content_type: Some("application/json"), user_properties: {"instance": "drogue", "device": "device1", "partitionkey": "e95ee6b2%2Dc256%2D42f8%2Db657%2D62a1d05d606f/device1", "specversion": "1.0", "subject": "warmup", "application": "e95ee6b2-c256-42f8-b657-62a1d05d606f", "type": "io.drogue.event.v1", "senderuid": "d31a7cad-d2c8-4e62-b329-548bb76fd8ad", "id": "69af68b3-9e50-43cb-9a3e-7e2e5ed16844", "sender": "gateway1", "source": "drogue://e95ee6b2%2Dc256%2D42f8%2Db657%2D62a1d05d606f/device1", "time": "2022-05-09T10:16:58.659762177+00:00", "deviceuid": "ea85cc93-dc5e-4217-aae0-54cff20de6c7", "applicationuid": "c256697f-6676-426d-9a61-0474204e7527"}, payload: "{\"index\":3}" }
[2022-05-09T10:16:59Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:16:59Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:16:59Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:16:59Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:16: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: "cdb944db-47ff-4bab-885f-d0b56a3b6338", persistence: None, user_data: None }
[2022-05-09T10:16:59Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:16:59Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbfee1d0
[2022-05-09T10:16:59Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbfee1d0
[2022-05-09T10:16: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: 0x55efdc37cdd0, password: 0x55efdc09d960, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbff5ec0, 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: 0x55efdc1cbd30, 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@e95ee6b2-c256-42f8-b657-62a1d05d606f"), 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-09T10:17: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: 0x7f0edc028b10, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x55efdbfe8810 } }, data: MessageData { topic: "app/e95ee6b2-c256-42f8-b657-62a1d05d606f", 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: 0x55efdbfe8810 } } } }
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbe28730, 0x7f0ed8007a60
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007a60, 0x7f0edc009620
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007a60, 0x7f0ed80079d0
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80079d0, 0x7f0edc009780
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80079d0, 0x7f0ed8004b80
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004b80, 0x7f0edc009620
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004b80, 0x7f0ed8004ba0
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004ba0, 0x7f0edc009620
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004ba0, 0x7f0ed80040f0
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80040f0, 0x7f0edc009620
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80040f0, 0x7f0ed8009150
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8009150, 0x7f0edc00e170
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8009150, 0x7f0edc009620
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8009150, 0x7f0edc009620
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ed8009150
[2022-05-09T10:17:00Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/e95ee6b2-c256-42f8-b657-62a1d05d606f", content_type: Some("application/json"), user_properties: {"instance": "drogue", "application": "e95ee6b2-c256-42f8-b657-62a1d05d606f", "sender": "gateway1", "id": "9f0a30a9-a320-4f6c-8f4f-8e0af3fcf4f3", "device": "gateway1", "specversion": "1.0", "partitionkey": "e95ee6b2%2Dc256%2D42f8%2Db657%2D62a1d05d606f/gateway1", "senderuid": "d31a7cad-d2c8-4e62-b329-548bb76fd8ad", "deviceuid": "d31a7cad-d2c8-4e62-b329-548bb76fd8ad", "time": "2022-05-09T10:16:59.776249198+00:00", "applicationuid": "c256697f-6676-426d-9a61-0474204e7527", "subject": "connection", "type": "io.drogue.connection.v1", "source": "drogue://e95ee6b2%2Dc256%2D42f8%2Db657%2D62a1d05d606f/gateway1"}, payload: "{\"connected\":true}" }
[2022-05-09T10:17: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: 0x55efdc178840 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdc178840 } } } }
[2022-05-09T10:17:00Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:17:00Z 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: 0x55efdbe2e8c0 } }, data: MessageData { topic: "app/e95ee6b2-c256-42f8-b657-62a1d05d606f", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x55efdbe2e8c0 } } } }
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80045a0, 0x7f0ed8007a80
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007a80, 0x7f0ed8008880
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007a80, 0x7f0ed8004bc0
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004bc0, 0x7f0edc02eca0
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004bc0, 0x7f0ed8007a60
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007a60, 0x7f0ed8008880
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007a60, 0x7f0ed8009280
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8009280, 0x7f0ed8007a60
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007a60, 0x7f0ed8008880
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007a60, 0x7f0ed80079f0
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80079f0, 0x7f0ed8008880
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80079f0, 0x7f0ed8008880
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80079f0, 0x7f0edc02f6c0
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80079f0, 0x7f0ed8008880
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ed8009300
[2022-05-09T10:17:00Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/e95ee6b2-c256-42f8-b657-62a1d05d606f", content_type: Some("application/octet-stream"), user_properties: {"applicationuid": "c256697f-6676-426d-9a61-0474204e7527", "specversion": "1.0", "application": "e95ee6b2-c256-42f8-b657-62a1d05d606f", "partitionkey": "e95ee6b2%2Dc256%2D42f8%2Db657%2D62a1d05d606f/device1", "instance": "drogue", "deviceuid": "ea85cc93-dc5e-4217-aae0-54cff20de6c7", "subject": "telemetry", "type": "io.drogue.event.v1", "source": "drogue://e95ee6b2%2Dc256%2D42f8%2Db657%2D62a1d05d606f/device1", "time": "2022-05-09T10:17:00.083196537+00:00", "id": "5d116eb4-e88b-4dc1-8d13-61f193d4419f", "device": "device1", "sender": "gateway1", "senderuid": "d31a7cad-d2c8-4e62-b329-548bb76fd8ad"}, payload: "" }
[2022-05-09T10:17: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: 0x7f0edc028860, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x55efdbf61870 } }, data: MessageData { topic: "app/e95ee6b2-c256-42f8-b657-62a1d05d606f", 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: 0x55efdbf61870 } } } }
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80092c0, 0x7f0ed8007a10
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007a10, 0x7f0edc021a80
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007a10, 0x7f0ed8007a60
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007a60, 0x7f0edc00e240
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8007a60, 0x7f0ed8009280
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8009280, 0x7f0edc021a80
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8009280, 0x7f0ed80045a0
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80045a0, 0x7f0ed8009280
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8009280, 0x7f0edc00e2f0
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8009280, 0x7f0edc021a80
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8009280, 0x7f0edc021a80
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8009280, 0x7f0edc021a80
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8009280, 0x7f0ed80092e0
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80092e0, 0x7f0edc021a80
[2022-05-09T10:17:00Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ed80092e0
[2022-05-09T10:17:00Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/e95ee6b2-c256-42f8-b657-62a1d05d606f", content_type: Some("application/json"), user_properties: {"application": "e95ee6b2-c256-42f8-b657-62a1d05d606f", "senderuid": "d31a7cad-d2c8-4e62-b329-548bb76fd8ad", "subject": "connection", "specversion": "1.0", "sender": "gateway1", "applicationuid": "c256697f-6676-426d-9a61-0474204e7527", "deviceuid": "d31a7cad-d2c8-4e62-b329-548bb76fd8ad", "device": "gateway1", "source": "drogue://e95ee6b2%2Dc256%2D42f8%2Db657%2D62a1d05d606f/gateway1", "time": "2022-05-09T10:17:00.774505648+00:00", "type": "io.drogue.connection.v1", "instance": "drogue", "partitionkey": "e95ee6b2%2Dc256%2D42f8%2Db657%2D62a1d05d606f/gateway1", "id": "7706cd9c-7de7-4809-8f0e-08d0d5d98df6"}, payload: "{\"connected\":false}" }
[2022-05-09T10:17:00Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:17:00Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:17:00Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:17:00Z 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: "e95ee6b2-c256-42f8-b657-62a1d05d606f", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "e95ee6b2-c256-42f8-b657-62a1d05d606f", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:17:00Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:17:00Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "e95ee6b2-c256-42f8-b657-62a1d05d606f" "device1"
[2022-05-09T10:17:00Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:17:00Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:17:00Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "e95ee6b2-c256-42f8-b657-62a1d05d606f" "gateway1"
[2022-05-09T10:17:00Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:17:00Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'e95ee6b2-c256-42f8-b657-62a1d05d606f'
[2022-05-09T10:17:00Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "e95ee6b2-c256-42f8-b657-62a1d05d606f"
[2022-05-09T10:17:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App e95ee6b2-c256-42f8-b657-62a1d05d606f deleted.\n", stderr: "" })

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

Duration: 15s

Test output
-------------- TEST START --------------
[2022-05-09T10:17:02Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:17:02Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:17:02Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:17:02Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:17:02Z 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-09T10:17:04Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:17:05Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:17:05Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:17:05Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:17:05Z 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-09T10:17:07Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMyMjcsImlhdCI6MTY1MjA5MTQyNywianRpIjoiODY4MjI5OTQtYjMzZC00NGRiLTg0NTMtZDEwOWU1MTgyZDM0IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlhNX3lDSlBJTURTaFJqVF9YMjM3QkEiLCJzZXNzaW9uX3N0YXRlIjoiYmU4ZDFiYjktMGNhMS00YzA5LTg5ZjgtZDZjMjg3NjViNDRmIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImJlOGQxYmI5LTBjYTEtNGMwOS04OWY4LWQ2YzI4NzY1YjQ0ZiJ9.LSEfQoTbI0RV8_vlUYEpcwIZEwbzil6ECLzusVPbJF8
[2022-05-09T10:17:07Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:17:07Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:17:07Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMyMjcsImlhdCI6MTY1MjA5MTQyNywianRpIjoiODY4MjI5OTQtYjMzZC00NGRiLTg0NTMtZDEwOWU1MTgyZDM0IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlhNX3lDSlBJTURTaFJqVF9YMjM3QkEiLCJzZXNzaW9uX3N0YXRlIjoiYmU4ZDFiYjktMGNhMS00YzA5LTg5ZjgtZDZjMjg3NjViNDRmIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImJlOGQxYmI5LTBjYTEtNGMwOS04OWY4LWQ2YzI4NzY1YjQ0ZiJ9.LSEfQoTbI0RV8_vlUYEpcwIZEwbzil6ECLzusVPbJF8" "--context" "system-tests"
[2022-05-09T10:17:07Z 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-09T10:17:08Z INFO  drogue_cloud_tests::resources::apps] Create application: 2ec830d4-b899-4c01-9e5f-ae1e5f3a119f
[2022-05-09T10:17:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "2ec830d4-b899-4c01-9e5f-ae1e5f3a119f"
[2022-05-09T10:17:08Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 2ec830d4-b899-4c01-9e5f-ae1e5f3a119f created.\n", stderr: "" })
[2022-05-09T10:17:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "2ec830d4-b899-4c01-9e5f-ae1e5f3a119f"
[2022-05-09T10:17:08Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:17:08.194003Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"2ec830d4-b899-4c01-9e5f-ae1e5f3a119f\",\n    \"resourceVersion\": \"27a92b27-30e4-4b91-8b40-c9cb646256cd\",\n    \"uid\": \"33bc480d-4157-4f15-98c1-e5c5b20f5cc2\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:17:08.210813355Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:17:08.210927298Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:08.209899907Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:08.209901199Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:08.210019932Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:08.210020864Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:08.210022266Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:08.210036073Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:17:08Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:17:08.194003Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("2ec830d4-b899-4c01-9e5f-ae1e5f3a119f"), "resourceVersion": String("27a92b27-30e4-4b91-8b40-c9cb646256cd"), "uid": String("33bc480d-4157-4f15-98c1-e5c5b20f5cc2")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:17:08.210813355Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:17:08.210927298Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:17:08.209899907Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:17:08.209901199Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:17:08.210019932Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:17:08.210020864Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:17:08.210022266Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:17:08.210036073Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T10:17:08Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:17:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "2ec830d4-b899-4c01-9e5f-ae1e5f3a119f"
[2022-05-09T10:17:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:17:08.194003Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"2ec830d4-b899-4c01-9e5f-ae1e5f3a119f\",\n    \"resourceVersion\": \"52a08117-7444-4059-81c9-67d6b3359cd2\",\n    \"uid\": \"33bc480d-4157-4f15-98c1-e5c5b20f5cc2\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:17:08.502110135Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:17:08.502152675Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:08.234066096Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:08.241209751Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:08.302675491Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:08.317561101Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:08.502064730Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:08.502081682Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"NXCQqftMYnb3\",\n        \"username\": \"user-2ec830d4-b899-4c01-9e5f-ae1e5f3a119f\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:17:09Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:17:08.194003Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("2ec830d4-b899-4c01-9e5f-ae1e5f3a119f"), "resourceVersion": String("52a08117-7444-4059-81c9-67d6b3359cd2"), "uid": String("33bc480d-4157-4f15-98c1-e5c5b20f5cc2")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:17:08.502110135Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:17:08.502152675Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:17:08.234066096Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:17:08.241209751Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:17:08.302675491Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:17:08.317561101Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:17:08.502064730Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:17:08.502081682Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("NXCQqftMYnb3"), "username": String("user-2ec830d4-b899-4c01-9e5f-ae1e5f3a119f")})})})})
[2022-05-09T10:17:09Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:17:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "2ec830d4-b899-4c01-9e5f-ae1e5f3a119f"
[2022-05-09T10:17:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:17:08.194003Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"2ec830d4-b899-4c01-9e5f-ae1e5f3a119f\",\n    \"resourceVersion\": \"52a08117-7444-4059-81c9-67d6b3359cd2\",\n    \"uid\": \"33bc480d-4157-4f15-98c1-e5c5b20f5cc2\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:17:08.502110135Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:17:08.502152675Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:08.234066096Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:08.241209751Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:08.302675491Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:08.317561101Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:08.502064730Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:08.502081682Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"NXCQqftMYnb3\",\n        \"username\": \"user-2ec830d4-b899-4c01-9e5f-ae1e5f3a119f\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:17:09Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:17:08.194003Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("2ec830d4-b899-4c01-9e5f-ae1e5f3a119f"), "resourceVersion": String("52a08117-7444-4059-81c9-67d6b3359cd2"), "uid": String("33bc480d-4157-4f15-98c1-e5c5b20f5cc2")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:17:08.502110135Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:17:08.502152675Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:17:08.234066096Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:17:08.241209751Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:17:08.302675491Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:17:08.317561101Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:17:08.502064730Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:17:08.502081682Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("NXCQqftMYnb3"), "username": String("user-2ec830d4-b899-4c01-9e5f-ae1e5f3a119f")})})})})
[2022-05-09T10:17:09Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:17:09Z INFO  drogue_cloud_tests::resources::devices] Create device: gateway1
[2022-05-09T10:17:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "2ec830d4-b899-4c01-9e5f-ae1e5f3a119f" "gateway1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:17:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 created.\n", stderr: "" })
[2022-05-09T10:17:09Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:17:09Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:17:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:17:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE3MjcsImlhdCI6MTY1MjA5MTQyNywiYXV0aF90aW1lIjoxNjUyMDkxNDI0LCJqdGkiOiJhZGEwY2YzMy1jODZiLTRhMDQtYmYxNS1kOTFlOWMyYTJjMGIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJYTV95Q0pQSU1EU2hSalRfWDIzN0JBIiwic2Vzc2lvbl9zdGF0ZSI6ImJlOGQxYmI5LTBjYTEtNGMwOS04OWY4LWQ2YzI4NzY1YjQ0ZiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImJlOGQxYmI5LTBjYTEtNGMwOS04OWY4LWQ2YzI4NzY1YjQ0ZiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.KSRI5pqSfay-1b8VsZ6ZQhImzLjXPoD9KQaOpdNgP4ui89NSH_56eNxG2b0v52TfRsMYqVYwntUY-5i54v-C5vwlEYttpCd_UhBf_Ia8d-I9nrLRTWK24STp7vmLPepNpIflINSITyfYUIs5G1MtwVlpT09oDVq9CGKgejqEKw_0RitgY14RVIOU3KWgLtrKyJuEgj6WgnKKuI4YXFJU8rxvd87HPVMS2Rs25Kz5xVR5HAeIhoNlGsxPTubmmqYGEa0dCiuaRSRgqJ6nV9kuFBpzDptgJkwM95ImOdBdSm9jbJK490iKZS_ZqNQauBfArK2c209xsrhpjiGYA0WXOA\n", stderr: "" })
[2022-05-09T10:17:09Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:17:09Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:17:09Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:17:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "2ec830d4-b899-4c01-9e5f-ae1e5f3a119f" "device1" "--spec" "{\"gatewaySelector\":{\"matchNames\":[\"gateway1\"]}}"
[2022-05-09T10:17:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:17:09Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T10:17:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:17:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE3MjcsImlhdCI6MTY1MjA5MTQyNywiYXV0aF90aW1lIjoxNjUyMDkxNDI0LCJqdGkiOiJhZGEwY2YzMy1jODZiLTRhMDQtYmYxNS1kOTFlOWMyYTJjMGIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJYTV95Q0pQSU1EU2hSalRfWDIzN0JBIiwic2Vzc2lvbl9zdGF0ZSI6ImJlOGQxYmI5LTBjYTEtNGMwOS04OWY4LWQ2YzI4NzY1YjQ0ZiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImJlOGQxYmI5LTBjYTEtNGMwOS04OWY4LWQ2YzI4NzY1YjQ0ZiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.KSRI5pqSfay-1b8VsZ6ZQhImzLjXPoD9KQaOpdNgP4ui89NSH_56eNxG2b0v52TfRsMYqVYwntUY-5i54v-C5vwlEYttpCd_UhBf_Ia8d-I9nrLRTWK24STp7vmLPepNpIflINSITyfYUIs5G1MtwVlpT09oDVq9CGKgejqEKw_0RitgY14RVIOU3KWgLtrKyJuEgj6WgnKKuI4YXFJU8rxvd87HPVMS2Rs25Kz5xVR5HAeIhoNlGsxPTubmmqYGEa0dCiuaRSRgqJ6nV9kuFBpzDptgJkwM95ImOdBdSm9jbJK490iKZS_ZqNQauBfArK2c209xsrhpjiGYA0WXOA\n", stderr: "" })
[2022-05-09T10:17:09Z 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: "8ba8767c-7d4a-4cdd-b52c-0d6c1c247ad8", persistence: None, user_data: None }
[2022-05-09T10:17:09Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:17:09Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc179060
[2022-05-09T10:17:09Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc179060
[2022-05-09T10:17:09Z 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: 0x55efdc17a6c0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc37d570, 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: 0x55efdbdf0ba0, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE3MjcsImlhdCI6MTY1MjA5MTQyNywiYXV0aF90aW1lIjoxNjUyMDkxNDI0LCJqdGkiOiJhZGEwY2YzMy1jODZiLTRhMDQtYmYxNS1kOTFlOWMyYTJjMGIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJYTV95Q0pQSU1EU2hSalRfWDIzN0JBIiwic2Vzc2lvbl9zdGF0ZSI6ImJlOGQxYmI5LTBjYTEtNGMwOS04OWY4LWQ2YzI4NzY1YjQ0ZiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImJlOGQxYmI5LTBjYTEtNGMwOS04OWY4LWQ2YzI4NzY1YjQ0ZiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.KSRI5pqSfay-1b8VsZ6ZQhImzLjXPoD9KQaOpdNgP4ui89NSH_56eNxG2b0v52TfRsMYqVYwntUY-5i54v-C5vwlEYttpCd_UhBf_Ia8d-I9nrLRTWK24STp7vmLPepNpIflINSITyfYUIs5G1MtwVlpT09oDVq9CGKgejqEKw_0RitgY14RVIOU3KWgLtrKyJuEgj6WgnKKuI4YXFJU8rxvd87HPVMS2Rs25Kz5xVR5HAeIhoNlGsxPTubmmqYGEa0dCiuaRSRgqJ6nV9kuFBpzDptgJkwM95ImOdBdSm9jbJK490iKZS_ZqNQauBfArK2c209xsrhpjiGYA0WXOA"), 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-09T10:17:09Z DEBUG paho_mqtt::async_client] Subscribe to '"app/2ec830d4-b899-4c01-9e5f-ae1e5f3a119f"' @ QOS 0
[2022-05-09T10:17:09Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:17:09Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:17:09Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:17: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-09T10:17:09Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:17: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-09T10:17:10Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:17: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-09T10:17:10Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:17: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-09T10:17:11Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:17: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-09T10:17:11Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:17: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-09T10:17:12Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:17: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-09T10:17:12Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:17: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-09T10:17: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: 0x7f0edc00eb00, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x7f0ed002c900 } }, data: MessageData { topic: "app/2ec830d4-b899-4c01-9e5f-ae1e5f3a119f", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 574, array: 0x7f0ed002c900 } } } }
[2022-05-09T10:17:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbeef040, 0x7f0ee0006100
[2022-05-09T10:17:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006100, 0x55efdbef2a00
[2022-05-09T10:17:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006100, 0x55efdbed8dc0
[2022-05-09T10:17:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbed8dc0, 0x55efdc1982b0
[2022-05-09T10:17:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbed8dc0, 0x7f0ee0001ba0
[2022-05-09T10:17:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001ba0, 0x55efdbef2a00
[2022-05-09T10:17:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001ba0, 0x55efdbef2a00
[2022-05-09T10:17:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001ba0, 0x7f0ee0004e80
[2022-05-09T10:17:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001ba0, 0x7f0ee00062c0
[2022-05-09T10:17:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00062c0, 0x7f0ee0001ba0
[2022-05-09T10:17:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001ba0, 0x7f0ee00062c0
[2022-05-09T10:17:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00062c0, 0x55efdbef2a00
[2022-05-09T10:17:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00062c0, 0x55efdbef2a00
[2022-05-09T10:17:13Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00062c0, 0x55efdbef2a00
[2022-05-09T10:17:13Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee00062c0
[2022-05-09T10:17:13Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/2ec830d4-b899-4c01-9e5f-ae1e5f3a119f", content_type: Some("application/json"), user_properties: {"type": "io.drogue.event.v1", "specversion": "1.0", "subject": "warmup", "device": "device1", "sender": "gateway1", "time": "2022-05-09T10:17:12.650346013+00:00", "application": "2ec830d4-b899-4c01-9e5f-ae1e5f3a119f", "id": "c76a7c69-b335-42df-b3aa-631dc9ded2a7", "source": "drogue://2ec830d4%2Db899%2D4c01%2D9e5f%2Dae1e5f3a119f/device1", "applicationuid": "33bc480d-4157-4f15-98c1-e5c5b20f5cc2", "instance": "drogue", "deviceuid": "d821160e-32ee-4ba7-8a1d-af2fb8ce8fdc", "senderuid": "dc4fe82a-f8af-4095-b73c-a6dea427e046", "partitionkey": "2ec830d4%2Db899%2D4c01%2D9e5f%2Dae1e5f3a119f/device1"}, payload: "{\"index\":3}" }
[2022-05-09T10:17:13Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:17:13Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:17:13Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:17:13Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry/device1
[2022-05-09T10:17: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: "wss://mqtt-endpoint-ws.172.18.0.2.nip.io:30005/mqtt", client_id: "bfae9663-cae9-4a04-8816-8aa4e527f1d7", persistence: None, user_data: None }
[2022-05-09T10:17:13Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:17:13Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc07dcb0
[2022-05-09T10:17:13Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc07dcb0
[2022-05-09T10:17: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: 0x55efdbf77860, password: 0x55efdbeb25f0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc2dcd10, 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: 0x55efdbf214d0, 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@2ec830d4-b899-4c01-9e5f-ae1e5f3a119f"), 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-09T10:17: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: 0x7f0edc0022a0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x7f0ed0015320 } }, data: MessageData { topic: "app/2ec830d4-b899-4c01-9e5f-ae1e5f3a119f", 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: 0x7f0ed0015320 } } } }
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006ec0, 0x7f0ee00062e0
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00062e0, 0x7f0edc00eeb0
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00062e0, 0x7f0ee0006280
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006280, 0x7f0edc00ec30
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006280, 0x7f0ee00062c0
[2022-05-09T10:17: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: 0x55efdbfaa600 } }, data: MessageData { topic: "telemetry/device1", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdbfaa600 } } } }
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00062c0, 0x7f0edc00eeb0
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00062c0, 0x7f0ee0007cf0
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007cf0, 0x7f0edc022510
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007cf0, 0x7f0ee00062a0
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00062a0, 0x7f0edc00eeb0
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00062a0, 0x7f0edc00eeb0
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00062a0, 0x7f0edc00eeb0
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00062a0, 0x7f0ee0007e20
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007e20, 0x7f0edc00eeb0
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee0007e20
[2022-05-09T10:17:15Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/2ec830d4-b899-4c01-9e5f-ae1e5f3a119f", content_type: Some("application/json"), user_properties: {"id": "c880cf14-e5cf-46f5-b835-0ede686128a0", "time": "2022-05-09T10:17:14.109836009+00:00", "instance": "drogue", "type": "io.drogue.connection.v1", "application": "2ec830d4-b899-4c01-9e5f-ae1e5f3a119f", "senderuid": "dc4fe82a-f8af-4095-b73c-a6dea427e046", "deviceuid": "dc4fe82a-f8af-4095-b73c-a6dea427e046", "partitionkey": "2ec830d4%2Db899%2D4c01%2D9e5f%2Dae1e5f3a119f/gateway1", "specversion": "1.0", "device": "gateway1", "sender": "gateway1", "source": "drogue://2ec830d4%2Db899%2D4c01%2D9e5f%2Dae1e5f3a119f/gateway1", "subject": "connection", "applicationuid": "33bc480d-4157-4f15-98c1-e5c5b20f5cc2"}, payload: "{\"connected\":true}" }
[2022-05-09T10:17:15Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:17:15Z 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: 0x7f0edc026d40, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 586, array: 0x7f0ed0015f40 } }, data: MessageData { topic: "app/2ec830d4-b899-4c01-9e5f-ae1e5f3a119f", 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: 0x7f0ed0015f40 } } } }
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0edc00eb20, 0x7f0ee0005540
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005540, 0x7f0ee0005560
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005540, 0x7f0ee0006ec0
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006ec0, 0x7f0edc031880
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006ec0, 0x7f0ee0006f20
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006f20, 0x7f0ee0005560
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006f20, 0x7f0ee0005560
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006f20, 0x7f0ee0004410
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0004410, 0x7f0ee0005560
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0004410, 0x7f0ee0001ba0
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001ba0, 0x7f0edc031ba0
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0001ba0, 0x7f0ee00057a0
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00057a0, 0x7f0ee0005560
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00057a0, 0x7f0ee0005560
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee00057a0
[2022-05-09T10:17:15Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/2ec830d4-b899-4c01-9e5f-ae1e5f3a119f", content_type: Some("application/json"), user_properties: {"partitionkey": "2ec830d4%2Db899%2D4c01%2D9e5f%2Dae1e5f3a119f/gateway1", "applicationuid": "33bc480d-4157-4f15-98c1-e5c5b20f5cc2", "device": "gateway1", "time": "2022-05-09T10:17:15.210401414+00:00", "deviceuid": "dc4fe82a-f8af-4095-b73c-a6dea427e046", "source": "drogue://2ec830d4%2Db899%2D4c01%2D9e5f%2Dae1e5f3a119f/gateway1", "subject": "connection", "application": "2ec830d4-b899-4c01-9e5f-ae1e5f3a119f", "specversion": "1.0", "senderuid": "dc4fe82a-f8af-4095-b73c-a6dea427e046", "id": "101f569d-2b9a-4d9f-b4e9-645c5c8ba4bb", "type": "io.drogue.connection.v1", "instance": "drogue", "sender": "gateway1"}, payload: "{\"connected\":false}" }
[2022-05-09T10:17:15Z 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: 0x7f0ed00168d0 } }, data: MessageData { topic: "app/2ec830d4-b899-4c01-9e5f-ae1e5f3a119f", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 585, array: 0x7f0ed00168d0 } } } }
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006ec0, 0x7f0ee0007cf0
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007cf0, 0x7f0edc028030
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0007cf0, 0x7f0ee0004410
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0004410, 0x7f0edc00eab0
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0004410, 0x7f0ee00062c0
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00062c0, 0x7f0edc028030
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00062c0, 0x7f0ee0006280
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006280, 0x7f0edc028030
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006280, 0x7f0edc024960
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006280, 0x7f0ee00062a0
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00062a0, 0x7f0edc028030
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00062a0, 0x7f0ee0005540
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005540, 0x7f0edc028030
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0005540, 0x7f0edc028030
[2022-05-09T10:17:15Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee0007f00
[2022-05-09T10:17:15Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/2ec830d4-b899-4c01-9e5f-ae1e5f3a119f", content_type: Some("application/octet-stream"), user_properties: {"device": "device1", "applicationuid": "33bc480d-4157-4f15-98c1-e5c5b20f5cc2", "application": "2ec830d4-b899-4c01-9e5f-ae1e5f3a119f", "id": "7b2a0d6d-e3e2-45f6-8feb-de6d6678691b", "specversion": "1.0", "subject": "telemetry", "source": "drogue://2ec830d4%2Db899%2D4c01%2D9e5f%2Dae1e5f3a119f/device1", "deviceuid": "d821160e-32ee-4ba7-8a1d-af2fb8ce8fdc", "sender": "gateway1", "type": "io.drogue.event.v1", "partitionkey": "2ec830d4%2Db899%2D4c01%2D9e5f%2Dae1e5f3a119f/device1", "instance": "drogue", "time": "2022-05-09T10:17:15.209462108+00:00", "senderuid": "dc4fe82a-f8af-4095-b73c-a6dea427e046"}, payload: "" }
[2022-05-09T10:17:15Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:17:15Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:17:15Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:17:15Z 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: "2ec830d4-b899-4c01-9e5f-ae1e5f3a119f", device: "gateway1", sender: "gateway1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`,
 right: `CloudMessage { subject: "connection", type: "io.drogue.connection.v1", instance: "drogue", app: "2ec830d4-b899-4c01-9e5f-ae1e5f3a119f", device: "device1", sender: "device1", content_type: Some("application/json"), payload: [123, 34, 99, 111, 110, 110, 101, 99, 116, 101, 100, 34, 58, 116, 114, 117, 101, 125] }`: Position #0', src/tools/assert.rs:35:39
[2022-05-09T10:17:16Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:17:16Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "2ec830d4-b899-4c01-9e5f-ae1e5f3a119f" "device1"
[2022-05-09T10:17:16Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:17:16Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'gateway1'
[2022-05-09T10:17:16Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "2ec830d4-b899-4c01-9e5f-ae1e5f3a119f" "gateway1"
[2022-05-09T10:17:16Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device gateway1 deleted.\n", stderr: "" })
[2022-05-09T10:17:16Z INFO  drogue_cloud_tests::resources::apps] Destroy application '2ec830d4-b899-4c01-9e5f-ae1e5f3a119f'
[2022-05-09T10:17:16Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "2ec830d4-b899-4c01-9e5f-ae1e5f3a119f"
[2022-05-09T10:17:16Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 2ec830d4-b899-4c01-9e5f-ae1e5f3a119f deleted.\n", stderr: "" })

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

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T10:17:18Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:17:18Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:17:18Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:17:18Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:17: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-09T10:17:19Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:17:20Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:17:20Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:17:20Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:17: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-09T10:17:22Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMyNDIsImlhdCI6MTY1MjA5MTQ0MiwianRpIjoiMDM2ZmMyNTQtMzY0NC00ZmUyLThlZGQtMTBlYmZhM2RjZTA2IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjhhMlo5YmYybGxUcmJCTG1OLWxuZVEiLCJzZXNzaW9uX3N0YXRlIjoiNzE4Mzk4YWUtZDJkMi00MDc2LWJkOWEtZDFjNjE1ZjAxNTRlIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjcxODM5OGFlLWQyZDItNDA3Ni1iZDlhLWQxYzYxNWYwMTU0ZSJ9.JTuELu026KfAYKNFc4BvqFW8kUQamJ8ysH46k9S24v0
[2022-05-09T10:17:22Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:17:22Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:17:22Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMyNDIsImlhdCI6MTY1MjA5MTQ0MiwianRpIjoiMDM2ZmMyNTQtMzY0NC00ZmUyLThlZGQtMTBlYmZhM2RjZTA2IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjhhMlo5YmYybGxUcmJCTG1OLWxuZVEiLCJzZXNzaW9uX3N0YXRlIjoiNzE4Mzk4YWUtZDJkMi00MDc2LWJkOWEtZDFjNjE1ZjAxNTRlIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjcxODM5OGFlLWQyZDItNDA3Ni1iZDlhLWQxYzYxNWYwMTU0ZSJ9.JTuELu026KfAYKNFc4BvqFW8kUQamJ8ysH46k9S24v0" "--context" "system-tests"
[2022-05-09T10:17: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-09T10:17:23Z INFO  drogue_cloud_tests::resources::apps] Create application: 62aabf27-3ca4-4787-93c6-c535dab395a9
[2022-05-09T10:17:23Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "62aabf27-3ca4-4787-93c6-c535dab395a9"
[2022-05-09T10:17:23Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 62aabf27-3ca4-4787-93c6-c535dab395a9 created.\n", stderr: "" })
[2022-05-09T10:17:23Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "62aabf27-3ca4-4787-93c6-c535dab395a9"
[2022-05-09T10:17:23Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:17:23.294526Z\",\n    \"generation\": 1,\n    \"name\": \"62aabf27-3ca4-4787-93c6-c535dab395a9\",\n    \"resourceVersion\": \"83648ee6-f0af-42ee-9989-8cfaa14f338c\",\n    \"uid\": \"6a2f9d22-e5ae-4562-a554-2f830f7426fe\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:17:23.310373211Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2022-05-09T10:17:23Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:17:23.294526Z"), "generation": Number(1), "name": String("62aabf27-3ca4-4787-93c6-c535dab395a9"), "resourceVersion": String("83648ee6-f0af-42ee-9989-8cfaa14f338c"), "uid": String("6a2f9d22-e5ae-4562-a554-2f830f7426fe")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:17:23.310373211Z"), "status": String("True"), "type": String("Ready")})])})})
[2022-05-09T10:17:23Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:17:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "62aabf27-3ca4-4787-93c6-c535dab395a9"
[2022-05-09T10:17:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:17:23.294526Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"62aabf27-3ca4-4787-93c6-c535dab395a9\",\n    \"resourceVersion\": \"e27802d2-b9e6-4e88-b7fe-3d54e4d76798\",\n    \"uid\": \"6a2f9d22-e5ae-4562-a554-2f830f7426fe\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:17:23.662521567Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:17:23.662365364Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:23.346206482Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:23.353850452Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:23.436531946Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:23.442963460Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:23.662321192Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:23.662338975Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"QgOoiKPTTNNZ\",\n        \"username\": \"user-62aabf27-3ca4-4787-93c6-c535dab395a9\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:17:24Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:17:23.294526Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("62aabf27-3ca4-4787-93c6-c535dab395a9"), "resourceVersion": String("e27802d2-b9e6-4e88-b7fe-3d54e4d76798"), "uid": String("6a2f9d22-e5ae-4562-a554-2f830f7426fe")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:17:23.662521567Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:17:23.662365364Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:17:23.346206482Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:17:23.353850452Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:17:23.436531946Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:17:23.442963460Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:17:23.662321192Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:17:23.662338975Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("QgOoiKPTTNNZ"), "username": String("user-62aabf27-3ca4-4787-93c6-c535dab395a9")})})})})
[2022-05-09T10:17:24Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:17:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "62aabf27-3ca4-4787-93c6-c535dab395a9"
[2022-05-09T10:17:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:17:23.294526Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"62aabf27-3ca4-4787-93c6-c535dab395a9\",\n    \"resourceVersion\": \"e27802d2-b9e6-4e88-b7fe-3d54e4d76798\",\n    \"uid\": \"6a2f9d22-e5ae-4562-a554-2f830f7426fe\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:17:23.662521567Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:17:23.662365364Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:23.346206482Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:23.353850452Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:23.436531946Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:23.442963460Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:23.662321192Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:23.662338975Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"QgOoiKPTTNNZ\",\n        \"username\": \"user-62aabf27-3ca4-4787-93c6-c535dab395a9\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:17:24Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:17:23.294526Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("62aabf27-3ca4-4787-93c6-c535dab395a9"), "resourceVersion": String("e27802d2-b9e6-4e88-b7fe-3d54e4d76798"), "uid": String("6a2f9d22-e5ae-4562-a554-2f830f7426fe")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:17:23.662521567Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:17:23.662365364Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:17:23.346206482Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:17:23.353850452Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:17:23.436531946Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:17:23.442963460Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:17:23.662321192Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:17:23.662338975Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("QgOoiKPTTNNZ"), "username": String("user-62aabf27-3ca4-4787-93c6-c535dab395a9")})})})})
[2022-05-09T10:17:24Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:17:24Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:17:24Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:17:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:17:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE3NDIsImlhdCI6MTY1MjA5MTQ0MiwiYXV0aF90aW1lIjoxNjUyMDkxNDM5LCJqdGkiOiJlMGYzZWM3ZC1mYTUwLTQ5NWMtODg3MS0zYmM2OWM3YTdlZTUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI4YTJaOWJmMmxsVHJiQkxtTi1sbmVRIiwic2Vzc2lvbl9zdGF0ZSI6IjcxODM5OGFlLWQyZDItNDA3Ni1iZDlhLWQxYzYxNWYwMTU0ZSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjcxODM5OGFlLWQyZDItNDA3Ni1iZDlhLWQxYzYxNWYwMTU0ZSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.UHKaMtFDDZio81UGoaAqUqZHEk9aqD2_9nxzFGVCDdnldXlZIANdJk51JzfnMjhjBWPu7YZ00ce8aJNrlsu4VI_zx7ncLR5B990bDz5D8_FqtZiBCa69x0GBEqMiuMGnof_0O-u0217YeIlk3J9M0C8_xu0mrT6XvCo7kmhAHs5jpkDlG5LV1pIwL-4LHIPZ_R8K9vObysj9473A79dtNr8QjerJj3p9tr1SggVhNtHRLLtS2-JOB9zArMPkwU9F4E_i58zwfIBihh2H0XDNaPAj5s7Ae-UwysIxbITOLedBoY3pRpjXU3b-6fcxEmgk-0FQwpYq-rfkNcVZSKfC0g\n", stderr: "" })
[2022-05-09T10:17:24Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:17:24Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:17:24Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:17:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "62aabf27-3ca4-4787-93c6-c535dab395a9" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:17:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:17:24Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T10:17:24Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:17:24Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE3NDIsImlhdCI6MTY1MjA5MTQ0MiwiYXV0aF90aW1lIjoxNjUyMDkxNDM5LCJqdGkiOiJlMGYzZWM3ZC1mYTUwLTQ5NWMtODg3MS0zYmM2OWM3YTdlZTUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI4YTJaOWJmMmxsVHJiQkxtTi1sbmVRIiwic2Vzc2lvbl9zdGF0ZSI6IjcxODM5OGFlLWQyZDItNDA3Ni1iZDlhLWQxYzYxNWYwMTU0ZSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjcxODM5OGFlLWQyZDItNDA3Ni1iZDlhLWQxYzYxNWYwMTU0ZSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.UHKaMtFDDZio81UGoaAqUqZHEk9aqD2_9nxzFGVCDdnldXlZIANdJk51JzfnMjhjBWPu7YZ00ce8aJNrlsu4VI_zx7ncLR5B990bDz5D8_FqtZiBCa69x0GBEqMiuMGnof_0O-u0217YeIlk3J9M0C8_xu0mrT6XvCo7kmhAHs5jpkDlG5LV1pIwL-4LHIPZ_R8K9vObysj9473A79dtNr8QjerJj3p9tr1SggVhNtHRLLtS2-JOB9zArMPkwU9F4E_i58zwfIBihh2H0XDNaPAj5s7Ae-UwysIxbITOLedBoY3pRpjXU3b-6fcxEmgk-0FQwpYq-rfkNcVZSKfC0g\n", stderr: "" })
[2022-05-09T10:17: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: "a4c40ee7-ac21-4c2f-852e-9f2fcb5bc3c9", persistence: None, user_data: None }
[2022-05-09T10:17:24Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:17:24Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc341e50
[2022-05-09T10:17:24Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc341e50
[2022-05-09T10:17: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: 0x55efdbf2a8c0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbe628c0, 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: 0x55efdbfba2e0, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE3NDIsImlhdCI6MTY1MjA5MTQ0MiwiYXV0aF90aW1lIjoxNjUyMDkxNDM5LCJqdGkiOiJlMGYzZWM3ZC1mYTUwLTQ5NWMtODg3MS0zYmM2OWM3YTdlZTUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI4YTJaOWJmMmxsVHJiQkxtTi1sbmVRIiwic2Vzc2lvbl9zdGF0ZSI6IjcxODM5OGFlLWQyZDItNDA3Ni1iZDlhLWQxYzYxNWYwMTU0ZSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjcxODM5OGFlLWQyZDItNDA3Ni1iZDlhLWQxYzYxNWYwMTU0ZSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.UHKaMtFDDZio81UGoaAqUqZHEk9aqD2_9nxzFGVCDdnldXlZIANdJk51JzfnMjhjBWPu7YZ00ce8aJNrlsu4VI_zx7ncLR5B990bDz5D8_FqtZiBCa69x0GBEqMiuMGnof_0O-u0217YeIlk3J9M0C8_xu0mrT6XvCo7kmhAHs5jpkDlG5LV1pIwL-4LHIPZ_R8K9vObysj9473A79dtNr8QjerJj3p9tr1SggVhNtHRLLtS2-JOB9zArMPkwU9F4E_i58zwfIBihh2H0XDNaPAj5s7Ae-UwysIxbITOLedBoY3pRpjXU3b-6fcxEmgk-0FQwpYq-rfkNcVZSKfC0g"), 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-09T10:17:24Z DEBUG paho_mqtt::async_client] Subscribe to '"app/62aabf27-3ca4-4787-93c6-c535dab395a9"' @ QOS 0
[2022-05-09T10:17:24Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:17:24Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:17:24Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:17:24Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T10:17:24Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:17:24Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T10:17:25Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:17:25Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T10:17:25Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:17:25Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T10:17:26Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:17:26Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T10:17:26Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:17:26Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T10:17:27Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:17:27Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T10:17:27Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:17:27Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T10:17: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: 0x7f0ed002b630, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/62aabf27-3ca4-4787-93c6-c535dab395a9", 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, 56, 51, 101, 50, 51, 49, 51, 45, 50, 101, 98, 56, 45, 52, 102, 54, 52, 45, 97, 53, 49, 101, 45, 49, 55, 101, 101, 49, 99, 53, 102, 48, 98, 53, 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, 50, 97, 97, 98, 102, 50, 55, 37, 50, 68, 51, 99, 97, 52, 37, 50, 68, 52, 55, 56, 55, 37, 50, 68, 57, 51, 99, 54, 37, 50, 68, 99, 53, 51, 53, 100, 97, 98, 51, 57, 53, 97, 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, 48, 58, 49, 55, 58, 50, 55, 46, 54, 54, 53, 50, 50, 52, 50, 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, 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, 50, 97, 97, 98, 102, 50, 55, 45, 51, 99, 97, 52, 45, 52, 55, 56, 55, 45, 57, 51, 99, 54, 45, 99, 53, 51, 53, 100, 97, 98, 51, 57, 53, 97, 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, 117, 105, 100, 34, 58, 34, 57, 101, 99, 50, 50, 97, 48, 54, 45, 55, 50, 53, 54, 45, 52, 97, 99, 55, 45, 57, 98, 102, 101, 45, 102, 54, 102, 101, 50, 101, 55, 99, 52, 101, 55, 52, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 54, 97, 50, 102, 57, 100, 50, 50, 45, 101, 53, 97, 101, 45, 52, 53, 54, 50, 45, 97, 53, 53, 52, 45, 50, 102, 56, 51, 48, 102, 55, 52, 50, 54, 102, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 57, 101, 99, 50, 50, 97, 48, 54, 45, 55, 50, 53, 54, 45, 52, 97, 99, 55, 45, 57, 98, 102, 101, 45, 102, 54, 102, 101, 50, 101, 55, 99, 52, 101, 55, 52, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 54, 50, 97, 97, 98, 102, 50, 55, 37, 50, 68, 51, 99, 97, 52, 37, 50, 68, 52, 55, 56, 55, 37, 50, 68, 57, 51, 99, 54, 37, 50, 68, 99, 53, 51, 53, 100, 97, 98, 51, 57, 53, 97, 57, 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, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:17:28Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/62aabf27-3ca4-4787-93c6-c535dab395a9", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"283e2313-2eb8-4f64-a51e-17ee1c5f0b5c\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://62aabf27%2D3ca4%2D4787%2D93c6%2Dc535dab395a9/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:17:27.665224244Z\",\"data\":{\"index\":3},\"sender\":\"device1\",\"application\":\"62aabf27-3ca4-4787-93c6-c535dab395a9\",\"instance\":\"drogue\",\"deviceuid\":\"9ec22a06-7256-4ac7-9bfe-f6fe2e7c4e74\",\"applicationuid\":\"6a2f9d22-e5ae-4562-a554-2f830f7426fe\",\"senderuid\":\"9ec22a06-7256-4ac7-9bfe-f6fe2e7c4e74\",\"partitionkey\":\"62aabf27%2D3ca4%2D4787%2D93c6%2Dc535dab395a9/device1\",\"device\":\"device1\"}" }
[2022-05-09T10:17:28Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:17:28Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:17:28Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:17:28Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry
[2022-05-09T10:17: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: "f865f3cf-b9dc-4584-b2a7-a24f148d53b8", persistence: None, user_data: None }
[2022-05-09T10:17:28Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:17:28Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbe708a0
[2022-05-09T10:17:28Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbe708a0
[2022-05-09T10:17: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: 0x55efdc1a1140, password: 0x55efdc2afb60, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbff65b0, 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: 0x55efdbff6800, 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@62aabf27-3ca4-4787-93c6-c535dab395a9"), 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-09T10:17:30Z 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: 0x7f0ed00207e0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/62aabf27-3ca4-4787-93c6-c535dab395a9", 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, 54, 49, 102, 99, 53, 97, 55, 45, 101, 56, 50, 48, 45, 52, 55, 97, 54, 45, 57, 97, 56, 100, 45, 54, 49, 50, 53, 52, 98, 57, 48, 54, 99, 99, 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, 50, 97, 97, 98, 102, 50, 55, 37, 50, 68, 51, 99, 97, 52, 37, 50, 68, 52, 55, 56, 55, 37, 50, 68, 57, 51, 99, 54, 37, 50, 68, 99, 53, 51, 53, 100, 97, 98, 51, 57, 53, 97, 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, 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, 48, 58, 49, 55, 58, 50, 57, 46, 49, 55, 50, 54, 48, 55, 57, 57, 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, 34, 58, 34, 54, 50, 97, 97, 98, 102, 50, 55, 45, 51, 99, 97, 52, 45, 52, 55, 56, 55, 45, 57, 51, 99, 54, 45, 99, 53, 51, 53, 100, 97, 98, 51, 57, 53, 97, 57, 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, 57, 101, 99, 50, 50, 97, 48, 54, 45, 55, 50, 53, 54, 45, 52, 97, 99, 55, 45, 57, 98, 102, 101, 45, 102, 54, 102, 101, 50, 101, 55, 99, 52, 101, 55, 52, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 54, 97, 50, 102, 57, 100, 50, 50, 45, 101, 53, 97, 101, 45, 52, 53, 54, 50, 45, 97, 53, 53, 52, 45, 50, 102, 56, 51, 48, 102, 55, 52, 50, 54, 102, 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, 57, 101, 99, 50, 50, 97, 48, 54, 45, 55, 50, 53, 54, 45, 52, 97, 99, 55, 45, 57, 98, 102, 101, 45, 102, 54, 102, 101, 50, 101, 55, 99, 52, 101, 55, 52, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 54, 50, 97, 97, 98, 102, 50, 55, 37, 50, 68, 51, 99, 97, 52, 37, 50, 68, 52, 55, 56, 55, 37, 50, 68, 57, 51, 99, 54, 37, 50, 68, 99, 53, 51, 53, 100, 97, 98, 51, 57, 53, 97, 57, 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, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:17: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: 0x55efdbec7110 } }, data: MessageData { topic: "telemetry", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdbec7110 } } } }
[2022-05-09T10:17:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/62aabf27-3ca4-4787-93c6-c535dab395a9", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"661fc5a7-e820-47a6-9a8d-61254b906ccd\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://62aabf27%2D3ca4%2D4787%2D93c6%2Dc535dab395a9/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:17:29.172607990Z\",\"data\":{\"connected\":true},\"application\":\"62aabf27-3ca4-4787-93c6-c535dab395a9\",\"sender\":\"device1\",\"deviceuid\":\"9ec22a06-7256-4ac7-9bfe-f6fe2e7c4e74\",\"applicationuid\":\"6a2f9d22-e5ae-4562-a554-2f830f7426fe\",\"instance\":\"drogue\",\"senderuid\":\"9ec22a06-7256-4ac7-9bfe-f6fe2e7c4e74\",\"partitionkey\":\"62aabf27%2D3ca4%2D4787%2D93c6%2Dc535dab395a9/device1\",\"device\":\"device1\"}" }
[2022-05-09T10:17:30Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:17:30Z 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: 0x7f0ed0000ce0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/62aabf27-3ca4-4787-93c6-c535dab395a9", 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, 52, 50, 55, 48, 48, 54, 54, 45, 101, 51, 102, 57, 45, 52, 57, 57, 50, 45, 57, 53, 55, 48, 45, 51, 101, 98, 57, 101, 101, 57, 52, 49, 100, 56, 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, 54, 50, 97, 97, 98, 102, 50, 55, 37, 50, 68, 51, 99, 97, 52, 37, 50, 68, 52, 55, 56, 55, 37, 50, 68, 57, 51, 99, 54, 37, 50, 68, 99, 53, 51, 53, 100, 97, 98, 51, 57, 53, 97, 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, 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, 48, 58, 49, 55, 58, 51, 48, 46, 49, 48, 56, 54, 52, 57, 49, 56, 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, 54, 50, 97, 97, 98, 102, 50, 55, 45, 51, 99, 97, 52, 45, 52, 55, 56, 55, 45, 57, 51, 99, 54, 45, 99, 53, 51, 53, 100, 97, 98, 51, 57, 53, 97, 57, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 54, 97, 50, 102, 57, 100, 50, 50, 45, 101, 53, 97, 101, 45, 52, 53, 54, 50, 45, 97, 53, 53, 52, 45, 50, 102, 56, 51, 48, 102, 55, 52, 50, 54, 102, 101, 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, 101, 99, 50, 50, 97, 48, 54, 45, 55, 50, 53, 54, 45, 52, 97, 99, 55, 45, 57, 98, 102, 101, 45, 102, 54, 102, 101, 50, 101, 55, 99, 52, 101, 55, 52, 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, 57, 101, 99, 50, 50, 97, 48, 54, 45, 55, 50, 53, 54, 45, 52, 97, 99, 55, 45, 57, 98, 102, 101, 45, 102, 54, 102, 101, 50, 101, 55, 99, 52, 101, 55, 52, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 54, 50, 97, 97, 98, 102, 50, 55, 37, 50, 68, 51, 99, 97, 52, 37, 50, 68, 52, 55, 56, 55, 37, 50, 68, 57, 51, 99, 54, 37, 50, 68, 99, 53, 51, 53, 100, 97, 98, 51, 57, 53, 97, 57, 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, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:17:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/62aabf27-3ca4-4787-93c6-c535dab395a9", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"74270066-e3f9-4992-9570-3eb9ee941d8c\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://62aabf27%2D3ca4%2D4787%2D93c6%2Dc535dab395a9/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:17:30.108649184Z\",\"data\":{\"connected\":false},\"application\":\"62aabf27-3ca4-4787-93c6-c535dab395a9\",\"applicationuid\":\"6a2f9d22-e5ae-4562-a554-2f830f7426fe\",\"instance\":\"drogue\",\"deviceuid\":\"9ec22a06-7256-4ac7-9bfe-f6fe2e7c4e74\",\"device\":\"device1\",\"senderuid\":\"9ec22a06-7256-4ac7-9bfe-f6fe2e7c4e74\",\"partitionkey\":\"62aabf27%2D3ca4%2D4787%2D93c6%2Dc535dab395a9/device1\",\"sender\":\"device1\"}" }
[2022-05-09T10:17:30Z 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: 0x7f0ed001d660, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/62aabf27-3ca4-4787-93c6-c535dab395a9", 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, 57, 56, 99, 51, 98, 52, 45, 101, 48, 99, 49, 45, 52, 100, 53, 102, 45, 56, 48, 57, 101, 45, 57, 101, 99, 51, 51, 53, 51, 54, 54, 55, 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, 54, 50, 97, 97, 98, 102, 50, 55, 37, 50, 68, 51, 99, 97, 52, 37, 50, 68, 52, 55, 56, 55, 37, 50, 68, 57, 51, 99, 54, 37, 50, 68, 99, 53, 51, 53, 100, 97, 98, 51, 57, 53, 97, 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, 48, 58, 49, 55, 58, 51, 48, 46, 49, 48, 52, 57, 51, 48, 57, 55, 50, 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, 57, 101, 99, 50, 50, 97, 48, 54, 45, 55, 50, 53, 54, 45, 52, 97, 99, 55, 45, 57, 98, 102, 101, 45, 102, 54, 102, 101, 50, 101, 55, 99, 52, 101, 55, 52, 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, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 57, 101, 99, 50, 50, 97, 48, 54, 45, 55, 50, 53, 54, 45, 52, 97, 99, 55, 45, 57, 98, 102, 101, 45, 102, 54, 102, 101, 50, 101, 55, 99, 52, 101, 55, 52, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 54, 50, 97, 97, 98, 102, 50, 55, 37, 50, 68, 51, 99, 97, 52, 37, 50, 68, 52, 55, 56, 55, 37, 50, 68, 57, 51, 99, 54, 37, 50, 68, 99, 53, 51, 53, 100, 97, 98, 51, 57, 53, 97, 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, 54, 97, 50, 102, 57, 100, 50, 50, 45, 101, 53, 97, 101, 45, 52, 53, 54, 50, 45, 97, 53, 53, 52, 45, 50, 102, 56, 51, 48, 102, 55, 52, 50, 54, 102, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 54, 50, 97, 97, 98, 102, 50, 55, 45, 51, 99, 97, 52, 45, 52, 55, 56, 55, 45, 57, 51, 99, 54, 45, 99, 53, 51, 53, 100, 97, 98, 51, 57, 53, 97, 57, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:17:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/62aabf27-3ca4-4787-93c6-c535dab395a9", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"2e98c3b4-e0c1-4d5f-809e-9ec33536677d\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://62aabf27%2D3ca4%2D4787%2D93c6%2Dc535dab395a9/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:17:30.104930972Z\",\"data_base64\":\"\",\"deviceuid\":\"9ec22a06-7256-4ac7-9bfe-f6fe2e7c4e74\",\"device\":\"device1\",\"instance\":\"drogue\",\"sender\":\"device1\",\"senderuid\":\"9ec22a06-7256-4ac7-9bfe-f6fe2e7c4e74\",\"partitionkey\":\"62aabf27%2D3ca4%2D4787%2D93c6%2Dc535dab395a9/device1\",\"applicationuid\":\"6a2f9d22-e5ae-4562-a554-2f830f7426fe\",\"application\":\"62aabf27-3ca4-4787-93c6-c535dab395a9\"}" }
[2022-05-09T10:17:30Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:17:30Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:17:30Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:17: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: "62aabf27-3ca4-4787-93c6-c535dab395a9", 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: "62aabf27-3ca4-4787-93c6-c535dab395a9", device: "device1", sender: "device1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T10:17:30Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:17:30Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "62aabf27-3ca4-4787-93c6-c535dab395a9" "device1"
[2022-05-09T10:17:30Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:17:30Z INFO  drogue_cloud_tests::resources::apps] Destroy application '62aabf27-3ca4-4787-93c6-c535dab395a9'
[2022-05-09T10:17:30Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "62aabf27-3ca4-4787-93c6-c535dab395a9"
[2022-05-09T10:17:30Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 62aabf27-3ca4-4787-93c6-c535dab395a9 deleted.\n", stderr: "" })

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

Duration: 13s

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

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T10:17:46Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:17:46Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:17:46Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:17:46Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:17: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-09T10:17:48Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:17:49Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:17:49Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:17:49Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:17: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-09T10:17:51Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMyNzEsImlhdCI6MTY1MjA5MTQ3MSwianRpIjoiMDFmNWE1NGEtMmY5ZC00OTBhLTkwZmYtYTgwNTE1MGYyZWJhIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImRCWVlLTHltVThxNFY3aExEb2NDSHciLCJzZXNzaW9uX3N0YXRlIjoiZmNiNmRlMTItOWVhYi00NzE4LTg3NTctNmM1NTliNzVmZjgzIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImZjYjZkZTEyLTllYWItNDcxOC04NzU3LTZjNTU5Yjc1ZmY4MyJ9.GwEDpkEiiRWKu3igB_aU30luyLPlNoGMkU4WTdws21U
[2022-05-09T10:17:51Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:17:51Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:17:51Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTMyNzEsImlhdCI6MTY1MjA5MTQ3MSwianRpIjoiMDFmNWE1NGEtMmY5ZC00OTBhLTkwZmYtYTgwNTE1MGYyZWJhIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6ImRCWVlLTHltVThxNFY3aExEb2NDSHciLCJzZXNzaW9uX3N0YXRlIjoiZmNiNmRlMTItOWVhYi00NzE4LTg3NTctNmM1NTliNzVmZjgzIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImZjYjZkZTEyLTllYWItNDcxOC04NzU3LTZjNTU5Yjc1ZmY4MyJ9.GwEDpkEiiRWKu3igB_aU30luyLPlNoGMkU4WTdws21U" "--context" "system-tests"
[2022-05-09T10:17: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-09T10:17:52Z INFO  drogue_cloud_tests::resources::apps] Create application: 03b5929f-6e6a-4633-a408-d475747cf2a4
[2022-05-09T10:17:52Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "03b5929f-6e6a-4633-a408-d475747cf2a4"
[2022-05-09T10:17:52Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 03b5929f-6e6a-4633-a408-d475747cf2a4 created.\n", stderr: "" })
[2022-05-09T10:17:52Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "03b5929f-6e6a-4633-a408-d475747cf2a4"
[2022-05-09T10:17:52Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:17:52.163475Z\",\n    \"generation\": 1,\n    \"name\": \"03b5929f-6e6a-4633-a408-d475747cf2a4\",\n    \"resourceVersion\": \"e8b4b82a-0237-4315-ba41-99d50c2fad15\",\n    \"uid\": \"44cbbceb-8a91-4ab0-a554-1b01011d3a32\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:17:52.174311533Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ]\n  }\n}\n", stderr: "" })
[2022-05-09T10:17:52Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:17:52.163475Z"), "generation": Number(1), "name": String("03b5929f-6e6a-4633-a408-d475747cf2a4"), "resourceVersion": String("e8b4b82a-0237-4315-ba41-99d50c2fad15"), "uid": String("44cbbceb-8a91-4ab0-a554-1b01011d3a32")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:17:52.174311533Z"), "status": String("True"), "type": String("Ready")})])})})
[2022-05-09T10:17:52Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:17:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "03b5929f-6e6a-4633-a408-d475747cf2a4"
[2022-05-09T10:17:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:17:52.163475Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"03b5929f-6e6a-4633-a408-d475747cf2a4\",\n    \"resourceVersion\": \"5482c294-58d8-4ff2-8f31-097d4f0206df\",\n    \"uid\": \"44cbbceb-8a91-4ab0-a554-1b01011d3a32\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:17:52.531955037Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:17:52.531905505Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:52.212569448Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:52.220127557Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:52.294760345Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:52.302536673Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:52.530840023Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:52.531867855Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"TunNa5JpVJLO\",\n        \"username\": \"user-03b5929f-6e6a-4633-a408-d475747cf2a4\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:17:53Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:17:52.163475Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("03b5929f-6e6a-4633-a408-d475747cf2a4"), "resourceVersion": String("5482c294-58d8-4ff2-8f31-097d4f0206df"), "uid": String("44cbbceb-8a91-4ab0-a554-1b01011d3a32")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:17:52.531955037Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:17:52.531905505Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:17:52.212569448Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:17:52.220127557Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:17:52.294760345Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:17:52.302536673Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:17:52.530840023Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:17:52.531867855Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("TunNa5JpVJLO"), "username": String("user-03b5929f-6e6a-4633-a408-d475747cf2a4")})})})})
[2022-05-09T10:17:53Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:17:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "03b5929f-6e6a-4633-a408-d475747cf2a4"
[2022-05-09T10:17:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:17:52.163475Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 9,\n    \"name\": \"03b5929f-6e6a-4633-a408-d475747cf2a4\",\n    \"resourceVersion\": \"5482c294-58d8-4ff2-8f31-097d4f0206df\",\n    \"uid\": \"44cbbceb-8a91-4ab0-a554-1b01011d3a32\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:17:52.531955037Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:17:52.531905505Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:52.212569448Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:52.220127557Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:52.294760345Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:52.302536673Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:52.530840023Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:17:52.531867855Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 8,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"TunNa5JpVJLO\",\n        \"username\": \"user-03b5929f-6e6a-4633-a408-d475747cf2a4\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:17:53Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:17:52.163475Z"), "finalizers": Array([String("kafka")]), "generation": Number(9), "name": String("03b5929f-6e6a-4633-a408-d475747cf2a4"), "resourceVersion": String("5482c294-58d8-4ff2-8f31-097d4f0206df"), "uid": String("44cbbceb-8a91-4ab0-a554-1b01011d3a32")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:17:52.531955037Z"), "status": String("True"), "type": String("Ready")}), Object({"lastTransitionTime": String("2022-05-09T10:17:52.531905505Z"), "status": String("True"), "type": String("KafkaReady")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:17:52.212569448Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:17:52.220127557Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:17:52.294760345Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:17:52.302536673Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:17:52.530840023Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:17:52.531867855Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(8), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("TunNa5JpVJLO"), "username": String("user-03b5929f-6e6a-4633-a408-d475747cf2a4")})})})})
[2022-05-09T10:17:53Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:17:53Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:17:53Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:17:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:17:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE3NzEsImlhdCI6MTY1MjA5MTQ3MSwiYXV0aF90aW1lIjoxNjUyMDkxNDY4LCJqdGkiOiI5MGExMDQyNy1kY2IyLTQ0YWUtOGNjOS1kNTE3NDRkMTRmMzIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJkQllZS0x5bVU4cTRWN2hMRG9jQ0h3Iiwic2Vzc2lvbl9zdGF0ZSI6ImZjYjZkZTEyLTllYWItNDcxOC04NzU3LTZjNTU5Yjc1ZmY4MyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImZjYjZkZTEyLTllYWItNDcxOC04NzU3LTZjNTU5Yjc1ZmY4MyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.tbBVsAK9kZ2rGjIiWoVBfzXfjpcQupha7tppP7r72PvIRUtWKWQCnQmX49f_5cl9aD6gtwFy6fId4t0vbJNbmLHZet6xup0B-ZtSVQY-LiEocmZk3Pm91tAsgUbICZ6TE48BTD7EexkqPWXzkUNY9H-AJyJldCTeRPySZSldPYr3gGA2y1Im5GaFXPeaWVNrDFGWlVHT0ogqxUA04WJszGNOXfTe3Kiit9rKk0jqHRv8RVU59UQPp4sbg-nwVnKn9LbTCdd8-vrRfOg7CRTQSbZ6o5AL24gt3tBmZ2-KPuEuHRnFRp5EkL-uztQgoIb5kVBlWIQaZVD0mc-8ULrKBQ\n", stderr: "" })
[2022-05-09T10:17:53Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:17:53Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:17:53Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:17:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "03b5929f-6e6a-4633-a408-d475747cf2a4" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:17:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:17:53Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T10:17:53Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:17:53Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE3NzEsImlhdCI6MTY1MjA5MTQ3MSwiYXV0aF90aW1lIjoxNjUyMDkxNDY4LCJqdGkiOiI5MGExMDQyNy1kY2IyLTQ0YWUtOGNjOS1kNTE3NDRkMTRmMzIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJkQllZS0x5bVU4cTRWN2hMRG9jQ0h3Iiwic2Vzc2lvbl9zdGF0ZSI6ImZjYjZkZTEyLTllYWItNDcxOC04NzU3LTZjNTU5Yjc1ZmY4MyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImZjYjZkZTEyLTllYWItNDcxOC04NzU3LTZjNTU5Yjc1ZmY4MyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.tbBVsAK9kZ2rGjIiWoVBfzXfjpcQupha7tppP7r72PvIRUtWKWQCnQmX49f_5cl9aD6gtwFy6fId4t0vbJNbmLHZet6xup0B-ZtSVQY-LiEocmZk3Pm91tAsgUbICZ6TE48BTD7EexkqPWXzkUNY9H-AJyJldCTeRPySZSldPYr3gGA2y1Im5GaFXPeaWVNrDFGWlVHT0ogqxUA04WJszGNOXfTe3Kiit9rKk0jqHRv8RVU59UQPp4sbg-nwVnKn9LbTCdd8-vrRfOg7CRTQSbZ6o5AL24gt3tBmZ2-KPuEuHRnFRp5EkL-uztQgoIb5kVBlWIQaZVD0mc-8ULrKBQ\n", stderr: "" })
[2022-05-09T10:17: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: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "6d6b2694-6bdd-44c9-a043-87a77d910b4d", persistence: None, user_data: None }
[2022-05-09T10:17:53Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:17:53Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbeef460
[2022-05-09T10:17:53Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbeef460
[2022-05-09T10:17: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: 0x0, password: 0x55efdbf20290, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc049de0, 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: 0x55efdbdfddd0, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE3NzEsImlhdCI6MTY1MjA5MTQ3MSwiYXV0aF90aW1lIjoxNjUyMDkxNDY4LCJqdGkiOiI5MGExMDQyNy1kY2IyLTQ0YWUtOGNjOS1kNTE3NDRkMTRmMzIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJkQllZS0x5bVU4cTRWN2hMRG9jQ0h3Iiwic2Vzc2lvbl9zdGF0ZSI6ImZjYjZkZTEyLTllYWItNDcxOC04NzU3LTZjNTU5Yjc1ZmY4MyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImZjYjZkZTEyLTllYWItNDcxOC04NzU3LTZjNTU5Yjc1ZmY4MyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.tbBVsAK9kZ2rGjIiWoVBfzXfjpcQupha7tppP7r72PvIRUtWKWQCnQmX49f_5cl9aD6gtwFy6fId4t0vbJNbmLHZet6xup0B-ZtSVQY-LiEocmZk3Pm91tAsgUbICZ6TE48BTD7EexkqPWXzkUNY9H-AJyJldCTeRPySZSldPYr3gGA2y1Im5GaFXPeaWVNrDFGWlVHT0ogqxUA04WJszGNOXfTe3Kiit9rKk0jqHRv8RVU59UQPp4sbg-nwVnKn9LbTCdd8-vrRfOg7CRTQSbZ6o5AL24gt3tBmZ2-KPuEuHRnFRp5EkL-uztQgoIb5kVBlWIQaZVD0mc-8ULrKBQ"), 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-09T10:17:53Z DEBUG paho_mqtt::async_client] Subscribe to '"app/03b5929f-6e6a-4633-a408-d475747cf2a4"' @ QOS 0
[2022-05-09T10:17:53Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:17:53Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:17:53Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T10:17:53Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:17:53Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:17:53Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T10:17:54Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:17:54Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T10:17:54Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:17:54Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T10:17:55Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:17:55Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T10:17:55Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:17:55Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T10:17:56Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:17:56Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T10:17:56Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:17:56Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T10:17:57Z 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: 0x7f0edc0159d0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc015c50 } }, data: MessageData { topic: "app/03b5929f-6e6a-4633-a408-d475747cf2a4", 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, 55, 102, 49, 54, 102, 55, 45, 97, 50, 49, 57, 45, 52, 48, 54, 48, 45, 97, 48, 101, 102, 45, 97, 55, 53, 56, 100, 97, 55, 56, 48, 99, 52, 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, 51, 98, 53, 57, 50, 57, 102, 37, 50, 68, 54, 101, 54, 97, 37, 50, 68, 52, 54, 51, 51, 37, 50, 68, 97, 52, 48, 56, 37, 50, 68, 100, 52, 55, 53, 55, 52, 55, 99, 102, 50, 97, 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, 48, 58, 49, 55, 58, 53, 54, 46, 54, 56, 56, 57, 52, 51, 56, 51, 48, 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, 48, 51, 98, 53, 57, 50, 57, 102, 45, 54, 101, 54, 97, 45, 52, 54, 51, 51, 45, 97, 52, 48, 56, 45, 100, 52, 55, 53, 55, 52, 55, 99, 102, 50, 97, 52, 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, 52, 52, 99, 98, 98, 99, 101, 98, 45, 56, 97, 57, 49, 45, 52, 97, 98, 48, 45, 97, 53, 53, 52, 45, 49, 98, 48, 49, 48, 49, 49, 100, 51, 97, 51, 50, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 53, 57, 50, 100, 54, 102, 102, 57, 45, 57, 56, 55, 54, 45, 52, 55, 102, 51, 45, 97, 99, 51, 50, 45, 51, 57, 51, 52, 50, 52, 100, 97, 99, 54, 100, 100, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 53, 57, 50, 100, 54, 102, 102, 57, 45, 57, 56, 55, 54, 45, 52, 55, 102, 51, 45, 97, 99, 51, 50, 45, 51, 57, 51, 52, 50, 52, 100, 97, 99, 54, 100, 100, 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, 48, 51, 98, 53, 57, 50, 57, 102, 37, 50, 68, 54, 101, 54, 97, 37, 50, 68, 52, 54, 51, 51, 37, 50, 68, 97, 52, 48, 56, 37, 50, 68, 100, 52, 55, 53, 55, 52, 55, 99, 102, 50, 97, 52, 47, 100, 101, 118, 105, 99, 101, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc015c50 } } } }
[2022-05-09T10:17:57Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbfe9b20
[2022-05-09T10:17:57Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/03b5929f-6e6a-4633-a408-d475747cf2a4", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"fb7f16f7-a219-4060-a0ef-a758da780c48\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://03b5929f%2D6e6a%2D4633%2Da408%2Dd475747cf2a4/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:17:56.688943830Z\",\"data\":{\"index\":3},\"application\":\"03b5929f-6e6a-4633-a408-d475747cf2a4\",\"instance\":\"drogue\",\"applicationuid\":\"44cbbceb-8a91-4ab0-a554-1b01011d3a32\",\"senderuid\":\"592d6ff9-9876-47f3-ac32-393424dac6dd\",\"deviceuid\":\"592d6ff9-9876-47f3-ac32-393424dac6dd\",\"sender\":\"device1\",\"device\":\"device1\",\"partitionkey\":\"03b5929f%2D6e6a%2D4633%2Da408%2Dd475747cf2a4/device1\"}" }
[2022-05-09T10:17:57Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:17:57Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:17:57Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:17:57Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry
[2022-05-09T10:17: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: "8c576abd-e23f-418f-855c-3fbcc87cde49", persistence: None, user_data: None }
[2022-05-09T10:17:57Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:17:57Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbed1da0
[2022-05-09T10:17:57Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbed1da0
[2022-05-09T10:17: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: 0x55efdbfe9a60, password: 0x55efdbf8eab0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc26eb20, 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: 0x55efdbff8890, 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@03b5929f-6e6a-4633-a408-d475747cf2a4"), 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-09T10:17:58Z 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: 0x7f0edc02d310, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc02d5a0 } }, data: MessageData { topic: "app/03b5929f-6e6a-4633-a408-d475747cf2a4", 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, 56, 98, 50, 56, 57, 101, 57, 45, 101, 50, 53, 100, 45, 52, 49, 53, 97, 45, 56, 57, 99, 48, 45, 55, 54, 57, 102, 56, 100, 56, 55, 57, 99, 55, 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, 48, 51, 98, 53, 57, 50, 57, 102, 37, 50, 68, 54, 101, 54, 97, 37, 50, 68, 52, 54, 51, 51, 37, 50, 68, 97, 52, 48, 56, 37, 50, 68, 100, 52, 55, 53, 55, 52, 55, 99, 102, 50, 97, 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, 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, 48, 58, 49, 55, 58, 53, 56, 46, 48, 53, 53, 48, 52, 53, 48, 54, 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, 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, 53, 57, 50, 100, 54, 102, 102, 57, 45, 57, 56, 55, 54, 45, 52, 55, 102, 51, 45, 97, 99, 51, 50, 45, 51, 57, 51, 52, 50, 52, 100, 97, 99, 54, 100, 100, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 53, 57, 50, 100, 54, 102, 102, 57, 45, 57, 56, 55, 54, 45, 52, 55, 102, 51, 45, 97, 99, 51, 50, 45, 51, 57, 51, 52, 50, 52, 100, 97, 99, 54, 100, 100, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 51, 98, 53, 57, 50, 57, 102, 45, 54, 101, 54, 97, 45, 52, 54, 51, 51, 45, 97, 52, 48, 56, 45, 100, 52, 55, 53, 55, 52, 55, 99, 102, 50, 97, 52, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 51, 98, 53, 57, 50, 57, 102, 37, 50, 68, 54, 101, 54, 97, 37, 50, 68, 52, 54, 51, 51, 37, 50, 68, 97, 52, 48, 56, 37, 50, 68, 100, 52, 55, 53, 55, 52, 55, 99, 102, 50, 97, 52, 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, 52, 52, 99, 98, 98, 99, 101, 98, 45, 56, 97, 57, 49, 45, 52, 97, 98, 48, 45, 97, 53, 53, 52, 45, 49, 98, 48, 49, 48, 49, 49, 100, 51, 97, 51, 50, 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: 0x7f0edc02d5a0 } } } }
[2022-05-09T10:17:58Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbfe9b20
[2022-05-09T10:17:58Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/03b5929f-6e6a-4633-a408-d475747cf2a4", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"f8b289e9-e25d-415a-89c0-769f8d879c75\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://03b5929f%2D6e6a%2D4633%2Da408%2Dd475747cf2a4/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:17:58.055045068Z\",\"data\":{\"connected\":true},\"device\":\"device1\",\"senderuid\":\"592d6ff9-9876-47f3-ac32-393424dac6dd\",\"deviceuid\":\"592d6ff9-9876-47f3-ac32-393424dac6dd\",\"application\":\"03b5929f-6e6a-4633-a408-d475747cf2a4\",\"partitionkey\":\"03b5929f%2D6e6a%2D4633%2Da408%2Dd475747cf2a4/device1\",\"instance\":\"drogue\",\"applicationuid\":\"44cbbceb-8a91-4ab0-a554-1b01011d3a32\",\"sender\":\"device1\"}" }
[2022-05-09T10:17: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: 0x55efdbf620c0 } }, data: MessageData { topic: "telemetry", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdbf620c0 } } } }
[2022-05-09T10:17:58Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:17:58Z 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: 0x7f0edc012b80, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc013470 } }, data: MessageData { topic: "app/03b5929f-6e6a-4633-a408-d475747cf2a4", 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, 48, 54, 57, 50, 57, 48, 101, 45, 56, 48, 98, 52, 45, 52, 51, 57, 57, 45, 98, 97, 99, 54, 45, 54, 102, 97, 99, 102, 57, 57, 50, 56, 55, 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, 48, 51, 98, 53, 57, 50, 57, 102, 37, 50, 68, 54, 101, 54, 97, 37, 50, 68, 52, 54, 51, 51, 37, 50, 68, 97, 52, 48, 56, 37, 50, 68, 100, 52, 55, 53, 55, 52, 55, 99, 102, 50, 97, 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, 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, 48, 58, 49, 55, 58, 53, 56, 46, 49, 49, 52, 55, 51, 57, 57, 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, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 53, 57, 50, 100, 54, 102, 102, 57, 45, 57, 56, 55, 54, 45, 52, 55, 102, 51, 45, 97, 99, 51, 50, 45, 51, 57, 51, 52, 50, 52, 100, 97, 99, 54, 100, 100, 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, 52, 52, 99, 98, 98, 99, 101, 98, 45, 56, 97, 57, 49, 45, 52, 97, 98, 48, 45, 97, 53, 53, 52, 45, 49, 98, 48, 49, 48, 49, 49, 100, 51, 97, 51, 50, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 48, 51, 98, 53, 57, 50, 57, 102, 45, 54, 101, 54, 97, 45, 52, 54, 51, 51, 45, 97, 52, 48, 56, 45, 100, 52, 55, 53, 55, 52, 55, 99, 102, 50, 97, 52, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 53, 57, 50, 100, 54, 102, 102, 57, 45, 57, 56, 55, 54, 45, 52, 55, 102, 51, 45, 97, 99, 51, 50, 45, 51, 57, 51, 52, 50, 52, 100, 97, 99, 54, 100, 100, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 51, 98, 53, 57, 50, 57, 102, 37, 50, 68, 54, 101, 54, 97, 37, 50, 68, 52, 54, 51, 51, 37, 50, 68, 97, 52, 48, 56, 37, 50, 68, 100, 52, 55, 53, 55, 52, 55, 99, 102, 50, 97, 52, 47, 100, 101, 118, 105, 99, 101, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc013470 } } } }
[2022-05-09T10:17:58Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbfe9b20
[2022-05-09T10:17:58Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/03b5929f-6e6a-4633-a408-d475747cf2a4", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"9069290e-80b4-4399-bac6-6facf9928791\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://03b5929f%2D6e6a%2D4633%2Da408%2Dd475747cf2a4/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:17:58.114739949Z\",\"data\":{\"connected\":false},\"sender\":\"device1\",\"senderuid\":\"592d6ff9-9876-47f3-ac32-393424dac6dd\",\"device\":\"device1\",\"instance\":\"drogue\",\"applicationuid\":\"44cbbceb-8a91-4ab0-a554-1b01011d3a32\",\"application\":\"03b5929f-6e6a-4633-a408-d475747cf2a4\",\"deviceuid\":\"592d6ff9-9876-47f3-ac32-393424dac6dd\",\"partitionkey\":\"03b5929f%2D6e6a%2D4633%2Da408%2Dd475747cf2a4/device1\"}" }
[2022-05-09T10:17:58Z 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: 0x7f0edc012210, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc013180 } }, data: MessageData { topic: "app/03b5929f-6e6a-4633-a408-d475747cf2a4", 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, 51, 102, 52, 55, 99, 53, 45, 56, 57, 52, 98, 45, 52, 101, 55, 48, 45, 98, 51, 55, 97, 45, 98, 101, 101, 102, 100, 52, 56, 102, 100, 48, 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, 48, 51, 98, 53, 57, 50, 57, 102, 37, 50, 68, 54, 101, 54, 97, 37, 50, 68, 52, 54, 51, 51, 37, 50, 68, 97, 52, 48, 56, 37, 50, 68, 100, 52, 55, 53, 55, 52, 55, 99, 102, 50, 97, 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, 48, 58, 49, 55, 58, 53, 56, 46, 49, 49, 48, 56, 56, 56, 55, 50, 57, 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, 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, 51, 98, 53, 57, 50, 57, 102, 45, 54, 101, 54, 97, 45, 52, 54, 51, 51, 45, 97, 52, 48, 56, 45, 100, 52, 55, 53, 55, 52, 55, 99, 102, 50, 97, 52, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 53, 57, 50, 100, 54, 102, 102, 57, 45, 57, 56, 55, 54, 45, 52, 55, 102, 51, 45, 97, 99, 51, 50, 45, 51, 57, 51, 52, 50, 52, 100, 97, 99, 54, 100, 100, 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, 53, 57, 50, 100, 54, 102, 102, 57, 45, 57, 56, 55, 54, 45, 52, 55, 102, 51, 45, 97, 99, 51, 50, 45, 51, 57, 51, 52, 50, 52, 100, 97, 99, 54, 100, 100, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 52, 52, 99, 98, 98, 99, 101, 98, 45, 56, 97, 57, 49, 45, 52, 97, 98, 48, 45, 97, 53, 53, 52, 45, 49, 98, 48, 49, 48, 49, 49, 100, 51, 97, 51, 50, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 51, 98, 53, 57, 50, 57, 102, 37, 50, 68, 54, 101, 54, 97, 37, 50, 68, 52, 54, 51, 51, 37, 50, 68, 97, 52, 48, 56, 37, 50, 68, 100, 52, 55, 53, 55, 52, 55, 99, 102, 50, 97, 52, 47, 100, 101, 118, 105, 99, 101, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc013180 } } } }
[2022-05-09T10:17:58Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbfe9b20
[2022-05-09T10:17:58Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/03b5929f-6e6a-4633-a408-d475747cf2a4", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"4c3f47c5-894b-4e70-b37a-beefd48fd098\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://03b5929f%2D6e6a%2D4633%2Da408%2Dd475747cf2a4/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:17:58.110888729Z\",\"data_base64\":\"\",\"instance\":\"drogue\",\"device\":\"device1\",\"application\":\"03b5929f-6e6a-4633-a408-d475747cf2a4\",\"deviceuid\":\"592d6ff9-9876-47f3-ac32-393424dac6dd\",\"sender\":\"device1\",\"senderuid\":\"592d6ff9-9876-47f3-ac32-393424dac6dd\",\"applicationuid\":\"44cbbceb-8a91-4ab0-a554-1b01011d3a32\",\"partitionkey\":\"03b5929f%2D6e6a%2D4633%2Da408%2Dd475747cf2a4/device1\"}" }
[2022-05-09T10:17:58Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:17:58Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:17:58Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:17:58Z 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: "03b5929f-6e6a-4633-a408-d475747cf2a4", 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: "03b5929f-6e6a-4633-a408-d475747cf2a4", device: "device1", sender: "device1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T10:17:58Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:17:58Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "03b5929f-6e6a-4633-a408-d475747cf2a4" "device1"
[2022-05-09T10:17:58Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:17:58Z INFO  drogue_cloud_tests::resources::apps] Destroy application '03b5929f-6e6a-4633-a408-d475747cf2a4'
[2022-05-09T10:17:58Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "03b5929f-6e6a-4633-a408-d475747cf2a4"
[2022-05-09T10:17:58Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 03b5929f-6e6a-4633-a408-d475747cf2a4 deleted.\n", stderr: "" })

✅ 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: 15s

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

Duration: 13s

✅ 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: 14s

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

Duration: 14s

✅ 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: 14s

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

Duration: 14s

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

Duration: 13s

Test output
-------------- TEST START --------------
[2022-05-09T10:20:07Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:20:07Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:20:07Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:20:07Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:20:07Z 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-09T10:20:09Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:20:10Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:20:10Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:20:10Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:20:10Z 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-09T10:20:12Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTM0MTIsImlhdCI6MTY1MjA5MTYxMiwianRpIjoiYTZiZTI2OTgtYjBhNy00MmExLWJlOWMtNzQxNjIzZWE1ZjZmIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlpOeVhqd0lGZklNZEVXMWhOaWprYlEiLCJzZXNzaW9uX3N0YXRlIjoiNzEwNjJhNzQtY2YxMi00MTM5LThhYzUtOTE5YmJkMDQ2M2E0Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjcxMDYyYTc0LWNmMTItNDEzOS04YWM1LTkxOWJiZDA0NjNhNCJ9.hQ07Nnjj4DLiGBV4jXrLgjU71N4N8wjTK3T8yvICOHk
[2022-05-09T10:20:12Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:20:12Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:20:12Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTM0MTIsImlhdCI6MTY1MjA5MTYxMiwianRpIjoiYTZiZTI2OTgtYjBhNy00MmExLWJlOWMtNzQxNjIzZWE1ZjZmIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlpOeVhqd0lGZklNZEVXMWhOaWprYlEiLCJzZXNzaW9uX3N0YXRlIjoiNzEwNjJhNzQtY2YxMi00MTM5LThhYzUtOTE5YmJkMDQ2M2E0Iiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjcxMDYyYTc0LWNmMTItNDEzOS04YWM1LTkxOWJiZDA0NjNhNCJ9.hQ07Nnjj4DLiGBV4jXrLgjU71N4N8wjTK3T8yvICOHk" "--context" "system-tests"
[2022-05-09T10:20:12Z 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-09T10:20:13Z INFO  drogue_cloud_tests::resources::apps] Create application: ca66181a-3668-4d5e-b451-be1daf41ba4b
[2022-05-09T10:20:13Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "ca66181a-3668-4d5e-b451-be1daf41ba4b"
[2022-05-09T10:20:13Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App ca66181a-3668-4d5e-b451-be1daf41ba4b created.\n", stderr: "" })
[2022-05-09T10:20:13Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "ca66181a-3668-4d5e-b451-be1daf41ba4b"
[2022-05-09T10:20:13Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:20:13.222727Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"ca66181a-3668-4d5e-b451-be1daf41ba4b\",\n    \"resourceVersion\": \"49c39803-df78-42c8-97b4-e839e18aa506\",\n    \"uid\": \"f04f8bb4-11f9-4313-9d26-ad82ec13f108\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:20:13.236971771Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:20:13.237073251Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:20:13.236881302Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:20:13.236883186Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:20:13.236884057Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:20:13.236885209Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:20:13.236886782Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:20:13.236936595Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:20:13Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:20:13.222727Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("ca66181a-3668-4d5e-b451-be1daf41ba4b"), "resourceVersion": String("49c39803-df78-42c8-97b4-e839e18aa506"), "uid": String("f04f8bb4-11f9-4313-9d26-ad82ec13f108")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:20:13.236971771Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:20:13.237073251Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:20:13.236881302Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:20:13.236883186Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:20:13.236884057Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:20:13.236885209Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:20:13.236886782Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:20:13.236936595Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T10:20:13Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:20:14Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "ca66181a-3668-4d5e-b451-be1daf41ba4b"
[2022-05-09T10:20:14Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:20:13.222727Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"ca66181a-3668-4d5e-b451-be1daf41ba4b\",\n    \"resourceVersion\": \"5ddef95f-9dac-4d5f-befb-a3f0651ffef9\",\n    \"uid\": \"f04f8bb4-11f9-4313-9d26-ad82ec13f108\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:20:13.554177667Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:20:13.554248580Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:20:13.262166946Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:20:13.270247073Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:20:13.366251161Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:20:13.372621622Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:20:13.554085385Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:20:13.554102057Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"RcZZLslXVpms\",\n        \"username\": \"user-ca66181a-3668-4d5e-b451-be1daf41ba4b\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:20:14Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:20:13.222727Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("ca66181a-3668-4d5e-b451-be1daf41ba4b"), "resourceVersion": String("5ddef95f-9dac-4d5f-befb-a3f0651ffef9"), "uid": String("f04f8bb4-11f9-4313-9d26-ad82ec13f108")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:20:13.554177667Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:20:13.554248580Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:20:13.262166946Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:20:13.270247073Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:20:13.366251161Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:20:13.372621622Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:20:13.554085385Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:20:13.554102057Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("RcZZLslXVpms"), "username": String("user-ca66181a-3668-4d5e-b451-be1daf41ba4b")})})})})
[2022-05-09T10:20:14Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:20:14Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "ca66181a-3668-4d5e-b451-be1daf41ba4b"
[2022-05-09T10:20:14Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:20:13.222727Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"ca66181a-3668-4d5e-b451-be1daf41ba4b\",\n    \"resourceVersion\": \"5ddef95f-9dac-4d5f-befb-a3f0651ffef9\",\n    \"uid\": \"f04f8bb4-11f9-4313-9d26-ad82ec13f108\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:20:13.554177667Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:20:13.554248580Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:20:13.262166946Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:20:13.270247073Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:20:13.366251161Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:20:13.372621622Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:20:13.554085385Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:20:13.554102057Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"RcZZLslXVpms\",\n        \"username\": \"user-ca66181a-3668-4d5e-b451-be1daf41ba4b\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:20:14Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:20:13.222727Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("ca66181a-3668-4d5e-b451-be1daf41ba4b"), "resourceVersion": String("5ddef95f-9dac-4d5f-befb-a3f0651ffef9"), "uid": String("f04f8bb4-11f9-4313-9d26-ad82ec13f108")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:20:13.554177667Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:20:13.554248580Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:20:13.262166946Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:20:13.270247073Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:20:13.366251161Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:20:13.372621622Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:20:13.554085385Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:20:13.554102057Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("RcZZLslXVpms"), "username": String("user-ca66181a-3668-4d5e-b451-be1daf41ba4b")})})})})
[2022-05-09T10:20:14Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:20:14Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:20:14Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:20:14Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:20:14Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE5MTIsImlhdCI6MTY1MjA5MTYxMiwiYXV0aF90aW1lIjoxNjUyMDkxNjA5LCJqdGkiOiI0NzkxYjVmZS0wY2JlLTRlYzQtYWUyNy00MmVlNzJkY2JjMDYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJaTnlYandJRmZJTWRFVzFoTmlqa2JRIiwic2Vzc2lvbl9zdGF0ZSI6IjcxMDYyYTc0LWNmMTItNDEzOS04YWM1LTkxOWJiZDA0NjNhNCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjcxMDYyYTc0LWNmMTItNDEzOS04YWM1LTkxOWJiZDA0NjNhNCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.x_RarmIXqLFa3wxJv94y-dHMrq_g2N2EuZ9BQZrs2WrhlfviIswNN9VJ7PASk-RHcEZfWG2PArPak0ilt5CmjXKrvtmPlBCmfYg4gOpSqQ46LbjhlRnFuJpy4xH1GPI2G2UDBKRhoKetJ8hP8ACeHD0UuPf1gmMws4OJyOlp6gF4CM_IxFjerWmF59jnMHZ4Sj4Ydrkx5exEuA3jJA7ZFEUso9QAfA4MIb2xA6BNSuIO45FM8WjeW7xVlf173XR0rmgt7k82MIkFy1My5sVB80uc6YV95T3uFcpGJJcl2ohDB2o9u1EUSEDqaXLvatUVn1o4VamdsYrC5zU7GIln4g\n", stderr: "" })
[2022-05-09T10:20:14Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:20:14Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:20:14Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:20:14Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "ca66181a-3668-4d5e-b451-be1daf41ba4b" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:20:14Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:20:14Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T10:20:14Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:20:14Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE5MTIsImlhdCI6MTY1MjA5MTYxMiwiYXV0aF90aW1lIjoxNjUyMDkxNjA5LCJqdGkiOiI0NzkxYjVmZS0wY2JlLTRlYzQtYWUyNy00MmVlNzJkY2JjMDYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJaTnlYandJRmZJTWRFVzFoTmlqa2JRIiwic2Vzc2lvbl9zdGF0ZSI6IjcxMDYyYTc0LWNmMTItNDEzOS04YWM1LTkxOWJiZDA0NjNhNCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjcxMDYyYTc0LWNmMTItNDEzOS04YWM1LTkxOWJiZDA0NjNhNCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.x_RarmIXqLFa3wxJv94y-dHMrq_g2N2EuZ9BQZrs2WrhlfviIswNN9VJ7PASk-RHcEZfWG2PArPak0ilt5CmjXKrvtmPlBCmfYg4gOpSqQ46LbjhlRnFuJpy4xH1GPI2G2UDBKRhoKetJ8hP8ACeHD0UuPf1gmMws4OJyOlp6gF4CM_IxFjerWmF59jnMHZ4Sj4Ydrkx5exEuA3jJA7ZFEUso9QAfA4MIb2xA6BNSuIO45FM8WjeW7xVlf173XR0rmgt7k82MIkFy1My5sVB80uc6YV95T3uFcpGJJcl2ohDB2o9u1EUSEDqaXLvatUVn1o4VamdsYrC5zU7GIln4g\n", stderr: "" })
[2022-05-09T10:20: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: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "5f483adf-2298-43b0-802f-f17f5d292df0", persistence: None, user_data: None }
[2022-05-09T10:20:14Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:20:14Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbf2c6a0
[2022-05-09T10:20:14Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbf2c6a0
[2022-05-09T10:20:14Z 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: 0x55efdbf7c130, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc19b8c0, 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: 0x55efdbfc8ea0, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE5MTIsImlhdCI6MTY1MjA5MTYxMiwiYXV0aF90aW1lIjoxNjUyMDkxNjA5LCJqdGkiOiI0NzkxYjVmZS0wY2JlLTRlYzQtYWUyNy00MmVlNzJkY2JjMDYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJaTnlYandJRmZJTWRFVzFoTmlqa2JRIiwic2Vzc2lvbl9zdGF0ZSI6IjcxMDYyYTc0LWNmMTItNDEzOS04YWM1LTkxOWJiZDA0NjNhNCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjcxMDYyYTc0LWNmMTItNDEzOS04YWM1LTkxOWJiZDA0NjNhNCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.x_RarmIXqLFa3wxJv94y-dHMrq_g2N2EuZ9BQZrs2WrhlfviIswNN9VJ7PASk-RHcEZfWG2PArPak0ilt5CmjXKrvtmPlBCmfYg4gOpSqQ46LbjhlRnFuJpy4xH1GPI2G2UDBKRhoKetJ8hP8ACeHD0UuPf1gmMws4OJyOlp6gF4CM_IxFjerWmF59jnMHZ4Sj4Ydrkx5exEuA3jJA7ZFEUso9QAfA4MIb2xA6BNSuIO45FM8WjeW7xVlf173XR0rmgt7k82MIkFy1My5sVB80uc6YV95T3uFcpGJJcl2ohDB2o9u1EUSEDqaXLvatUVn1o4VamdsYrC5zU7GIln4g"), 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-09T10:20:14Z DEBUG paho_mqtt::async_client] Subscribe to '"app/ca66181a-3668-4d5e-b451-be1daf41ba4b"' @ QOS 0
[2022-05-09T10:20:14Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:20:14Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:20:14Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:20:14Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T10:20:14Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:20:14Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T10:20:15Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:20:15Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T10:20:15Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:20:15Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T10:20:16Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:20:16Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T10:20:16Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:20:16Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T10:20:17Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:20:17Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T10:20:17Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:20:17Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T10:20:18Z 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: 0x7f0ed0010580, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/ca66181a-3668-4d5e-b451-be1daf41ba4b", 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, 50, 51, 55, 102, 48, 97, 45, 49, 99, 97, 55, 45, 52, 100, 56, 102, 45, 98, 57, 102, 99, 45, 55, 49, 49, 102, 99, 98, 51, 100, 57, 99, 101, 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, 97, 54, 54, 49, 56, 49, 97, 37, 50, 68, 51, 54, 54, 56, 37, 50, 68, 52, 100, 53, 101, 37, 50, 68, 98, 52, 53, 49, 37, 50, 68, 98, 101, 49, 100, 97, 102, 52, 49, 98, 97, 52, 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, 48, 58, 50, 48, 58, 49, 55, 46, 57, 49, 52, 53, 54, 48, 55, 57, 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, 99, 97, 54, 54, 49, 56, 49, 97, 37, 50, 68, 51, 54, 54, 56, 37, 50, 68, 52, 100, 53, 101, 37, 50, 68, 98, 52, 53, 49, 37, 50, 68, 98, 101, 49, 100, 97, 102, 52, 49, 98, 97, 52, 98, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 48, 97, 52, 57, 49, 53, 53, 52, 45, 101, 102, 51, 57, 45, 52, 99, 52, 49, 45, 57, 51, 50, 51, 45, 102, 56, 54, 100, 57, 54, 56, 56, 50, 56, 97, 48, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 102, 48, 52, 102, 56, 98, 98, 52, 45, 49, 49, 102, 57, 45, 52, 51, 49, 51, 45, 57, 100, 50, 54, 45, 97, 100, 56, 50, 101, 99, 49, 51, 102, 49, 48, 56, 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, 48, 97, 52, 57, 49, 53, 53, 52, 45, 101, 102, 51, 57, 45, 52, 99, 52, 49, 45, 57, 51, 50, 51, 45, 102, 56, 54, 100, 57, 54, 56, 56, 50, 56, 97, 48, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 99, 97, 54, 54, 49, 56, 49, 97, 45, 51, 54, 54, 56, 45, 52, 100, 53, 101, 45, 98, 52, 53, 49, 45, 98, 101, 49, 100, 97, 102, 52, 49, 98, 97, 52, 98, 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, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:20:18Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/ca66181a-3668-4d5e-b451-be1daf41ba4b", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"71237f0a-1ca7-4d8f-b9fc-711fcb3d9ced\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://ca66181a%2D3668%2D4d5e%2Db451%2Dbe1daf41ba4b/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:20:17.914560796Z\",\"data\":{\"index\":3},\"partitionkey\":\"ca66181a%2D3668%2D4d5e%2Db451%2Dbe1daf41ba4b/device1\",\"deviceuid\":\"0a491554-ef39-4c41-9323-f86d968828a0\",\"applicationuid\":\"f04f8bb4-11f9-4313-9d26-ad82ec13f108\",\"instance\":\"drogue\",\"senderuid\":\"0a491554-ef39-4c41-9323-f86d968828a0\",\"application\":\"ca66181a-3668-4d5e-b451-be1daf41ba4b\",\"sender\":\"device1\",\"device\":\"device1\"}" }
[2022-05-09T10:20:18Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:20:18Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:20:18Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:20:18Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry
[2022-05-09T10:20: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-endpoint.172.18.0.2.nip.io:30001", client_id: "a3d6792e-d8cf-4b06-9f5d-74e60a0bdefa", persistence: None, user_data: None }
[2022-05-09T10:20:18Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:20:18Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc04b090
[2022-05-09T10:20:18Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc04b090
[2022-05-09T10:20: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: 0x55efdc37d6b0, password: 0x55efdbff3b90, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbfecbd0, 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: 0x55efdbf7d400, 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@ca66181a-3668-4d5e-b451-be1daf41ba4b"), 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-09T10:20:19Z 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: 0x7f0ed0004cf0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/ca66181a-3668-4d5e-b451-be1daf41ba4b", 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, 57, 54, 51, 99, 102, 102, 45, 51, 99, 52, 100, 45, 52, 50, 56, 57, 45, 57, 49, 100, 49, 45, 52, 98, 101, 52, 100, 98, 56, 101, 54, 49, 53, 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, 97, 54, 54, 49, 56, 49, 97, 37, 50, 68, 51, 54, 54, 56, 37, 50, 68, 52, 100, 53, 101, 37, 50, 68, 98, 52, 53, 49, 37, 50, 68, 98, 101, 49, 100, 97, 102, 52, 49, 98, 97, 52, 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, 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, 48, 58, 50, 48, 58, 49, 57, 46, 49, 51, 49, 55, 57, 48, 54, 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, 116, 114, 117, 101, 125, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 99, 97, 54, 54, 49, 56, 49, 97, 45, 51, 54, 54, 56, 45, 52, 100, 53, 101, 45, 98, 52, 53, 49, 45, 98, 101, 49, 100, 97, 102, 52, 49, 98, 97, 52, 98, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 48, 97, 52, 57, 49, 53, 53, 52, 45, 101, 102, 51, 57, 45, 52, 99, 52, 49, 45, 57, 51, 50, 51, 45, 102, 56, 54, 100, 57, 54, 56, 56, 50, 56, 97, 48, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 102, 48, 52, 102, 56, 98, 98, 52, 45, 49, 49, 102, 57, 45, 52, 51, 49, 51, 45, 57, 100, 50, 54, 45, 97, 100, 56, 50, 101, 99, 49, 51, 102, 49, 48, 56, 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, 97, 54, 54, 49, 56, 49, 97, 37, 50, 68, 51, 54, 54, 56, 37, 50, 68, 52, 100, 53, 101, 37, 50, 68, 98, 52, 53, 49, 37, 50, 68, 98, 101, 49, 100, 97, 102, 52, 49, 98, 97, 52, 98, 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, 48, 97, 52, 57, 49, 53, 53, 52, 45, 101, 102, 51, 57, 45, 52, 99, 52, 49, 45, 57, 51, 50, 51, 45, 102, 56, 54, 100, 57, 54, 56, 56, 50, 56, 97, 48, 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-09T10:20:19Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/ca66181a-3668-4d5e-b451-be1daf41ba4b", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"bd963cff-3c4d-4289-91d1-4be4db8e6152\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://ca66181a%2D3668%2D4d5e%2Db451%2Dbe1daf41ba4b/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:20:19.131790604Z\",\"data\":{\"connected\":true},\"application\":\"ca66181a-3668-4d5e-b451-be1daf41ba4b\",\"senderuid\":\"0a491554-ef39-4c41-9323-f86d968828a0\",\"applicationuid\":\"f04f8bb4-11f9-4313-9d26-ad82ec13f108\",\"instance\":\"drogue\",\"partitionkey\":\"ca66181a%2D3668%2D4d5e%2Db451%2Dbe1daf41ba4b/device1\",\"sender\":\"device1\",\"deviceuid\":\"0a491554-ef39-4c41-9323-f86d968828a0\",\"device\":\"device1\"}" }
[2022-05-09T10:20: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: 0x55efdc2c58c0 } }, data: MessageData { topic: "telemetry", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdc2c58c0 } } } }
[2022-05-09T10:20:19Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:20:19Z 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: 0x7f0ed0000e40, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/ca66181a-3668-4d5e-b451-be1daf41ba4b", 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, 54, 48, 101, 52, 53, 54, 45, 57, 50, 101, 52, 45, 52, 50, 57, 100, 45, 56, 55, 53, 56, 45, 99, 52, 99, 102, 98, 49, 102, 52, 99, 48, 48, 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, 99, 97, 54, 54, 49, 56, 49, 97, 37, 50, 68, 51, 54, 54, 56, 37, 50, 68, 52, 100, 53, 101, 37, 50, 68, 98, 52, 53, 49, 37, 50, 68, 98, 101, 49, 100, 97, 102, 52, 49, 98, 97, 52, 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, 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, 48, 58, 50, 48, 58, 49, 57, 46, 50, 50, 57, 50, 51, 51, 52, 54, 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, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 99, 97, 54, 54, 49, 56, 49, 97, 37, 50, 68, 51, 54, 54, 56, 37, 50, 68, 52, 100, 53, 101, 37, 50, 68, 98, 52, 53, 49, 37, 50, 68, 98, 101, 49, 100, 97, 102, 52, 49, 98, 97, 52, 98, 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, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 48, 97, 52, 57, 49, 53, 53, 52, 45, 101, 102, 51, 57, 45, 52, 99, 52, 49, 45, 57, 51, 50, 51, 45, 102, 56, 54, 100, 57, 54, 56, 56, 50, 56, 97, 48, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 102, 48, 52, 102, 56, 98, 98, 52, 45, 49, 49, 102, 57, 45, 52, 51, 49, 51, 45, 57, 100, 50, 54, 45, 97, 100, 56, 50, 101, 99, 49, 51, 102, 49, 48, 56, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 99, 97, 54, 54, 49, 56, 49, 97, 45, 51, 54, 54, 56, 45, 52, 100, 53, 101, 45, 98, 52, 53, 49, 45, 98, 101, 49, 100, 97, 102, 52, 49, 98, 97, 52, 98, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 48, 97, 52, 57, 49, 53, 53, 52, 45, 101, 102, 51, 57, 45, 52, 99, 52, 49, 45, 57, 51, 50, 51, 45, 102, 56, 54, 100, 57, 54, 56, 56, 50, 56, 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: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:20:19Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/ca66181a-3668-4d5e-b451-be1daf41ba4b", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"8960e456-92e4-429d-8758-c4cfb1f4c00b\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://ca66181a%2D3668%2D4d5e%2Db451%2Dbe1daf41ba4b/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:20:19.229233463Z\",\"data\":{\"connected\":false},\"partitionkey\":\"ca66181a%2D3668%2D4d5e%2Db451%2Dbe1daf41ba4b/device1\",\"device\":\"device1\",\"instance\":\"drogue\",\"deviceuid\":\"0a491554-ef39-4c41-9323-f86d968828a0\",\"applicationuid\":\"f04f8bb4-11f9-4313-9d26-ad82ec13f108\",\"application\":\"ca66181a-3668-4d5e-b451-be1daf41ba4b\",\"senderuid\":\"0a491554-ef39-4c41-9323-f86d968828a0\",\"sender\":\"device1\"}" }
[2022-05-09T10:20:19Z 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: 0x7f0ed00313d0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/ca66181a-3668-4d5e-b451-be1daf41ba4b", 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, 97, 56, 100, 54, 49, 102, 99, 45, 53, 50, 49, 99, 45, 52, 102, 57, 51, 45, 57, 48, 55, 56, 45, 53, 102, 52, 102, 49, 49, 50, 57, 48, 101, 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, 99, 97, 54, 54, 49, 56, 49, 97, 37, 50, 68, 51, 54, 54, 56, 37, 50, 68, 52, 100, 53, 101, 37, 50, 68, 98, 52, 53, 49, 37, 50, 68, 98, 101, 49, 100, 97, 102, 52, 49, 98, 97, 52, 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, 48, 58, 50, 48, 58, 49, 57, 46, 50, 50, 54, 53, 54, 51, 49, 55, 48, 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, 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, 48, 52, 102, 56, 98, 98, 52, 45, 49, 49, 102, 57, 45, 52, 51, 49, 51, 45, 57, 100, 50, 54, 45, 97, 100, 56, 50, 101, 99, 49, 51, 102, 49, 48, 56, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 99, 97, 54, 54, 49, 56, 49, 97, 45, 51, 54, 54, 56, 45, 52, 100, 53, 101, 45, 98, 52, 53, 49, 45, 98, 101, 49, 100, 97, 102, 52, 49, 98, 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, 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, 48, 97, 52, 57, 49, 53, 53, 52, 45, 101, 102, 51, 57, 45, 52, 99, 52, 49, 45, 57, 51, 50, 51, 45, 102, 56, 54, 100, 57, 54, 56, 56, 50, 56, 97, 48, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 48, 97, 52, 57, 49, 53, 53, 52, 45, 101, 102, 51, 57, 45, 52, 99, 52, 49, 45, 57, 51, 50, 51, 45, 102, 56, 54, 100, 57, 54, 56, 56, 50, 56, 97, 48, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 99, 97, 54, 54, 49, 56, 49, 97, 37, 50, 68, 51, 54, 54, 56, 37, 50, 68, 52, 100, 53, 101, 37, 50, 68, 98, 52, 53, 49, 37, 50, 68, 98, 101, 49, 100, 97, 102, 52, 49, 98, 97, 52, 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-09T10:20:19Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/ca66181a-3668-4d5e-b451-be1daf41ba4b", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"7a8d61fc-521c-4f93-9078-5f4f11290ef0\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://ca66181a%2D3668%2D4d5e%2Db451%2Dbe1daf41ba4b/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:20:19.226563170Z\",\"data_base64\":\"\",\"sender\":\"device1\",\"applicationuid\":\"f04f8bb4-11f9-4313-9d26-ad82ec13f108\",\"application\":\"ca66181a-3668-4d5e-b451-be1daf41ba4b\",\"instance\":\"drogue\",\"device\":\"device1\",\"deviceuid\":\"0a491554-ef39-4c41-9323-f86d968828a0\",\"senderuid\":\"0a491554-ef39-4c41-9323-f86d968828a0\",\"partitionkey\":\"ca66181a%2D3668%2D4d5e%2Db451%2Dbe1daf41ba4b/device1\"}" }
[2022-05-09T10:20:19Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:20:19Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:20:19Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:20:19Z 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: "ca66181a-3668-4d5e-b451-be1daf41ba4b", 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: "ca66181a-3668-4d5e-b451-be1daf41ba4b", device: "device1", sender: "device1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T10:20:19Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:20:19Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "ca66181a-3668-4d5e-b451-be1daf41ba4b" "device1"
[2022-05-09T10:20:19Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:20:19Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'ca66181a-3668-4d5e-b451-be1daf41ba4b'
[2022-05-09T10:20:19Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "ca66181a-3668-4d5e-b451-be1daf41ba4b"
[2022-05-09T10:20:19Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App ca66181a-3668-4d5e-b451-be1daf41ba4b deleted.\n", stderr: "" })

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

Duration: 13s

✅ 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: 13s

Test output
-------------- TEST START --------------
[2022-05-09T10:21:04Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:21:04Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:21:04Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:21:04Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:21: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-09T10:21:05Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:21:06Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:21:06Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:21:06Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:21: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-09T10:21:08Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTM0NjgsImlhdCI6MTY1MjA5MTY2OCwianRpIjoiZDRkNjcwNzMtZTQ3Yy00ZjJjLWI1YTEtZTliZDA4NjRlZTU3IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ik84U1VSMTQxdC04V0NlR2RhemtIQ3ciLCJzZXNzaW9uX3N0YXRlIjoiYTdhODE0ZWQtMjliNy00NzA4LTgzNTAtOGYzN2UwZDc1MmMyIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImE3YTgxNGVkLTI5YjctNDcwOC04MzUwLThmMzdlMGQ3NTJjMiJ9.vqUPFLUIDFnZCNuD8eCX0Vm9ywLOX8jRQVMAjNWaLME
[2022-05-09T10:21:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:21:08Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:21:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTM0NjgsImlhdCI6MTY1MjA5MTY2OCwianRpIjoiZDRkNjcwNzMtZTQ3Yy00ZjJjLWI1YTEtZTliZDA4NjRlZTU3IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ik84U1VSMTQxdC04V0NlR2RhemtIQ3ciLCJzZXNzaW9uX3N0YXRlIjoiYTdhODE0ZWQtMjliNy00NzA4LTgzNTAtOGYzN2UwZDc1MmMyIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImE3YTgxNGVkLTI5YjctNDcwOC04MzUwLThmMzdlMGQ3NTJjMiJ9.vqUPFLUIDFnZCNuD8eCX0Vm9ywLOX8jRQVMAjNWaLME" "--context" "system-tests"
[2022-05-09T10:21: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-09T10:21:09Z INFO  drogue_cloud_tests::resources::apps] Create application: d0efd7b1-a91d-49da-b800-8e160bcb70c3
[2022-05-09T10:21:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "d0efd7b1-a91d-49da-b800-8e160bcb70c3"
[2022-05-09T10:21:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App d0efd7b1-a91d-49da-b800-8e160bcb70c3 created.\n", stderr: "" })
[2022-05-09T10:21:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "d0efd7b1-a91d-49da-b800-8e160bcb70c3"
[2022-05-09T10:21:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:21:09.200343Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"d0efd7b1-a91d-49da-b800-8e160bcb70c3\",\n    \"resourceVersion\": \"597d0999-d8b3-45f3-9f35-dd97b09ba477\",\n    \"uid\": \"ff4ce3a4-66a1-4e47-a00c-3818a495138a\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:21:09.213654638Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:21:09.213783378Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:21:09.213572524Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:21:09.213575519Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:21:09.213576331Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:21:09.213577442Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:21:09.213578104Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:21:09.213621916Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:21:09Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:21:09.200343Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("d0efd7b1-a91d-49da-b800-8e160bcb70c3"), "resourceVersion": String("597d0999-d8b3-45f3-9f35-dd97b09ba477"), "uid": String("ff4ce3a4-66a1-4e47-a00c-3818a495138a")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:21:09.213654638Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:21:09.213783378Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:21:09.213572524Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:21:09.213575519Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:21:09.213576331Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:21:09.213577442Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:21:09.213578104Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:21:09.213621916Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T10:21:09Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:21:10Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "d0efd7b1-a91d-49da-b800-8e160bcb70c3"
[2022-05-09T10:21:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:21:09.200343Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"d0efd7b1-a91d-49da-b800-8e160bcb70c3\",\n    \"resourceVersion\": \"bf8dd9d4-081e-465c-a357-0b189e1cb42b\",\n    \"uid\": \"ff4ce3a4-66a1-4e47-a00c-3818a495138a\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:21:09.537530962Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:21:09.537849727Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:21:09.237249460Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:21:09.241952714Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:21:09.319467036Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:21:09.325833909Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:21:09.537429761Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:21:09.537448827Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"evNRlCM6wEot\",\n        \"username\": \"user-d0efd7b1-a91d-49da-b800-8e160bcb70c3\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:21:10Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:21:09.200343Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("d0efd7b1-a91d-49da-b800-8e160bcb70c3"), "resourceVersion": String("bf8dd9d4-081e-465c-a357-0b189e1cb42b"), "uid": String("ff4ce3a4-66a1-4e47-a00c-3818a495138a")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:21:09.537530962Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:21:09.537849727Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:21:09.237249460Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:21:09.241952714Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:21:09.319467036Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:21:09.325833909Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:21:09.537429761Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:21:09.537448827Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("evNRlCM6wEot"), "username": String("user-d0efd7b1-a91d-49da-b800-8e160bcb70c3")})})})})
[2022-05-09T10:21:10Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:21:10Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "d0efd7b1-a91d-49da-b800-8e160bcb70c3"
[2022-05-09T10:21:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:21:09.200343Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"d0efd7b1-a91d-49da-b800-8e160bcb70c3\",\n    \"resourceVersion\": \"bf8dd9d4-081e-465c-a357-0b189e1cb42b\",\n    \"uid\": \"ff4ce3a4-66a1-4e47-a00c-3818a495138a\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:21:09.537530962Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:21:09.537849727Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:21:09.237249460Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:21:09.241952714Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:21:09.319467036Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:21:09.325833909Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:21:09.537429761Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:21:09.537448827Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"evNRlCM6wEot\",\n        \"username\": \"user-d0efd7b1-a91d-49da-b800-8e160bcb70c3\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:21:10Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:21:09.200343Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("d0efd7b1-a91d-49da-b800-8e160bcb70c3"), "resourceVersion": String("bf8dd9d4-081e-465c-a357-0b189e1cb42b"), "uid": String("ff4ce3a4-66a1-4e47-a00c-3818a495138a")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:21:09.537530962Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:21:09.537849727Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:21:09.237249460Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:21:09.241952714Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:21:09.319467036Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:21:09.325833909Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:21:09.537429761Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:21:09.537448827Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("evNRlCM6wEot"), "username": String("user-d0efd7b1-a91d-49da-b800-8e160bcb70c3")})})})})
[2022-05-09T10:21:10Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:21:10Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:21:10Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:21:10Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:21:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE5NjgsImlhdCI6MTY1MjA5MTY2OCwiYXV0aF90aW1lIjoxNjUyMDkxNjY1LCJqdGkiOiJjMWNjMzI0NS1jOWU0LTQ0MjItOTM5MC1mZThhOTk0MWNhODYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJPOFNVUjE0MXQtOFdDZUdkYXprSEN3Iiwic2Vzc2lvbl9zdGF0ZSI6ImE3YTgxNGVkLTI5YjctNDcwOC04MzUwLThmMzdlMGQ3NTJjMiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImE3YTgxNGVkLTI5YjctNDcwOC04MzUwLThmMzdlMGQ3NTJjMiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.sNRLU5gjxSMDXj77ltabZ-ZpOtgpzlVRQ1kkZ-Pi-tmxy_qqjXx79ARcI4nfyxGK7-GkLzyd5KA8SMd6Zqa2f2e-rCBMJ2XKinTj4lJrkIMnjBHsdJHCFBZi1m8nQq1QeVYOWg1S7nZDKNnZGmn62GTUCmSLKJO-2E3WTqt65EyjtNQxp_CZE79pdgt1oEptkFgq0yvvBaZbrqfTESyMG4pbcorIJzc9JyQ6mldN9D251ph3mbPA80Q7L0NXGL6tXEKzpQopoaoTQG0E5lBAlH0aWLa6xJPKn7OseEJSmBe7eUEu8858ON8UbUz71-Vw29JiURZ-K_46VIl2vTBN9Q\n", stderr: "" })
[2022-05-09T10:21:10Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:21:10Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:21:10Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:21:10Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "d0efd7b1-a91d-49da-b800-8e160bcb70c3" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:21:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:21:10Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T10:21:10Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:21:10Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE5NjgsImlhdCI6MTY1MjA5MTY2OCwiYXV0aF90aW1lIjoxNjUyMDkxNjY1LCJqdGkiOiJjMWNjMzI0NS1jOWU0LTQ0MjItOTM5MC1mZThhOTk0MWNhODYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJPOFNVUjE0MXQtOFdDZUdkYXprSEN3Iiwic2Vzc2lvbl9zdGF0ZSI6ImE3YTgxNGVkLTI5YjctNDcwOC04MzUwLThmMzdlMGQ3NTJjMiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImE3YTgxNGVkLTI5YjctNDcwOC04MzUwLThmMzdlMGQ3NTJjMiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.sNRLU5gjxSMDXj77ltabZ-ZpOtgpzlVRQ1kkZ-Pi-tmxy_qqjXx79ARcI4nfyxGK7-GkLzyd5KA8SMd6Zqa2f2e-rCBMJ2XKinTj4lJrkIMnjBHsdJHCFBZi1m8nQq1QeVYOWg1S7nZDKNnZGmn62GTUCmSLKJO-2E3WTqt65EyjtNQxp_CZE79pdgt1oEptkFgq0yvvBaZbrqfTESyMG4pbcorIJzc9JyQ6mldN9D251ph3mbPA80Q7L0NXGL6tXEKzpQopoaoTQG0E5lBAlH0aWLa6xJPKn7OseEJSmBe7eUEu8858ON8UbUz71-Vw29JiURZ-K_46VIl2vTBN9Q\n", stderr: "" })
[2022-05-09T10:21: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: "b62da69f-ccdc-498d-8aee-268527b825f7", persistence: None, user_data: None }
[2022-05-09T10:21:10Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:21:10Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbf2d560
[2022-05-09T10:21:10Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbf2d560
[2022-05-09T10:21: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: 0x55efdc144400, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc1966f0, 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: 0x55efdc144d50, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTE5NjgsImlhdCI6MTY1MjA5MTY2OCwiYXV0aF90aW1lIjoxNjUyMDkxNjY1LCJqdGkiOiJjMWNjMzI0NS1jOWU0LTQ0MjItOTM5MC1mZThhOTk0MWNhODYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJPOFNVUjE0MXQtOFdDZUdkYXprSEN3Iiwic2Vzc2lvbl9zdGF0ZSI6ImE3YTgxNGVkLTI5YjctNDcwOC04MzUwLThmMzdlMGQ3NTJjMiIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImE3YTgxNGVkLTI5YjctNDcwOC04MzUwLThmMzdlMGQ3NTJjMiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.sNRLU5gjxSMDXj77ltabZ-ZpOtgpzlVRQ1kkZ-Pi-tmxy_qqjXx79ARcI4nfyxGK7-GkLzyd5KA8SMd6Zqa2f2e-rCBMJ2XKinTj4lJrkIMnjBHsdJHCFBZi1m8nQq1QeVYOWg1S7nZDKNnZGmn62GTUCmSLKJO-2E3WTqt65EyjtNQxp_CZE79pdgt1oEptkFgq0yvvBaZbrqfTESyMG4pbcorIJzc9JyQ6mldN9D251ph3mbPA80Q7L0NXGL6tXEKzpQopoaoTQG0E5lBAlH0aWLa6xJPKn7OseEJSmBe7eUEu8858ON8UbUz71-Vw29JiURZ-K_46VIl2vTBN9Q"), 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-09T10:21:10Z DEBUG paho_mqtt::async_client] Subscribe to '"app/d0efd7b1-a91d-49da-b800-8e160bcb70c3"' @ QOS 0
[2022-05-09T10:21:10Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:21:10Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:21:10Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:21:10Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T10:21:10Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:21:10Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T10:21:11Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:21:11Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T10:21:11Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:21:11Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T10:21:12Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:21:12Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T10:21:12Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:21:12Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T10:21:13Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:21:14Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T10:21:14Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:21:14Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T10:21:14Z 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: 0x7f0ed0001120, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 573, array: 0x55efdbf75210 } }, data: MessageData { topic: "app/d0efd7b1-a91d-49da-b800-8e160bcb70c3", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 573, array: 0x55efdbf75210 } } } }
[2022-05-09T10:21:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc1ced70, 0x55efdc194200
[2022-05-09T10:21:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc194200, 0x55efdbeced50
[2022-05-09T10:21:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc194200, 0x7f0ed80043e0
[2022-05-09T10:21:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80043e0, 0x7f0ed8005f30
[2022-05-09T10:21:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80043e0, 0x7f0ed80043c0
[2022-05-09T10:21:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80043c0, 0x55efdbeced50
[2022-05-09T10:21:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80043c0, 0x55efdbeced50
[2022-05-09T10:21:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed80043c0, 0x7f0ed8003ec0
[2022-05-09T10:21:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003ec0, 0x55efdbeced50
[2022-05-09T10:21:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003ec0, 0x55efdbeced50
[2022-05-09T10:21:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003ec0, 0x7f0ed8003130
[2022-05-09T10:21:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003130, 0x7f0ed8003ec0
[2022-05-09T10:21:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003ec0, 0x55efdbeced50
[2022-05-09T10:21:14Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003ec0, 0x7f0ed8005ef0
[2022-05-09T10:21:14Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ed8003ec0
[2022-05-09T10:21:14Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/d0efd7b1-a91d-49da-b800-8e160bcb70c3", content_type: Some("application/json"), user_properties: {"source": "drogue://d0efd7b1%2Da91d%2D49da%2Db800%2D8e160bcb70c3/device1", "senderuid": "7c15cef5-256e-4190-8653-f62421273a78", "specversion": "1.0", "application": "d0efd7b1-a91d-49da-b800-8e160bcb70c3", "instance": "drogue", "time": "2022-05-09T10:21:14.008719465+00:00", "applicationuid": "ff4ce3a4-66a1-4e47-a00c-3818a495138a", "sender": "device1", "deviceuid": "7c15cef5-256e-4190-8653-f62421273a78", "partitionkey": "d0efd7b1%2Da91d%2D49da%2Db800%2D8e160bcb70c3/device1", "id": "03a37304-db07-473d-8575-f2e715c77e4b", "device": "device1", "type": "io.drogue.event.v1", "subject": "warmup"}, payload: "{\"index\":3}" }
[2022-05-09T10:21:15Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:21:15Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:21:15Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:21:15Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry
[2022-05-09T10:21:15Z 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: "6da706c5-712b-4ed6-a38f-916f3cf5324c", persistence: None, user_data: None }
[2022-05-09T10:21:15Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:21:15Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdbfd1690
[2022-05-09T10:21:15Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdbfd1690
[2022-05-09T10:21:15Z 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: 0x55efdc1153a0, password: 0x55efdc2c6ce0, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbe8d510, 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: 0x55efdc1cede0, 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@d0efd7b1-a91d-49da-b800-8e160bcb70c3"), 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-09T10:21: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: 0x7f0ed00298c0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 582, array: 0x55efdc346410 } }, data: MessageData { topic: "app/d0efd7b1-a91d-49da-b800-8e160bcb70c3", 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: 0x55efdc346410 } } } }
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003ee0, 0x7f0ed8003270
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003270, 0x7f0ed00013e0
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003270, 0x55efdc194200
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc194200, 0x7f0ed0001500
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc194200, 0x7f0ed8003ec0
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003ec0, 0x7f0ed00013e0
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003ec0, 0x7f0ed00013e0
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003ec0, 0x7f0ed8003220
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003220, 0x7f0ed00013e0
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003220, 0x7f0ed00198d0
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003220, 0x7f0ed00013e0
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8003220, 0x7f0ed8004d20
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004d20, 0x7f0ed00013e0
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ed8004d20, 0x7f0ed80049a0
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ed8004d20
[2022-05-09T10:21: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: 0x55efdbe8dec0 } }, data: MessageData { topic: "telemetry", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdbe8dec0 } } } }
[2022-05-09T10:21:15Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/d0efd7b1-a91d-49da-b800-8e160bcb70c3", content_type: Some("application/json"), user_properties: {"sender": "device1", "instance": "drogue", "application": "d0efd7b1-a91d-49da-b800-8e160bcb70c3", "partitionkey": "d0efd7b1%2Da91d%2D49da%2Db800%2D8e160bcb70c3/device1", "time": "2022-05-09T10:21:15.082221903+00:00", "applicationuid": "ff4ce3a4-66a1-4e47-a00c-3818a495138a", "subject": "connection", "device": "device1", "deviceuid": "7c15cef5-256e-4190-8653-f62421273a78", "specversion": "1.0", "id": "49461dd2-b542-44e1-889c-4bae79fedb60", "type": "io.drogue.connection.v1", "source": "drogue://d0efd7b1%2Da91d%2D49da%2Db800%2D8e160bcb70c3/device1", "senderuid": "7c15cef5-256e-4190-8653-f62421273a78"}, payload: "{\"connected\":true}" }
[2022-05-09T10:21:15Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:21:15Z 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: 0x7f0ed002dc40, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 582, array: 0x55efdbe553e0 } }, data: MessageData { topic: "app/d0efd7b1-a91d-49da-b800-8e160bcb70c3", 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: 0x55efdbe553e0 } } } }
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdbe4cd50, 0x55efdc2a0bd0
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc2a0bd0, 0x55efdbf10220
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc2a0bd0, 0x55efdc0cdf00
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc0cdf00, 0x55efdc06bbe0
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc0cdf00, 0x7f0ee0006690
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006690, 0x55efdbf10220
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006690, 0x55efdbf10220
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006690, 0x7f0ee0006f70
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006f70, 0x55efdbe4c8b0
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006f70, 0x55efdbf10220
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006f70, 0x55efdbf10220
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006f70, 0x7f0ee0003840
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0003840, 0x55efdbf10220
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0003840, 0x7f0ee0000a50
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee0000a50
[2022-05-09T10:21:15Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/d0efd7b1-a91d-49da-b800-8e160bcb70c3", content_type: Some("application/json"), user_properties: {"source": "drogue://d0efd7b1%2Da91d%2D49da%2Db800%2D8e160bcb70c3/device1", "subject": "connection", "sender": "device1", "partitionkey": "d0efd7b1%2Da91d%2D49da%2Db800%2D8e160bcb70c3/device1", "device": "device1", "senderuid": "7c15cef5-256e-4190-8653-f62421273a78", "type": "io.drogue.connection.v1", "instance": "drogue", "deviceuid": "7c15cef5-256e-4190-8653-f62421273a78", "id": "86b86388-8426-46dc-bc03-8a038c894852", "applicationuid": "ff4ce3a4-66a1-4e47-a00c-3818a495138a", "time": "2022-05-09T10:21:15.345755159+00:00", "application": "d0efd7b1-a91d-49da-b800-8e160bcb70c3", "specversion": "1.0"}, payload: "{\"connected\":false}" }
[2022-05-09T10:21:15Z 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: 0x55efdc2c1aa0 } }, data: MessageData { topic: "app/d0efd7b1-a91d-49da-b800-8e160bcb70c3", payload: [], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 584, array: 0x55efdc2c1aa0 } } } }
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000a70, 0x7f0ee0006690
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006690, 0x7f0ed0016a20
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006690, 0x55efdc2a0bd0
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc2a0bd0, 0x7f0ed0019a00
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x55efdc2a0bd0, 0x7f0ee00038d0
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00038d0, 0x7f0ed0016a20
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee00038d0, 0x7f0ee0003860
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0003860, 0x7f0ed0016a20
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0003860, 0x7f0ed0016a20
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0003860, 0x7f0ee0006f50
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006f50, 0x7f0ed0016a20
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0006f50, 0x7f0ee0000ad0
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000ad0, 0x7f0ed0016a20
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f0ee0000ad0, 0x7f0ed00278f0
[2022-05-09T10:21:15Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f0ee0008fe0
[2022-05-09T10:21:15Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/d0efd7b1-a91d-49da-b800-8e160bcb70c3", content_type: Some("application/octet-stream"), user_properties: {"instance": "drogue", "subject": "telemetry", "partitionkey": "d0efd7b1%2Da91d%2D49da%2Db800%2D8e160bcb70c3/device1", "specversion": "1.0", "id": "e2da8b08-2c28-49cd-ad86-1b6d1f61a9f0", "source": "drogue://d0efd7b1%2Da91d%2D49da%2Db800%2D8e160bcb70c3/device1", "applicationuid": "ff4ce3a4-66a1-4e47-a00c-3818a495138a", "deviceuid": "7c15cef5-256e-4190-8653-f62421273a78", "time": "2022-05-09T10:21:15.341953792+00:00", "device": "device1", "sender": "device1", "type": "io.drogue.event.v1", "application": "d0efd7b1-a91d-49da-b800-8e160bcb70c3", "senderuid": "7c15cef5-256e-4190-8653-f62421273a78"}, payload: "" }
[2022-05-09T10:21:15Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:21:15Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:21:15Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:21:15Z 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: "d0efd7b1-a91d-49da-b800-8e160bcb70c3", 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: "d0efd7b1-a91d-49da-b800-8e160bcb70c3", device: "device1", sender: "device1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T10:21:15Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:21:15Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "d0efd7b1-a91d-49da-b800-8e160bcb70c3" "device1"
[2022-05-09T10:21:15Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:21:15Z INFO  drogue_cloud_tests::resources::apps] Destroy application 'd0efd7b1-a91d-49da-b800-8e160bcb70c3'
[2022-05-09T10:21:15Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "d0efd7b1-a91d-49da-b800-8e160bcb70c3"
[2022-05-09T10:21:15Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App d0efd7b1-a91d-49da-b800-8e160bcb70c3 deleted.\n", stderr: "" })

✅ 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: 14s

✅ 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: 14s

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

Duration: 14s

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

Duration: 13s

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

Duration: 14s

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

Duration: 13s

Test output
-------------- TEST START --------------
[2022-05-09T10:22:56Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:22:56Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:22:56Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:22:56Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:22:56Z 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-09T10:22:57Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:22:58Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:22:58Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:22:58Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:22: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-09T10:23:00Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTM1ODAsImlhdCI6MTY1MjA5MTc4MCwianRpIjoiZmM0MDYzZDYtYmEwMy00MDFkLWE1MDUtZjdhNDkxMTM4NjAxIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjU1Vkk4bmR0RnFXNl9qdUhwUk5zTHciLCJzZXNzaW9uX3N0YXRlIjoiNjhlNWRmZTYtNmYwYy00MTc2LTg4MzEtNGU1MzkwZTUyNzIzIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjY4ZTVkZmU2LTZmMGMtNDE3Ni04ODMxLTRlNTM5MGU1MjcyMyJ9.q6Zvis5HYecsRDaByTv4ZGKVBpBaU338VMcsggGExwc
[2022-05-09T10:23:00Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:23:00Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:23:00Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTM1ODAsImlhdCI6MTY1MjA5MTc4MCwianRpIjoiZmM0MDYzZDYtYmEwMy00MDFkLWE1MDUtZjdhNDkxMTM4NjAxIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjU1Vkk4bmR0RnFXNl9qdUhwUk5zTHciLCJzZXNzaW9uX3N0YXRlIjoiNjhlNWRmZTYtNmYwYy00MTc2LTg4MzEtNGU1MzkwZTUyNzIzIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjY4ZTVkZmU2LTZmMGMtNDE3Ni04ODMxLTRlNTM5MGU1MjcyMyJ9.q6Zvis5HYecsRDaByTv4ZGKVBpBaU338VMcsggGExwc" "--context" "system-tests"
[2022-05-09T10:23:00Z 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-09T10:23:01Z INFO  drogue_cloud_tests::resources::apps] Create application: 06f3145b-9715-4d70-88a7-446a0ba598e8
[2022-05-09T10:23:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "06f3145b-9715-4d70-88a7-446a0ba598e8"
[2022-05-09T10:23:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 06f3145b-9715-4d70-88a7-446a0ba598e8 created.\n", stderr: "" })
[2022-05-09T10:23:01Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "06f3145b-9715-4d70-88a7-446a0ba598e8"
[2022-05-09T10:23:01Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:23:01.408556Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"06f3145b-9715-4d70-88a7-446a0ba598e8\",\n    \"resourceVersion\": \"16f622f9-d14c-4065-8dcb-8565d604b739\",\n    \"uid\": \"403ecbe7-6a72-469f-8ecb-4662a4f2c6f9\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:23:01.421244143Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:23:01.421318253Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:23:01.421162932Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:23:01.421165717Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:23:01.421166589Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:23:01.421167831Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:23:01.421168543Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:23:01.421186897Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:23:01Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:23:01.408556Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("06f3145b-9715-4d70-88a7-446a0ba598e8"), "resourceVersion": String("16f622f9-d14c-4065-8dcb-8565d604b739"), "uid": String("403ecbe7-6a72-469f-8ecb-4662a4f2c6f9")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:23:01.421244143Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:23:01.421318253Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:23:01.421162932Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:23:01.421165717Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:23:01.421166589Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:23:01.421167831Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:23:01.421168543Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:23:01.421186897Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T10:23:01Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:23:02Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "06f3145b-9715-4d70-88a7-446a0ba598e8"
[2022-05-09T10:23:02Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:23:01.408556Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"06f3145b-9715-4d70-88a7-446a0ba598e8\",\n    \"resourceVersion\": \"aba53d4f-ad07-414e-802d-27af813ee992\",\n    \"uid\": \"403ecbe7-6a72-469f-8ecb-4662a4f2c6f9\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:23:01.766475146Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:23:01.766608204Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:23:01.445178933Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:23:01.453129849Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:23:01.517038506Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:23:01.523532618Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:23:01.766282355Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:23:01.766442945Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"zmgXoxvCYhUR\",\n        \"username\": \"user-06f3145b-9715-4d70-88a7-446a0ba598e8\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:23:02Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:23:01.408556Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("06f3145b-9715-4d70-88a7-446a0ba598e8"), "resourceVersion": String("aba53d4f-ad07-414e-802d-27af813ee992"), "uid": String("403ecbe7-6a72-469f-8ecb-4662a4f2c6f9")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:23:01.766475146Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:23:01.766608204Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:23:01.445178933Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:23:01.453129849Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:23:01.517038506Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:23:01.523532618Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:23:01.766282355Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:23:01.766442945Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("zmgXoxvCYhUR"), "username": String("user-06f3145b-9715-4d70-88a7-446a0ba598e8")})})})})
[2022-05-09T10:23:02Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:23:02Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "06f3145b-9715-4d70-88a7-446a0ba598e8"
[2022-05-09T10:23:02Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:23:01.408556Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"06f3145b-9715-4d70-88a7-446a0ba598e8\",\n    \"resourceVersion\": \"aba53d4f-ad07-414e-802d-27af813ee992\",\n    \"uid\": \"403ecbe7-6a72-469f-8ecb-4662a4f2c6f9\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:23:01.766475146Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:23:01.766608204Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:23:01.445178933Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:23:01.453129849Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:23:01.517038506Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:23:01.523532618Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:23:01.766282355Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:23:01.766442945Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"zmgXoxvCYhUR\",\n        \"username\": \"user-06f3145b-9715-4d70-88a7-446a0ba598e8\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:23:02Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:23:01.408556Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("06f3145b-9715-4d70-88a7-446a0ba598e8"), "resourceVersion": String("aba53d4f-ad07-414e-802d-27af813ee992"), "uid": String("403ecbe7-6a72-469f-8ecb-4662a4f2c6f9")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:23:01.766475146Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:23:01.766608204Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:23:01.445178933Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:23:01.453129849Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:23:01.517038506Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:23:01.523532618Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:23:01.766282355Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:23:01.766442945Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("zmgXoxvCYhUR"), "username": String("user-06f3145b-9715-4d70-88a7-446a0ba598e8")})})})})
[2022-05-09T10:23:02Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:23:02Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:23:02Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:23:02Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:23:02Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTIwODAsImlhdCI6MTY1MjA5MTc4MCwiYXV0aF90aW1lIjoxNjUyMDkxNzc3LCJqdGkiOiJiNzkwOWVhNy02MTkzLTRkYmYtYWUzZi04NWY3NTc0NjgwNGMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI1NVZJOG5kdEZxVzZfanVIcFJOc0x3Iiwic2Vzc2lvbl9zdGF0ZSI6IjY4ZTVkZmU2LTZmMGMtNDE3Ni04ODMxLTRlNTM5MGU1MjcyMyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjY4ZTVkZmU2LTZmMGMtNDE3Ni04ODMxLTRlNTM5MGU1MjcyMyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.tKBrG4Sg_baZw8Q5IzfD0S43yQSjxCDJuJ-WvUFAMiLHdBVTgRmBB8uY5Thcgcvne2d3V4eDoB1w7Hspr-RBUzVkOujywngqfPlhFpuXi_3iLq27GII0Xz3TlXAguC5KfPtlFJYqsbusRoP5cA5SrrryfOFak23hjZfIzvFYlgtj9auJujumTwai5hXdxtidOxi9oMQ-AaBAvxteu9jCkuXlYcIC5wMLm6yUtQPLnMRxWwPzmQuFlVAnXwRGKT7RvxvQVoMZjMWGwHUH-jnT1TupLKOcpQc9SE60fhJ2r0B810dp1XMSmYB2gNAIkK1BpxUMIcdcPlrcUzV6QAHTwg\n", stderr: "" })
[2022-05-09T10:23:02Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:23:02Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:23:02Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:23:02Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "06f3145b-9715-4d70-88a7-446a0ba598e8" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:23:02Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:23:02Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002
[2022-05-09T10:23:02Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:23:02Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTIwODAsImlhdCI6MTY1MjA5MTc4MCwiYXV0aF90aW1lIjoxNjUyMDkxNzc3LCJqdGkiOiJiNzkwOWVhNy02MTkzLTRkYmYtYWUzZi04NWY3NTc0NjgwNGMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI1NVZJOG5kdEZxVzZfanVIcFJOc0x3Iiwic2Vzc2lvbl9zdGF0ZSI6IjY4ZTVkZmU2LTZmMGMtNDE3Ni04ODMxLTRlNTM5MGU1MjcyMyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjY4ZTVkZmU2LTZmMGMtNDE3Ni04ODMxLTRlNTM5MGU1MjcyMyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.tKBrG4Sg_baZw8Q5IzfD0S43yQSjxCDJuJ-WvUFAMiLHdBVTgRmBB8uY5Thcgcvne2d3V4eDoB1w7Hspr-RBUzVkOujywngqfPlhFpuXi_3iLq27GII0Xz3TlXAguC5KfPtlFJYqsbusRoP5cA5SrrryfOFak23hjZfIzvFYlgtj9auJujumTwai5hXdxtidOxi9oMQ-AaBAvxteu9jCkuXlYcIC5wMLm6yUtQPLnMRxWwPzmQuFlVAnXwRGKT7RvxvQVoMZjMWGwHUH-jnT1TupLKOcpQc9SE60fhJ2r0B810dp1XMSmYB2gNAIkK1BpxUMIcdcPlrcUzV6QAHTwg\n", stderr: "" })
[2022-05-09T10:23: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: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "3e1d7332-e958-4270-95fa-b991f2de0403", persistence: None, user_data: None }
[2022-05-09T10:23:02Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:23:02Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc010b80
[2022-05-09T10:23:02Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc010b80
[2022-05-09T10:23:02Z 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: 0x55efdc5b1080, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc5b1750, 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: 0x55efdc5b09c0, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTIwODAsImlhdCI6MTY1MjA5MTc4MCwiYXV0aF90aW1lIjoxNjUyMDkxNzc3LCJqdGkiOiJiNzkwOWVhNy02MTkzLTRkYmYtYWUzZi04NWY3NTc0NjgwNGMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiI1NVZJOG5kdEZxVzZfanVIcFJOc0x3Iiwic2Vzc2lvbl9zdGF0ZSI6IjY4ZTVkZmU2LTZmMGMtNDE3Ni04ODMxLTRlNTM5MGU1MjcyMyIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjY4ZTVkZmU2LTZmMGMtNDE3Ni04ODMxLTRlNTM5MGU1MjcyMyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.tKBrG4Sg_baZw8Q5IzfD0S43yQSjxCDJuJ-WvUFAMiLHdBVTgRmBB8uY5Thcgcvne2d3V4eDoB1w7Hspr-RBUzVkOujywngqfPlhFpuXi_3iLq27GII0Xz3TlXAguC5KfPtlFJYqsbusRoP5cA5SrrryfOFak23hjZfIzvFYlgtj9auJujumTwai5hXdxtidOxi9oMQ-AaBAvxteu9jCkuXlYcIC5wMLm6yUtQPLnMRxWwPzmQuFlVAnXwRGKT7RvxvQVoMZjMWGwHUH-jnT1TupLKOcpQc9SE60fhJ2r0B810dp1XMSmYB2gNAIkK1BpxUMIcdcPlrcUzV6QAHTwg"), 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-09T10:23:02Z DEBUG paho_mqtt::async_client] Subscribe to '"app/06f3145b-9715-4d70-88a7-446a0ba598e8"' @ QOS 0
[2022-05-09T10:23:02Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:23:02Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:23:02Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:23:02Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T10:23:02Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:23:03Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T10:23:04Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:23:04Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T10:23:04Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:23:04Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T10:23:05Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:23:05Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T10:23:05Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:23:05Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T10:23:06Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:23:06Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T10:23:06Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:23:06Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T10:23:06Z 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: 0x7f0ed000c160, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/06f3145b-9715-4d70-88a7-446a0ba598e8", 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, 99, 53, 52, 53, 50, 99, 55, 45, 57, 52, 51, 53, 45, 52, 55, 52, 100, 45, 98, 53, 49, 55, 45, 97, 57, 54, 53, 49, 54, 48, 100, 102, 99, 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, 48, 54, 102, 51, 49, 52, 53, 98, 37, 50, 68, 57, 55, 49, 53, 37, 50, 68, 52, 100, 55, 48, 37, 50, 68, 56, 56, 97, 55, 37, 50, 68, 52, 52, 54, 97, 48, 98, 97, 53, 57, 56, 101, 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, 48, 58, 50, 51, 58, 48, 54, 46, 49, 57, 49, 54, 49, 50, 48, 50, 48, 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, 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, 52, 48, 51, 101, 99, 98, 101, 55, 45, 54, 97, 55, 50, 45, 52, 54, 57, 102, 45, 56, 101, 99, 98, 45, 52, 54, 54, 50, 97, 52, 102, 50, 99, 54, 102, 57, 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, 54, 102, 51, 49, 52, 53, 98, 37, 50, 68, 57, 55, 49, 53, 37, 50, 68, 52, 100, 55, 48, 37, 50, 68, 56, 56, 97, 55, 37, 50, 68, 52, 52, 54, 97, 48, 98, 97, 53, 57, 56, 101, 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, 48, 54, 102, 51, 49, 52, 53, 98, 45, 57, 55, 49, 53, 45, 52, 100, 55, 48, 45, 56, 56, 97, 55, 45, 52, 52, 54, 97, 48, 98, 97, 53, 57, 56, 101, 56, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 50, 53, 56, 57, 99, 54, 56, 45, 57, 55, 51, 56, 45, 52, 98, 55, 102, 45, 97, 101, 55, 56, 45, 49, 53, 54, 51, 54, 55, 101, 50, 48, 51, 56, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 50, 53, 56, 57, 99, 54, 56, 45, 57, 55, 51, 56, 45, 52, 98, 55, 102, 45, 97, 101, 55, 56, 45, 49, 53, 54, 51, 54, 55, 101, 50, 48, 51, 56, 101, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:23:06Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/06f3145b-9715-4d70-88a7-446a0ba598e8", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"ec5452c7-9435-474d-b517-a965160dfc52\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://06f3145b%2D9715%2D4d70%2D88a7%2D446a0ba598e8/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:23:06.191612020Z\",\"data\":{\"index\":3},\"instance\":\"drogue\",\"device\":\"device1\",\"applicationuid\":\"403ecbe7-6a72-469f-8ecb-4662a4f2c6f9\",\"sender\":\"device1\",\"partitionkey\":\"06f3145b%2D9715%2D4d70%2D88a7%2D446a0ba598e8/device1\",\"application\":\"06f3145b-9715-4d70-88a7-446a0ba598e8\",\"senderuid\":\"a2589c68-9738-4b7f-ae78-156367e2038e\",\"deviceuid\":\"a2589c68-9738-4b7f-ae78-156367e2038e\"}" }
[2022-05-09T10:23:07Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:23:07Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:23:07Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:23:07Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry
[2022-05-09T10:23:07Z 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: "ca273430-7731-400a-9e4d-3ccdcc74ddc5", persistence: None, user_data: None }
[2022-05-09T10:23:07Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:23:07Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc176780
[2022-05-09T10:23:07Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc176780
[2022-05-09T10:23:07Z 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: 0x55efdc1a4d30, password: 0x55efdc138440, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc136b80, 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: 0x55efdc1a4aa0, 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@06f3145b-9715-4d70-88a7-446a0ba598e8"), 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-09T10:23:07Z 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: 0x55efdc134000 } }, data: MessageData { topic: "telemetry", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdc134000 } } } }
[2022-05-09T10: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: 636, payload: 0x7f0ed002aff0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/06f3145b-9715-4d70-88a7-446a0ba598e8", 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, 98, 101, 99, 48, 101, 49, 45, 99, 101, 50, 100, 45, 52, 49, 51, 51, 45, 97, 49, 100, 102, 45, 55, 100, 101, 102, 54, 56, 51, 53, 101, 53, 55, 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, 48, 54, 102, 51, 49, 52, 53, 98, 37, 50, 68, 57, 55, 49, 53, 37, 50, 68, 52, 100, 55, 48, 37, 50, 68, 56, 56, 97, 55, 37, 50, 68, 52, 52, 54, 97, 48, 98, 97, 53, 57, 56, 101, 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, 48, 58, 50, 51, 58, 48, 55, 46, 50, 57, 48, 48, 52, 48, 49, 51, 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, 117, 105, 100, 34, 58, 34, 97, 50, 53, 56, 57, 99, 54, 56, 45, 57, 55, 51, 56, 45, 52, 98, 55, 102, 45, 97, 101, 55, 56, 45, 49, 53, 54, 51, 54, 55, 101, 50, 48, 51, 56, 101, 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, 48, 54, 102, 51, 49, 52, 53, 98, 37, 50, 68, 57, 55, 49, 53, 37, 50, 68, 52, 100, 55, 48, 37, 50, 68, 56, 56, 97, 55, 37, 50, 68, 52, 52, 54, 97, 48, 98, 97, 53, 57, 56, 101, 56, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 50, 53, 56, 57, 99, 54, 56, 45, 57, 55, 51, 56, 45, 52, 98, 55, 102, 45, 97, 101, 55, 56, 45, 49, 53, 54, 51, 54, 55, 101, 50, 48, 51, 56, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 52, 48, 51, 101, 99, 98, 101, 55, 45, 54, 97, 55, 50, 45, 52, 54, 57, 102, 45, 56, 101, 99, 98, 45, 52, 54, 54, 50, 97, 52, 102, 50, 99, 54, 102, 57, 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, 48, 54, 102, 51, 49, 52, 53, 98, 45, 57, 55, 49, 53, 45, 52, 100, 55, 48, 45, 56, 56, 97, 55, 45, 52, 52, 54, 97, 48, 98, 97, 53, 57, 56, 101, 56, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:23:07Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:23:07Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/06f3145b-9715-4d70-88a7-446a0ba598e8", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"3ebec0e1-ce2d-4133-a1df-7def6835e578\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://06f3145b%2D9715%2D4d70%2D88a7%2D446a0ba598e8/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:23:07.290040130Z\",\"data\":{\"connected\":true},\"deviceuid\":\"a2589c68-9738-4b7f-ae78-156367e2038e\",\"sender\":\"device1\",\"device\":\"device1\",\"partitionkey\":\"06f3145b%2D9715%2D4d70%2D88a7%2D446a0ba598e8/device1\",\"senderuid\":\"a2589c68-9738-4b7f-ae78-156367e2038e\",\"applicationuid\":\"403ecbe7-6a72-469f-8ecb-4662a4f2c6f9\",\"instance\":\"drogue\",\"application\":\"06f3145b-9715-4d70-88a7-446a0ba598e8\"}" }
[2022-05-09T10: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: 637, payload: 0x7f0ed000c600, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/06f3145b-9715-4d70-88a7-446a0ba598e8", 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, 56, 53, 53, 49, 97, 97, 45, 99, 98, 100, 57, 45, 52, 101, 54, 101, 45, 98, 51, 97, 51, 45, 97, 99, 49, 102, 99, 51, 54, 52, 97, 53, 55, 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, 48, 54, 102, 51, 49, 52, 53, 98, 37, 50, 68, 57, 55, 49, 53, 37, 50, 68, 52, 100, 55, 48, 37, 50, 68, 56, 56, 97, 55, 37, 50, 68, 52, 52, 54, 97, 48, 98, 97, 53, 57, 56, 101, 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, 48, 58, 50, 51, 58, 48, 55, 46, 52, 52, 54, 57, 56, 52, 57, 51, 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, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 50, 53, 56, 57, 99, 54, 56, 45, 57, 55, 51, 56, 45, 52, 98, 55, 102, 45, 97, 101, 55, 56, 45, 49, 53, 54, 51, 54, 55, 101, 50, 48, 51, 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, 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, 54, 102, 51, 49, 52, 53, 98, 45, 57, 55, 49, 53, 45, 52, 100, 55, 48, 45, 56, 56, 97, 55, 45, 52, 52, 54, 97, 48, 98, 97, 53, 57, 56, 101, 56, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 54, 102, 51, 49, 52, 53, 98, 37, 50, 68, 57, 55, 49, 53, 37, 50, 68, 52, 100, 55, 48, 37, 50, 68, 56, 56, 97, 55, 37, 50, 68, 52, 52, 54, 97, 48, 98, 97, 53, 57, 56, 101, 56, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 50, 53, 56, 57, 99, 54, 56, 45, 57, 55, 51, 56, 45, 52, 98, 55, 102, 45, 97, 101, 55, 56, 45, 49, 53, 54, 51, 54, 55, 101, 50, 48, 51, 56, 101, 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, 52, 48, 51, 101, 99, 98, 101, 55, 45, 54, 97, 55, 50, 45, 52, 54, 57, 102, 45, 56, 101, 99, 98, 45, 52, 54, 54, 50, 97, 52, 102, 50, 99, 54, 102, 57, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:23:07Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/06f3145b-9715-4d70-88a7-446a0ba598e8", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"498551aa-cbd9-4e6e-b3a3-ac1fc364a57e\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://06f3145b%2D9715%2D4d70%2D88a7%2D446a0ba598e8/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:23:07.446984932Z\",\"data\":{\"connected\":false},\"deviceuid\":\"a2589c68-9738-4b7f-ae78-156367e2038e\",\"instance\":\"drogue\",\"device\":\"device1\",\"application\":\"06f3145b-9715-4d70-88a7-446a0ba598e8\",\"partitionkey\":\"06f3145b%2D9715%2D4d70%2D88a7%2D446a0ba598e8/device1\",\"senderuid\":\"a2589c68-9738-4b7f-ae78-156367e2038e\",\"sender\":\"device1\",\"applicationuid\":\"403ecbe7-6a72-469f-8ecb-4662a4f2c6f9\"}" }
[2022-05-09T10: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: 629, payload: 0x7f0ed0002390, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/06f3145b-9715-4d70-88a7-446a0ba598e8", 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, 97, 51, 50, 49, 57, 101, 98, 45, 102, 98, 51, 102, 45, 52, 102, 101, 55, 45, 57, 53, 102, 57, 45, 51, 51, 49, 57, 49, 98, 98, 51, 50, 99, 99, 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, 48, 54, 102, 51, 49, 52, 53, 98, 37, 50, 68, 57, 55, 49, 53, 37, 50, 68, 52, 100, 55, 48, 37, 50, 68, 56, 56, 97, 55, 37, 50, 68, 52, 52, 54, 97, 48, 98, 97, 53, 57, 56, 101, 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, 48, 58, 50, 51, 58, 48, 55, 46, 52, 52, 49, 57, 48, 51, 50, 50, 49, 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, 48, 54, 102, 51, 49, 52, 53, 98, 45, 57, 55, 49, 53, 45, 52, 100, 55, 48, 45, 56, 56, 97, 55, 45, 52, 52, 54, 97, 48, 98, 97, 53, 57, 56, 101, 56, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 50, 53, 56, 57, 99, 54, 56, 45, 57, 55, 51, 56, 45, 52, 98, 55, 102, 45, 97, 101, 55, 56, 45, 49, 53, 54, 51, 54, 55, 101, 50, 48, 51, 56, 101, 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, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 50, 53, 56, 57, 99, 54, 56, 45, 57, 55, 51, 56, 45, 52, 98, 55, 102, 45, 97, 101, 55, 56, 45, 49, 53, 54, 51, 54, 55, 101, 50, 48, 51, 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, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 48, 54, 102, 51, 49, 52, 53, 98, 37, 50, 68, 57, 55, 49, 53, 37, 50, 68, 52, 100, 55, 48, 37, 50, 68, 56, 56, 97, 55, 37, 50, 68, 52, 52, 54, 97, 48, 98, 97, 53, 57, 56, 101, 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, 52, 48, 51, 101, 99, 98, 101, 55, 45, 54, 97, 55, 50, 45, 52, 54, 57, 102, 45, 56, 101, 99, 98, 45, 52, 54, 54, 50, 97, 52, 102, 50, 99, 54, 102, 57, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
[2022-05-09T10:23:07Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/06f3145b-9715-4d70-88a7-446a0ba598e8", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"0a3219eb-fb3f-4fe7-95f9-33191bb32cce\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://06f3145b%2D9715%2D4d70%2D88a7%2D446a0ba598e8/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:23:07.441903221Z\",\"data_base64\":\"\",\"application\":\"06f3145b-9715-4d70-88a7-446a0ba598e8\",\"senderuid\":\"a2589c68-9738-4b7f-ae78-156367e2038e\",\"sender\":\"device1\",\"device\":\"device1\",\"deviceuid\":\"a2589c68-9738-4b7f-ae78-156367e2038e\",\"instance\":\"drogue\",\"partitionkey\":\"06f3145b%2D9715%2D4d70%2D88a7%2D446a0ba598e8/device1\",\"applicationuid\":\"403ecbe7-6a72-469f-8ecb-4662a4f2c6f9\"}" }
[2022-05-09T10:23:07Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:23:07Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:23:07Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:23:07Z 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: "06f3145b-9715-4d70-88a7-446a0ba598e8", 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: "06f3145b-9715-4d70-88a7-446a0ba598e8", device: "device1", sender: "device1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T10:23:08Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:23:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "06f3145b-9715-4d70-88a7-446a0ba598e8" "device1"
[2022-05-09T10:23:08Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:23:08Z INFO  drogue_cloud_tests::resources::apps] Destroy application '06f3145b-9715-4d70-88a7-446a0ba598e8'
[2022-05-09T10:23:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "06f3145b-9715-4d70-88a7-446a0ba598e8"
[2022-05-09T10:23:08Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 06f3145b-9715-4d70-88a7-446a0ba598e8 deleted.\n", stderr: "" })

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

Duration: 14s

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

Duration: 13s

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

Duration: 14s

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

Duration: 13s

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

Duration: 14s

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

Duration: 14s

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

Duration: 14s

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

Duration: 14s

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

Duration: 14s

Test output
-------------- TEST START --------------
[2022-05-09T10:25:03Z DEBUG drogue_cloud_tests::init::drg] auto login
[2022-05-09T10:25:03Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:25:03Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:25:03Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:25: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-09T10:25:04Z INFO  drogue_cloud_tests::init::login] Found login button
[2022-05-09T10:25:05Z INFO  drogue_cloud_tests::init::login] Login complete
[2022-05-09T10:25:05Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:25:05Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints
[2022-05-09T10:25:05Z 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-09T10:25:07Z INFO  drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTM3MDcsImlhdCI6MTY1MjA5MTkwNywianRpIjoiMmY4NDc3MGMtMjgwMy00OThlLTlkZWYtMGQ3ZTE5NzZjMWE0IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IkthNlF3LUo3WmhGNUlZbURBOG9vU0EiLCJzZXNzaW9uX3N0YXRlIjoiOGZlN2IwMDQtNDI2ZC00MjBmLWI0ZDItOGFiZmM4ZGM1NzBkIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjhmZTdiMDA0LTQyNmQtNDIwZi1iNGQyLThhYmZjOGRjNTcwZCJ9.Mc-3fa2PIUNuY-urRsebqi4r-C3Xbm02NUzMqcKjdXw
[2022-05-09T10:25:07Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests"
[2022-05-09T10:25:07Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" })
[2022-05-09T10:25:07Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0NDVmMTM5Zi0wNjNjLTRhZDgtODkwYi1mNTg1OTQ0NjFiZDAifQ.eyJleHAiOjE2NTIwOTM3MDcsImlhdCI6MTY1MjA5MTkwNywianRpIjoiMmY4NDc3MGMtMjgwMy00OThlLTlkZWYtMGQ3ZTE5NzZjMWE0IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9hdXRoL3JlYWxtcy9kcm9ndWUiLCJhdWQiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsInN1YiI6IjNkZWIxOWY5LWM3NDYtNGIwMC1hOTA5LTJiOTg4NTVjZTRmMyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IkthNlF3LUo3WmhGNUlZbURBOG9vU0EiLCJzZXNzaW9uX3N0YXRlIjoiOGZlN2IwMDQtNDI2ZC00MjBmLWI0ZDItOGFiZmM4ZGM1NzBkIiwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjhmZTdiMDA0LTQyNmQtNDIwZi1iNGQyLThhYmZjOGRjNTcwZCJ9.Mc-3fa2PIUNuY-urRsebqi4r-C3Xbm02NUzMqcKjdXw" "--context" "system-tests"
[2022-05-09T10:25:07Z 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-09T10:25:08Z INFO  drogue_cloud_tests::resources::apps] Create application: 247b3010-66b1-46d8-87bd-f9c43aa648ad
[2022-05-09T10:25:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "247b3010-66b1-46d8-87bd-f9c43aa648ad"
[2022-05-09T10:25:08Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 247b3010-66b1-46d8-87bd-f9c43aa648ad created.\n", stderr: "" })
[2022-05-09T10:25:08Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "247b3010-66b1-46d8-87bd-f9c43aa648ad"
[2022-05-09T10:25:08Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:25:08.391847Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 1,\n    \"name\": \"247b3010-66b1-46d8-87bd-f9c43aa648ad\",\n    \"resourceVersion\": \"6002f5e6-55cc-447f-8cfe-476b67e2adac\",\n    \"uid\": \"7260b3a1-b1d3-492a-b23a-fce05c2a5574\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:25:08.404869088Z\",\n        \"message\": \"Waiting to become ready: HasFinalizer\",\n        \"reason\": \"WaitingForReady\",\n        \"status\": \"False\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:25:08.404913351Z\",\n        \"reason\": \"NonReadyConditions\",\n        \"status\": \"False\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:25:08.404754474Z\",\n          \"status\": \"False\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:25:08.404755987Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:25:08.404756918Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:25:08.404757860Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:25:08.404759172Z\",\n          \"status\": \"Unknown\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:25:08.404779640Z\",\n          \"reason\": \"Progressing\",\n          \"status\": \"False\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 0\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:25:08Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:25:08.391847Z"), "finalizers": Array([String("kafka")]), "generation": Number(1), "name": String("247b3010-66b1-46d8-87bd-f9c43aa648ad"), "resourceVersion": String("6002f5e6-55cc-447f-8cfe-476b67e2adac"), "uid": String("7260b3a1-b1d3-492a-b23a-fce05c2a5574")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:25:08.404869088Z"), "message": String("Waiting to become ready: HasFinalizer"), "reason": String("WaitingForReady"), "status": String("False"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:25:08.404913351Z"), "reason": String("NonReadyConditions"), "status": String("False"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:25:08.404754474Z"), "status": String("False"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:25:08.404755987Z"), "status": String("Unknown"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:25:08.404756918Z"), "status": String("Unknown"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:25:08.404757860Z"), "status": String("Unknown"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:25:08.404759172Z"), "status": String("Unknown"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:25:08.404779640Z"), "reason": String("Progressing"), "status": String("False"), "type": String("Reconciled")})]), "observedGeneration": Number(0)})})})
[2022-05-09T10:25:08Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false
[2022-05-09T10:25:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "247b3010-66b1-46d8-87bd-f9c43aa648ad"
[2022-05-09T10:25:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:25:08.391847Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"247b3010-66b1-46d8-87bd-f9c43aa648ad\",\n    \"resourceVersion\": \"2099f9dd-ecb8-4da8-a39a-0740a9a811cc\",\n    \"uid\": \"7260b3a1-b1d3-492a-b23a-fce05c2a5574\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:25:08.735617062Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:25:08.735747405Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:25:08.430416944Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:25:08.437054424Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:25:08.504209964Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:25:08.511108531Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:25:08.735478462Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:25:08.735581836Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"EIY0fkcYGJVz\",\n        \"username\": \"user-247b3010-66b1-46d8-87bd-f9c43aa648ad\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:25:09Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:25:08.391847Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("247b3010-66b1-46d8-87bd-f9c43aa648ad"), "resourceVersion": String("2099f9dd-ecb8-4da8-a39a-0740a9a811cc"), "uid": String("7260b3a1-b1d3-492a-b23a-fce05c2a5574")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:25:08.735617062Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:25:08.735747405Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:25:08.430416944Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:25:08.437054424Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:25:08.504209964Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:25:08.511108531Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:25:08.735478462Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:25:08.735581836Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("EIY0fkcYGJVz"), "username": String("user-247b3010-66b1-46d8-87bd-f9c43aa648ad")})})})})
[2022-05-09T10:25:09Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true
[2022-05-09T10:25:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "247b3010-66b1-46d8-87bd-f9c43aa648ad"
[2022-05-09T10:25:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n  \"metadata\": {\n    \"creationTimestamp\": \"2022-05-09T10:25:08.391847Z\",\n    \"finalizers\": [\n      \"kafka\"\n    ],\n    \"generation\": 8,\n    \"name\": \"247b3010-66b1-46d8-87bd-f9c43aa648ad\",\n    \"resourceVersion\": \"2099f9dd-ecb8-4da8-a39a-0740a9a811cc\",\n    \"uid\": \"7260b3a1-b1d3-492a-b23a-fce05c2a5574\"\n  },\n  \"status\": {\n    \"conditions\": [\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:25:08.735617062Z\",\n        \"status\": \"True\",\n        \"type\": \"KafkaReady\"\n      },\n      {\n        \"lastTransitionTime\": \"2022-05-09T10:25:08.735747405Z\",\n        \"status\": \"True\",\n        \"type\": \"Ready\"\n      }\n    ],\n    \"kafka\": {\n      \"conditions\": [\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:25:08.430416944Z\",\n          \"status\": \"True\",\n          \"type\": \"HasFinalizer\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:25:08.437054424Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateTopics\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:25:08.504209964Z\",\n          \"status\": \"True\",\n          \"type\": \"TopicsReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:25:08.511108531Z\",\n          \"status\": \"True\",\n          \"type\": \"CreateUser\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:25:08.735478462Z\",\n          \"status\": \"True\",\n          \"type\": \"UserReady\"\n        },\n        {\n          \"lastTransitionTime\": \"2022-05-09T10:25:08.735581836Z\",\n          \"reason\": \"AsExpected\",\n          \"status\": \"True\",\n          \"type\": \"Reconciled\"\n        }\n      ],\n      \"observedGeneration\": 7,\n      \"user\": {\n        \"mechanism\": \"SCRAM-SHA-512\",\n        \"password\": \"EIY0fkcYGJVz\",\n        \"username\": \"user-247b3010-66b1-46d8-87bd-f9c43aa648ad\"\n      }\n    }\n  }\n}\n", stderr: "" })
[2022-05-09T10:25:09Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"creationTimestamp": String("2022-05-09T10:25:08.391847Z"), "finalizers": Array([String("kafka")]), "generation": Number(8), "name": String("247b3010-66b1-46d8-87bd-f9c43aa648ad"), "resourceVersion": String("2099f9dd-ecb8-4da8-a39a-0740a9a811cc"), "uid": String("7260b3a1-b1d3-492a-b23a-fce05c2a5574")}), "status": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:25:08.735617062Z"), "status": String("True"), "type": String("KafkaReady")}), Object({"lastTransitionTime": String("2022-05-09T10:25:08.735747405Z"), "status": String("True"), "type": String("Ready")})]), "kafka": Object({"conditions": Array([Object({"lastTransitionTime": String("2022-05-09T10:25:08.430416944Z"), "status": String("True"), "type": String("HasFinalizer")}), Object({"lastTransitionTime": String("2022-05-09T10:25:08.437054424Z"), "status": String("True"), "type": String("CreateTopics")}), Object({"lastTransitionTime": String("2022-05-09T10:25:08.504209964Z"), "status": String("True"), "type": String("TopicsReady")}), Object({"lastTransitionTime": String("2022-05-09T10:25:08.511108531Z"), "status": String("True"), "type": String("CreateUser")}), Object({"lastTransitionTime": String("2022-05-09T10:25:08.735478462Z"), "status": String("True"), "type": String("UserReady")}), Object({"lastTransitionTime": String("2022-05-09T10:25:08.735581836Z"), "reason": String("AsExpected"), "status": String("True"), "type": String("Reconciled")})]), "observedGeneration": Number(7), "user": Object({"mechanism": String("SCRAM-SHA-512"), "password": String("EIY0fkcYGJVz"), "username": String("user-247b3010-66b1-46d8-87bd-f9c43aa648ad")})})})})
[2022-05-09T10:25:09Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true
[2022-05-09T10:25:09Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:25:09Z DEBUG drogue_cloud_tests::init::config] Create new config
[2022-05-09T10:25:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:25:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTIyMDcsImlhdCI6MTY1MjA5MTkwNywiYXV0aF90aW1lIjoxNjUyMDkxOTA0LCJqdGkiOiI5NjNjNzU4MS0wM2FjLTQ4ZDAtOGQ2ZS0xMWU0NGE5ZjEwMjciLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJLYTZRdy1KN1poRjVJWW1EQThvb1NBIiwic2Vzc2lvbl9zdGF0ZSI6IjhmZTdiMDA0LTQyNmQtNDIwZi1iNGQyLThhYmZjOGRjNTcwZCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjhmZTdiMDA0LTQyNmQtNDIwZi1iNGQyLThhYmZjOGRjNTcwZCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.wWzVOxiOHzPpjf8Kx5IRw-r1oHFy0rOasmKndezfAqwtJSya1b4Si61WxSlDzOkTMDZ6cdpNQt1sOM7bNW8rAxVMG2Jjrs3kPhCU8e3NMcvoDgcD6HR4T8x_z7VWod1bMdVgLo77h7Zqu2cE2Fkj1IoqJ065LgJE1lJGcr8cESahw4qzyiZyAHs2Rj-rHRHgXIH1nm03FyQSyXpoURwocHod1pwYwAjNEPGJDKFL1NUI_3HgJlSkzSFdYx8oP9mwxAshtbWOwkzXfVq4dgojkvscBYmQPK6M4WW3HGpPvmE1LfBCLqaSQHJN3dz8OnoA7H7uBym5382gczidc68K2Q\n", stderr: "" })
[2022-05-09T10:25:09Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/
[2022-05-09T10:25:09Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info
[2022-05-09T10:25:09Z INFO  drogue_cloud_tests::resources::devices] Create device: device1
[2022-05-09T10:25:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "--app" "247b3010-66b1-46d8-87bd-f9c43aa648ad" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}"
[2022-05-09T10:25:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 created.\n", stderr: "" })
[2022-05-09T10:25:09Z INFO  drogue_cloud_tests::tests::mqtt] MQTT integration URL: wss://mqtt-integration-ws.172.18.0.2.nip.io:30006/mqtt
[2022-05-09T10:25:09Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t"
[2022-05-09T10:25:09Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTIyMDcsImlhdCI6MTY1MjA5MTkwNywiYXV0aF90aW1lIjoxNjUyMDkxOTA0LCJqdGkiOiI5NjNjNzU4MS0wM2FjLTQ4ZDAtOGQ2ZS0xMWU0NGE5ZjEwMjciLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJLYTZRdy1KN1poRjVJWW1EQThvb1NBIiwic2Vzc2lvbl9zdGF0ZSI6IjhmZTdiMDA0LTQyNmQtNDIwZi1iNGQyLThhYmZjOGRjNTcwZCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjhmZTdiMDA0LTQyNmQtNDIwZi1iNGQyLThhYmZjOGRjNTcwZCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.wWzVOxiOHzPpjf8Kx5IRw-r1oHFy0rOasmKndezfAqwtJSya1b4Si61WxSlDzOkTMDZ6cdpNQt1sOM7bNW8rAxVMG2Jjrs3kPhCU8e3NMcvoDgcD6HR4T8x_z7VWod1bMdVgLo77h7Zqu2cE2Fkj1IoqJ065LgJE1lJGcr8cESahw4qzyiZyAHs2Rj-rHRHgXIH1nm03FyQSyXpoURwocHod1pwYwAjNEPGJDKFL1NUI_3HgJlSkzSFdYx8oP9mwxAshtbWOwkzXfVq4dgojkvscBYmQPK6M4WW3HGpPvmE1LfBCLqaSQHJN3dz8OnoA7H7uBym5382gczidc68K2Q\n", stderr: "" })
[2022-05-09T10:25:09Z 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: "57d80aba-7b5b-4fdd-980c-7b3ac39deb24", persistence: None, user_data: None }
[2022-05-09T10:25:09Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:25:09Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc208820
[2022-05-09T10:25:09Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc208820
[2022-05-09T10:25:09Z 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: 0x55efdc296c30, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdbf88c20, 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: 0x55efdc208b90, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJXRG4zQ2wwMVNsYVpRRnRTbUpuS2JqWC1wcXdsR21xWDhSUFNWSHgxUHgwIn0.eyJleHAiOjE2NTIwOTIyMDcsImlhdCI6MTY1MjA5MTkwNywiYXV0aF90aW1lIjoxNjUyMDkxOTA0LCJqdGkiOiI5NjNjNzU4MS0wM2FjLTQ4ZDAtOGQ2ZS0xMWU0NGE5ZjEwMjciLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL2F1dGgvcmVhbG1zL2Ryb2d1ZSIsImF1ZCI6WyJkcm9ndWUiLCJyZWFsbS1tYW5hZ2VtZW50IiwiZ3JhZmFuYSIsImFjY291bnQiXSwic3ViIjoiM2RlYjE5ZjktYzc0Ni00YjAwLWE5MDktMmI5ODg1NWNlNGYzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZHJvZ3VlIiwibm9uY2UiOiJLYTZRdy1KN1poRjVJWW1EQThvb1NBIiwic2Vzc2lvbl9zdGF0ZSI6IjhmZTdiMDA0LTQyNmQtNDIwZi1iNGQyLThhYmZjOGRjNTcwZCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZHJvZ3VlLXVzZXIiLCJkcm9ndWUtYWRtaW4iLCJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsibWFuYWdlLXVzZXJzIl19LCJncmFmYW5hIjp7InJvbGVzIjpbImdyYWZhbmEtZWRpdG9yIiwiZ3JhZmFuYS1hZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjhmZTdiMDA0LTQyNmQtNDIwZi1iNGQyLThhYmZjOGRjNTcwZCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwibmFtZSI6IlN5c3RlbSBBZG1pbiIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiZ2l2ZW5fbmFtZSI6IlN5c3RlbSIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20ifQ.wWzVOxiOHzPpjf8Kx5IRw-r1oHFy0rOasmKndezfAqwtJSya1b4Si61WxSlDzOkTMDZ6cdpNQt1sOM7bNW8rAxVMG2Jjrs3kPhCU8e3NMcvoDgcD6HR4T8x_z7VWod1bMdVgLo77h7Zqu2cE2Fkj1IoqJ065LgJE1lJGcr8cESahw4qzyiZyAHs2Rj-rHRHgXIH1nm03FyQSyXpoURwocHod1pwYwAjNEPGJDKFL1NUI_3HgJlSkzSFdYx8oP9mwxAshtbWOwkzXfVq4dgojkvscBYmQPK6M4WW3HGpPvmE1LfBCLqaSQHJN3dz8OnoA7H7uBym5382gczidc68K2Q"), 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-09T10:25:09Z DEBUG paho_mqtt::async_client] Subscribe to '"app/247b3010-66b1-46d8-87bd-f9c43aa648ad"' @ QOS 0
[2022-05-09T10:25:09Z INFO  drogue_cloud_tests::tests::mqtt] Receiver created
[2022-05-09T10:25:09Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Starting message stream...
[2022-05-09T10:25:09Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:25:09Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T10:25:09Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:25:10Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T10:25:11Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:25:11Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T10:25:11Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:25:11Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T10:25:12Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:25:12Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T10:25:12Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:25:12Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T10:25:13Z INFO  drogue_cloud_tests::context] Adding root certificate
[2022-05-09T10:25:13Z INFO  drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?)
[2022-05-09T10:25:13Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/
[2022-05-09T10:25:13Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?
[2022-05-09T10:25:13Z 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: 0x7f0edc016760, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc0169e0 } }, data: MessageData { topic: "app/247b3010-66b1-46d8-87bd-f9c43aa648ad", 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, 53, 49, 55, 48, 51, 102, 53, 45, 101, 50, 99, 98, 45, 52, 56, 54, 99, 45, 97, 100, 97, 54, 45, 54, 55, 54, 101, 102, 97, 56, 48, 50, 48, 51, 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, 50, 52, 55, 98, 51, 48, 49, 48, 37, 50, 68, 54, 54, 98, 49, 37, 50, 68, 52, 54, 100, 56, 37, 50, 68, 56, 55, 98, 100, 37, 50, 68, 102, 57, 99, 52, 51, 97, 97, 54, 52, 56, 97, 100, 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, 48, 58, 50, 53, 58, 49, 51, 46, 50, 55, 53, 53, 49, 53, 57, 51, 48, 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, 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, 99, 97, 98, 52, 52, 51, 57, 45, 50, 97, 101, 50, 45, 52, 51, 98, 98, 45, 98, 48, 53, 52, 45, 48, 53, 52, 50, 57, 102, 100, 57, 55, 49, 54, 101, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 50, 52, 55, 98, 51, 48, 49, 48, 37, 50, 68, 54, 54, 98, 49, 37, 50, 68, 52, 54, 100, 56, 37, 50, 68, 56, 55, 98, 100, 37, 50, 68, 102, 57, 99, 52, 51, 97, 97, 54, 52, 56, 97, 100, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 99, 97, 98, 52, 52, 51, 57, 45, 50, 97, 101, 50, 45, 52, 51, 98, 98, 45, 98, 48, 53, 52, 45, 48, 53, 52, 50, 57, 102, 100, 57, 55, 49, 54, 101, 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, 50, 52, 55, 98, 51, 48, 49, 48, 45, 54, 54, 98, 49, 45, 52, 54, 100, 56, 45, 56, 55, 98, 100, 45, 102, 57, 99, 52, 51, 97, 97, 54, 52, 56, 97, 100, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 55, 50, 54, 48, 98, 51, 97, 49, 45, 98, 49, 100, 51, 45, 52, 57, 50, 97, 45, 98, 50, 51, 97, 45, 102, 99, 101, 48, 53, 99, 50, 97, 53, 53, 55, 52, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc0169e0 } } } }
[2022-05-09T10:25:13Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbe92e00
[2022-05-09T10:25:13Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/247b3010-66b1-46d8-87bd-f9c43aa648ad", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"651703f5-e2cb-486c-ada6-676efa80203e\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://247b3010%2D66b1%2D46d8%2D87bd%2Df9c43aa648ad/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-05-09T10:25:13.275515930Z\",\"data\":{\"index\":3},\"device\":\"device1\",\"instance\":\"drogue\",\"senderuid\":\"acab4439-2ae2-43bb-b054-05429fd9716e\",\"partitionkey\":\"247b3010%2D66b1%2D46d8%2D87bd%2Df9c43aa648ad/device1\",\"deviceuid\":\"acab4439-2ae2-43bb-b054-05429fd9716e\",\"sender\":\"device1\",\"application\":\"247b3010-66b1-46d8-87bd-f9c43aa648ad\",\"applicationuid\":\"7260b3a1-b1d3-492a-b23a-fce05c2a5574\"}" }
[2022-05-09T10:25:14Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received first message after 3 attempts
[2022-05-09T10:25:14Z DEBUG drogue_cloud_tests::tools::mqtt::receiver] Received warmup message: 3
[2022-05-09T10:25:14Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received most recent messages ... warmed up!
[2022-05-09T10:25:14Z INFO  drogue_cloud_tests::tests::mqtt] Sending payload: telemetry
[2022-05-09T10:25: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: "b999f1eb-7e7e-4592-9412-6e85a30c1719", persistence: None, user_data: None }
[2022-05-09T10:25:14Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1
[2022-05-09T10:25:14Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x55efdc298530
[2022-05-09T10:25:14Z DEBUG paho_mqtt::async_client] Connecting handle: 0x55efdc298530
[2022-05-09T10:25: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: 0x55efdbfbd2d0, password: 0x55efdc0b4400, connectTimeout: 30, retryInterval: 0, ssl: 0x55efdc409190, 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: 0x55efdbe2fcf0, 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@247b3010-66b1-46d8-87bd-f9c43aa648ad"), 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-09T10:25:14Z 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: 0x55efdc052730 } }, data: MessageData { topic: "telemetry", payload: [], props: Properties { cprops: MQTTProperties { count: 1, max_count: 10, length: 27, array: 0x55efdc052730 } } } }
[2022-05-09T10:25:14Z 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: 0x7f0edc02b430, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc02b6c0 } }, data: MessageData { topic: "app/247b3010-66b1-46d8-87bd-f9c43aa648ad", 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, 49, 102, 99, 48, 55, 102, 52, 45, 52, 49, 98, 99, 45, 52, 51, 97, 100, 45, 97, 54, 98, 56, 45, 97, 49, 57, 49, 50, 52, 55, 57, 53, 49, 48, 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, 50, 52, 55, 98, 51, 48, 49, 48, 37, 50, 68, 54, 54, 98, 49, 37, 50, 68, 52, 54, 100, 56, 37, 50, 68, 56, 55, 98, 100, 37, 50, 68, 102, 57, 99, 52, 51, 97, 97, 54, 52, 56, 97, 100, 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, 48, 58, 50, 53, 58, 49, 52, 46, 51, 51, 50, 52, 48, 55, 54, 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, 55, 50, 54, 48, 98, 51, 97, 49, 45, 98, 49, 100, 51, 45, 52, 57, 50, 97, 45, 98, 50, 51, 97, 45, 102, 99, 101, 48, 53, 99, 50, 97, 53, 53, 55, 52, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 50, 52, 55, 98, 51, 48, 49, 48, 37, 50, 68, 54, 54, 98, 49, 37, 50, 68, 52, 54, 100, 56, 37, 50, 68, 56, 55, 98, 100, 37, 50, 68, 102, 57, 99, 52, 51, 97, 97, 54, 52, 56, 97, 100, 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, 50, 52, 55, 98, 51, 48, 49, 48, 45, 54, 54, 98, 49, 45, 52, 54, 100, 56, 45, 56, 55, 98, 100, 45, 102, 57, 99, 52, 51, 97, 97, 54, 52, 56, 97, 100, 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, 97, 99, 97, 98, 52, 52, 51, 57, 45, 50, 97, 101, 50, 45, 52, 51, 98, 98, 45, 98, 48, 53, 52, 45, 48, 53, 52, 50, 57, 102, 100, 57, 55, 49, 54, 101, 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, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 99, 97, 98, 52, 52, 51, 57, 45, 50, 97, 101, 50, 45, 52, 51, 98, 98, 45, 98, 48, 53, 52, 45, 48, 53, 52, 50, 57, 102, 100, 57, 55, 49, 54, 101, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc02b6c0 } } } }
[2022-05-09T10:25:14Z INFO  drogue_cloud_tests::tests::mqtt] Payload sent, waiting for messages
[2022-05-09T10:25:14Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbe92e00
[2022-05-09T10:25:14Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/247b3010-66b1-46d8-87bd-f9c43aa648ad", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"a1fc07f4-41bc-43ad-a6b8-a19124795101\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://247b3010%2D66b1%2D46d8%2D87bd%2Df9c43aa648ad/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:25:14.332407695Z\",\"data\":{\"connected\":true},\"applicationuid\":\"7260b3a1-b1d3-492a-b23a-fce05c2a5574\",\"partitionkey\":\"247b3010%2D66b1%2D46d8%2D87bd%2Df9c43aa648ad/device1\",\"application\":\"247b3010-66b1-46d8-87bd-f9c43aa648ad\",\"device\":\"device1\",\"deviceuid\":\"acab4439-2ae2-43bb-b054-05429fd9716e\",\"sender\":\"device1\",\"instance\":\"drogue\",\"senderuid\":\"acab4439-2ae2-43bb-b054-05429fd9716e\"}" }
[2022-05-09T10:25:14Z 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: 0x7f0edc02b6c0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc02b950 } }, data: MessageData { topic: "app/247b3010-66b1-46d8-87bd-f9c43aa648ad", 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, 52, 102, 57, 54, 52, 51, 56, 45, 97, 97, 55, 101, 45, 52, 57, 99, 49, 45, 57, 98, 100, 50, 45, 50, 49, 57, 99, 102, 48, 54, 52, 48, 54, 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, 50, 52, 55, 98, 51, 48, 49, 48, 37, 50, 68, 54, 54, 98, 49, 37, 50, 68, 52, 54, 100, 56, 37, 50, 68, 56, 55, 98, 100, 37, 50, 68, 102, 57, 99, 52, 51, 97, 97, 54, 52, 56, 97, 100, 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, 48, 58, 50, 53, 58, 49, 52, 46, 54, 53, 48, 56, 50, 57, 52, 55, 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, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 50, 52, 55, 98, 51, 48, 49, 48, 45, 54, 54, 98, 49, 45, 52, 54, 100, 56, 45, 56, 55, 98, 100, 45, 102, 57, 99, 52, 51, 97, 97, 54, 52, 56, 97, 100, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 55, 50, 54, 48, 98, 51, 97, 49, 45, 98, 49, 100, 51, 45, 52, 57, 50, 97, 45, 98, 50, 51, 97, 45, 102, 99, 101, 48, 53, 99, 50, 97, 53, 53, 55, 52, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 99, 97, 98, 52, 52, 51, 57, 45, 50, 97, 101, 50, 45, 52, 51, 98, 98, 45, 98, 48, 53, 52, 45, 48, 53, 52, 50, 57, 102, 100, 57, 55, 49, 54, 101, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 99, 97, 98, 52, 52, 51, 57, 45, 50, 97, 101, 50, 45, 52, 51, 98, 98, 45, 98, 48, 53, 52, 45, 48, 53, 52, 50, 57, 102, 100, 57, 55, 49, 54, 101, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 50, 52, 55, 98, 51, 48, 49, 48, 37, 50, 68, 54, 54, 98, 49, 37, 50, 68, 52, 54, 100, 56, 37, 50, 68, 56, 55, 98, 100, 37, 50, 68, 102, 57, 99, 52, 51, 97, 97, 54, 52, 56, 97, 100, 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, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc02b950 } } } }
[2022-05-09T10:25:14Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbed0eb0
[2022-05-09T10:25:14Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/247b3010-66b1-46d8-87bd-f9c43aa648ad", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"74f96438-aa7e-49c1-9bd2-219cf0640655\",\"type\":\"io.drogue.connection.v1\",\"source\":\"drogue://247b3010%2D66b1%2D46d8%2D87bd%2Df9c43aa648ad/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"connection\",\"time\":\"2022-05-09T10:25:14.650829472Z\",\"data\":{\"connected\":false},\"sender\":\"device1\",\"application\":\"247b3010-66b1-46d8-87bd-f9c43aa648ad\",\"applicationuid\":\"7260b3a1-b1d3-492a-b23a-fce05c2a5574\",\"deviceuid\":\"acab4439-2ae2-43bb-b054-05429fd9716e\",\"senderuid\":\"acab4439-2ae2-43bb-b054-05429fd9716e\",\"partitionkey\":\"247b3010%2D66b1%2D46d8%2D87bd%2Df9c43aa648ad/device1\",\"instance\":\"drogue\",\"device\":\"device1\"}" }
[2022-05-09T10:25:15Z 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: 0x7f0edc02bdd0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f0edc02c050 } }, data: MessageData { topic: "app/247b3010-66b1-46d8-87bd-f9c43aa648ad", 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, 52, 50, 50, 51, 49, 48, 55, 45, 98, 51, 48, 57, 45, 52, 97, 97, 55, 45, 97, 54, 52, 49, 45, 97, 98, 48, 101, 98, 53, 57, 56, 99, 100, 101, 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, 50, 52, 55, 98, 51, 48, 49, 48, 37, 50, 68, 54, 54, 98, 49, 37, 50, 68, 52, 54, 100, 56, 37, 50, 68, 56, 55, 98, 100, 37, 50, 68, 102, 57, 99, 52, 51, 97, 97, 54, 52, 56, 97, 100, 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, 48, 58, 50, 53, 58, 49, 52, 46, 54, 52, 54, 57, 55, 55, 51, 55, 48, 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, 52, 55, 98, 51, 48, 49, 48, 37, 50, 68, 54, 54, 98, 49, 37, 50, 68, 52, 54, 100, 56, 37, 50, 68, 56, 55, 98, 100, 37, 50, 68, 102, 57, 99, 52, 51, 97, 97, 54, 52, 56, 97, 100, 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, 97, 99, 97, 98, 52, 52, 51, 57, 45, 50, 97, 101, 50, 45, 52, 51, 98, 98, 45, 98, 48, 53, 52, 45, 48, 53, 52, 50, 57, 102, 100, 57, 55, 49, 54, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 55, 50, 54, 48, 98, 51, 97, 49, 45, 98, 49, 100, 51, 45, 52, 57, 50, 97, 45, 98, 50, 51, 97, 45, 102, 99, 101, 48, 53, 99, 50, 97, 53, 53, 55, 52, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 50, 52, 55, 98, 51, 48, 49, 48, 45, 54, 54, 98, 49, 45, 52, 54, 100, 56, 45, 56, 55, 98, 100, 45, 102, 57, 99, 52, 51, 97, 97, 54, 52, 56, 97, 100, 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, 97, 99, 97, 98, 52, 52, 51, 57, 45, 50, 97, 101, 50, 45, 52, 51, 98, 98, 45, 98, 48, 53, 52, 45, 48, 53, 52, 50, 57, 102, 100, 57, 55, 49, 54, 101, 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: 0x7f0edc02c050 } } } }
[2022-05-09T10:25:15Z DEBUG paho_mqtt::properties] Dropping string property: 0x55efdbed0eb0
[2022-05-09T10:25:15Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Received: MqttMessage { topic: "app/247b3010-66b1-46d8-87bd-f9c43aa648ad", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"94223107-b309-4aa7-a641-ab0eb598cde8\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://247b3010%2D66b1%2D46d8%2D87bd%2Df9c43aa648ad/device1\",\"datacontenttype\":\"application/octet-stream\",\"subject\":\"telemetry\",\"time\":\"2022-05-09T10:25:14.646977370Z\",\"data_base64\":\"\",\"partitionkey\":\"247b3010%2D66b1%2D46d8%2D87bd%2Df9c43aa648ad/device1\",\"sender\":\"device1\",\"senderuid\":\"acab4439-2ae2-43bb-b054-05429fd9716e\",\"applicationuid\":\"7260b3a1-b1d3-492a-b23a-fce05c2a5574\",\"application\":\"247b3010-66b1-46d8-87bd-f9c43aa648ad\",\"device\":\"device1\",\"deviceuid\":\"acab4439-2ae2-43bb-b054-05429fd9716e\",\"instance\":\"drogue\"}" }
[2022-05-09T10:25:15Z INFO  drogue_cloud_tests::tests::mqtt] Check messages
[2022-05-09T10:25:15Z INFO  drogue_cloud_tests::tools::mqtt::receiver] Dropping MQTT receiver
[2022-05-09T10:25:15Z DEBUG paho_mqtt::async_client] Disconnecting
[2022-05-09T10:25:15Z 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: "247b3010-66b1-46d8-87bd-f9c43aa648ad", 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: "247b3010-66b1-46d8-87bd-f9c43aa648ad", device: "device1", sender: "device1", content_type: Some("application/octet-stream"), payload: [] }`: Position #1', src/tools/assert.rs:35:39
[2022-05-09T10:25:15Z INFO  drogue_cloud_tests::resources::devices] Destroy device 'device1'
[2022-05-09T10:25:15Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "--app" "247b3010-66b1-46d8-87bd-f9c43aa648ad" "device1"
[2022-05-09T10:25:15Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device device1 deleted.\n", stderr: "" })
[2022-05-09T10:25:15Z INFO  drogue_cloud_tests::resources::apps] Destroy application '247b3010-66b1-46d8-87bd-f9c43aa648ad'
[2022-05-09T10:25:15Z INFO  drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "247b3010-66b1-46d8-87bd-f9c43aa648ad"
[2022-05-09T10:25:15Z INFO  drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "App 247b3010-66b1-46d8-87bd-f9c43aa648ad 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: 14s

✅ 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: 13s

✅ 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