❌ Test Result 2022-10-07 09:52 UTC
Total | Passed | Failed | Ignored | Filtered | Duration | |
---|---|---|---|---|---|---|
❌ | 148 | 133 | 15 | 0 | 0 | 40m 22s |
Git: https://github.com/drogue-iot/drogue-cloud
@ refs/heads/coap-dtls
Commit: e43e4c3600a131ed8b3027c3f42ac4152ef30fd7
Author: Ulf Lilleengen <lulf@redhat.com>
Date: Fri, 07 Oct 2022 06:32:48 -0200
Update helm submodule ref
Job: https://github.com/drogue-iot/drogue-cloud-testing/actions/runs/3203381886
Index
Details
✅ init::web::test::test_web_destroy
Duration: 4s
✅ init::web::test::test_web_test
Duration: 5s
✅ tests::api::test_create_access_token_web
Duration: 13s
❌ tests::coap::command::test_command::version_1
Duration: 51s
Test output
-------------- TEST START -------------- [2022-10-07T09:12:56Z DEBUG drogue_cloud_tests::init::drg] auto login [2022-10-07T09:12:56Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:12:56Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:12:56Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:12: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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:12:57Z INFO drogue_cloud_tests::init::login] Found login button [2022-10-07T09:12:59Z INFO drogue_cloud_tests::init::login] Login complete [2022-10-07T09:12:59Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:12:59Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:12: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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:13:02Z INFO drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzU3ODIsImlhdCI6MTY2NTEzMzk4MiwianRpIjoiOTgwYmM1ZDAtMDNkMi00MGYzLTk5MzMtZmJhOTM5YTdhNWU5IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiMzlrQXhXU0tIWGhGTzVxcnJ4MW9jUSIsInNlc3Npb25fc3RhdGUiOiIzNDNjOTM1Yy01YmNiLTQxNTktOWFjYy0yMzRhYmNiYjE2MDYiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiMzQzYzkzNWMtNWJjYi00MTU5LTlhY2MtMjM0YWJjYmIxNjA2In0.invzj-5i6WZWKNuez2u0mdfJZO1ZRy_bYGj7w-Kz0iY [2022-10-07T09:13:02Z INFO drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests" [2022-10-07T09:13:02Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(256)), stdout: "", stderr: "Error: There is an issue in drg configuration: Cannot open config file. Did you log in into a drogue-cloud instance? No such file or directory (os error 2)\n" }) [2022-10-07T09:13:02Z INFO drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzU3ODIsImlhdCI6MTY2NTEzMzk4MiwianRpIjoiOTgwYmM1ZDAtMDNkMi00MGYzLTk5MzMtZmJhOTM5YTdhNWU5IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiMzlrQXhXU0tIWGhGTzVxcnJ4MW9jUSIsInNlc3Npb25fc3RhdGUiOiIzNDNjOTM1Yy01YmNiLTQxNTktOWFjYy0yMzRhYmNiYjE2MDYiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiMzQzYzkzNWMtNWJjYi00MTU5LTlhY2MtMjM0YWJjYmIxNjA2In0.invzj-5i6WZWKNuez2u0mdfJZO1ZRy_bYGj7w-Kz0iY" "--context" "system-tests" [2022-10-07T09:13:02Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Successfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSaved context: system-tests\nSwitched active context to: system-tests\n", stderr: "" }) [2022-10-07T09:13:02Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:13:02Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:13:02Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:13:02Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQyODIsImlhdCI6MTY2NTEzMzk4MiwiYXV0aF90aW1lIjoxNjY1MTMzOTc4LCJqdGkiOiI1YjUzNjgwZi04NGYyLTQ5YjgtOTljNy03ZmU0NmJlOGNlYjEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjM5a0F4V1NLSFhoRk81cXJyeDFvY1EiLCJzZXNzaW9uX3N0YXRlIjoiMzQzYzkzNWMtNWJjYi00MTU5LTlhY2MtMjM0YWJjYmIxNjA2IiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjM0M2M5MzVjLTViY2ItNDE1OS05YWNjLTIzNGFiY2JiMTYwNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.eyNFmyLilxUfdRKZMl-1guORlO3MUDX4_gfBwghfkQehBX04o3i4hGpf_qKG8l8wuDhBgoepY_wCFwZXRE938l7u9EFFu4yqlkxSV7oLRT_PR8VrBJTZoJNeZG-yqjhfaf6-CIQp7tlbGryL40q3waNlwlVB16zKXBCwH3A_rp5rQmUeJ7nY4LcsR2oiVxiPQMCc_KraAXxbwEmhkyh4nfyqDYJTDRI-gZhl3vIPqtVITbtMf3kAriQouviOjVTvV9pHLkxdAUYe9E9l-K00GnaywaLGAfeKBtUCFQewAPq-MKPdzxdL840EJQwOw3w5E5rV6ss32ciiZNQ1omEeIg\n", stderr: "" }) [2022-10-07T09:13:02Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:13:03Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info [2022-10-07T09:13:03Z INFO drogue_cloud_tests::resources::apps] Create application: 321afcf4-52fc-442f-8906-24cb6277e849 [2022-10-07T09:13:03Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "321afcf4-52fc-442f-8906-24cb6277e849" [2022-10-07T09:13:03Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application created\n", stderr: "" }) [2022-10-07T09:13:03Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "321afcf4-52fc-442f-8906-24cb6277e849" "-o" "json" [2022-10-07T09:13:03Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"321afcf4-52fc-442f-8906-24cb6277e849\",\n \"uid\": \"a6048632-0aef-4b61-ac87-066ace48f1f5\",\n \"creationTimestamp\": \"2022-10-07T09:13:03.052350Z\",\n \"generation\": 0,\n \"resourceVersion\": \"093cb002-2d87-444d-99d0-41f45cf407f4\"\n }\n}\n", stderr: "" }) [2022-10-07T09:13:03Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("321afcf4-52fc-442f-8906-24cb6277e849"), "uid": String("a6048632-0aef-4b61-ac87-066ace48f1f5"), "creationTimestamp": String("2022-10-07T09:13:03.052350Z"), "generation": Number(0), "resourceVersion": String("093cb002-2d87-444d-99d0-41f45cf407f4")})}) [2022-10-07T09:13:03Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false [2022-10-07T09:13:04Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "321afcf4-52fc-442f-8906-24cb6277e849" "-o" "json" [2022-10-07T09:13:04Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"321afcf4-52fc-442f-8906-24cb6277e849\",\n \"uid\": \"a6048632-0aef-4b61-ac87-066ace48f1f5\",\n \"creationTimestamp\": \"2022-10-07T09:13:03.052350Z\",\n \"generation\": 0,\n \"resourceVersion\": \"e54ee92a-dba8-4535-92c1-611005835237\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"i3PVZtyuo5XG\",\n \"username\": \"user-321afcf4-52fc-442f-8906-24cb6277e849\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:03.157430011Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:03.168506835Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:03.339823096Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:03.348845546Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:03.701390689Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:03.703245091Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:03.703581748Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:03.703283622Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:13:04Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("321afcf4-52fc-442f-8906-24cb6277e849"), "uid": String("a6048632-0aef-4b61-ac87-066ace48f1f5"), "creationTimestamp": String("2022-10-07T09:13:03.052350Z"), "generation": Number(0), "resourceVersion": String("e54ee92a-dba8-4535-92c1-611005835237"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("i3PVZtyuo5XG"), "username": String("user-321afcf4-52fc-442f-8906-24cb6277e849"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:03.157430011Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:03.168506835Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:03.339823096Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:03.348845546Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:03.701390689Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:03.703245091Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:03.703581748Z")}), Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:03.703283622Z")})])})}) [2022-10-07T09:13:04Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true [2022-10-07T09:13:04Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "321afcf4-52fc-442f-8906-24cb6277e849" "-o" "json" [2022-10-07T09:13:04Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"321afcf4-52fc-442f-8906-24cb6277e849\",\n \"uid\": \"a6048632-0aef-4b61-ac87-066ace48f1f5\",\n \"creationTimestamp\": \"2022-10-07T09:13:03.052350Z\",\n \"generation\": 0,\n \"resourceVersion\": \"e54ee92a-dba8-4535-92c1-611005835237\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"i3PVZtyuo5XG\",\n \"username\": \"user-321afcf4-52fc-442f-8906-24cb6277e849\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:03.157430011Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:03.168506835Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:03.339823096Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:03.348845546Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:03.701390689Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:03.703245091Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:03.703581748Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:03.703283622Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:13:04Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("321afcf4-52fc-442f-8906-24cb6277e849"), "uid": String("a6048632-0aef-4b61-ac87-066ace48f1f5"), "creationTimestamp": String("2022-10-07T09:13:03.052350Z"), "generation": Number(0), "resourceVersion": String("e54ee92a-dba8-4535-92c1-611005835237"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("i3PVZtyuo5XG"), "username": String("user-321afcf4-52fc-442f-8906-24cb6277e849"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:03.157430011Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:03.168506835Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:03.339823096Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:03.348845546Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:03.701390689Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:03.703245091Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:03.703581748Z")}), Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:03.703283622Z")})])})}) [2022-10-07T09:13:04Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true [2022-10-07T09:13:04Z INFO drogue_cloud_tests::resources::devices] Create device: device1 [2022-10-07T09:13:04Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "-a" "321afcf4-52fc-442f-8906-24cb6277e849" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}" [2022-10-07T09:13:04Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device created\n", stderr: "" }) [2022-10-07T09:13:04Z INFO drogue_cloud_tests::tests::coap::command] Sending payload [2022-10-07T09:13:04Z INFO drogue_cloud_tests::tests::coap::command] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002 [2022-10-07T09:13:04Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:13:04Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQyODIsImlhdCI6MTY2NTEzMzk4MiwiYXV0aF90aW1lIjoxNjY1MTMzOTc4LCJqdGkiOiI1YjUzNjgwZi04NGYyLTQ5YjgtOTljNy03ZmU0NmJlOGNlYjEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjM5a0F4V1NLSFhoRk81cXJyeDFvY1EiLCJzZXNzaW9uX3N0YXRlIjoiMzQzYzkzNWMtNWJjYi00MTU5LTlhY2MtMjM0YWJjYmIxNjA2IiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjM0M2M5MzVjLTViY2ItNDE1OS05YWNjLTIzNGFiY2JiMTYwNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.eyNFmyLilxUfdRKZMl-1guORlO3MUDX4_gfBwghfkQehBX04o3i4hGpf_qKG8l8wuDhBgoepY_wCFwZXRE938l7u9EFFu4yqlkxSV7oLRT_PR8VrBJTZoJNeZG-yqjhfaf6-CIQp7tlbGryL40q3waNlwlVB16zKXBCwH3A_rp5rQmUeJ7nY4LcsR2oiVxiPQMCc_KraAXxbwEmhkyh4nfyqDYJTDRI-gZhl3vIPqtVITbtMf3kAriQouviOjVTvV9pHLkxdAUYe9E9l-K00GnaywaLGAfeKBtUCFQewAPq-MKPdzxdL840EJQwOw3w5E5rV6ss32ciiZNQ1omEeIg\n", stderr: "" }) [2022-10-07T09:13: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-integration.172.18.0.2.nip.io:30002", client_id: "2108ecf0-20fc-4a45-9b0b-caf07862d47e", persistence: None, user_data: None } [2022-10-07T09:13:04Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1 [2022-10-07T09:13:04Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561321a28ec0 [2022-10-07T09:13:04Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561321a28ec0 [2022-10-07T09:13: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: 0x0, password: 0x561321a29200, connectTimeout: 30, retryInterval: 0, ssl: 0x561321a297e0, 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: 0x561321a262d0, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQyODIsImlhdCI6MTY2NTEzMzk4MiwiYXV0aF90aW1lIjoxNjY1MTMzOTc4LCJqdGkiOiI1YjUzNjgwZi04NGYyLTQ5YjgtOTljNy03ZmU0NmJlOGNlYjEiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjM5a0F4V1NLSFhoRk81cXJyeDFvY1EiLCJzZXNzaW9uX3N0YXRlIjoiMzQzYzkzNWMtNWJjYi00MTU5LTlhY2MtMjM0YWJjYmIxNjA2IiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjM0M2M5MzVjLTViY2ItNDE1OS05YWNjLTIzNGFiY2JiMTYwNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.eyNFmyLilxUfdRKZMl-1guORlO3MUDX4_gfBwghfkQehBX04o3i4hGpf_qKG8l8wuDhBgoepY_wCFwZXRE938l7u9EFFu4yqlkxSV7oLRT_PR8VrBJTZoJNeZG-yqjhfaf6-CIQp7tlbGryL40q3waNlwlVB16zKXBCwH3A_rp5rQmUeJ7nY4LcsR2oiVxiPQMCc_KraAXxbwEmhkyh4nfyqDYJTDRI-gZhl3vIPqtVITbtMf3kAriQouviOjVTvV9pHLkxdAUYe9E9l-K00GnaywaLGAfeKBtUCFQewAPq-MKPdzxdL840EJQwOw3w5E5rV6ss32ciiZNQ1omEeIg"), 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-10-07T09:13:04Z DEBUG paho_mqtt::async_client] Subscribe to '"app/321afcf4-52fc-442f-8906-24cb6277e849"' @ QOS 0 [2022-10-07T09:13:04Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Starting message stream... [2022-10-07T09:13:04Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:13:04Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:13:04Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:13:05Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:13:06Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:13:06Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:13:06Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:13:06Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:13:07Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:13:07Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:13:07Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:13:07Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:13:08Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:13:08Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:13:08Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:13:08Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:13:08Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 612, payload: 0x7f3150015f70, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/321afcf4-52fc-442f-8906-24cb6277e849", 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, 57, 51, 55, 55, 48, 49, 102, 45, 99, 56, 54, 102, 45, 52, 97, 97, 101, 45, 98, 48, 49, 55, 45, 57, 48, 98, 53, 54, 48, 53, 52, 53, 98, 102, 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, 51, 50, 49, 97, 102, 99, 102, 52, 45, 53, 50, 102, 99, 45, 52, 52, 50, 102, 45, 56, 57, 48, 54, 45, 50, 52, 99, 98, 54, 50, 55, 55, 101, 56, 52, 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, 49, 48, 45, 48, 55, 84, 48, 57, 58, 49, 51, 58, 48, 56, 46, 50, 52, 51, 51, 54, 53, 50, 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, 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, 51, 50, 49, 97, 102, 99, 102, 52, 45, 53, 50, 102, 99, 45, 52, 52, 50, 102, 45, 56, 57, 48, 54, 45, 50, 52, 99, 98, 54, 50, 55, 55, 101, 56, 52, 57, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 97, 54, 48, 52, 56, 54, 51, 50, 45, 48, 97, 101, 102, 45, 52, 98, 54, 49, 45, 97, 99, 56, 55, 45, 48, 54, 54, 97, 99, 101, 52, 56, 102, 49, 102, 53, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 51, 50, 49, 97, 102, 99, 102, 52, 37, 50, 68, 53, 50, 102, 99, 37, 50, 68, 52, 52, 50, 102, 37, 50, 68, 56, 57, 48, 54, 37, 50, 68, 50, 52, 99, 98, 54, 50, 55, 55, 101, 56, 52, 57, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 102, 48, 102, 99, 102, 55, 51, 53, 45, 51, 101, 100, 98, 45, 52, 48, 56, 53, 45, 57, 98, 97, 98, 45, 98, 101, 99, 57, 101, 55, 57, 54, 56, 53, 97, 57, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 102, 48, 102, 99, 102, 55, 51, 53, 45, 51, 101, 100, 98, 45, 52, 48, 56, 53, 45, 57, 98, 97, 98, 45, 98, 101, 99, 57, 101, 55, 57, 54, 56, 53, 97, 57, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } } [2022-10-07T09:13:08Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Received: MqttMessage { topic: "app/321afcf4-52fc-442f-8906-24cb6277e849", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"e937701f-c86f-4aae-b017-90b560545bf4\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://321afcf4-52fc-442f-8906-24cb6277e849/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-10-07T09:13:08.243365207Z\",\"data\":{\"index\":3},\"sender\":\"device1\",\"application\":\"321afcf4-52fc-442f-8906-24cb6277e849\",\"device\":\"device1\",\"instance\":\"drogue\",\"applicationuid\":\"a6048632-0aef-4b61-ac87-066ace48f1f5\",\"partitionkey\":\"321afcf4%2D52fc%2D442f%2D8906%2D24cb6277e849/device1\",\"senderuid\":\"f0fcf735-3edb-4085-9bab-bec9e79685a9\",\"deviceuid\":\"f0fcf735-3edb-4085-9bab-bec9e79685a9\"}" } [2022-10-07T09:13:09Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received first message after 3 attempts [2022-10-07T09:13:09Z DEBUG drogue_cloud_tests::tools::mqtt::receiver::warmup] Received warmup message: 3 [2022-10-07T09:13:09Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received most recent messages ... warmed up! [2022-10-07T09:13:09Z DEBUG drogue_cloud_tests::tools::coap] Client request: coaps://coap-endpoint.172.18.0.2.nip.io:30003 [2022-10-07T09:13:09Z DEBUG drogue_cloud_tests::tools::coap::helper] CoapRequest { message: Packet { header: Header { ver_type_tkl: 64, code: Request( Get, ), message_id: 0, }, token: [], options: { 11: [ [ 118, 49, ], [ 116, 101, 108, 101, 109, 101, 116, 114, 121, ], ], 15: [ [ 99, 116, 61, 54, 48, 48, 48, ], ], 4209: [ [ 66, 97, 115, 105, 99, 32, 90, 71, 86, 50, 97, 87, 78, 108, 77, 85, 65, 122, 77, 106, 70, 104, 90, 109, 78, 109, 78, 67, 48, 49, 77, 109, 90, 106, 76, 84, 81, 48, 77, 109, 89, 116, 79, 68, 107, 119, 78, 105, 48, 121, 78, 71, 78, 105, 78, 106, 73, 51, 78, 50, 85, 52, 78, 68, 107, 54, 90, 109, 57, 118, ], ], }, payload: [], }, response: None, source: None, } thread 'main' panicked at 'Failed to get telemetry response: Resource temporarily unavailable (os error 11)', src/tests/coap/command.rs:110:31 [2022-10-07T09:13:46Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Dropping MQTT receiver [2022-10-07T09:13:46Z DEBUG paho_mqtt::async_client] Disconnecting [2022-10-07T09:13:46Z INFO drogue_cloud_tests::resources::devices] Destroy device 'device1' [2022-10-07T09:13:46Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "-a" "321afcf4-52fc-442f-8906-24cb6277e849" "device1" [2022-10-07T09:13:46Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device deleted\n", stderr: "" }) [2022-10-07T09:13:46Z INFO drogue_cloud_tests::resources::apps] Destroy application '321afcf4-52fc-442f-8906-24cb6277e849' [2022-10-07T09:13:46Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "321afcf4-52fc-442f-8906-24cb6277e849" [2022-10-07T09:13:46Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application deleted\n", stderr: "" })
❌ tests::coap::command::test_command::version_2
Duration: 49s
Test output
-------------- TEST START -------------- [2022-10-07T09:13:48Z DEBUG drogue_cloud_tests::init::drg] auto login [2022-10-07T09:13:48Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:13:48Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:13:48Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:13: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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:13:49Z INFO drogue_cloud_tests::init::login] Found login button [2022-10-07T09:13:51Z INFO drogue_cloud_tests::init::login] Login complete [2022-10-07T09:13:51Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:13:51Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:13: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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:13:53Z INFO drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzU4MzMsImlhdCI6MTY2NTEzNDAzMywianRpIjoiNzQwOWEzYWQtZWIzZC00NzFhLTljOTUtOTZmYjUyODgwMmVhIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiSTdCRUN6S0s5cGptU1RRU05qMC1kZyIsInNlc3Npb25fc3RhdGUiOiJlMTJiZGU1Ni0yYzBlLTRiMTgtODhkZC1jZTU3YzZmNDc3ODMiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiZTEyYmRlNTYtMmMwZS00YjE4LTg4ZGQtY2U1N2M2ZjQ3NzgzIn0.XwR9vRsHWJ145V5SRRz_L7cMcgMxC-f_ackvjtf9ozM [2022-10-07T09:13:53Z INFO drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests" [2022-10-07T09:13:53Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Context system-tests deleted\n", stderr: "" }) [2022-10-07T09:13:53Z INFO drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzU4MzMsImlhdCI6MTY2NTEzNDAzMywianRpIjoiNzQwOWEzYWQtZWIzZC00NzFhLTljOTUtOTZmYjUyODgwMmVhIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiSTdCRUN6S0s5cGptU1RRU05qMC1kZyIsInNlc3Npb25fc3RhdGUiOiJlMTJiZGU1Ni0yYzBlLTRiMTgtODhkZC1jZTU3YzZmNDc3ODMiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiZTEyYmRlNTYtMmMwZS00YjE4LTg4ZGQtY2U1N2M2ZjQ3NzgzIn0.XwR9vRsHWJ145V5SRRz_L7cMcgMxC-f_ackvjtf9ozM" "--context" "system-tests" [2022-10-07T09:13:53Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Successfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSaved context: system-tests\nSwitched active context to: system-tests\n", stderr: "" }) [2022-10-07T09:13:54Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:13:54Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:13:54Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:13:54Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQzMzMsImlhdCI6MTY2NTEzNDAzMywiYXV0aF90aW1lIjoxNjY1MTM0MDMwLCJqdGkiOiI0NWNhNmFmMC00YmFlLTQ3NDktOTNkOS1lYjEyOWExZjViZTgiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ikk3QkVDektLOXBqbVNUUVNOajAtZGciLCJzZXNzaW9uX3N0YXRlIjoiZTEyYmRlNTYtMmMwZS00YjE4LTg4ZGQtY2U1N2M2ZjQ3NzgzIiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImUxMmJkZTU2LTJjMGUtNGIxOC04OGRkLWNlNTdjNmY0Nzc4MyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.GQPwjM05fqFQsJzmSx2sBfxBeTMkhJBcc0y5QBtntOwImgSRV1cLXAysLx7do4OCzgAXOQcedT6SWgRcBsRtXGrrOZkEDj-Fhvrd5XWuy7IggZbblFWcNkxMCZPjatqBknnxo-9flGfsCzlvSZwR-OX-BVTqCXt8BgDNs61X-IFxzbF9y73Y1bCtGviolBFlBAY7B3LlzUatKEjvAilytgYJ3Pp-P0kizAbOAcjuk1shKQPhljVvQpGWFwdWB96RnY6GXJlru3wD-dfuif4cU7iMYPM4uJJyz9lzazJpEr-kQgstT07-vlP3ktLdx1Uxe9i_y6kCUtalHSydtjQt3A\n", stderr: "" }) [2022-10-07T09:13:54Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:13:54Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info [2022-10-07T09:13:54Z INFO drogue_cloud_tests::resources::apps] Create application: 685ad1a8-dc6c-4c35-9ac0-d2d4d1acb861 [2022-10-07T09:13:54Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "685ad1a8-dc6c-4c35-9ac0-d2d4d1acb861" [2022-10-07T09:13:54Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application created\n", stderr: "" }) [2022-10-07T09:13:54Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "685ad1a8-dc6c-4c35-9ac0-d2d4d1acb861" "-o" "json" [2022-10-07T09:13:54Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"685ad1a8-dc6c-4c35-9ac0-d2d4d1acb861\",\n \"uid\": \"0f63cc93-fbb8-465c-ba1e-fcc39d557fcb\",\n \"creationTimestamp\": \"2022-10-07T09:13:54.084016Z\",\n \"generation\": 0,\n \"resourceVersion\": \"bbcabcd0-dddc-4b9d-9c7d-dd84992ba70b\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"False\",\n \"lastTransitionTime\": \"2022-10-07T09:13:54.107644860Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:13:54.107646884Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:13:54.107647645Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:13:54.107648447Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:13:54.107650170Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"Progressing\",\n \"status\": \"False\",\n \"lastTransitionTime\": \"2022-10-07T09:13:54.107665319Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"reason\": \"NonReadyConditions\",\n \"status\": \"False\",\n \"lastTransitionTime\": \"2022-10-07T09:13:54.107807404Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"reason\": \"WaitingForReady\",\n \"status\": \"False\",\n \"message\": \"Waiting to become ready: HasFinalizer\",\n \"lastTransitionTime\": \"2022-10-07T09:13:54.107770986Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:13:54Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("685ad1a8-dc6c-4c35-9ac0-d2d4d1acb861"), "uid": String("0f63cc93-fbb8-465c-ba1e-fcc39d557fcb"), "creationTimestamp": String("2022-10-07T09:13:54.084016Z"), "generation": Number(0), "resourceVersion": String("bbcabcd0-dddc-4b9d-9c7d-dd84992ba70b"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"conditions": Array([Object({"type": String("HasFinalizer"), "status": String("False"), "lastTransitionTime": String("2022-10-07T09:13:54.107644860Z")}), Object({"type": String("CreateTopics"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:13:54.107646884Z")}), Object({"type": String("TopicsReady"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:13:54.107647645Z")}), Object({"type": String("CreateUser"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:13:54.107648447Z")}), Object({"type": String("UserReady"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:13:54.107650170Z")}), Object({"type": String("Reconciled"), "reason": String("Progressing"), "status": String("False"), "lastTransitionTime": String("2022-10-07T09:13:54.107665319Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "reason": String("NonReadyConditions"), "status": String("False"), "lastTransitionTime": String("2022-10-07T09:13:54.107807404Z")}), Object({"type": String("KafkaReady"), "reason": String("WaitingForReady"), "status": String("False"), "message": String("Waiting to become ready: HasFinalizer"), "lastTransitionTime": String("2022-10-07T09:13:54.107770986Z")})])})}) [2022-10-07T09:13:54Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false [2022-10-07T09:13:55Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "685ad1a8-dc6c-4c35-9ac0-d2d4d1acb861" "-o" "json" [2022-10-07T09:13:55Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"685ad1a8-dc6c-4c35-9ac0-d2d4d1acb861\",\n \"uid\": \"0f63cc93-fbb8-465c-ba1e-fcc39d557fcb\",\n \"creationTimestamp\": \"2022-10-07T09:13:54.084016Z\",\n \"generation\": 0,\n \"resourceVersion\": \"a5503df8-2a1c-46c7-83fa-010a14907d5f\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"yCJ6EMAGVr5d\",\n \"username\": \"user-685ad1a8-dc6c-4c35-9ac0-d2d4d1acb861\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:54.136025480Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:54.143407622Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:54.284882054Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:54.291808724Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:54.428806108Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:54.428836426Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:54.428959644Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:54.428871280Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:13:55Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("685ad1a8-dc6c-4c35-9ac0-d2d4d1acb861"), "uid": String("0f63cc93-fbb8-465c-ba1e-fcc39d557fcb"), "creationTimestamp": String("2022-10-07T09:13:54.084016Z"), "generation": Number(0), "resourceVersion": String("a5503df8-2a1c-46c7-83fa-010a14907d5f"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("yCJ6EMAGVr5d"), "username": String("user-685ad1a8-dc6c-4c35-9ac0-d2d4d1acb861"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:54.136025480Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:54.143407622Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:54.284882054Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:54.291808724Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:54.428806108Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:54.428836426Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:54.428959644Z")}), Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:54.428871280Z")})])})}) [2022-10-07T09:13:55Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true [2022-10-07T09:13:55Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "685ad1a8-dc6c-4c35-9ac0-d2d4d1acb861" "-o" "json" [2022-10-07T09:13:55Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"685ad1a8-dc6c-4c35-9ac0-d2d4d1acb861\",\n \"uid\": \"0f63cc93-fbb8-465c-ba1e-fcc39d557fcb\",\n \"creationTimestamp\": \"2022-10-07T09:13:54.084016Z\",\n \"generation\": 0,\n \"resourceVersion\": \"a5503df8-2a1c-46c7-83fa-010a14907d5f\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"yCJ6EMAGVr5d\",\n \"username\": \"user-685ad1a8-dc6c-4c35-9ac0-d2d4d1acb861\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:54.136025480Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:54.143407622Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:54.284882054Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:54.291808724Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:54.428806108Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:54.428836426Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:54.428959644Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:13:54.428871280Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:13:55Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("685ad1a8-dc6c-4c35-9ac0-d2d4d1acb861"), "uid": String("0f63cc93-fbb8-465c-ba1e-fcc39d557fcb"), "creationTimestamp": String("2022-10-07T09:13:54.084016Z"), "generation": Number(0), "resourceVersion": String("a5503df8-2a1c-46c7-83fa-010a14907d5f"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("yCJ6EMAGVr5d"), "username": String("user-685ad1a8-dc6c-4c35-9ac0-d2d4d1acb861"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:54.136025480Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:54.143407622Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:54.284882054Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:54.291808724Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:54.428806108Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:54.428836426Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:54.428959644Z")}), Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:13:54.428871280Z")})])})}) [2022-10-07T09:13:55Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true [2022-10-07T09:13:55Z INFO drogue_cloud_tests::resources::devices] Create device: device1 [2022-10-07T09:13:55Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "-a" "685ad1a8-dc6c-4c35-9ac0-d2d4d1acb861" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}" [2022-10-07T09:13:55Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device created\n", stderr: "" }) [2022-10-07T09:13:55Z INFO drogue_cloud_tests::tests::coap::command] Sending payload [2022-10-07T09:13:55Z INFO drogue_cloud_tests::tests::coap::command] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002 [2022-10-07T09:13:55Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:13:55Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQzMzMsImlhdCI6MTY2NTEzNDAzMywiYXV0aF90aW1lIjoxNjY1MTM0MDMwLCJqdGkiOiI0NWNhNmFmMC00YmFlLTQ3NDktOTNkOS1lYjEyOWExZjViZTgiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ikk3QkVDektLOXBqbVNUUVNOajAtZGciLCJzZXNzaW9uX3N0YXRlIjoiZTEyYmRlNTYtMmMwZS00YjE4LTg4ZGQtY2U1N2M2ZjQ3NzgzIiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImUxMmJkZTU2LTJjMGUtNGIxOC04OGRkLWNlNTdjNmY0Nzc4MyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.GQPwjM05fqFQsJzmSx2sBfxBeTMkhJBcc0y5QBtntOwImgSRV1cLXAysLx7do4OCzgAXOQcedT6SWgRcBsRtXGrrOZkEDj-Fhvrd5XWuy7IggZbblFWcNkxMCZPjatqBknnxo-9flGfsCzlvSZwR-OX-BVTqCXt8BgDNs61X-IFxzbF9y73Y1bCtGviolBFlBAY7B3LlzUatKEjvAilytgYJ3Pp-P0kizAbOAcjuk1shKQPhljVvQpGWFwdWB96RnY6GXJlru3wD-dfuif4cU7iMYPM4uJJyz9lzazJpEr-kQgstT07-vlP3ktLdx1Uxe9i_y6kCUtalHSydtjQt3A\n", stderr: "" }) [2022-10-07T09:13: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: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "2c57e63f-192a-4feb-99a8-4d3d86c715c6", persistence: None, user_data: None } [2022-10-07T09:13:55Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1 [2022-10-07T09:13:55Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561321968ac0 [2022-10-07T09:13:55Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561321968ac0 [2022-10-07T09:13: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: 0x561321968ee0, connectTimeout: 30, retryInterval: 0, ssl: 0x56132194e240, 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: 0x7f315c008060, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQzMzMsImlhdCI6MTY2NTEzNDAzMywiYXV0aF90aW1lIjoxNjY1MTM0MDMwLCJqdGkiOiI0NWNhNmFmMC00YmFlLTQ3NDktOTNkOS1lYjEyOWExZjViZTgiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ikk3QkVDektLOXBqbVNUUVNOajAtZGciLCJzZXNzaW9uX3N0YXRlIjoiZTEyYmRlNTYtMmMwZS00YjE4LTg4ZGQtY2U1N2M2ZjQ3NzgzIiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImUxMmJkZTU2LTJjMGUtNGIxOC04OGRkLWNlNTdjNmY0Nzc4MyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.GQPwjM05fqFQsJzmSx2sBfxBeTMkhJBcc0y5QBtntOwImgSRV1cLXAysLx7do4OCzgAXOQcedT6SWgRcBsRtXGrrOZkEDj-Fhvrd5XWuy7IggZbblFWcNkxMCZPjatqBknnxo-9flGfsCzlvSZwR-OX-BVTqCXt8BgDNs61X-IFxzbF9y73Y1bCtGviolBFlBAY7B3LlzUatKEjvAilytgYJ3Pp-P0kizAbOAcjuk1shKQPhljVvQpGWFwdWB96RnY6GXJlru3wD-dfuif4cU7iMYPM4uJJyz9lzazJpEr-kQgstT07-vlP3ktLdx1Uxe9i_y6kCUtalHSydtjQt3A"), 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-10-07T09:13:55Z DEBUG paho_mqtt::async_client] Subscribe to '"app/685ad1a8-dc6c-4c35-9ac0-d2d4d1acb861"' @ QOS 0 [2022-10-07T09:13:55Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Starting message stream... [2022-10-07T09:13:55Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:13:55Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:13:55Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:13:56Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:13:57Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:13:57Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:13:57Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:13:57Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:13:58Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:13:58Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:13:58Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:13:58Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:13:59Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:13:59Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:13:59Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:13:59Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:13:59Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 612, payload: 0x7f314c016110, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f314c016380 } }, data: MessageData { topic: "app/685ad1a8-dc6c-4c35-9ac0-d2d4d1acb861", 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, 57, 51, 54, 97, 49, 50, 45, 57, 48, 57, 102, 45, 52, 51, 101, 49, 45, 98, 53, 98, 53, 45, 49, 101, 54, 54, 98, 98, 54, 100, 56, 48, 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, 54, 56, 53, 97, 100, 49, 97, 56, 45, 100, 99, 54, 99, 45, 52, 99, 51, 53, 45, 57, 97, 99, 48, 45, 100, 50, 100, 52, 100, 49, 97, 99, 98, 56, 54, 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, 49, 48, 45, 48, 55, 84, 48, 57, 58, 49, 51, 58, 53, 57, 46, 49, 57, 49, 53, 56, 53, 51, 52, 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, 117, 105, 100, 34, 58, 34, 48, 102, 54, 51, 99, 99, 57, 51, 45, 102, 98, 98, 56, 45, 52, 54, 53, 99, 45, 98, 97, 49, 101, 45, 102, 99, 99, 51, 57, 100, 53, 53, 55, 102, 99, 98, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 56, 57, 99, 56, 52, 102, 48, 99, 45, 99, 48, 52, 97, 45, 52, 101, 98, 55, 45, 97, 52, 50, 52, 45, 51, 50, 101, 98, 50, 55, 55, 51, 99, 97, 100, 101, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 54, 56, 53, 97, 100, 49, 97, 56, 37, 50, 68, 100, 99, 54, 99, 37, 50, 68, 52, 99, 51, 53, 37, 50, 68, 57, 97, 99, 48, 37, 50, 68, 100, 50, 100, 52, 100, 49, 97, 99, 98, 56, 54, 49, 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, 56, 57, 99, 56, 52, 102, 48, 99, 45, 99, 48, 52, 97, 45, 52, 101, 98, 55, 45, 97, 52, 50, 52, 45, 51, 50, 101, 98, 50, 55, 55, 51, 99, 97, 100, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 54, 56, 53, 97, 100, 49, 97, 56, 45, 100, 99, 54, 99, 45, 52, 99, 51, 53, 45, 57, 97, 99, 48, 45, 100, 50, 100, 52, 100, 49, 97, 99, 98, 56, 54, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f314c016380 } } } } [2022-10-07T09:13:59Z DEBUG paho_mqtt::properties] Dropping string property: 0x561321a05da0 [2022-10-07T09:13:59Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Received: MqttMessage { topic: "app/685ad1a8-dc6c-4c35-9ac0-d2d4d1acb861", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"65936a12-909f-43e1-b5b5-1e66bb6d80ce\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://685ad1a8-dc6c-4c35-9ac0-d2d4d1acb861/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-10-07T09:13:59.191585340Z\",\"data\":{\"index\":3},\"applicationuid\":\"0f63cc93-fbb8-465c-ba1e-fcc39d557fcb\",\"sender\":\"device1\",\"instance\":\"drogue\",\"deviceuid\":\"89c84f0c-c04a-4eb7-a424-32eb2773cade\",\"partitionkey\":\"685ad1a8%2Ddc6c%2D4c35%2D9ac0%2Dd2d4d1acb861/device1\",\"device\":\"device1\",\"senderuid\":\"89c84f0c-c04a-4eb7-a424-32eb2773cade\",\"application\":\"685ad1a8-dc6c-4c35-9ac0-d2d4d1acb861\"}" } [2022-10-07T09:14:00Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received first message after 3 attempts [2022-10-07T09:14:00Z DEBUG drogue_cloud_tests::tools::mqtt::receiver::warmup] Received warmup message: 3 [2022-10-07T09:14:00Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received most recent messages ... warmed up! [2022-10-07T09:14:00Z DEBUG drogue_cloud_tests::tools::coap] Client request: coaps://coap-endpoint.172.18.0.2.nip.io:30003 [2022-10-07T09:14:00Z DEBUG drogue_cloud_tests::tools::coap::helper] CoapRequest { message: Packet { header: Header { ver_type_tkl: 64, code: Request( Get, ), message_id: 0, }, token: [], options: { 11: [ [ 118, 49, ], [ 116, 101, 108, 101, 109, 101, 116, 114, 121, ], ], 15: [ [ 99, 116, 61, 54, 48, 48, 48, ], ], 4209: [ [ 66, 97, 115, 105, 99, 32, 90, 71, 86, 50, 97, 87, 78, 108, 77, 85, 65, 50, 79, 68, 86, 104, 90, 68, 70, 104, 79, 67, 49, 107, 89, 122, 90, 106, 76, 84, 82, 106, 77, 122, 85, 116, 79, 87, 70, 106, 77, 67, 49, 107, 77, 109, 81, 48, 90, 68, 70, 104, 89, 50, 73, 52, 78, 106, 69, 54, 90, 109, 57, 118, ], ], }, payload: [], }, response: None, source: None, } thread 'main' panicked at 'Failed to get telemetry response: Resource temporarily unavailable (os error 11)', src/tests/coap/command.rs:110:31 [2022-10-07T09:14:35Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Dropping MQTT receiver [2022-10-07T09:14:35Z DEBUG paho_mqtt::async_client] Disconnecting [2022-10-07T09:14:35Z DEBUG paho_mqtt::token] Token failure! 0x5613219b4e70, 0x7ffe827465c0 [2022-10-07T09:14:35Z DEBUG paho_mqtt::token] Token completed with code: -11 [2022-10-07T09:14:35Z DEBUG paho_mqtt::token] Expecting server response for: None [2022-10-07T09:14:35Z 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 } [2022-10-07T09:14:35Z INFO drogue_cloud_tests::resources::devices] Destroy device 'device1' [2022-10-07T09:14:35Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "-a" "685ad1a8-dc6c-4c35-9ac0-d2d4d1acb861" "device1" [2022-10-07T09:14:35Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device deleted\n", stderr: "" }) [2022-10-07T09:14:35Z INFO drogue_cloud_tests::resources::apps] Destroy application '685ad1a8-dc6c-4c35-9ac0-d2d4d1acb861' [2022-10-07T09:14:35Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "685ad1a8-dc6c-4c35-9ac0-d2d4d1acb861" [2022-10-07T09:14:35Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application deleted\n", stderr: "" })
❌ tests::coap::command::test_command::version_3
Duration: 49s
Test output
-------------- TEST START -------------- [2022-10-07T09:14:37Z DEBUG drogue_cloud_tests::init::drg] auto login [2022-10-07T09:14:37Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:14:37Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:14:37Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:14: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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:14:38Z INFO drogue_cloud_tests::init::login] Found login button [2022-10-07T09:14:40Z INFO drogue_cloud_tests::init::login] Login complete [2022-10-07T09:14:40Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:14:40Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:14: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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:14:42Z INFO drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzU4ODIsImlhdCI6MTY2NTEzNDA4MiwianRpIjoiZTdmZDY5M2QtNjM5Yy00Zjg0LWE5ZDQtY2I2NDY2Y2EzZTIwIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiTnZRbERndVpyTHVxSFNIRlhlWVl2dyIsInNlc3Npb25fc3RhdGUiOiJkOTRjZmY3Mi05ZjZmLTRjNTQtODUxMy1kMDAzNmZiZjgxNzYiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiZDk0Y2ZmNzItOWY2Zi00YzU0LTg1MTMtZDAwMzZmYmY4MTc2In0.QF2lH93V2fPgRm3zzQ-M3GaiWAdQt3qwxMZR-iFt3nw [2022-10-07T09:14:42Z INFO drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests" [2022-10-07T09:14:42Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Context system-tests deleted\n", stderr: "" }) [2022-10-07T09:14:42Z INFO drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzU4ODIsImlhdCI6MTY2NTEzNDA4MiwianRpIjoiZTdmZDY5M2QtNjM5Yy00Zjg0LWE5ZDQtY2I2NDY2Y2EzZTIwIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiTnZRbERndVpyTHVxSFNIRlhlWVl2dyIsInNlc3Npb25fc3RhdGUiOiJkOTRjZmY3Mi05ZjZmLTRjNTQtODUxMy1kMDAzNmZiZjgxNzYiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiZDk0Y2ZmNzItOWY2Zi00YzU0LTg1MTMtZDAwMzZmYmY4MTc2In0.QF2lH93V2fPgRm3zzQ-M3GaiWAdQt3qwxMZR-iFt3nw" "--context" "system-tests" [2022-10-07T09:14:42Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Successfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSaved context: system-tests\nSwitched active context to: system-tests\n", stderr: "" }) [2022-10-07T09:14:43Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:14:43Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:14:43Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:14:43Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQzODIsImlhdCI6MTY2NTEzNDA4MiwiYXV0aF90aW1lIjoxNjY1MTM0MDc5LCJqdGkiOiIzOTdmZGFjOC0wZWVjLTRiZDgtODg4Ni1hZGJjZjJlNDkxYWMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ik52UWxEZ3Vackx1cUhTSEZYZVlZdnciLCJzZXNzaW9uX3N0YXRlIjoiZDk0Y2ZmNzItOWY2Zi00YzU0LTg1MTMtZDAwMzZmYmY4MTc2IiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImQ5NGNmZjcyLTlmNmYtNGM1NC04NTEzLWQwMDM2ZmJmODE3NiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.jZBWhfTamjD8Plz5eyLieanDOIW9CCHhhPY6UzuQR3R-V2ILDgaz4lvs6fJEy6pL4GtyNfmYFrL5iMdbXkFpuxApS0_Uqi5SPGflgWi9CIJoh7rPK5S3dX40jLmyVtW4Bo8N5rDjCnDLf7FMMfd2ik5975u2WqCkDycZHmtyYF9USdepxKIHwGGsbnl4r1GqeDp3-Jy-BtC49T2Pl6nJlG0l0O8fag7L16Q71i0v2f-7qTcUhXTlsKokUJDBamBMfn2bR-69I2ZvSeBIRrdT4jGvB-ghPLjXlN5uI9foEWWUoeYphOyzK40-n0uBHSW8Ndntv7NttQv3hrAZ1eWJ8Q\n", stderr: "" }) [2022-10-07T09:14:43Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:14:43Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info [2022-10-07T09:14:43Z INFO drogue_cloud_tests::resources::apps] Create application: edae54b6-cef4-4f34-829d-65ec7eea32fc [2022-10-07T09:14:43Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "edae54b6-cef4-4f34-829d-65ec7eea32fc" [2022-10-07T09:14:43Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application created\n", stderr: "" }) [2022-10-07T09:14:43Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "edae54b6-cef4-4f34-829d-65ec7eea32fc" "-o" "json" [2022-10-07T09:14:43Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"edae54b6-cef4-4f34-829d-65ec7eea32fc\",\n \"uid\": \"a28bcbc9-2a94-4662-a02e-f5c182d1bad7\",\n \"creationTimestamp\": \"2022-10-07T09:14:43.428469Z\",\n \"generation\": 0,\n \"resourceVersion\": \"31a839c7-8e69-47fc-bfe2-32f05cd7ba27\"\n }\n}\n", stderr: "" }) [2022-10-07T09:14:43Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("edae54b6-cef4-4f34-829d-65ec7eea32fc"), "uid": String("a28bcbc9-2a94-4662-a02e-f5c182d1bad7"), "creationTimestamp": String("2022-10-07T09:14:43.428469Z"), "generation": Number(0), "resourceVersion": String("31a839c7-8e69-47fc-bfe2-32f05cd7ba27")})}) [2022-10-07T09:14:43Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false [2022-10-07T09:14:44Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "edae54b6-cef4-4f34-829d-65ec7eea32fc" "-o" "json" [2022-10-07T09:14:44Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"edae54b6-cef4-4f34-829d-65ec7eea32fc\",\n \"uid\": \"a28bcbc9-2a94-4662-a02e-f5c182d1bad7\",\n \"creationTimestamp\": \"2022-10-07T09:14:43.428469Z\",\n \"generation\": 0,\n \"resourceVersion\": \"9d869fc4-45b3-4aa5-b454-9887edcb2747\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"AcZtb2z65jj0\",\n \"username\": \"user-edae54b6-cef4-4f34-829d-65ec7eea32fc\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:14:43.498132138Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:14:43.504858156Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:14:43.602619124Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:14:43.611968210Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:14:43.742669149Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:14:43.742690389Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:14:43.742795666Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:14:43.742712920Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:14:44Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("edae54b6-cef4-4f34-829d-65ec7eea32fc"), "uid": String("a28bcbc9-2a94-4662-a02e-f5c182d1bad7"), "creationTimestamp": String("2022-10-07T09:14:43.428469Z"), "generation": Number(0), "resourceVersion": String("9d869fc4-45b3-4aa5-b454-9887edcb2747"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("AcZtb2z65jj0"), "username": String("user-edae54b6-cef4-4f34-829d-65ec7eea32fc"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:14:43.498132138Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:14:43.504858156Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:14:43.602619124Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:14:43.611968210Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:14:43.742669149Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:14:43.742690389Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:14:43.742795666Z")}), Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:14:43.742712920Z")})])})}) [2022-10-07T09:14:44Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true [2022-10-07T09:14:44Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "edae54b6-cef4-4f34-829d-65ec7eea32fc" "-o" "json" [2022-10-07T09:14:44Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"edae54b6-cef4-4f34-829d-65ec7eea32fc\",\n \"uid\": \"a28bcbc9-2a94-4662-a02e-f5c182d1bad7\",\n \"creationTimestamp\": \"2022-10-07T09:14:43.428469Z\",\n \"generation\": 0,\n \"resourceVersion\": \"9d869fc4-45b3-4aa5-b454-9887edcb2747\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"AcZtb2z65jj0\",\n \"username\": \"user-edae54b6-cef4-4f34-829d-65ec7eea32fc\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:14:43.498132138Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:14:43.504858156Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:14:43.602619124Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:14:43.611968210Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:14:43.742669149Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:14:43.742690389Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:14:43.742795666Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:14:43.742712920Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:14:44Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("edae54b6-cef4-4f34-829d-65ec7eea32fc"), "uid": String("a28bcbc9-2a94-4662-a02e-f5c182d1bad7"), "creationTimestamp": String("2022-10-07T09:14:43.428469Z"), "generation": Number(0), "resourceVersion": String("9d869fc4-45b3-4aa5-b454-9887edcb2747"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("AcZtb2z65jj0"), "username": String("user-edae54b6-cef4-4f34-829d-65ec7eea32fc"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:14:43.498132138Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:14:43.504858156Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:14:43.602619124Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:14:43.611968210Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:14:43.742669149Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:14:43.742690389Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:14:43.742795666Z")}), Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:14:43.742712920Z")})])})}) [2022-10-07T09:14:44Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true [2022-10-07T09:14:44Z INFO drogue_cloud_tests::resources::devices] Create device: device1 [2022-10-07T09:14:44Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "-a" "edae54b6-cef4-4f34-829d-65ec7eea32fc" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}" [2022-10-07T09:14:44Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device created\n", stderr: "" }) [2022-10-07T09:14:44Z INFO drogue_cloud_tests::tests::coap::command] Sending payload [2022-10-07T09:14:44Z INFO drogue_cloud_tests::tests::coap::command] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002 [2022-10-07T09:14:44Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:14:44Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQzODIsImlhdCI6MTY2NTEzNDA4MiwiYXV0aF90aW1lIjoxNjY1MTM0MDc5LCJqdGkiOiIzOTdmZGFjOC0wZWVjLTRiZDgtODg4Ni1hZGJjZjJlNDkxYWMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ik52UWxEZ3Vackx1cUhTSEZYZVlZdnciLCJzZXNzaW9uX3N0YXRlIjoiZDk0Y2ZmNzItOWY2Zi00YzU0LTg1MTMtZDAwMzZmYmY4MTc2IiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImQ5NGNmZjcyLTlmNmYtNGM1NC04NTEzLWQwMDM2ZmJmODE3NiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.jZBWhfTamjD8Plz5eyLieanDOIW9CCHhhPY6UzuQR3R-V2ILDgaz4lvs6fJEy6pL4GtyNfmYFrL5iMdbXkFpuxApS0_Uqi5SPGflgWi9CIJoh7rPK5S3dX40jLmyVtW4Bo8N5rDjCnDLf7FMMfd2ik5975u2WqCkDycZHmtyYF9USdepxKIHwGGsbnl4r1GqeDp3-Jy-BtC49T2Pl6nJlG0l0O8fag7L16Q71i0v2f-7qTcUhXTlsKokUJDBamBMfn2bR-69I2ZvSeBIRrdT4jGvB-ghPLjXlN5uI9foEWWUoeYphOyzK40-n0uBHSW8Ndntv7NttQv3hrAZ1eWJ8Q\n", stderr: "" }) [2022-10-07T09: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: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "e2ad7833-f6d1-42b5-a838-fee49862a86e", persistence: None, user_data: None } [2022-10-07T09:14:44Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1 [2022-10-07T09:14:44Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561321a05980 [2022-10-07T09:14:44Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561321a05980 [2022-10-07T09: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: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x56132191f0b0, connectTimeout: 30, retryInterval: 0, ssl: 0x561321920400, 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: 0x561321a03900, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQzODIsImlhdCI6MTY2NTEzNDA4MiwiYXV0aF90aW1lIjoxNjY1MTM0MDc5LCJqdGkiOiIzOTdmZGFjOC0wZWVjLTRiZDgtODg4Ni1hZGJjZjJlNDkxYWMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Ik52UWxEZ3Vackx1cUhTSEZYZVlZdnciLCJzZXNzaW9uX3N0YXRlIjoiZDk0Y2ZmNzItOWY2Zi00YzU0LTg1MTMtZDAwMzZmYmY4MTc2IiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImQ5NGNmZjcyLTlmNmYtNGM1NC04NTEzLWQwMDM2ZmJmODE3NiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.jZBWhfTamjD8Plz5eyLieanDOIW9CCHhhPY6UzuQR3R-V2ILDgaz4lvs6fJEy6pL4GtyNfmYFrL5iMdbXkFpuxApS0_Uqi5SPGflgWi9CIJoh7rPK5S3dX40jLmyVtW4Bo8N5rDjCnDLf7FMMfd2ik5975u2WqCkDycZHmtyYF9USdepxKIHwGGsbnl4r1GqeDp3-Jy-BtC49T2Pl6nJlG0l0O8fag7L16Q71i0v2f-7qTcUhXTlsKokUJDBamBMfn2bR-69I2ZvSeBIRrdT4jGvB-ghPLjXlN5uI9foEWWUoeYphOyzK40-n0uBHSW8Ndntv7NttQv3hrAZ1eWJ8Q"), 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-10-07T09:14:44Z DEBUG paho_mqtt::async_client] Subscribe to '"app/edae54b6-cef4-4f34-829d-65ec7eea32fc"' @ QOS 0 [2022-10-07T09:14:44Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:14:44Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Starting message stream... [2022-10-07T09:14:44Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:14:44Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:14:45Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:14:46Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:14:46Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:14:46Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:14:46Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:14:47Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:14:47Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:14:47Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:14:47Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:14:48Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:14:48Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:14:48Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:14:48Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:14:48Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 11, payload: 0x7f3150015490, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 565, array: 0x5613219db410 } }, data: MessageData { topic: "app/edae54b6-cef4-4f34-829d-65ec7eea32fc", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 565, array: 0x5613219db410 } } } } [2022-10-07T09:14:48Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561321ac0000, 0x561321abecf0 [2022-10-07T09:14:48Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561321abecf0, 0x561321a580d0 [2022-10-07T09:14:48Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561321abecf0, 0x561321a1b5a0 [2022-10-07T09:14:48Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561321a1b5a0, 0x561321abefe0 [2022-10-07T09:14:48Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561321a1b5a0, 0x7f315c001d50 [2022-10-07T09:14:48Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561321a1b5a0, 0x7f315c001d50 [2022-10-07T09:14:48Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561321a1b5a0, 0x7f315c008c70 [2022-10-07T09:14:48Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c008c70, 0x7f315c001d50 [2022-10-07T09:14:48Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c008c70, 0x561321abefe0 [2022-10-07T09:14:48Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c008c70, 0x7f315c001c10 [2022-10-07T09:14:48Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c001c10, 0x7f315c001d50 [2022-10-07T09:14:48Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c001c10, 0x7f315c001d50 [2022-10-07T09:14:48Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c001c10, 0x7f315c008a90 [2022-10-07T09:14:48Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c008a90, 0x7f315c001d50 [2022-10-07T09:14:48Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f315c008a90 [2022-10-07T09:14:48Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Received: MqttMessage { topic: "app/edae54b6-cef4-4f34-829d-65ec7eea32fc", content_type: Some("application/json"), user_properties: {"subject": "warmup", "deviceuid": "c966cf2b-25ed-4a02-87b9-534604879009", "applicationuid": "a28bcbc9-2a94-4662-a02e-f5c182d1bad7", "time": "2022-10-07T09:14:48.205305085+00:00", "partitionkey": "edae54b6%2Dcef4%2D4f34%2D829d%2D65ec7eea32fc/device1", "instance": "drogue", "id": "37ce8f13-014a-46fc-9a20-28809190d46e", "application": "edae54b6-cef4-4f34-829d-65ec7eea32fc", "device": "device1", "specversion": "1.0", "senderuid": "c966cf2b-25ed-4a02-87b9-534604879009", "sender": "device1", "type": "io.drogue.event.v1", "source": "drogue://edae54b6-cef4-4f34-829d-65ec7eea32fc/device1"}, payload: "{\"index\":3}" } [2022-10-07T09:14:49Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received first message after 3 attempts [2022-10-07T09:14:49Z DEBUG drogue_cloud_tests::tools::mqtt::receiver::warmup] Received warmup message: 3 [2022-10-07T09:14:49Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received most recent messages ... warmed up! [2022-10-07T09:14:49Z DEBUG drogue_cloud_tests::tools::coap] Client request: coaps://coap-endpoint.172.18.0.2.nip.io:30003 [2022-10-07T09:14:49Z DEBUG drogue_cloud_tests::tools::coap::helper] CoapRequest { message: Packet { header: Header { ver_type_tkl: 64, code: Request( Get, ), message_id: 0, }, token: [], options: { 11: [ [ 118, 49, ], [ 116, 101, 108, 101, 109, 101, 116, 114, 121, ], ], 15: [ [ 99, 116, 61, 54, 48, 48, 48, ], ], 4209: [ [ 66, 97, 115, 105, 99, 32, 90, 71, 86, 50, 97, 87, 78, 108, 77, 85, 66, 108, 90, 71, 70, 108, 78, 84, 82, 105, 78, 105, 49, 106, 90, 87, 89, 48, 76, 84, 82, 109, 77, 122, 81, 116, 79, 68, 73, 53, 90, 67, 48, 50, 78, 87, 86, 106, 78, 50, 86, 108, 89, 84, 77, 121, 90, 109, 77, 54, 90, 109, 57, 118, ], ], }, payload: [], }, response: None, source: None, } thread 'main' panicked at 'Failed to get telemetry response: Resource temporarily unavailable (os error 11)', src/tests/coap/command.rs:110:31 [2022-10-07T09:15:24Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Dropping MQTT receiver [2022-10-07T09:15:24Z DEBUG paho_mqtt::async_client] Disconnecting [2022-10-07T09:15:24Z DEBUG paho_mqtt::token] Token failure! 0x561321946290, 0x7ffe827465c0 [2022-10-07T09:15:24Z DEBUG paho_mqtt::token] Token completed with code: -11 [2022-10-07T09:15:24Z DEBUG paho_mqtt::token] Expecting server response for: None [2022-10-07T09:15:24Z 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 } [2022-10-07T09:15:24Z INFO drogue_cloud_tests::resources::devices] Destroy device 'device1' [2022-10-07T09:15:24Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "-a" "edae54b6-cef4-4f34-829d-65ec7eea32fc" "device1" [2022-10-07T09:15:24Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device deleted\n", stderr: "" }) [2022-10-07T09:15:24Z INFO drogue_cloud_tests::resources::apps] Destroy application 'edae54b6-cef4-4f34-829d-65ec7eea32fc' [2022-10-07T09:15:24Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "edae54b6-cef4-4f34-829d-65ec7eea32fc" [2022-10-07T09:15:24Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application deleted\n", stderr: "" })
❌ tests::coap::telemetry::test_send_telemetry_pass::version_1
Duration: 49s
Test output
-------------- TEST START -------------- [2022-10-07T09:15:24Z INFO drogue_cloud_tests::tests::coap] entered coap_to_mqtt! [2022-10-07T09:15:26Z DEBUG drogue_cloud_tests::init::drg] auto login [2022-10-07T09:15:26Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:15:26Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:15:26Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:15: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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:15:28Z INFO drogue_cloud_tests::init::login] Found login button [2022-10-07T09:15:29Z INFO drogue_cloud_tests::init::login] Login complete [2022-10-07T09:15:29Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:15:29Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:15:29Z INFO drogue_cloud_tests::init::config] Endpoints: Object({ "api": String( "http://api.172.18.0.2.nip.io", ), "console": String( "http://console.172.18.0.2.nip.io", ), "coap": Object({ "url": String( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:15:31Z INFO drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzU5MzEsImlhdCI6MTY2NTEzNDEzMSwianRpIjoiMmMzM2NmZGEtZTk5Zi00YTUwLThmYWItNjVhMDFlYzA5NjRiIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiN2NhTS1jLVdUb3ZFU3Z3NTdOV1gzdyIsInNlc3Npb25fc3RhdGUiOiIxNjAzM2NlNC05YmJhLTRlYjEtOWJmNC04ZDQ0MWI3MGRjYjEiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiMTYwMzNjZTQtOWJiYS00ZWIxLTliZjQtOGQ0NDFiNzBkY2IxIn0.lUUIF_qBpKs7NY6ZfLiWUebFMTOTmJ1dVkx3qr6sMLU [2022-10-07T09:15:31Z INFO drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests" [2022-10-07T09:15:31Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Context system-tests deleted\n", stderr: "" }) [2022-10-07T09:15:31Z INFO drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzU5MzEsImlhdCI6MTY2NTEzNDEzMSwianRpIjoiMmMzM2NmZGEtZTk5Zi00YTUwLThmYWItNjVhMDFlYzA5NjRiIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiN2NhTS1jLVdUb3ZFU3Z3NTdOV1gzdyIsInNlc3Npb25fc3RhdGUiOiIxNjAzM2NlNC05YmJhLTRlYjEtOWJmNC04ZDQ0MWI3MGRjYjEiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiMTYwMzNjZTQtOWJiYS00ZWIxLTliZjQtOGQ0NDFiNzBkY2IxIn0.lUUIF_qBpKs7NY6ZfLiWUebFMTOTmJ1dVkx3qr6sMLU" "--context" "system-tests" [2022-10-07T09:15:32Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Successfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSaved context: system-tests\nSwitched active context to: system-tests\n", stderr: "" }) [2022-10-07T09:15:32Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:15:32Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:15:32Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:15:32Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ0MzIsImlhdCI6MTY2NTEzNDEzMiwiYXV0aF90aW1lIjoxNjY1MTM0MTI4LCJqdGkiOiI5MmExOTU4OS02ZTQ1LTQ2ZDktYWNlMi03OWRlNDBkZWVhYTkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjdjYU0tYy1XVG92RVN2dzU3TldYM3ciLCJzZXNzaW9uX3N0YXRlIjoiMTYwMzNjZTQtOWJiYS00ZWIxLTliZjQtOGQ0NDFiNzBkY2IxIiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjE2MDMzY2U0LTliYmEtNGViMS05YmY0LThkNDQxYjcwZGNiMSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.Eag2Aq87P_cwFcb9568Je9ZtnruS0T7KsL53nyFBFE3wn8GjCcjLVR9h6rYPYu3UxWLByBm5EptfB6qnLiGPuNvh9qqBn5uP3fswlon0Zj8z6-PSQdUnxlo8Cx_Goqq_aaRdDzy3LVX_f1B-hvH5FVjopJ47I6QB-hyZYFwnM3cXd0KTlweG9cpScuzNIUmBXkiPz2wBdztdp3bLT9jy00fiQi-BF0gHAZgvHHtmy99ODzH_wLT1zDhjcX9MAGXjq9LwOQ4jgmLTBN3oImEJ-iUGI3WZ6uiVja7q-dRYq5G3puk11Zweg1ZTOwdYdI_MDiYQ2zoPKHcNGfOz2BsuGw\n", stderr: "" }) [2022-10-07T09:15:32Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:15:32Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info [2022-10-07T09:15:32Z INFO drogue_cloud_tests::resources::apps] Create application: 893035b3-bf8b-4077-b859-7b2bbfe4092f [2022-10-07T09:15:32Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "893035b3-bf8b-4077-b859-7b2bbfe4092f" [2022-10-07T09:15:32Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application created\n", stderr: "" }) [2022-10-07T09:15:32Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "893035b3-bf8b-4077-b859-7b2bbfe4092f" "-o" "json" [2022-10-07T09:15:32Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"893035b3-bf8b-4077-b859-7b2bbfe4092f\",\n \"uid\": \"acbb6c96-a99f-4007-a458-ad36199e34c3\",\n \"creationTimestamp\": \"2022-10-07T09:15:32.735128Z\",\n \"generation\": 0,\n \"resourceVersion\": \"956f4079-ec54-4cd8-b91f-328c52c44cf5\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"False\",\n \"lastTransitionTime\": \"2022-10-07T09:15:32.757734387Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:15:32.757735028Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:15:32.757735730Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:15:32.757736120Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:15:32.757736742Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"Progressing\",\n \"status\": \"False\",\n \"lastTransitionTime\": \"2022-10-07T09:15:32.757739967Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"reason\": \"NonReadyConditions\",\n \"status\": \"False\",\n \"lastTransitionTime\": \"2022-10-07T09:15:32.757800170Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"reason\": \"WaitingForReady\",\n \"status\": \"False\",\n \"message\": \"Waiting to become ready: HasFinalizer\",\n \"lastTransitionTime\": \"2022-10-07T09:15:32.757756268Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:15:32Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("893035b3-bf8b-4077-b859-7b2bbfe4092f"), "uid": String("acbb6c96-a99f-4007-a458-ad36199e34c3"), "creationTimestamp": String("2022-10-07T09:15:32.735128Z"), "generation": Number(0), "resourceVersion": String("956f4079-ec54-4cd8-b91f-328c52c44cf5"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"conditions": Array([Object({"type": String("HasFinalizer"), "status": String("False"), "lastTransitionTime": String("2022-10-07T09:15:32.757734387Z")}), Object({"type": String("CreateTopics"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:15:32.757735028Z")}), Object({"type": String("TopicsReady"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:15:32.757735730Z")}), Object({"type": String("CreateUser"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:15:32.757736120Z")}), Object({"type": String("UserReady"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:15:32.757736742Z")}), Object({"type": String("Reconciled"), "reason": String("Progressing"), "status": String("False"), "lastTransitionTime": String("2022-10-07T09:15:32.757739967Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "reason": String("NonReadyConditions"), "status": String("False"), "lastTransitionTime": String("2022-10-07T09:15:32.757800170Z")}), Object({"type": String("KafkaReady"), "reason": String("WaitingForReady"), "status": String("False"), "message": String("Waiting to become ready: HasFinalizer"), "lastTransitionTime": String("2022-10-07T09:15:32.757756268Z")})])})}) [2022-10-07T09:15:32Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false [2022-10-07T09:15:33Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "893035b3-bf8b-4077-b859-7b2bbfe4092f" "-o" "json" [2022-10-07T09:15:33Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"893035b3-bf8b-4077-b859-7b2bbfe4092f\",\n \"uid\": \"acbb6c96-a99f-4007-a458-ad36199e34c3\",\n \"creationTimestamp\": \"2022-10-07T09:15:32.735128Z\",\n \"generation\": 0,\n \"resourceVersion\": \"b9e9d88a-16a9-4a32-8ca9-f40bd4848ce0\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"f6rGdJecEpNf\",\n \"username\": \"user-893035b3-bf8b-4077-b859-7b2bbfe4092f\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:15:32.785843787Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:15:32.793345034Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:15:32.897814807Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:15:32.905595787Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:15:33.034834712Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:15:33.034858366Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:15:33.034969524Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:15:33.034889645Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:15:33Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("893035b3-bf8b-4077-b859-7b2bbfe4092f"), "uid": String("acbb6c96-a99f-4007-a458-ad36199e34c3"), "creationTimestamp": String("2022-10-07T09:15:32.735128Z"), "generation": Number(0), "resourceVersion": String("b9e9d88a-16a9-4a32-8ca9-f40bd4848ce0"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("f6rGdJecEpNf"), "username": String("user-893035b3-bf8b-4077-b859-7b2bbfe4092f"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:15:32.785843787Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:15:32.793345034Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:15:32.897814807Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:15:32.905595787Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:15:33.034834712Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:15:33.034858366Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:15:33.034969524Z")}), Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:15:33.034889645Z")})])})}) [2022-10-07T09:15:33Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true [2022-10-07T09:15:33Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "893035b3-bf8b-4077-b859-7b2bbfe4092f" "-o" "json" [2022-10-07T09:15:33Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"893035b3-bf8b-4077-b859-7b2bbfe4092f\",\n \"uid\": \"acbb6c96-a99f-4007-a458-ad36199e34c3\",\n \"creationTimestamp\": \"2022-10-07T09:15:32.735128Z\",\n \"generation\": 0,\n \"resourceVersion\": \"b9e9d88a-16a9-4a32-8ca9-f40bd4848ce0\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"f6rGdJecEpNf\",\n \"username\": \"user-893035b3-bf8b-4077-b859-7b2bbfe4092f\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:15:32.785843787Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:15:32.793345034Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:15:32.897814807Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:15:32.905595787Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:15:33.034834712Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:15:33.034858366Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:15:33.034969524Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:15:33.034889645Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:15:33Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("893035b3-bf8b-4077-b859-7b2bbfe4092f"), "uid": String("acbb6c96-a99f-4007-a458-ad36199e34c3"), "creationTimestamp": String("2022-10-07T09:15:32.735128Z"), "generation": Number(0), "resourceVersion": String("b9e9d88a-16a9-4a32-8ca9-f40bd4848ce0"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("f6rGdJecEpNf"), "username": String("user-893035b3-bf8b-4077-b859-7b2bbfe4092f"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:15:32.785843787Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:15:32.793345034Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:15:32.897814807Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:15:32.905595787Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:15:33.034834712Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:15:33.034858366Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:15:33.034969524Z")}), Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:15:33.034889645Z")})])})}) [2022-10-07T09:15:33Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true [2022-10-07T09:15:33Z INFO drogue_cloud_tests::resources::devices] Create device: device1 [2022-10-07T09:15:33Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "-a" "893035b3-bf8b-4077-b859-7b2bbfe4092f" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}" [2022-10-07T09:15:33Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device created\n", stderr: "" }) [2022-10-07T09:15:33Z INFO drogue_cloud_tests::tests::coap] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002 [2022-10-07T09:15:33Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:15:33Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ0MzIsImlhdCI6MTY2NTEzNDEzMiwiYXV0aF90aW1lIjoxNjY1MTM0MTI4LCJqdGkiOiI5MmExOTU4OS02ZTQ1LTQ2ZDktYWNlMi03OWRlNDBkZWVhYTkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjdjYU0tYy1XVG92RVN2dzU3TldYM3ciLCJzZXNzaW9uX3N0YXRlIjoiMTYwMzNjZTQtOWJiYS00ZWIxLTliZjQtOGQ0NDFiNzBkY2IxIiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjE2MDMzY2U0LTliYmEtNGViMS05YmY0LThkNDQxYjcwZGNiMSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.Eag2Aq87P_cwFcb9568Je9ZtnruS0T7KsL53nyFBFE3wn8GjCcjLVR9h6rYPYu3UxWLByBm5EptfB6qnLiGPuNvh9qqBn5uP3fswlon0Zj8z6-PSQdUnxlo8Cx_Goqq_aaRdDzy3LVX_f1B-hvH5FVjopJ47I6QB-hyZYFwnM3cXd0KTlweG9cpScuzNIUmBXkiPz2wBdztdp3bLT9jy00fiQi-BF0gHAZgvHHtmy99ODzH_wLT1zDhjcX9MAGXjq9LwOQ4jgmLTBN3oImEJ-iUGI3WZ6uiVja7q-dRYq5G3puk11Zweg1ZTOwdYdI_MDiYQ2zoPKHcNGfOz2BsuGw\n", stderr: "" }) [2022-10-07T09:15:33Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "d19a945e-fb41-411b-9c86-904fa08a0770", persistence: None, user_data: None } [2022-10-07T09:15:33Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1 [2022-10-07T09:15:33Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561321ae5cb0 [2022-10-07T09:15:33Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561321ae5cb0 [2022-10-07T09:15:33Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 1, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561321a8e390, connectTimeout: 30, retryInterval: 0, ssl: 0x5613218b62f0, 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: 0x5613219580d0, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ0MzIsImlhdCI6MTY2NTEzNDEzMiwiYXV0aF90aW1lIjoxNjY1MTM0MTI4LCJqdGkiOiI5MmExOTU4OS02ZTQ1LTQ2ZDktYWNlMi03OWRlNDBkZWVhYTkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjdjYU0tYy1XVG92RVN2dzU3TldYM3ciLCJzZXNzaW9uX3N0YXRlIjoiMTYwMzNjZTQtOWJiYS00ZWIxLTliZjQtOGQ0NDFiNzBkY2IxIiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjE2MDMzY2U0LTliYmEtNGViMS05YmY0LThkNDQxYjcwZGNiMSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.Eag2Aq87P_cwFcb9568Je9ZtnruS0T7KsL53nyFBFE3wn8GjCcjLVR9h6rYPYu3UxWLByBm5EptfB6qnLiGPuNvh9qqBn5uP3fswlon0Zj8z6-PSQdUnxlo8Cx_Goqq_aaRdDzy3LVX_f1B-hvH5FVjopJ47I6QB-hyZYFwnM3cXd0KTlweG9cpScuzNIUmBXkiPz2wBdztdp3bLT9jy00fiQi-BF0gHAZgvHHtmy99ODzH_wLT1zDhjcX9MAGXjq9LwOQ4jgmLTBN3oImEJ-iUGI3WZ6uiVja7q-dRYq5G3puk11Zweg1ZTOwdYdI_MDiYQ2zoPKHcNGfOz2BsuGw"), 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-10-07T09:15:33Z DEBUG paho_mqtt::async_client] Subscribe to '"app/893035b3-bf8b-4077-b859-7b2bbfe4092f"' @ QOS 0 [2022-10-07T09:15:33Z INFO drogue_cloud_tests::tests::coap] Receiver created [2022-10-07T09:15:33Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Starting message stream... [2022-10-07T09:15:33Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:15:33Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:15:33Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:15:34Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:15:35Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:15:35Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:15:35Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:15:35Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:15:36Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:15:36Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:15:36Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:15:36Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:15:37Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:15:37Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:15:37Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:15:37Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:15:37Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 612, payload: 0x7f314c0042e0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/893035b3-bf8b-4077-b859-7b2bbfe4092f", 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, 48, 56, 57, 51, 52, 48, 51, 45, 102, 54, 49, 98, 45, 52, 55, 48, 99, 45, 98, 54, 102, 49, 45, 57, 53, 48, 97, 51, 56, 57, 100, 99, 102, 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, 56, 57, 51, 48, 51, 53, 98, 51, 45, 98, 102, 56, 98, 45, 52, 48, 55, 55, 45, 98, 56, 53, 57, 45, 55, 98, 50, 98, 98, 102, 101, 52, 48, 57, 50, 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, 49, 48, 45, 48, 55, 84, 48, 57, 58, 49, 53, 58, 51, 55, 46, 50, 49, 56, 55, 55, 55, 49, 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, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 56, 57, 51, 48, 51, 53, 98, 51, 37, 50, 68, 98, 102, 56, 98, 37, 50, 68, 52, 48, 55, 55, 37, 50, 68, 98, 56, 53, 57, 37, 50, 68, 55, 98, 50, 98, 98, 102, 101, 52, 48, 57, 50, 102, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 97, 99, 98, 98, 54, 99, 57, 54, 45, 97, 57, 57, 102, 45, 52, 48, 48, 55, 45, 97, 52, 53, 56, 45, 97, 100, 51, 54, 49, 57, 57, 101, 51, 52, 99, 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, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 53, 57, 53, 49, 55, 53, 102, 54, 45, 49, 97, 97, 52, 45, 52, 98, 56, 51, 45, 57, 101, 51, 101, 45, 51, 48, 102, 49, 50, 48, 49, 48, 55, 51, 50, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 53, 57, 53, 49, 55, 53, 102, 54, 45, 49, 97, 97, 52, 45, 52, 98, 56, 51, 45, 57, 101, 51, 101, 45, 51, 48, 102, 49, 50, 48, 49, 48, 55, 51, 50, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 56, 57, 51, 48, 51, 53, 98, 51, 45, 98, 102, 56, 98, 45, 52, 48, 55, 55, 45, 98, 56, 53, 57, 45, 55, 98, 50, 98, 98, 102, 101, 52, 48, 57, 50, 102, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } } [2022-10-07T09:15:37Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Received: MqttMessage { topic: "app/893035b3-bf8b-4077-b859-7b2bbfe4092f", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"70893403-f61b-470c-b6f1-950a389dcfda\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://893035b3-bf8b-4077-b859-7b2bbfe4092f/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-10-07T09:15:37.218777152Z\",\"data\":{\"index\":3},\"partitionkey\":\"893035b3%2Dbf8b%2D4077%2Db859%2D7b2bbfe4092f/device1\",\"sender\":\"device1\",\"applicationuid\":\"acbb6c96-a99f-4007-a458-ad36199e34c3\",\"instance\":\"drogue\",\"device\":\"device1\",\"deviceuid\":\"595175f6-1aa4-4b83-9e3e-30f120107321\",\"senderuid\":\"595175f6-1aa4-4b83-9e3e-30f120107321\",\"application\":\"893035b3-bf8b-4077-b859-7b2bbfe4092f\"}" } [2022-10-07T09:15:38Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received first message after 3 attempts [2022-10-07T09:15:38Z DEBUG drogue_cloud_tests::tools::mqtt::receiver::warmup] Received warmup message: 3 [2022-10-07T09:15:38Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received most recent messages ... warmed up! [2022-10-07T09:15:38Z INFO drogue_cloud_tests::tests::coap] Sending payload [2022-10-07T09:15:38Z DEBUG drogue_cloud_tests::tools::coap] Client request: coaps://coap-endpoint.172.18.0.2.nip.io:30003 [2022-10-07T09:15:38Z DEBUG drogue_cloud_tests::tools::coap::helper] CoapRequest { message: Packet { header: Header { ver_type_tkl: 64, code: Request( Get, ), message_id: 0, }, token: [], options: { 11: [ [ 118, 49, ], [ 116, 101, 108, 101, 109, 101, 116, 114, 121, ], ], 15: [ [], ], 4209: [ [ 66, 97, 115, 105, 99, 32, 90, 71, 86, 50, 97, 87, 78, 108, 77, 85, 65, 52, 79, 84, 77, 119, 77, 122, 86, 105, 77, 121, 49, 105, 90, 106, 104, 105, 76, 84, 81, 119, 78, 122, 99, 116, 89, 106, 103, 49, 79, 83, 48, 51, 89, 106, 74, 105, 89, 109, 90, 108, 78, 68, 65, 53, 77, 109, 89, 54, 90, 109, 57, 118, ], ], }, payload: [], }, response: None, source: None, } thread 'main' panicked at 'CoAP call to succeed: Resource temporarily unavailable (os error 11)', src/tests/coap/mod.rs:112:10 [2022-10-07T09:16:13Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Dropping MQTT receiver [2022-10-07T09:16:13Z DEBUG paho_mqtt::async_client] Disconnecting [2022-10-07T09:16:13Z INFO drogue_cloud_tests::resources::devices] Destroy device 'device1' [2022-10-07T09:16:13Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "-a" "893035b3-bf8b-4077-b859-7b2bbfe4092f" "device1" [2022-10-07T09:16:13Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device deleted\n", stderr: "" }) [2022-10-07T09:16:13Z INFO drogue_cloud_tests::resources::apps] Destroy application '893035b3-bf8b-4077-b859-7b2bbfe4092f' [2022-10-07T09:16:13Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "893035b3-bf8b-4077-b859-7b2bbfe4092f" [2022-10-07T09:16:13Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application deleted\n", stderr: "" })
❌ tests::coap::telemetry::test_send_telemetry_pass::version_2
Duration: 49s
Test output
-------------- TEST START -------------- [2022-10-07T09:16:13Z INFO drogue_cloud_tests::tests::coap] entered coap_to_mqtt! [2022-10-07T09:16:16Z DEBUG drogue_cloud_tests::init::drg] auto login [2022-10-07T09:16:16Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:16:16Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:16:16Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:16: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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:16:17Z INFO drogue_cloud_tests::init::login] Found login button [2022-10-07T09:16:18Z INFO drogue_cloud_tests::init::login] Login complete [2022-10-07T09:16:18Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:16:18Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09: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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:16:20Z INFO drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzU5ODAsImlhdCI6MTY2NTEzNDE4MCwianRpIjoiZWU3YWM5Y2ItMWJkOC00YzY0LTg2YWItZjliZjg1ZDA2ZGIzIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoieXdLZS02SHlieFY3LVFsOGJwOGVlUSIsInNlc3Npb25fc3RhdGUiOiI3NThiOTdiOC03MjAxLTQ5OGItOTM1Yy00MWY5MWUwZDc5ZTciLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiNzU4Yjk3YjgtNzIwMS00OThiLTkzNWMtNDFmOTFlMGQ3OWU3In0._QCKqrHbHMohh76w1MfrsbhJ-Ltky0C3UmJfsG6uv6k [2022-10-07T09:16:20Z INFO drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests" [2022-10-07T09:16:20Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Context system-tests deleted\n", stderr: "" }) [2022-10-07T09:16:20Z INFO drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzU5ODAsImlhdCI6MTY2NTEzNDE4MCwianRpIjoiZWU3YWM5Y2ItMWJkOC00YzY0LTg2YWItZjliZjg1ZDA2ZGIzIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoieXdLZS02SHlieFY3LVFsOGJwOGVlUSIsInNlc3Npb25fc3RhdGUiOiI3NThiOTdiOC03MjAxLTQ5OGItOTM1Yy00MWY5MWUwZDc5ZTciLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiNzU4Yjk3YjgtNzIwMS00OThiLTkzNWMtNDFmOTFlMGQ3OWU3In0._QCKqrHbHMohh76w1MfrsbhJ-Ltky0C3UmJfsG6uv6k" "--context" "system-tests" [2022-10-07T09:16:21Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Successfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSaved context: system-tests\nSwitched active context to: system-tests\n", stderr: "" }) [2022-10-07T09:16:21Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:16:21Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:16:21Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:16:21Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ0ODEsImlhdCI6MTY2NTEzNDE4MSwiYXV0aF90aW1lIjoxNjY1MTM0MTc3LCJqdGkiOiIxZWI0ZWUwNi00OWU2LTRiMWItYWIxYi1mNzQxNjYxOTRjZDMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Inl3S2UtNkh5YnhWNy1RbDhicDhlZVEiLCJzZXNzaW9uX3N0YXRlIjoiNzU4Yjk3YjgtNzIwMS00OThiLTkzNWMtNDFmOTFlMGQ3OWU3IiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijc1OGI5N2I4LTcyMDEtNDk4Yi05MzVjLTQxZjkxZTBkNzllNyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.lJ6f8azH6ELaHeGtalBm2Mix2BH8VIH281iB9AKfE_DVQHEf98C0PKlJ0nffPN4asNdDkQKnake8ww3AxX6bxJxDuDUUJCTY0yqrDCoBztypDYajepEKe5GC-UKCHLOZ9GGxWRZmbHxfuE0Ygsirz2a5B_sbBDbI0g5zqw3mOwwHS20184vVwIDCBW3tpTehGG5OoZKV4OY0eP0sDIee9ChP_FqJKj9ouzJe4v7YRuqmuxZKcmf55bjhT3Wlm83L0DldxjwkoGn9H1DKZQqrS7tFyzRYOj_02Aeaw-5xvM4QH3dwE6f74qNhC-yaiuPlz0Svwn998YIFHIc1zHIEBg\n", stderr: "" }) [2022-10-07T09:16:21Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:16:21Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info [2022-10-07T09:16:21Z INFO drogue_cloud_tests::resources::apps] Create application: e81456d1-daac-41f7-ba8b-291e7bc762a0 [2022-10-07T09:16:21Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "e81456d1-daac-41f7-ba8b-291e7bc762a0" [2022-10-07T09:16:21Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application created\n", stderr: "" }) [2022-10-07T09:16:21Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "e81456d1-daac-41f7-ba8b-291e7bc762a0" "-o" "json" [2022-10-07T09:16:21Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"e81456d1-daac-41f7-ba8b-291e7bc762a0\",\n \"uid\": \"da1597cb-9028-4a07-8846-5892b0cc8f4b\",\n \"creationTimestamp\": \"2022-10-07T09:16:21.809972Z\",\n \"generation\": 0,\n \"resourceVersion\": \"df23ddcf-c1cf-4617-a23c-e04fb88d2e83\"\n }\n}\n", stderr: "" }) [2022-10-07T09:16:21Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("e81456d1-daac-41f7-ba8b-291e7bc762a0"), "uid": String("da1597cb-9028-4a07-8846-5892b0cc8f4b"), "creationTimestamp": String("2022-10-07T09:16:21.809972Z"), "generation": Number(0), "resourceVersion": String("df23ddcf-c1cf-4617-a23c-e04fb88d2e83")})}) [2022-10-07T09:16:21Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false [2022-10-07T09:16:22Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "e81456d1-daac-41f7-ba8b-291e7bc762a0" "-o" "json" [2022-10-07T09:16:22Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"e81456d1-daac-41f7-ba8b-291e7bc762a0\",\n \"uid\": \"da1597cb-9028-4a07-8846-5892b0cc8f4b\",\n \"creationTimestamp\": \"2022-10-07T09:16:21.809972Z\",\n \"generation\": 0,\n \"resourceVersion\": \"b4842b13-85a1-46df-977e-ff99a1d58800\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"voyVygxXVCpx\",\n \"username\": \"user-e81456d1-daac-41f7-ba8b-291e7bc762a0\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:16:21.865187306Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:16:21.873115593Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:16:21.994860664Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:16:22.002999875Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:16:22.134470080Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:16:22.134710991Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:16:22.134754992Z\"\n },\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:16:22.135013455Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:16:22Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("e81456d1-daac-41f7-ba8b-291e7bc762a0"), "uid": String("da1597cb-9028-4a07-8846-5892b0cc8f4b"), "creationTimestamp": String("2022-10-07T09:16:21.809972Z"), "generation": Number(0), "resourceVersion": String("b4842b13-85a1-46df-977e-ff99a1d58800"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("voyVygxXVCpx"), "username": String("user-e81456d1-daac-41f7-ba8b-291e7bc762a0"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:16:21.865187306Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:16:21.873115593Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:16:21.994860664Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:16:22.002999875Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:16:22.134470080Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:16:22.134710991Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:16:22.134754992Z")}), Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:16:22.135013455Z")})])})}) [2022-10-07T09:16:22Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true [2022-10-07T09:16:22Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "e81456d1-daac-41f7-ba8b-291e7bc762a0" "-o" "json" [2022-10-07T09:16:22Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"e81456d1-daac-41f7-ba8b-291e7bc762a0\",\n \"uid\": \"da1597cb-9028-4a07-8846-5892b0cc8f4b\",\n \"creationTimestamp\": \"2022-10-07T09:16:21.809972Z\",\n \"generation\": 0,\n \"resourceVersion\": \"b4842b13-85a1-46df-977e-ff99a1d58800\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"voyVygxXVCpx\",\n \"username\": \"user-e81456d1-daac-41f7-ba8b-291e7bc762a0\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:16:21.865187306Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:16:21.873115593Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:16:21.994860664Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:16:22.002999875Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:16:22.134470080Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:16:22.134710991Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:16:22.134754992Z\"\n },\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:16:22.135013455Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:16:22Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("e81456d1-daac-41f7-ba8b-291e7bc762a0"), "uid": String("da1597cb-9028-4a07-8846-5892b0cc8f4b"), "creationTimestamp": String("2022-10-07T09:16:21.809972Z"), "generation": Number(0), "resourceVersion": String("b4842b13-85a1-46df-977e-ff99a1d58800"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("voyVygxXVCpx"), "username": String("user-e81456d1-daac-41f7-ba8b-291e7bc762a0"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:16:21.865187306Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:16:21.873115593Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:16:21.994860664Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:16:22.002999875Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:16:22.134470080Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:16:22.134710991Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:16:22.134754992Z")}), Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:16:22.135013455Z")})])})}) [2022-10-07T09:16:22Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true [2022-10-07T09:16:22Z INFO drogue_cloud_tests::resources::devices] Create device: device1 [2022-10-07T09:16:22Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "-a" "e81456d1-daac-41f7-ba8b-291e7bc762a0" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}" [2022-10-07T09:16:22Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device created\n", stderr: "" }) [2022-10-07T09:16:22Z INFO drogue_cloud_tests::tests::coap] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002 [2022-10-07T09:16:22Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:16:22Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ0ODEsImlhdCI6MTY2NTEzNDE4MSwiYXV0aF90aW1lIjoxNjY1MTM0MTc3LCJqdGkiOiIxZWI0ZWUwNi00OWU2LTRiMWItYWIxYi1mNzQxNjYxOTRjZDMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Inl3S2UtNkh5YnhWNy1RbDhicDhlZVEiLCJzZXNzaW9uX3N0YXRlIjoiNzU4Yjk3YjgtNzIwMS00OThiLTkzNWMtNDFmOTFlMGQ3OWU3IiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijc1OGI5N2I4LTcyMDEtNDk4Yi05MzVjLTQxZjkxZTBkNzllNyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.lJ6f8azH6ELaHeGtalBm2Mix2BH8VIH281iB9AKfE_DVQHEf98C0PKlJ0nffPN4asNdDkQKnake8ww3AxX6bxJxDuDUUJCTY0yqrDCoBztypDYajepEKe5GC-UKCHLOZ9GGxWRZmbHxfuE0Ygsirz2a5B_sbBDbI0g5zqw3mOwwHS20184vVwIDCBW3tpTehGG5OoZKV4OY0eP0sDIee9ChP_FqJKj9ouzJe4v7YRuqmuxZKcmf55bjhT3Wlm83L0DldxjwkoGn9H1DKZQqrS7tFyzRYOj_02Aeaw-5xvM4QH3dwE6f74qNhC-yaiuPlz0Svwn998YIFHIc1zHIEBg\n", stderr: "" }) [2022-10-07T09:16:22Z 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: "a2cf4969-0707-403b-9727-d6af178b8abf", persistence: None, user_data: None } [2022-10-07T09:16:22Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1 [2022-10-07T09:16:22Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x5613219cb290 [2022-10-07T09:16:22Z DEBUG paho_mqtt::async_client] Connecting handle: 0x5613219cb290 [2022-10-07T09:16:22Z 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: 0x5613219cc0b0, connectTimeout: 30, retryInterval: 0, ssl: 0x5613219c8b30, 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: 0x5613218fd4d0, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ0ODEsImlhdCI6MTY2NTEzNDE4MSwiYXV0aF90aW1lIjoxNjY1MTM0MTc3LCJqdGkiOiIxZWI0ZWUwNi00OWU2LTRiMWItYWIxYi1mNzQxNjYxOTRjZDMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Inl3S2UtNkh5YnhWNy1RbDhicDhlZVEiLCJzZXNzaW9uX3N0YXRlIjoiNzU4Yjk3YjgtNzIwMS00OThiLTkzNWMtNDFmOTFlMGQ3OWU3IiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijc1OGI5N2I4LTcyMDEtNDk4Yi05MzVjLTQxZjkxZTBkNzllNyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.lJ6f8azH6ELaHeGtalBm2Mix2BH8VIH281iB9AKfE_DVQHEf98C0PKlJ0nffPN4asNdDkQKnake8ww3AxX6bxJxDuDUUJCTY0yqrDCoBztypDYajepEKe5GC-UKCHLOZ9GGxWRZmbHxfuE0Ygsirz2a5B_sbBDbI0g5zqw3mOwwHS20184vVwIDCBW3tpTehGG5OoZKV4OY0eP0sDIee9ChP_FqJKj9ouzJe4v7YRuqmuxZKcmf55bjhT3Wlm83L0DldxjwkoGn9H1DKZQqrS7tFyzRYOj_02Aeaw-5xvM4QH3dwE6f74qNhC-yaiuPlz0Svwn998YIFHIc1zHIEBg"), 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-10-07T09:16:23Z DEBUG paho_mqtt::async_client] Subscribe to '"app/e81456d1-daac-41f7-ba8b-291e7bc762a0"' @ QOS 0 [2022-10-07T09:16:23Z INFO drogue_cloud_tests::tests::coap] Receiver created [2022-10-07T09:16:23Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Starting message stream... [2022-10-07T09:16:23Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:16:23Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:16:23Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:16:23Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:16:24Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:16:24Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:16:24Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:16:24Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:16:25Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:16:25Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:16:25Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:16:25Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:16:26Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:16:26Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:16:26Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:16:26Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:16:26Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 612, payload: 0x7f314c015e80, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f314c0160f0 } }, data: MessageData { topic: "app/e81456d1-daac-41f7-ba8b-291e7bc762a0", payload: [123, 34, 115, 112, 101, 99, 118, 101, 114, 115, 105, 111, 110, 34, 58, 34, 49, 46, 48, 34, 44, 34, 105, 100, 34, 58, 34, 48, 100, 48, 52, 56, 53, 53, 51, 45, 49, 49, 98, 54, 45, 52, 56, 54, 54, 45, 98, 48, 49, 102, 45, 101, 101, 98, 101, 100, 52, 52, 56, 52, 56, 48, 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, 101, 56, 49, 52, 53, 54, 100, 49, 45, 100, 97, 97, 99, 45, 52, 49, 102, 55, 45, 98, 97, 56, 98, 45, 50, 57, 49, 101, 55, 98, 99, 55, 54, 50, 97, 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, 49, 48, 45, 48, 55, 84, 48, 57, 58, 49, 54, 58, 50, 54, 46, 49, 57, 56, 51, 56, 57, 49, 55, 54, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 51, 50, 101, 50, 51, 49, 55, 99, 45, 50, 98, 53, 99, 45, 52, 98, 102, 54, 45, 97, 102, 57, 101, 45, 53, 55, 48, 98, 57, 56, 56, 52, 100, 100, 52, 57, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 51, 50, 101, 50, 51, 49, 55, 99, 45, 50, 98, 53, 99, 45, 52, 98, 102, 54, 45, 97, 102, 57, 101, 45, 53, 55, 48, 98, 57, 56, 56, 52, 100, 100, 52, 57, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 101, 56, 49, 52, 53, 54, 100, 49, 37, 50, 68, 100, 97, 97, 99, 37, 50, 68, 52, 49, 102, 55, 37, 50, 68, 98, 97, 56, 98, 37, 50, 68, 50, 57, 49, 101, 55, 98, 99, 55, 54, 50, 97, 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, 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, 101, 56, 49, 52, 53, 54, 100, 49, 45, 100, 97, 97, 99, 45, 52, 49, 102, 55, 45, 98, 97, 56, 98, 45, 50, 57, 49, 101, 55, 98, 99, 55, 54, 50, 97, 48, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 100, 97, 49, 53, 57, 55, 99, 98, 45, 57, 48, 50, 56, 45, 52, 97, 48, 55, 45, 56, 56, 52, 54, 45, 53, 56, 57, 50, 98, 48, 99, 99, 56, 102, 52, 98, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f314c0160f0 } } } } [2022-10-07T09:16:26Z DEBUG paho_mqtt::properties] Dropping string property: 0x561321a61da0 [2022-10-07T09:16:26Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Received: MqttMessage { topic: "app/e81456d1-daac-41f7-ba8b-291e7bc762a0", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"0d048553-11b6-4866-b01f-eebed448480e\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://e81456d1-daac-41f7-ba8b-291e7bc762a0/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-10-07T09:16:26.198389176Z\",\"data\":{\"index\":3},\"deviceuid\":\"32e2317c-2b5c-4bf6-af9e-570b9884dd49\",\"senderuid\":\"32e2317c-2b5c-4bf6-af9e-570b9884dd49\",\"partitionkey\":\"e81456d1%2Ddaac%2D41f7%2Dba8b%2D291e7bc762a0/device1\",\"device\":\"device1\",\"sender\":\"device1\",\"application\":\"e81456d1-daac-41f7-ba8b-291e7bc762a0\",\"instance\":\"drogue\",\"applicationuid\":\"da1597cb-9028-4a07-8846-5892b0cc8f4b\"}" } [2022-10-07T09:16:27Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received first message after 3 attempts [2022-10-07T09:16:27Z DEBUG drogue_cloud_tests::tools::mqtt::receiver::warmup] Received warmup message: 3 [2022-10-07T09:16:27Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received most recent messages ... warmed up! [2022-10-07T09:16:27Z INFO drogue_cloud_tests::tests::coap] Sending payload [2022-10-07T09:16:27Z DEBUG drogue_cloud_tests::tools::coap] Client request: coaps://coap-endpoint.172.18.0.2.nip.io:30003 [2022-10-07T09:16:27Z DEBUG drogue_cloud_tests::tools::coap::helper] CoapRequest { message: Packet { header: Header { ver_type_tkl: 64, code: Request( Get, ), message_id: 0, }, token: [], options: { 11: [ [ 118, 49, ], [ 116, 101, 108, 101, 109, 101, 116, 114, 121, ], ], 15: [ [], ], 4209: [ [ 66, 97, 115, 105, 99, 32, 90, 71, 86, 50, 97, 87, 78, 108, 77, 85, 66, 108, 79, 68, 69, 48, 78, 84, 90, 107, 77, 83, 49, 107, 89, 87, 70, 106, 76, 84, 81, 120, 90, 106, 99, 116, 89, 109, 69, 52, 89, 105, 48, 121, 79, 84, 70, 108, 78, 50, 74, 106, 78, 122, 89, 121, 89, 84, 65, 54, 90, 109, 57, 118, ], ], }, payload: [], }, response: None, source: None, } thread 'main' panicked at 'CoAP call to succeed: Resource temporarily unavailable (os error 11)', src/tests/coap/mod.rs:112:10 [2022-10-07T09:17:02Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Dropping MQTT receiver [2022-10-07T09:17:02Z DEBUG paho_mqtt::async_client] Disconnecting [2022-10-07T09:17:02Z DEBUG paho_mqtt::token] Token failure! 0x5613218fc420, 0x7ffe82748dc0 [2022-10-07T09:17:02Z DEBUG paho_mqtt::token] Token completed with code: -11 [2022-10-07T09:17:02Z DEBUG paho_mqtt::token] Expecting server response for: None [2022-10-07T09:17:02Z 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 } [2022-10-07T09:17:02Z INFO drogue_cloud_tests::resources::devices] Destroy device 'device1' [2022-10-07T09:17:02Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "-a" "e81456d1-daac-41f7-ba8b-291e7bc762a0" "device1" [2022-10-07T09:17:02Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device deleted\n", stderr: "" }) [2022-10-07T09:17:02Z INFO drogue_cloud_tests::resources::apps] Destroy application 'e81456d1-daac-41f7-ba8b-291e7bc762a0' [2022-10-07T09:17:02Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "e81456d1-daac-41f7-ba8b-291e7bc762a0" [2022-10-07T09:17:02Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application deleted\n", stderr: "" })
❌ tests::coap::telemetry::test_send_telemetry_pass::version_3
Duration: 51s
Test output
-------------- TEST START -------------- [2022-10-07T09:17:02Z INFO drogue_cloud_tests::tests::coap] entered coap_to_mqtt! [2022-10-07T09:17:05Z DEBUG drogue_cloud_tests::init::drg] auto login [2022-10-07T09:17:05Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:17:05Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:17:05Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09: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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:17:07Z INFO drogue_cloud_tests::init::login] Found login button [2022-10-07T09:17:09Z INFO drogue_cloud_tests::init::login] Login complete [2022-10-07T09:17:09Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:17:09Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:17: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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:17:11Z INFO drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzYwMzEsImlhdCI6MTY2NTEzNDIzMSwianRpIjoiN2MxZmJlZDItYjBiNi00Zjg4LThjMDMtODZmZjgyZDBiNGNlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiMlRsLV9nU3JFRXRCdVE4cDRDWEJpdyIsInNlc3Npb25fc3RhdGUiOiI4NzE1ZGYxMi0zMTFmLTQ0NGQtOTI3My00NGE5ZTIyNTFhZmQiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiODcxNWRmMTItMzExZi00NDRkLTkyNzMtNDRhOWUyMjUxYWZkIn0.NHaZPT_7i6-8GZgSt_scnrqtyhQ85tkB4fjKP3tut6w [2022-10-07T09:17:11Z INFO drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests" [2022-10-07T09:17:11Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Context system-tests deleted\n", stderr: "" }) [2022-10-07T09:17:11Z INFO drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzYwMzEsImlhdCI6MTY2NTEzNDIzMSwianRpIjoiN2MxZmJlZDItYjBiNi00Zjg4LThjMDMtODZmZjgyZDBiNGNlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiMlRsLV9nU3JFRXRCdVE4cDRDWEJpdyIsInNlc3Npb25fc3RhdGUiOiI4NzE1ZGYxMi0zMTFmLTQ0NGQtOTI3My00NGE5ZTIyNTFhZmQiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiODcxNWRmMTItMzExZi00NDRkLTkyNzMtNDRhOWUyMjUxYWZkIn0.NHaZPT_7i6-8GZgSt_scnrqtyhQ85tkB4fjKP3tut6w" "--context" "system-tests" [2022-10-07T09:17:11Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Successfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSaved context: system-tests\nSwitched active context to: system-tests\n", stderr: "" }) [2022-10-07T09:17:11Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:17:11Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:17:11Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:17:11Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ1MzEsImlhdCI6MTY2NTEzNDIzMSwiYXV0aF90aW1lIjoxNjY1MTM0MjI3LCJqdGkiOiIzZGQzZGQyMi00OGViLTQyNjAtYjViOC1hMWE4YTZlYzQyY2QiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjJUbC1fZ1NyRUV0QnVROHA0Q1hCaXciLCJzZXNzaW9uX3N0YXRlIjoiODcxNWRmMTItMzExZi00NDRkLTkyNzMtNDRhOWUyMjUxYWZkIiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijg3MTVkZjEyLTMxMWYtNDQ0ZC05MjczLTQ0YTllMjI1MWFmZCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.rzwZ7i1WSDVaeFcjL1YIN_OOFQXIt7aIcl9cm9h3-kZt9bMX_40fDq1gwL9gTQ2foJkdUbTt8cONYmBgVhprs3fSkqypLMabhsK9CkWwGBHFXWUTEfHUoLlnXR8i3X8yI6_N5IbD78uCyf5hYPAXzxuL9Q02j5hsGqL9uGgB2YGVKznY0ZWuNtJBSA5NQdTfi9KZgc3ElcokDDhOG-qtIXzcrYlBSQXaCI4Dv9SW-TgYgxUWLUPEyoCQau_73hk2sh9XzPAK9Q_u6op6OsJLzPtYR5-uDUXFvsCpJ-3q5vMfbGmxQI49ca4I7afaB8BP542pKFgrwcuP7vlGPdtVrw\n", stderr: "" }) [2022-10-07T09:17:11Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:17:11Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info [2022-10-07T09:17:11Z INFO drogue_cloud_tests::resources::apps] Create application: 971af8a7-cc32-4c00-a4ba-4592e5196dc7 [2022-10-07T09:17:11Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "971af8a7-cc32-4c00-a4ba-4592e5196dc7" [2022-10-07T09:17:11Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application created\n", stderr: "" }) [2022-10-07T09:17:11Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "971af8a7-cc32-4c00-a4ba-4592e5196dc7" "-o" "json" [2022-10-07T09:17:11Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"971af8a7-cc32-4c00-a4ba-4592e5196dc7\",\n \"uid\": \"aca591c6-6b8b-40eb-a28c-e9994be205f9\",\n \"creationTimestamp\": \"2022-10-07T09:17:11.954716Z\",\n \"generation\": 0,\n \"resourceVersion\": \"9b8e282c-37e8-4845-97f1-dc17e4efe362\"\n },\n \"status\": {\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:17:11.973804364Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:17:11Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("971af8a7-cc32-4c00-a4ba-4592e5196dc7"), "uid": String("aca591c6-6b8b-40eb-a28c-e9994be205f9"), "creationTimestamp": String("2022-10-07T09:17:11.954716Z"), "generation": Number(0), "resourceVersion": String("9b8e282c-37e8-4845-97f1-dc17e4efe362")}), "status": Object({"conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:17:11.973804364Z")})])})}) [2022-10-07T09:17:11Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false [2022-10-07T09:17:12Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "971af8a7-cc32-4c00-a4ba-4592e5196dc7" "-o" "json" [2022-10-07T09:17:13Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"971af8a7-cc32-4c00-a4ba-4592e5196dc7\",\n \"uid\": \"aca591c6-6b8b-40eb-a28c-e9994be205f9\",\n \"creationTimestamp\": \"2022-10-07T09:17:11.954716Z\",\n \"generation\": 0,\n \"resourceVersion\": \"8c2e1c66-4547-4722-a2a7-5d664872f8cc\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"CVdQyaBHssMR\",\n \"username\": \"user-971af8a7-cc32-4c00-a4ba-4592e5196dc7\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:17:12.014774830Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:17:12.021668676Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:17:12.102475010Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:17:12.109267718Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:17:12.284207326Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:17:12.284235910Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:17:12.284981943Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:17:12.284268551Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:17:13Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("971af8a7-cc32-4c00-a4ba-4592e5196dc7"), "uid": String("aca591c6-6b8b-40eb-a28c-e9994be205f9"), "creationTimestamp": String("2022-10-07T09:17:11.954716Z"), "generation": Number(0), "resourceVersion": String("8c2e1c66-4547-4722-a2a7-5d664872f8cc"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("CVdQyaBHssMR"), "username": String("user-971af8a7-cc32-4c00-a4ba-4592e5196dc7"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:17:12.014774830Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:17:12.021668676Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:17:12.102475010Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:17:12.109267718Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:17:12.284207326Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:17:12.284235910Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:17:12.284981943Z")}), Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:17:12.284268551Z")})])})}) [2022-10-07T09:17:13Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true [2022-10-07T09:17:13Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "971af8a7-cc32-4c00-a4ba-4592e5196dc7" "-o" "json" [2022-10-07T09:17:13Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"971af8a7-cc32-4c00-a4ba-4592e5196dc7\",\n \"uid\": \"aca591c6-6b8b-40eb-a28c-e9994be205f9\",\n \"creationTimestamp\": \"2022-10-07T09:17:11.954716Z\",\n \"generation\": 0,\n \"resourceVersion\": \"8c2e1c66-4547-4722-a2a7-5d664872f8cc\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"CVdQyaBHssMR\",\n \"username\": \"user-971af8a7-cc32-4c00-a4ba-4592e5196dc7\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:17:12.014774830Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:17:12.021668676Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:17:12.102475010Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:17:12.109267718Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:17:12.284207326Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:17:12.284235910Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:17:12.284981943Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:17:12.284268551Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:17:13Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("971af8a7-cc32-4c00-a4ba-4592e5196dc7"), "uid": String("aca591c6-6b8b-40eb-a28c-e9994be205f9"), "creationTimestamp": String("2022-10-07T09:17:11.954716Z"), "generation": Number(0), "resourceVersion": String("8c2e1c66-4547-4722-a2a7-5d664872f8cc"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("CVdQyaBHssMR"), "username": String("user-971af8a7-cc32-4c00-a4ba-4592e5196dc7"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:17:12.014774830Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:17:12.021668676Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:17:12.102475010Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:17:12.109267718Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:17:12.284207326Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:17:12.284235910Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:17:12.284981943Z")}), Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:17:12.284268551Z")})])})}) [2022-10-07T09:17:13Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true [2022-10-07T09:17:13Z INFO drogue_cloud_tests::resources::devices] Create device: device1 [2022-10-07T09:17:13Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "-a" "971af8a7-cc32-4c00-a4ba-4592e5196dc7" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"pass\":\"foo\"}]}}" [2022-10-07T09:17:13Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device created\n", stderr: "" }) [2022-10-07T09:17:13Z INFO drogue_cloud_tests::tests::coap] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002 [2022-10-07T09:17:13Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:17:13Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ1MzEsImlhdCI6MTY2NTEzNDIzMSwiYXV0aF90aW1lIjoxNjY1MTM0MjI3LCJqdGkiOiIzZGQzZGQyMi00OGViLTQyNjAtYjViOC1hMWE4YTZlYzQyY2QiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjJUbC1fZ1NyRUV0QnVROHA0Q1hCaXciLCJzZXNzaW9uX3N0YXRlIjoiODcxNWRmMTItMzExZi00NDRkLTkyNzMtNDRhOWUyMjUxYWZkIiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijg3MTVkZjEyLTMxMWYtNDQ0ZC05MjczLTQ0YTllMjI1MWFmZCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.rzwZ7i1WSDVaeFcjL1YIN_OOFQXIt7aIcl9cm9h3-kZt9bMX_40fDq1gwL9gTQ2foJkdUbTt8cONYmBgVhprs3fSkqypLMabhsK9CkWwGBHFXWUTEfHUoLlnXR8i3X8yI6_N5IbD78uCyf5hYPAXzxuL9Q02j5hsGqL9uGgB2YGVKznY0ZWuNtJBSA5NQdTfi9KZgc3ElcokDDhOG-qtIXzcrYlBSQXaCI4Dv9SW-TgYgxUWLUPEyoCQau_73hk2sh9XzPAK9Q_u6op6OsJLzPtYR5-uDUXFvsCpJ-3q5vMfbGmxQI49ca4I7afaB8BP542pKFgrwcuP7vlGPdtVrw\n", stderr: "" }) [2022-10-07T09: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: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "d2ad22f8-86d2-4268-9d07-18e799b831a6", persistence: None, user_data: None } [2022-10-07T09:17:13Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1 [2022-10-07T09:17:13Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x56132193baf0 [2022-10-07T09:17:13Z DEBUG paho_mqtt::async_client] Connecting handle: 0x56132193baf0 [2022-10-07T09: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: 0x0, password: 0x561321a4a380, connectTimeout: 30, retryInterval: 0, ssl: 0x56132191f0e0, 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: 0x561321b2d0e0, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ1MzEsImlhdCI6MTY2NTEzNDIzMSwiYXV0aF90aW1lIjoxNjY1MTM0MjI3LCJqdGkiOiIzZGQzZGQyMi00OGViLTQyNjAtYjViOC1hMWE4YTZlYzQyY2QiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjJUbC1fZ1NyRUV0QnVROHA0Q1hCaXciLCJzZXNzaW9uX3N0YXRlIjoiODcxNWRmMTItMzExZi00NDRkLTkyNzMtNDRhOWUyMjUxYWZkIiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijg3MTVkZjEyLTMxMWYtNDQ0ZC05MjczLTQ0YTllMjI1MWFmZCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.rzwZ7i1WSDVaeFcjL1YIN_OOFQXIt7aIcl9cm9h3-kZt9bMX_40fDq1gwL9gTQ2foJkdUbTt8cONYmBgVhprs3fSkqypLMabhsK9CkWwGBHFXWUTEfHUoLlnXR8i3X8yI6_N5IbD78uCyf5hYPAXzxuL9Q02j5hsGqL9uGgB2YGVKznY0ZWuNtJBSA5NQdTfi9KZgc3ElcokDDhOG-qtIXzcrYlBSQXaCI4Dv9SW-TgYgxUWLUPEyoCQau_73hk2sh9XzPAK9Q_u6op6OsJLzPtYR5-uDUXFvsCpJ-3q5vMfbGmxQI49ca4I7afaB8BP542pKFgrwcuP7vlGPdtVrw"), 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-10-07T09:17:13Z DEBUG paho_mqtt::async_client] Subscribe to '"app/971af8a7-cc32-4c00-a4ba-4592e5196dc7"' @ QOS 0 [2022-10-07T09:17:13Z INFO drogue_cloud_tests::tests::coap] Receiver created [2022-10-07T09:17:13Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Starting message stream... [2022-10-07T09:17:13Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:17:13Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:17:13Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:17:13Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:17:14Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:17:14Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:17:14Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:17:14Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:17:15Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:17:15Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:17:15Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:17:15Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:17:16Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:17:16Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:17:16Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:17:16Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:17:17Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:17:17Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:17:17Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:17:17Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:17:17Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 11, payload: 0x7f31500153f0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 565, array: 0x561321b78ff0 } }, data: MessageData { topic: "app/971af8a7-cc32-4c00-a4ba-4592e5196dc7", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 52, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 565, array: 0x561321b78ff0 } } } } [2022-10-07T09:17:17Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x5613218f4a20, 0x561321a656e0 [2022-10-07T09:17:17Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561321a656e0, 0x561321a12150 [2022-10-07T09:17:17Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561321a656e0, 0x7f315c0016a0 [2022-10-07T09:17:17Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c0016a0, 0x561321955650 [2022-10-07T09:17:17Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c0016a0, 0x7f315c006090 [2022-10-07T09:17:17Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c006090, 0x561321a12150 [2022-10-07T09:17:17Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c006090, 0x561321955650 [2022-10-07T09:17:17Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c006090, 0x561321a12150 [2022-10-07T09:17:17Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c006090, 0x7f315c0059b0 [2022-10-07T09:17:17Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c0059b0, 0x561321a12150 [2022-10-07T09:17:17Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c0059b0, 0x561321a12150 [2022-10-07T09:17:17Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c0059b0, 0x561321a12150 [2022-10-07T09:17:17Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c0059b0, 0x7f315c006810 [2022-10-07T09:17:17Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c006810, 0x7f315c0059b0 [2022-10-07T09:17:17Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f315c0059b0 [2022-10-07T09:17:17Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Received: MqttMessage { topic: "app/971af8a7-cc32-4c00-a4ba-4592e5196dc7", content_type: Some("application/json"), user_properties: {"time": "2022-10-07T09:17:17.269299605+00:00", "id": "27ccd681-3cd9-486e-86a3-f64f6998fead", "type": "io.drogue.event.v1", "specversion": "1.0", "subject": "warmup", "deviceuid": "a5777d7f-d674-4c8d-a1ad-75c310f72182", "source": "drogue://971af8a7-cc32-4c00-a4ba-4592e5196dc7/device1", "partitionkey": "971af8a7%2Dcc32%2D4c00%2Da4ba%2D4592e5196dc7/device1", "device": "device1", "senderuid": "a5777d7f-d674-4c8d-a1ad-75c310f72182", "sender": "device1", "application": "971af8a7-cc32-4c00-a4ba-4592e5196dc7", "applicationuid": "aca591c6-6b8b-40eb-a28c-e9994be205f9", "instance": "drogue"}, payload: "{\"index\":4}" } [2022-10-07T09:17:18Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received first message after 4 attempts [2022-10-07T09:17:18Z DEBUG drogue_cloud_tests::tools::mqtt::receiver::warmup] Received warmup message: 4 [2022-10-07T09:17:18Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received most recent messages ... warmed up! [2022-10-07T09:17:18Z INFO drogue_cloud_tests::tests::coap] Sending payload [2022-10-07T09:17:18Z DEBUG drogue_cloud_tests::tools::coap] Client request: coaps://coap-endpoint.172.18.0.2.nip.io:30003 [2022-10-07T09:17:18Z DEBUG drogue_cloud_tests::tools::coap::helper] CoapRequest { message: Packet { header: Header { ver_type_tkl: 64, code: Request( Get, ), message_id: 0, }, token: [], options: { 11: [ [ 118, 49, ], [ 116, 101, 108, 101, 109, 101, 116, 114, 121, ], ], 15: [ [], ], 4209: [ [ 66, 97, 115, 105, 99, 32, 90, 71, 86, 50, 97, 87, 78, 108, 77, 85, 65, 53, 78, 122, 70, 104, 90, 106, 104, 104, 78, 121, 49, 106, 89, 122, 77, 121, 76, 84, 82, 106, 77, 68, 65, 116, 89, 84, 82, 105, 89, 83, 48, 48, 78, 84, 107, 121, 90, 84, 85, 120, 79, 84, 90, 107, 89, 122, 99, 54, 90, 109, 57, 118, ], ], }, payload: [], }, response: None, source: None, } thread 'main' panicked at 'CoAP call to succeed: Resource temporarily unavailable (os error 11)', src/tests/coap/mod.rs:112:10 [2022-10-07T09:17:53Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Dropping MQTT receiver [2022-10-07T09:17:53Z DEBUG paho_mqtt::async_client] Disconnecting [2022-10-07T09:17:53Z DEBUG paho_mqtt::token] Token failure! 0x5613219ba970, 0x7ffe82748dc0 [2022-10-07T09:17:53Z DEBUG paho_mqtt::token] Token completed with code: -11 [2022-10-07T09:17:53Z DEBUG paho_mqtt::token] Expecting server response for: None [2022-10-07T09:17:53Z 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 } [2022-10-07T09:17:54Z INFO drogue_cloud_tests::resources::devices] Destroy device 'device1' [2022-10-07T09:17:54Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "-a" "971af8a7-cc32-4c00-a4ba-4592e5196dc7" "device1" [2022-10-07T09:17:54Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device deleted\n", stderr: "" }) [2022-10-07T09:17:54Z INFO drogue_cloud_tests::resources::apps] Destroy application '971af8a7-cc32-4c00-a4ba-4592e5196dc7' [2022-10-07T09:17:54Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "971af8a7-cc32-4c00-a4ba-4592e5196dc7" [2022-10-07T09:17:54Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application deleted\n", stderr: "" })
❌ tests::coap::telemetry::test_send_telemetry_user::version_1
Duration: 49s
Test output
-------------- TEST START -------------- [2022-10-07T09:17:54Z INFO drogue_cloud_tests::tests::coap] entered coap_to_mqtt! [2022-10-07T09:17:56Z DEBUG drogue_cloud_tests::init::drg] auto login [2022-10-07T09:17:56Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:17:56Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:17:56Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:17: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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:17:57Z INFO drogue_cloud_tests::init::login] Found login button [2022-10-07T09:17:58Z INFO drogue_cloud_tests::init::login] Login complete [2022-10-07T09:17:58Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:17:58Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:17: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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:18:00Z INFO drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzYwODAsImlhdCI6MTY2NTEzNDI4MCwianRpIjoiZDJmYjEzNTQtMGUxZi00ZjliLTkyMDItNzJiYTAyNGU0MTQ1IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiS0RPRGk5d21ZSm5DYUxpaUtuRjhiUSIsInNlc3Npb25fc3RhdGUiOiJlYmYzY2ZkOC05Nzc4LTQ4NGUtYTVmNS1jZGFhNjQyYWZiMjkiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiZWJmM2NmZDgtOTc3OC00ODRlLWE1ZjUtY2RhYTY0MmFmYjI5In0.eXtA3-27Rpv_bgAhxqibnjLZJ4fq_zhcsHuETxeGA2g [2022-10-07T09:18:00Z INFO drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests" [2022-10-07T09:18:00Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Context system-tests deleted\n", stderr: "" }) [2022-10-07T09:18:00Z INFO drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzYwODAsImlhdCI6MTY2NTEzNDI4MCwianRpIjoiZDJmYjEzNTQtMGUxZi00ZjliLTkyMDItNzJiYTAyNGU0MTQ1IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiS0RPRGk5d21ZSm5DYUxpaUtuRjhiUSIsInNlc3Npb25fc3RhdGUiOiJlYmYzY2ZkOC05Nzc4LTQ4NGUtYTVmNS1jZGFhNjQyYWZiMjkiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiZWJmM2NmZDgtOTc3OC00ODRlLWE1ZjUtY2RhYTY0MmFmYjI5In0.eXtA3-27Rpv_bgAhxqibnjLZJ4fq_zhcsHuETxeGA2g" "--context" "system-tests" [2022-10-07T09:18:01Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Successfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSaved context: system-tests\nSwitched active context to: system-tests\n", stderr: "" }) [2022-10-07T09:18:01Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:18:01Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:18:01Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:18:01Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ1ODEsImlhdCI6MTY2NTEzNDI4MSwiYXV0aF90aW1lIjoxNjY1MTM0Mjc3LCJqdGkiOiIyZGE1YTVmZS0yNTk5LTQxNTQtYmQyNy0wMDlkNGEwMzkyZmMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IktET0RpOXdtWUpuQ2FMaWlLbkY4YlEiLCJzZXNzaW9uX3N0YXRlIjoiZWJmM2NmZDgtOTc3OC00ODRlLWE1ZjUtY2RhYTY0MmFmYjI5IiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImViZjNjZmQ4LTk3NzgtNDg0ZS1hNWY1LWNkYWE2NDJhZmIyOSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.K0G0sagsfUsBg4ZJu_Grzzv4tMfD7Y84XMMPtUprIszjbXabT7mLse8FxTj3FJL6gt8xpTb_bKURafny0Hz36fRNdXW8YJ7QRF7S8noJ9ssNUq6UTN2eTNjm0h7VtzqY5eUs3RfhxD8NSPThDXsTO4niWpzHHsPTFDCz7tEOmOFXYqoqIr7cYVyYb_eoN1AHp0xVcSLSURmhyganKuFiT2hQZv2klYJjNDk-T0bPJiUYNE_-dM-Sk-mKtFDEWblqpKVqanRNGY489bY7icMzMm3bbzUML9bQqnfSAZHSMwysv1rDWxJP4WtEAmhVdAlfK1shotuys8ULM3ttVEzQag\n", stderr: "" }) [2022-10-07T09:18:01Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:18:01Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info [2022-10-07T09:18:01Z INFO drogue_cloud_tests::resources::apps] Create application: bf85f363-02c3-4cd1-9cba-dc4195015f9e [2022-10-07T09:18:01Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "bf85f363-02c3-4cd1-9cba-dc4195015f9e" [2022-10-07T09:18:01Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application created\n", stderr: "" }) [2022-10-07T09:18:01Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "bf85f363-02c3-4cd1-9cba-dc4195015f9e" "-o" "json" [2022-10-07T09:18:01Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"bf85f363-02c3-4cd1-9cba-dc4195015f9e\",\n \"uid\": \"88840a9b-b978-44de-8afb-80897f03a177\",\n \"creationTimestamp\": \"2022-10-07T09:18:01.719964Z\",\n \"generation\": 0,\n \"resourceVersion\": \"22d86514-0c62-461a-90ab-ddcf0442b613\"\n },\n \"status\": {\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:01.735523255Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:18:01Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("bf85f363-02c3-4cd1-9cba-dc4195015f9e"), "uid": String("88840a9b-b978-44de-8afb-80897f03a177"), "creationTimestamp": String("2022-10-07T09:18:01.719964Z"), "generation": Number(0), "resourceVersion": String("22d86514-0c62-461a-90ab-ddcf0442b613")}), "status": Object({"conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:01.735523255Z")})])})}) [2022-10-07T09:18:01Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false [2022-10-07T09:18:02Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "bf85f363-02c3-4cd1-9cba-dc4195015f9e" "-o" "json" [2022-10-07T09:18:02Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"bf85f363-02c3-4cd1-9cba-dc4195015f9e\",\n \"uid\": \"88840a9b-b978-44de-8afb-80897f03a177\",\n \"creationTimestamp\": \"2022-10-07T09:18:01.719964Z\",\n \"generation\": 0,\n \"resourceVersion\": \"dd47f58a-c96a-4cb3-b1bd-02c6e6ee7ff3\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"C3uzMKsQq1Du\",\n \"username\": \"user-bf85f363-02c3-4cd1-9cba-dc4195015f9e\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:01.776797457Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:01.785409184Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:01.863553370Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:01.870088709Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:02.029622054Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:02.029642893Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:02.029822087Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:02.029774178Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:18:02Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("bf85f363-02c3-4cd1-9cba-dc4195015f9e"), "uid": String("88840a9b-b978-44de-8afb-80897f03a177"), "creationTimestamp": String("2022-10-07T09:18:01.719964Z"), "generation": Number(0), "resourceVersion": String("dd47f58a-c96a-4cb3-b1bd-02c6e6ee7ff3"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("C3uzMKsQq1Du"), "username": String("user-bf85f363-02c3-4cd1-9cba-dc4195015f9e"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:01.776797457Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:01.785409184Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:01.863553370Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:01.870088709Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:02.029622054Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:02.029642893Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:02.029822087Z")}), Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:02.029774178Z")})])})}) [2022-10-07T09:18:02Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true [2022-10-07T09:18:02Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "bf85f363-02c3-4cd1-9cba-dc4195015f9e" "-o" "json" [2022-10-07T09:18:02Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"bf85f363-02c3-4cd1-9cba-dc4195015f9e\",\n \"uid\": \"88840a9b-b978-44de-8afb-80897f03a177\",\n \"creationTimestamp\": \"2022-10-07T09:18:01.719964Z\",\n \"generation\": 0,\n \"resourceVersion\": \"dd47f58a-c96a-4cb3-b1bd-02c6e6ee7ff3\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"C3uzMKsQq1Du\",\n \"username\": \"user-bf85f363-02c3-4cd1-9cba-dc4195015f9e\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:01.776797457Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:01.785409184Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:01.863553370Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:01.870088709Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:02.029622054Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:02.029642893Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:02.029822087Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:02.029774178Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:18:02Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("bf85f363-02c3-4cd1-9cba-dc4195015f9e"), "uid": String("88840a9b-b978-44de-8afb-80897f03a177"), "creationTimestamp": String("2022-10-07T09:18:01.719964Z"), "generation": Number(0), "resourceVersion": String("dd47f58a-c96a-4cb3-b1bd-02c6e6ee7ff3"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("C3uzMKsQq1Du"), "username": String("user-bf85f363-02c3-4cd1-9cba-dc4195015f9e"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:01.776797457Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:01.785409184Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:01.863553370Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:01.870088709Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:02.029622054Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:02.029642893Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:02.029822087Z")}), Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:02.029774178Z")})])})}) [2022-10-07T09:18:02Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true [2022-10-07T09:18:02Z INFO drogue_cloud_tests::resources::devices] Create device: device1 [2022-10-07T09:18:02Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "-a" "bf85f363-02c3-4cd1-9cba-dc4195015f9e" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"user\":{\"username\":\"foo\",\"password\":\"bar\"}}]}}" [2022-10-07T09:18:02Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device created\n", stderr: "" }) [2022-10-07T09:18:02Z INFO drogue_cloud_tests::tests::coap] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002 [2022-10-07T09:18:02Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:18:02Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ1ODEsImlhdCI6MTY2NTEzNDI4MSwiYXV0aF90aW1lIjoxNjY1MTM0Mjc3LCJqdGkiOiIyZGE1YTVmZS0yNTk5LTQxNTQtYmQyNy0wMDlkNGEwMzkyZmMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IktET0RpOXdtWUpuQ2FMaWlLbkY4YlEiLCJzZXNzaW9uX3N0YXRlIjoiZWJmM2NmZDgtOTc3OC00ODRlLWE1ZjUtY2RhYTY0MmFmYjI5IiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImViZjNjZmQ4LTk3NzgtNDg0ZS1hNWY1LWNkYWE2NDJhZmIyOSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.K0G0sagsfUsBg4ZJu_Grzzv4tMfD7Y84XMMPtUprIszjbXabT7mLse8FxTj3FJL6gt8xpTb_bKURafny0Hz36fRNdXW8YJ7QRF7S8noJ9ssNUq6UTN2eTNjm0h7VtzqY5eUs3RfhxD8NSPThDXsTO4niWpzHHsPTFDCz7tEOmOFXYqoqIr7cYVyYb_eoN1AHp0xVcSLSURmhyganKuFiT2hQZv2klYJjNDk-T0bPJiUYNE_-dM-Sk-mKtFDEWblqpKVqanRNGY489bY7icMzMm3bbzUML9bQqnfSAZHSMwysv1rDWxJP4WtEAmhVdAlfK1shotuys8ULM3ttVEzQag\n", stderr: "" }) [2022-10-07T09:18: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: "d9514238-5b12-4402-bc4b-47b31c17341b", persistence: None, user_data: None } [2022-10-07T09:18:02Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1 [2022-10-07T09:18:02Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561321b493a0 [2022-10-07T09:18:02Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561321b493a0 [2022-10-07T09:18: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: 0x561321a96ec0, connectTimeout: 30, retryInterval: 0, ssl: 0x561321a99560, 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: 0x561321ac06d0, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ1ODEsImlhdCI6MTY2NTEzNDI4MSwiYXV0aF90aW1lIjoxNjY1MTM0Mjc3LCJqdGkiOiIyZGE1YTVmZS0yNTk5LTQxNTQtYmQyNy0wMDlkNGEwMzkyZmMiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IktET0RpOXdtWUpuQ2FMaWlLbkY4YlEiLCJzZXNzaW9uX3N0YXRlIjoiZWJmM2NmZDgtOTc3OC00ODRlLWE1ZjUtY2RhYTY0MmFmYjI5IiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImViZjNjZmQ4LTk3NzgtNDg0ZS1hNWY1LWNkYWE2NDJhZmIyOSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.K0G0sagsfUsBg4ZJu_Grzzv4tMfD7Y84XMMPtUprIszjbXabT7mLse8FxTj3FJL6gt8xpTb_bKURafny0Hz36fRNdXW8YJ7QRF7S8noJ9ssNUq6UTN2eTNjm0h7VtzqY5eUs3RfhxD8NSPThDXsTO4niWpzHHsPTFDCz7tEOmOFXYqoqIr7cYVyYb_eoN1AHp0xVcSLSURmhyganKuFiT2hQZv2klYJjNDk-T0bPJiUYNE_-dM-Sk-mKtFDEWblqpKVqanRNGY489bY7icMzMm3bbzUML9bQqnfSAZHSMwysv1rDWxJP4WtEAmhVdAlfK1shotuys8ULM3ttVEzQag"), 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-10-07T09:18:02Z DEBUG paho_mqtt::async_client] Subscribe to '"app/bf85f363-02c3-4cd1-9cba-dc4195015f9e"' @ QOS 0 [2022-10-07T09:18:02Z INFO drogue_cloud_tests::tests::coap] Receiver created [2022-10-07T09:18:02Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:18:02Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Starting message stream... [2022-10-07T09:18:02Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?device=device1) [2022-10-07T09:18:02Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:18:03Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?device=device1 [2022-10-07T09:18:04Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:18:04Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?device=device1) [2022-10-07T09:18:04Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:18:04Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?device=device1 [2022-10-07T09:18:05Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:18:05Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?device=device1) [2022-10-07T09:18:05Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:18:05Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?device=device1 [2022-10-07T09:18:06Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:18:06Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?device=device1) [2022-10-07T09:18:06Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:18:06Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?device=device1 [2022-10-07T09:18:06Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 612, payload: 0x7f314c001690, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/bf85f363-02c3-4cd1-9cba-dc4195015f9e", 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, 52, 55, 56, 51, 52, 49, 45, 52, 54, 55, 51, 45, 52, 102, 97, 48, 45, 97, 52, 99, 101, 45, 54, 102, 97, 54, 100, 49, 56, 54, 99, 50, 101, 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, 102, 56, 53, 102, 51, 54, 51, 45, 48, 50, 99, 51, 45, 52, 99, 100, 49, 45, 57, 99, 98, 97, 45, 100, 99, 52, 49, 57, 53, 48, 49, 53, 102, 57, 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, 49, 48, 45, 48, 55, 84, 48, 57, 58, 49, 56, 58, 48, 54, 46, 50, 52, 49, 52, 52, 49, 56, 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, 98, 102, 56, 53, 102, 51, 54, 51, 45, 48, 50, 99, 51, 45, 52, 99, 100, 49, 45, 57, 99, 98, 97, 45, 100, 99, 52, 49, 57, 53, 48, 49, 53, 102, 57, 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, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 56, 56, 56, 52, 48, 97, 57, 98, 45, 98, 57, 55, 56, 45, 52, 52, 100, 101, 45, 56, 97, 102, 98, 45, 56, 48, 56, 57, 55, 102, 48, 51, 97, 49, 55, 55, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 98, 102, 56, 53, 102, 51, 54, 51, 37, 50, 68, 48, 50, 99, 51, 37, 50, 68, 52, 99, 100, 49, 37, 50, 68, 57, 99, 98, 97, 37, 50, 68, 100, 99, 52, 49, 57, 53, 48, 49, 53, 102, 57, 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, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 52, 99, 56, 99, 55, 50, 57, 52, 45, 51, 49, 57, 53, 45, 52, 50, 51, 100, 45, 97, 48, 54, 97, 45, 98, 55, 49, 54, 102, 57, 56, 100, 51, 98, 52, 54, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 52, 99, 56, 99, 55, 50, 57, 52, 45, 51, 49, 57, 53, 45, 52, 50, 51, 100, 45, 97, 48, 54, 97, 45, 98, 55, 49, 54, 102, 57, 56, 100, 51, 98, 52, 54, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } } [2022-10-07T09:18:06Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Received: MqttMessage { topic: "app/bf85f363-02c3-4cd1-9cba-dc4195015f9e", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"ae478341-4673-4fa0-a4ce-6fa6d186c2e9\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://bf85f363-02c3-4cd1-9cba-dc4195015f9e/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-10-07T09:18:06.241441839Z\",\"data\":{\"index\":3},\"application\":\"bf85f363-02c3-4cd1-9cba-dc4195015f9e\",\"sender\":\"device1\",\"instance\":\"drogue\",\"applicationuid\":\"88840a9b-b978-44de-8afb-80897f03a177\",\"partitionkey\":\"bf85f363%2D02c3%2D4cd1%2D9cba%2Ddc4195015f9e/device1\",\"device\":\"device1\",\"senderuid\":\"4c8c7294-3195-423d-a06a-b716f98d3b46\",\"deviceuid\":\"4c8c7294-3195-423d-a06a-b716f98d3b46\"}" } [2022-10-07T09:18:07Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received first message after 3 attempts [2022-10-07T09:18:07Z DEBUG drogue_cloud_tests::tools::mqtt::receiver::warmup] Received warmup message: 3 [2022-10-07T09:18:07Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received most recent messages ... warmed up! [2022-10-07T09:18:07Z INFO drogue_cloud_tests::tests::coap] Sending payload [2022-10-07T09:18:07Z DEBUG drogue_cloud_tests::tools::coap] Client request: coaps://coap-endpoint.172.18.0.2.nip.io:30003 [2022-10-07T09:18:07Z DEBUG drogue_cloud_tests::tools::coap::helper] CoapRequest { message: Packet { header: Header { ver_type_tkl: 64, code: Request( Get, ), message_id: 0, }, token: [], options: { 11: [ [ 118, 49, ], [ 116, 101, 108, 101, 109, 101, 116, 114, 121, ], ], 15: [ [ 100, 101, 118, 105, 99, 101, 61, 100, 101, 118, 105, 99, 101, 49, ], ], 4209: [ [ 66, 97, 115, 105, 99, 32, 90, 109, 57, 118, 81, 71, 74, 109, 79, 68, 86, 109, 77, 122, 89, 122, 76, 84, 65, 121, 89, 122, 77, 116, 78, 71, 78, 107, 77, 83, 48, 53, 89, 50, 74, 104, 76, 87, 82, 106, 78, 68, 69, 53, 78, 84, 65, 120, 78, 87, 89, 53, 90, 84, 112, 105, 89, 88, 73, ], ], }, payload: [], }, response: None, source: None, } thread 'main' panicked at 'CoAP call to succeed: Resource temporarily unavailable (os error 11)', src/tests/coap/mod.rs:112:10 [2022-10-07T09:18:43Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Dropping MQTT receiver [2022-10-07T09:18:43Z DEBUG paho_mqtt::async_client] Disconnecting [2022-10-07T09:18:43Z DEBUG paho_mqtt::token] Token failure! 0x561321b381b0, 0x7ffe82748b40 [2022-10-07T09:18:43Z DEBUG paho_mqtt::token] Token completed with code: -11 [2022-10-07T09:18:43Z DEBUG paho_mqtt::token] Expecting server response for: None [2022-10-07T09:18: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 } [2022-10-07T09:18:43Z INFO drogue_cloud_tests::resources::devices] Destroy device 'device1' [2022-10-07T09:18:43Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "-a" "bf85f363-02c3-4cd1-9cba-dc4195015f9e" "device1" [2022-10-07T09:18:43Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device deleted\n", stderr: "" }) [2022-10-07T09:18:43Z INFO drogue_cloud_tests::resources::apps] Destroy application 'bf85f363-02c3-4cd1-9cba-dc4195015f9e' [2022-10-07T09:18:43Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "bf85f363-02c3-4cd1-9cba-dc4195015f9e" [2022-10-07T09:18:43Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application deleted\n", stderr: "" })
❌ tests::coap::telemetry::test_send_telemetry_user::version_2
Duration: 49s
Test output
-------------- TEST START -------------- [2022-10-07T09:18:43Z INFO drogue_cloud_tests::tests::coap] entered coap_to_mqtt! [2022-10-07T09:18:45Z DEBUG drogue_cloud_tests::init::drg] auto login [2022-10-07T09:18:45Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:18:45Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:18:45Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:18: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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:18:46Z INFO drogue_cloud_tests::init::login] Found login button [2022-10-07T09:18:47Z INFO drogue_cloud_tests::init::login] Login complete [2022-10-07T09:18:47Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:18:47Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:18: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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:18:49Z INFO drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzYxMjksImlhdCI6MTY2NTEzNDMyOSwianRpIjoiNjQ5YjNiMGItNjg0OC00N2FmLWFmOTYtMTVlOGUwMjE5Zjk2IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoib1FIaUVTMGIxQnd1OGgyOFloa053ZyIsInNlc3Npb25fc3RhdGUiOiI5YzRlOTM1ZC04ODQ3LTRlZGUtOGY2Ni05OTk4ZTFmZjMxMTgiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiOWM0ZTkzNWQtODg0Ny00ZWRlLThmNjYtOTk5OGUxZmYzMTE4In0.ugAk8A_eFqIuH293xY5mV_9U1emi-u3dsP6htdmYLxc [2022-10-07T09:18:49Z INFO drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests" [2022-10-07T09:18:49Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Context system-tests deleted\n", stderr: "" }) [2022-10-07T09:18:49Z INFO drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzYxMjksImlhdCI6MTY2NTEzNDMyOSwianRpIjoiNjQ5YjNiMGItNjg0OC00N2FmLWFmOTYtMTVlOGUwMjE5Zjk2IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoib1FIaUVTMGIxQnd1OGgyOFloa053ZyIsInNlc3Npb25fc3RhdGUiOiI5YzRlOTM1ZC04ODQ3LTRlZGUtOGY2Ni05OTk4ZTFmZjMxMTgiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiOWM0ZTkzNWQtODg0Ny00ZWRlLThmNjYtOTk5OGUxZmYzMTE4In0.ugAk8A_eFqIuH293xY5mV_9U1emi-u3dsP6htdmYLxc" "--context" "system-tests" [2022-10-07T09:18:49Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Successfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSaved context: system-tests\nSwitched active context to: system-tests\n", stderr: "" }) [2022-10-07T09:18:50Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:18:50Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:18:50Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:18:50Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ2MjksImlhdCI6MTY2NTEzNDMyOSwiYXV0aF90aW1lIjoxNjY1MTM0MzI2LCJqdGkiOiIzNmU2MzNjMS02ZGFkLTQ5NDItYWZlNC03NmQ0NjViZDYwNzkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Im9RSGlFUzBiMUJ3dThoMjhZaGtOd2ciLCJzZXNzaW9uX3N0YXRlIjoiOWM0ZTkzNWQtODg0Ny00ZWRlLThmNjYtOTk5OGUxZmYzMTE4IiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjljNGU5MzVkLTg4NDctNGVkZS04ZjY2LTk5OThlMWZmMzExOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.ikhszr_ZKkAHTUH68dQOxTEILdak0UKcIsqhInjJ__4E_2q2un6me9mfd_uv1xIz7KJWi3QGVN0K2tWuQSfveASadvm-p09oelp5YjCSYFGtM5Vl-A9JZcOpi2lcO4MbgRiR2ZD2yZnJKWhuexEIsq5XK93F25V_LqIlJm58Ouc-8Q4SyhJu9bi2RlJMM8KTl_a_K7V9O1BejFi39b_XUr7N-RbABdnTBRjG3fEiee4b00bsglEETWvo4Hf0Yml1qzsbbh16bN27uKzHXHHuARSMRhbfIbLVfyPA5_ykupz7IzsSZpK30lBFxnmzAnZBv9J1RDWKJsDk59jBiwJolw\n", stderr: "" }) [2022-10-07T09:18:50Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:18:50Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info [2022-10-07T09:18:50Z INFO drogue_cloud_tests::resources::apps] Create application: 9e458c09-eabe-4e42-9605-4126a023190e [2022-10-07T09:18:50Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "9e458c09-eabe-4e42-9605-4126a023190e" [2022-10-07T09:18:50Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application created\n", stderr: "" }) [2022-10-07T09:18:50Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "9e458c09-eabe-4e42-9605-4126a023190e" "-o" "json" [2022-10-07T09:18:50Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"9e458c09-eabe-4e42-9605-4126a023190e\",\n \"uid\": \"8469c44f-b017-4e14-8cce-d8d9bc7bd6b2\",\n \"creationTimestamp\": \"2022-10-07T09:18:50.235492Z\",\n \"generation\": 0,\n \"resourceVersion\": \"1d8dab78-8c56-4c94-9481-7223c5d566ce\"\n },\n \"status\": {\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:50.250099768Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:18:50Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("9e458c09-eabe-4e42-9605-4126a023190e"), "uid": String("8469c44f-b017-4e14-8cce-d8d9bc7bd6b2"), "creationTimestamp": String("2022-10-07T09:18:50.235492Z"), "generation": Number(0), "resourceVersion": String("1d8dab78-8c56-4c94-9481-7223c5d566ce")}), "status": Object({"conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:50.250099768Z")})])})}) [2022-10-07T09:18:50Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false [2022-10-07T09:18:51Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "9e458c09-eabe-4e42-9605-4126a023190e" "-o" "json" [2022-10-07T09:18:51Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"9e458c09-eabe-4e42-9605-4126a023190e\",\n \"uid\": \"8469c44f-b017-4e14-8cce-d8d9bc7bd6b2\",\n \"creationTimestamp\": \"2022-10-07T09:18:50.235492Z\",\n \"generation\": 0,\n \"resourceVersion\": \"ed6f589c-8637-4893-815a-bc24193a8fbe\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"JlOrbPvN0IDZ\",\n \"username\": \"user-9e458c09-eabe-4e42-9605-4126a023190e\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:50.290762475Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:50.298984285Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:50.434856926Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:50.441424115Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:50.595323706Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:50.595389378Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:50.595512368Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:50.595432448Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:18:51Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("9e458c09-eabe-4e42-9605-4126a023190e"), "uid": String("8469c44f-b017-4e14-8cce-d8d9bc7bd6b2"), "creationTimestamp": String("2022-10-07T09:18:50.235492Z"), "generation": Number(0), "resourceVersion": String("ed6f589c-8637-4893-815a-bc24193a8fbe"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("JlOrbPvN0IDZ"), "username": String("user-9e458c09-eabe-4e42-9605-4126a023190e"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:50.290762475Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:50.298984285Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:50.434856926Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:50.441424115Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:50.595323706Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:50.595389378Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:50.595512368Z")}), Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:50.595432448Z")})])})}) [2022-10-07T09:18:51Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true [2022-10-07T09:18:51Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "9e458c09-eabe-4e42-9605-4126a023190e" "-o" "json" [2022-10-07T09:18:51Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"9e458c09-eabe-4e42-9605-4126a023190e\",\n \"uid\": \"8469c44f-b017-4e14-8cce-d8d9bc7bd6b2\",\n \"creationTimestamp\": \"2022-10-07T09:18:50.235492Z\",\n \"generation\": 0,\n \"resourceVersion\": \"ed6f589c-8637-4893-815a-bc24193a8fbe\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"JlOrbPvN0IDZ\",\n \"username\": \"user-9e458c09-eabe-4e42-9605-4126a023190e\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:50.290762475Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:50.298984285Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:50.434856926Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:50.441424115Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:50.595323706Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:50.595389378Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:50.595512368Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:18:50.595432448Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:18:51Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("9e458c09-eabe-4e42-9605-4126a023190e"), "uid": String("8469c44f-b017-4e14-8cce-d8d9bc7bd6b2"), "creationTimestamp": String("2022-10-07T09:18:50.235492Z"), "generation": Number(0), "resourceVersion": String("ed6f589c-8637-4893-815a-bc24193a8fbe"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("JlOrbPvN0IDZ"), "username": String("user-9e458c09-eabe-4e42-9605-4126a023190e"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:50.290762475Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:50.298984285Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:50.434856926Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:50.441424115Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:50.595323706Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:50.595389378Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:50.595512368Z")}), Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:18:50.595432448Z")})])})}) [2022-10-07T09:18:51Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true [2022-10-07T09:18:51Z INFO drogue_cloud_tests::resources::devices] Create device: device1 [2022-10-07T09:18:51Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "-a" "9e458c09-eabe-4e42-9605-4126a023190e" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"user\":{\"username\":\"foo\",\"password\":\"bar\"}}]}}" [2022-10-07T09:18:51Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device created\n", stderr: "" }) [2022-10-07T09:18:51Z INFO drogue_cloud_tests::tests::coap] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002 [2022-10-07T09:18:51Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:18:51Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ2MjksImlhdCI6MTY2NTEzNDMyOSwiYXV0aF90aW1lIjoxNjY1MTM0MzI2LCJqdGkiOiIzNmU2MzNjMS02ZGFkLTQ5NDItYWZlNC03NmQ0NjViZDYwNzkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Im9RSGlFUzBiMUJ3dThoMjhZaGtOd2ciLCJzZXNzaW9uX3N0YXRlIjoiOWM0ZTkzNWQtODg0Ny00ZWRlLThmNjYtOTk5OGUxZmYzMTE4IiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjljNGU5MzVkLTg4NDctNGVkZS04ZjY2LTk5OThlMWZmMzExOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.ikhszr_ZKkAHTUH68dQOxTEILdak0UKcIsqhInjJ__4E_2q2un6me9mfd_uv1xIz7KJWi3QGVN0K2tWuQSfveASadvm-p09oelp5YjCSYFGtM5Vl-A9JZcOpi2lcO4MbgRiR2ZD2yZnJKWhuexEIsq5XK93F25V_LqIlJm58Ouc-8Q4SyhJu9bi2RlJMM8KTl_a_K7V9O1BejFi39b_XUr7N-RbABdnTBRjG3fEiee4b00bsglEETWvo4Hf0Yml1qzsbbh16bN27uKzHXHHuARSMRhbfIbLVfyPA5_ykupz7IzsSZpK30lBFxnmzAnZBv9J1RDWKJsDk59jBiwJolw\n", stderr: "" }) [2022-10-07T09:18:51Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "91baf60c-3932-4dc1-bc44-1ccbb84cf98e", persistence: None, user_data: None } [2022-10-07T09:18:51Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1 [2022-10-07T09:18:51Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x56132199f890 [2022-10-07T09:18:51Z DEBUG paho_mqtt::async_client] Connecting handle: 0x56132199f890 [2022-10-07T09:18:51Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561321b18270, connectTimeout: 30, retryInterval: 0, ssl: 0x561321a07620, 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: 0x561321abd3c0, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ2MjksImlhdCI6MTY2NTEzNDMyOSwiYXV0aF90aW1lIjoxNjY1MTM0MzI2LCJqdGkiOiIzNmU2MzNjMS02ZGFkLTQ5NDItYWZlNC03NmQ0NjViZDYwNzkiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Im9RSGlFUzBiMUJ3dThoMjhZaGtOd2ciLCJzZXNzaW9uX3N0YXRlIjoiOWM0ZTkzNWQtODg0Ny00ZWRlLThmNjYtOTk5OGUxZmYzMTE4IiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjljNGU5MzVkLTg4NDctNGVkZS04ZjY2LTk5OThlMWZmMzExOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.ikhszr_ZKkAHTUH68dQOxTEILdak0UKcIsqhInjJ__4E_2q2un6me9mfd_uv1xIz7KJWi3QGVN0K2tWuQSfveASadvm-p09oelp5YjCSYFGtM5Vl-A9JZcOpi2lcO4MbgRiR2ZD2yZnJKWhuexEIsq5XK93F25V_LqIlJm58Ouc-8Q4SyhJu9bi2RlJMM8KTl_a_K7V9O1BejFi39b_XUr7N-RbABdnTBRjG3fEiee4b00bsglEETWvo4Hf0Yml1qzsbbh16bN27uKzHXHHuARSMRhbfIbLVfyPA5_ykupz7IzsSZpK30lBFxnmzAnZBv9J1RDWKJsDk59jBiwJolw"), 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-10-07T09:18:51Z DEBUG paho_mqtt::async_client] Subscribe to '"app/9e458c09-eabe-4e42-9605-4126a023190e"' @ QOS 0 [2022-10-07T09:18:51Z INFO drogue_cloud_tests::tests::coap] Receiver created [2022-10-07T09:18:51Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Starting message stream... [2022-10-07T09:18:51Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:18:51Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?device=device1) [2022-10-07T09:18:51Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:18:52Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?device=device1 [2022-10-07T09:18:53Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:18:53Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?device=device1) [2022-10-07T09:18:53Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:18:53Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?device=device1 [2022-10-07T09:18:54Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:18:54Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?device=device1) [2022-10-07T09:18:54Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:18:54Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?device=device1 [2022-10-07T09:18:55Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:18:55Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?device=device1) [2022-10-07T09:18:55Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:18:55Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?device=device1 [2022-10-07T09:18:55Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 612, payload: 0x7f3150003010, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f3150003280 } }, data: MessageData { topic: "app/9e458c09-eabe-4e42-9605-4126a023190e", 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, 55, 53, 97, 56, 57, 100, 45, 57, 98, 53, 99, 45, 52, 57, 102, 51, 45, 98, 102, 48, 49, 45, 56, 98, 56, 50, 50, 97, 51, 49, 97, 49, 100, 51, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 101, 118, 101, 110, 116, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 57, 101, 52, 53, 56, 99, 48, 57, 45, 101, 97, 98, 101, 45, 52, 101, 52, 50, 45, 57, 54, 48, 53, 45, 52, 49, 50, 54, 97, 48, 50, 51, 49, 57, 48, 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, 49, 48, 45, 48, 55, 84, 48, 57, 58, 49, 56, 58, 53, 53, 46, 50, 53, 50, 53, 50, 57, 54, 52, 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, 117, 105, 100, 34, 58, 34, 56, 52, 54, 57, 99, 52, 52, 102, 45, 98, 48, 49, 55, 45, 52, 101, 49, 52, 45, 56, 99, 99, 101, 45, 100, 56, 100, 57, 98, 99, 55, 98, 100, 54, 98, 50, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 57, 101, 52, 53, 56, 99, 48, 57, 45, 101, 97, 98, 101, 45, 52, 101, 52, 50, 45, 57, 54, 48, 53, 45, 52, 49, 50, 54, 97, 48, 50, 51, 49, 57, 48, 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, 117, 105, 100, 34, 58, 34, 48, 48, 101, 51, 99, 101, 57, 98, 45, 51, 97, 56, 99, 45, 52, 49, 98, 53, 45, 97, 48, 48, 52, 45, 100, 54, 48, 51, 55, 55, 57, 53, 52, 97, 49, 48, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 48, 48, 101, 51, 99, 101, 57, 98, 45, 51, 97, 56, 99, 45, 52, 49, 98, 53, 45, 97, 48, 48, 52, 45, 100, 54, 48, 51, 55, 55, 57, 53, 52, 97, 49, 48, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 57, 101, 52, 53, 56, 99, 48, 57, 37, 50, 68, 101, 97, 98, 101, 37, 50, 68, 52, 101, 52, 50, 37, 50, 68, 57, 54, 48, 53, 37, 50, 68, 52, 49, 50, 54, 97, 48, 50, 51, 49, 57, 48, 101, 47, 100, 101, 118, 105, 99, 101, 49, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f3150003280 } } } } [2022-10-07T09:18:55Z DEBUG paho_mqtt::properties] Dropping string property: 0x5613218fd060 [2022-10-07T09:18:55Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Received: MqttMessage { topic: "app/9e458c09-eabe-4e42-9605-4126a023190e", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"bd75a89d-9b5c-49f3-bf01-8b822a31a1d3\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://9e458c09-eabe-4e42-9605-4126a023190e/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-10-07T09:18:55.252529640Z\",\"data\":{\"index\":3},\"applicationuid\":\"8469c44f-b017-4e14-8cce-d8d9bc7bd6b2\",\"instance\":\"drogue\",\"application\":\"9e458c09-eabe-4e42-9605-4126a023190e\",\"sender\":\"device1\",\"deviceuid\":\"00e3ce9b-3a8c-41b5-a004-d60377954a10\",\"device\":\"device1\",\"senderuid\":\"00e3ce9b-3a8c-41b5-a004-d60377954a10\",\"partitionkey\":\"9e458c09%2Deabe%2D4e42%2D9605%2D4126a023190e/device1\"}" } [2022-10-07T09:18:56Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received first message after 3 attempts [2022-10-07T09:18:56Z DEBUG drogue_cloud_tests::tools::mqtt::receiver::warmup] Received warmup message: 3 [2022-10-07T09:18:56Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received most recent messages ... warmed up! [2022-10-07T09:18:56Z INFO drogue_cloud_tests::tests::coap] Sending payload [2022-10-07T09:18:56Z DEBUG drogue_cloud_tests::tools::coap] Client request: coaps://coap-endpoint.172.18.0.2.nip.io:30003 [2022-10-07T09:18:56Z DEBUG drogue_cloud_tests::tools::coap::helper] CoapRequest { message: Packet { header: Header { ver_type_tkl: 64, code: Request( Get, ), message_id: 0, }, token: [], options: { 11: [ [ 118, 49, ], [ 116, 101, 108, 101, 109, 101, 116, 114, 121, ], ], 15: [ [ 100, 101, 118, 105, 99, 101, 61, 100, 101, 118, 105, 99, 101, 49, ], ], 4209: [ [ 66, 97, 115, 105, 99, 32, 90, 109, 57, 118, 81, 68, 108, 108, 78, 68, 85, 52, 89, 122, 65, 53, 76, 87, 86, 104, 89, 109, 85, 116, 78, 71, 85, 48, 77, 105, 48, 53, 78, 106, 65, 49, 76, 84, 81, 120, 77, 106, 90, 104, 77, 68, 73, 122, 77, 84, 107, 119, 90, 84, 112, 105, 89, 88, 73, ], ], }, payload: [], }, response: None, source: None, } thread 'main' panicked at 'CoAP call to succeed: Resource temporarily unavailable (os error 11)', src/tests/coap/mod.rs:112:10 [2022-10-07T09:19:32Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Dropping MQTT receiver [2022-10-07T09:19:32Z DEBUG paho_mqtt::async_client] Disconnecting [2022-10-07T09:19:32Z DEBUG paho_mqtt::token] Token failure! 0x5613218c0450, 0x7ffe82748b40 [2022-10-07T09:19:32Z DEBUG paho_mqtt::token] Token completed with code: -11 [2022-10-07T09:19:32Z DEBUG paho_mqtt::token] Expecting server response for: None [2022-10-07T09:19:32Z 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 } [2022-10-07T09:19:32Z INFO drogue_cloud_tests::resources::devices] Destroy device 'device1' [2022-10-07T09:19:32Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "-a" "9e458c09-eabe-4e42-9605-4126a023190e" "device1" [2022-10-07T09:19:32Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device deleted\n", stderr: "" }) [2022-10-07T09:19:32Z INFO drogue_cloud_tests::resources::apps] Destroy application '9e458c09-eabe-4e42-9605-4126a023190e' [2022-10-07T09:19:32Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "9e458c09-eabe-4e42-9605-4126a023190e" [2022-10-07T09:19:32Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application deleted\n", stderr: "" })
❌ tests::coap::telemetry::test_send_telemetry_user::version_3
Duration: 49s
Test output
-------------- TEST START -------------- [2022-10-07T09:19:32Z INFO drogue_cloud_tests::tests::coap] entered coap_to_mqtt! [2022-10-07T09:19:34Z DEBUG drogue_cloud_tests::init::drg] auto login [2022-10-07T09:19:34Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:19:34Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:19:34Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:19: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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:19:35Z INFO drogue_cloud_tests::init::login] Found login button [2022-10-07T09:19:36Z INFO drogue_cloud_tests::init::login] Login complete [2022-10-07T09:19:36Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:19:36Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:19: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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:19:38Z INFO drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzYxNzgsImlhdCI6MTY2NTEzNDM3OCwianRpIjoiYWE1M2M4OTgtMzkzNC00ODhlLTliMzQtN2MzYTkyODUyZDJhIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiSFJGMTItM2xXUXdhN3NoY1VUeVhfUSIsInNlc3Npb25fc3RhdGUiOiIxMmVjNGYwOS0xYTRhLTQ1NWQtYTMyMS0zZTQ1OTM5Nzc1M2QiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiMTJlYzRmMDktMWE0YS00NTVkLWEzMjEtM2U0NTkzOTc3NTNkIn0.AoQaU25PDA40SBjdoqOT4N4bc7Eb9yrEEdORme0dIXU [2022-10-07T09:19:38Z INFO drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests" [2022-10-07T09:19:38Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Context system-tests deleted\n", stderr: "" }) [2022-10-07T09:19:38Z INFO drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzYxNzgsImlhdCI6MTY2NTEzNDM3OCwianRpIjoiYWE1M2M4OTgtMzkzNC00ODhlLTliMzQtN2MzYTkyODUyZDJhIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiSFJGMTItM2xXUXdhN3NoY1VUeVhfUSIsInNlc3Npb25fc3RhdGUiOiIxMmVjNGYwOS0xYTRhLTQ1NWQtYTMyMS0zZTQ1OTM5Nzc1M2QiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiMTJlYzRmMDktMWE0YS00NTVkLWEzMjEtM2U0NTkzOTc3NTNkIn0.AoQaU25PDA40SBjdoqOT4N4bc7Eb9yrEEdORme0dIXU" "--context" "system-tests" [2022-10-07T09:19:38Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Successfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSaved context: system-tests\nSwitched active context to: system-tests\n", stderr: "" }) [2022-10-07T09:19:39Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:19:39Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:19:39Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:19:39Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ2NzgsImlhdCI6MTY2NTEzNDM3OCwiYXV0aF90aW1lIjoxNjY1MTM0Mzc1LCJqdGkiOiI0MGY0N2Y1Yi1lZDc2LTRmOTEtYWE1Zi00NzdkODFkOTAzYWYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IkhSRjEyLTNsV1F3YTdzaGNVVHlYX1EiLCJzZXNzaW9uX3N0YXRlIjoiMTJlYzRmMDktMWE0YS00NTVkLWEzMjEtM2U0NTkzOTc3NTNkIiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjEyZWM0ZjA5LTFhNGEtNDU1ZC1hMzIxLTNlNDU5Mzk3NzUzZCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.dZPDk1bwDAdA3v7FRFOTCIs2rjMUeO40zV3MZTsrN1WdevaHyRmhKNBuWsypZIdlBDthPzAi6DpcdrBN7AdECKtosZvETirDOq19jAz9sJX0uPMC27B7mQ8ROGNWm3G2YQF2cFn42aZIAh_hT6qZuAzNkqOEWB67X5SgBUz4GQ7FYPahiwuwjJqg2gDe8kWvijuDglDAg7uV_itXNiG4m9CZuIlfztkjkIABIuPLW_kQTo3-CEp7oGrziekzxjxQs31fEf9tXpWgb6Oxxl_LGloILP2VCRK6B7GKdgxSg79-Tr_QZeOBkObzIy_cFLepkKlO-1xP_8MVyB2kUQLH8Q\n", stderr: "" }) [2022-10-07T09:19:39Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:19:39Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info [2022-10-07T09:19:39Z INFO drogue_cloud_tests::resources::apps] Create application: faea18ec-5bc1-4502-88e4-f384ca2a0cf3 [2022-10-07T09:19:39Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "faea18ec-5bc1-4502-88e4-f384ca2a0cf3" [2022-10-07T09:19:39Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application created\n", stderr: "" }) [2022-10-07T09:19:39Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "faea18ec-5bc1-4502-88e4-f384ca2a0cf3" "-o" "json" [2022-10-07T09:19:39Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"faea18ec-5bc1-4502-88e4-f384ca2a0cf3\",\n \"uid\": \"be2c02dd-afe7-4a29-a747-77400dc69f6e\",\n \"creationTimestamp\": \"2022-10-07T09:19:39.184006Z\",\n \"generation\": 0,\n \"resourceVersion\": \"8b7135f9-b773-46b1-85eb-0aa243e31e72\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"False\",\n \"lastTransitionTime\": \"2022-10-07T09:19:39.207286232Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:19:39.207287364Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:19:39.207287896Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:19:39.207288526Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:19:39.207289308Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"Progressing\",\n \"status\": \"False\",\n \"lastTransitionTime\": \"2022-10-07T09:19:39.207294959Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"reason\": \"NonReadyConditions\",\n \"status\": \"False\",\n \"lastTransitionTime\": \"2022-10-07T09:19:39.207419231Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"reason\": \"WaitingForReady\",\n \"status\": \"False\",\n \"message\": \"Waiting to become ready: HasFinalizer\",\n \"lastTransitionTime\": \"2022-10-07T09:19:39.207368956Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:19:39Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("faea18ec-5bc1-4502-88e4-f384ca2a0cf3"), "uid": String("be2c02dd-afe7-4a29-a747-77400dc69f6e"), "creationTimestamp": String("2022-10-07T09:19:39.184006Z"), "generation": Number(0), "resourceVersion": String("8b7135f9-b773-46b1-85eb-0aa243e31e72"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"conditions": Array([Object({"type": String("HasFinalizer"), "status": String("False"), "lastTransitionTime": String("2022-10-07T09:19:39.207286232Z")}), Object({"type": String("CreateTopics"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:19:39.207287364Z")}), Object({"type": String("TopicsReady"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:19:39.207287896Z")}), Object({"type": String("CreateUser"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:19:39.207288526Z")}), Object({"type": String("UserReady"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:19:39.207289308Z")}), Object({"type": String("Reconciled"), "reason": String("Progressing"), "status": String("False"), "lastTransitionTime": String("2022-10-07T09:19:39.207294959Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "reason": String("NonReadyConditions"), "status": String("False"), "lastTransitionTime": String("2022-10-07T09:19:39.207419231Z")}), Object({"type": String("KafkaReady"), "reason": String("WaitingForReady"), "status": String("False"), "message": String("Waiting to become ready: HasFinalizer"), "lastTransitionTime": String("2022-10-07T09:19:39.207368956Z")})])})}) [2022-10-07T09:19:39Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false [2022-10-07T09:19:40Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "faea18ec-5bc1-4502-88e4-f384ca2a0cf3" "-o" "json" [2022-10-07T09:19:40Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"faea18ec-5bc1-4502-88e4-f384ca2a0cf3\",\n \"uid\": \"be2c02dd-afe7-4a29-a747-77400dc69f6e\",\n \"creationTimestamp\": \"2022-10-07T09:19:39.184006Z\",\n \"generation\": 0,\n \"resourceVersion\": \"65cad18b-a819-4326-b16c-94d53e2a92e8\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"SE09x4BDylJS\",\n \"username\": \"user-faea18ec-5bc1-4502-88e4-f384ca2a0cf3\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:19:39.234455115Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:19:39.244937210Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:19:39.324982857Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:19:39.331573320Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:19:39.501105394Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:19:39.501127995Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:19:39.501240175Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:19:39.501157962Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:19:40Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("faea18ec-5bc1-4502-88e4-f384ca2a0cf3"), "uid": String("be2c02dd-afe7-4a29-a747-77400dc69f6e"), "creationTimestamp": String("2022-10-07T09:19:39.184006Z"), "generation": Number(0), "resourceVersion": String("65cad18b-a819-4326-b16c-94d53e2a92e8"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("SE09x4BDylJS"), "username": String("user-faea18ec-5bc1-4502-88e4-f384ca2a0cf3"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:19:39.234455115Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:19:39.244937210Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:19:39.324982857Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:19:39.331573320Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:19:39.501105394Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:19:39.501127995Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:19:39.501240175Z")}), Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:19:39.501157962Z")})])})}) [2022-10-07T09:19:40Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true [2022-10-07T09:19:40Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "faea18ec-5bc1-4502-88e4-f384ca2a0cf3" "-o" "json" [2022-10-07T09:19:40Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"faea18ec-5bc1-4502-88e4-f384ca2a0cf3\",\n \"uid\": \"be2c02dd-afe7-4a29-a747-77400dc69f6e\",\n \"creationTimestamp\": \"2022-10-07T09:19:39.184006Z\",\n \"generation\": 0,\n \"resourceVersion\": \"65cad18b-a819-4326-b16c-94d53e2a92e8\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"SE09x4BDylJS\",\n \"username\": \"user-faea18ec-5bc1-4502-88e4-f384ca2a0cf3\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:19:39.234455115Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:19:39.244937210Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:19:39.324982857Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:19:39.331573320Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:19:39.501105394Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:19:39.501127995Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:19:39.501240175Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:19:39.501157962Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:19:40Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("faea18ec-5bc1-4502-88e4-f384ca2a0cf3"), "uid": String("be2c02dd-afe7-4a29-a747-77400dc69f6e"), "creationTimestamp": String("2022-10-07T09:19:39.184006Z"), "generation": Number(0), "resourceVersion": String("65cad18b-a819-4326-b16c-94d53e2a92e8"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("SE09x4BDylJS"), "username": String("user-faea18ec-5bc1-4502-88e4-f384ca2a0cf3"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:19:39.234455115Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:19:39.244937210Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:19:39.324982857Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:19:39.331573320Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:19:39.501105394Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:19:39.501127995Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:19:39.501240175Z")}), Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:19:39.501157962Z")})])})}) [2022-10-07T09:19:40Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true [2022-10-07T09:19:40Z INFO drogue_cloud_tests::resources::devices] Create device: device1 [2022-10-07T09:19:40Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "-a" "faea18ec-5bc1-4502-88e4-f384ca2a0cf3" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"user\":{\"username\":\"foo\",\"password\":\"bar\"}}]}}" [2022-10-07T09:19:40Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device created\n", stderr: "" }) [2022-10-07T09:19:40Z INFO drogue_cloud_tests::tests::coap] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002 [2022-10-07T09:19:40Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:19:40Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ2NzgsImlhdCI6MTY2NTEzNDM3OCwiYXV0aF90aW1lIjoxNjY1MTM0Mzc1LCJqdGkiOiI0MGY0N2Y1Yi1lZDc2LTRmOTEtYWE1Zi00NzdkODFkOTAzYWYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IkhSRjEyLTNsV1F3YTdzaGNVVHlYX1EiLCJzZXNzaW9uX3N0YXRlIjoiMTJlYzRmMDktMWE0YS00NTVkLWEzMjEtM2U0NTkzOTc3NTNkIiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjEyZWM0ZjA5LTFhNGEtNDU1ZC1hMzIxLTNlNDU5Mzk3NzUzZCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.dZPDk1bwDAdA3v7FRFOTCIs2rjMUeO40zV3MZTsrN1WdevaHyRmhKNBuWsypZIdlBDthPzAi6DpcdrBN7AdECKtosZvETirDOq19jAz9sJX0uPMC27B7mQ8ROGNWm3G2YQF2cFn42aZIAh_hT6qZuAzNkqOEWB67X5SgBUz4GQ7FYPahiwuwjJqg2gDe8kWvijuDglDAg7uV_itXNiG4m9CZuIlfztkjkIABIuPLW_kQTo3-CEp7oGrziekzxjxQs31fEf9tXpWgb6Oxxl_LGloILP2VCRK6B7GKdgxSg79-Tr_QZeOBkObzIy_cFLepkKlO-1xP_8MVyB2kUQLH8Q\n", stderr: "" }) [2022-10-07T09:19:40Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "94feaf21-bf7a-44ce-8295-59432eafcf5d", persistence: None, user_data: None } [2022-10-07T09:19:40Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1 [2022-10-07T09:19:40Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561321a8d120 [2022-10-07T09:19:40Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561321a8d120 [2022-10-07T09:19: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: 0x561321a10b10, connectTimeout: 30, retryInterval: 0, ssl: 0x561321a11b10, 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: 0x5613219bf660, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ2NzgsImlhdCI6MTY2NTEzNDM3OCwiYXV0aF90aW1lIjoxNjY1MTM0Mzc1LCJqdGkiOiI0MGY0N2Y1Yi1lZDc2LTRmOTEtYWE1Zi00NzdkODFkOTAzYWYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IkhSRjEyLTNsV1F3YTdzaGNVVHlYX1EiLCJzZXNzaW9uX3N0YXRlIjoiMTJlYzRmMDktMWE0YS00NTVkLWEzMjEtM2U0NTkzOTc3NTNkIiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjEyZWM0ZjA5LTFhNGEtNDU1ZC1hMzIxLTNlNDU5Mzk3NzUzZCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.dZPDk1bwDAdA3v7FRFOTCIs2rjMUeO40zV3MZTsrN1WdevaHyRmhKNBuWsypZIdlBDthPzAi6DpcdrBN7AdECKtosZvETirDOq19jAz9sJX0uPMC27B7mQ8ROGNWm3G2YQF2cFn42aZIAh_hT6qZuAzNkqOEWB67X5SgBUz4GQ7FYPahiwuwjJqg2gDe8kWvijuDglDAg7uV_itXNiG4m9CZuIlfztkjkIABIuPLW_kQTo3-CEp7oGrziekzxjxQs31fEf9tXpWgb6Oxxl_LGloILP2VCRK6B7GKdgxSg79-Tr_QZeOBkObzIy_cFLepkKlO-1xP_8MVyB2kUQLH8Q"), 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-10-07T09:19:40Z DEBUG paho_mqtt::async_client] Subscribe to '"app/faea18ec-5bc1-4502-88e4-f384ca2a0cf3"' @ QOS 0 [2022-10-07T09:19:40Z INFO drogue_cloud_tests::tests::coap] Receiver created [2022-10-07T09:19:40Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Starting message stream... [2022-10-07T09:19:40Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:19:40Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?device=device1) [2022-10-07T09:19:40Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:19:41Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?device=device1 [2022-10-07T09:19:42Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:19:42Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?device=device1) [2022-10-07T09:19:42Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:19:42Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?device=device1 [2022-10-07T09:19:43Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:19:43Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?device=device1) [2022-10-07T09:19:43Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:19:43Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?device=device1 [2022-10-07T09:19:44Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:19:44Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?device=device1) [2022-10-07T09:19:44Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:19:44Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?device=device1 [2022-10-07T09:19:44Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 11, payload: 0x7f314c01a5f0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 565, array: 0x5613219ad5d0 } }, data: MessageData { topic: "app/faea18ec-5bc1-4502-88e4-f384ca2a0cf3", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 565, array: 0x5613219ad5d0 } } } } [2022-10-07T09:19:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x56132192c4f0, 0x561321aad500 [2022-10-07T09:19:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561321aad500, 0x5613219dc7f0 [2022-10-07T09:19:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561321aad500, 0x561321b43980 [2022-10-07T09:19:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561321b43980, 0x561321b43c70 [2022-10-07T09:19:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561321b43980, 0x7f3154008550 [2022-10-07T09:19:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f3154008550, 0x5613219dc7f0 [2022-10-07T09:19:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f3154008550, 0x7f3154005940 [2022-10-07T09:19:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f3154005940, 0x5613219dc7f0 [2022-10-07T09:19:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f3154005940, 0x5613219dc7f0 [2022-10-07T09:19:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f3154005940, 0x7f31540075c0 [2022-10-07T09:19:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f31540075c0, 0x7f3154005940 [2022-10-07T09:19:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f3154005940, 0x5613219dc7f0 [2022-10-07T09:19:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f3154005940, 0x561321b43c70 [2022-10-07T09:19:44Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f3154005940, 0x5613219dc7f0 [2022-10-07T09:19:44Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f3154005940 [2022-10-07T09:19:44Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Received: MqttMessage { topic: "app/faea18ec-5bc1-4502-88e4-f384ca2a0cf3", content_type: Some("application/json"), user_properties: {"specversion": "1.0", "source": "drogue://faea18ec-5bc1-4502-88e4-f384ca2a0cf3/device1", "application": "faea18ec-5bc1-4502-88e4-f384ca2a0cf3", "partitionkey": "faea18ec%2D5bc1%2D4502%2D88e4%2Df384ca2a0cf3/device1", "applicationuid": "be2c02dd-afe7-4a29-a747-77400dc69f6e", "instance": "drogue", "device": "device1", "sender": "device1", "time": "2022-10-07T09:19:44.285546817+00:00", "type": "io.drogue.event.v1", "deviceuid": "76053dc6-c59f-4721-9410-505908e42ef5", "id": "69177b75-2bc3-4ab0-b7e9-b7ac682229c1", "subject": "warmup", "senderuid": "76053dc6-c59f-4721-9410-505908e42ef5"}, payload: "{\"index\":3}" } [2022-10-07T09:19:45Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received first message after 3 attempts [2022-10-07T09:19:45Z DEBUG drogue_cloud_tests::tools::mqtt::receiver::warmup] Received warmup message: 3 [2022-10-07T09:19:45Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received most recent messages ... warmed up! [2022-10-07T09:19:45Z INFO drogue_cloud_tests::tests::coap] Sending payload [2022-10-07T09:19:45Z DEBUG drogue_cloud_tests::tools::coap] Client request: coaps://coap-endpoint.172.18.0.2.nip.io:30003 [2022-10-07T09:19:45Z DEBUG drogue_cloud_tests::tools::coap::helper] CoapRequest { message: Packet { header: Header { ver_type_tkl: 64, code: Request( Get, ), message_id: 0, }, token: [], options: { 11: [ [ 118, 49, ], [ 116, 101, 108, 101, 109, 101, 116, 114, 121, ], ], 15: [ [ 100, 101, 118, 105, 99, 101, 61, 100, 101, 118, 105, 99, 101, 49, ], ], 4209: [ [ 66, 97, 115, 105, 99, 32, 90, 109, 57, 118, 81, 71, 90, 104, 90, 87, 69, 120, 79, 71, 86, 106, 76, 84, 86, 105, 89, 122, 69, 116, 78, 68, 85, 119, 77, 105, 48, 52, 79, 71, 85, 48, 76, 87, 89, 122, 79, 68, 82, 106, 89, 84, 74, 104, 77, 71, 78, 109, 77, 122, 112, 105, 89, 88, 73, ], ], }, payload: [], }, response: None, source: None, } thread 'main' panicked at 'CoAP call to succeed: Resource temporarily unavailable (os error 11)', src/tests/coap/mod.rs:112:10 [2022-10-07T09:20:21Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Dropping MQTT receiver [2022-10-07T09:20:21Z DEBUG paho_mqtt::async_client] Disconnecting [2022-10-07T09:20:21Z DEBUG paho_mqtt::token] Token failure! 0x56132191ef10, 0x7ffe82748b40 [2022-10-07T09:20:21Z DEBUG paho_mqtt::token] Token completed with code: -11 [2022-10-07T09:20:21Z DEBUG paho_mqtt::token] Expecting server response for: None [2022-10-07T09:20:21Z 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 } [2022-10-07T09:20:21Z INFO drogue_cloud_tests::resources::devices] Destroy device 'device1' [2022-10-07T09:20:21Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "-a" "faea18ec-5bc1-4502-88e4-f384ca2a0cf3" "device1" [2022-10-07T09:20:21Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device deleted\n", stderr: "" }) [2022-10-07T09:20:21Z INFO drogue_cloud_tests::resources::apps] Destroy application 'faea18ec-5bc1-4502-88e4-f384ca2a0cf3' [2022-10-07T09:20:21Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "faea18ec-5bc1-4502-88e4-f384ca2a0cf3" [2022-10-07T09:20:21Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application deleted\n", stderr: "" })
❌ tests::coap::telemetry::test_send_telemetry_user_alias::version_1
Duration: 49s
Test output
-------------- TEST START -------------- [2022-10-07T09:20:21Z INFO drogue_cloud_tests::tests::coap] entered coap_to_mqtt! [2022-10-07T09:20:23Z DEBUG drogue_cloud_tests::init::drg] auto login [2022-10-07T09:20:23Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:20:23Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:20:23Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:20: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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:20:24Z INFO drogue_cloud_tests::init::login] Found login button [2022-10-07T09:20:26Z INFO drogue_cloud_tests::init::login] Login complete [2022-10-07T09:20:26Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:20:26Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:20: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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:20:28Z INFO drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzYyMjgsImlhdCI6MTY2NTEzNDQyOCwianRpIjoiNDkxMGZhMmQtYzI4Zi00ODQ4LWI0ZTctYTgzZjQwN2EwYmI0IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiMExNbklkLW84WHBCcUxrSm9ONmJIZyIsInNlc3Npb25fc3RhdGUiOiJiNzcxNjYwYy1kOTdmLTRkMmEtODk4YS1kN2QyYTBkY2Y0YWMiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiYjc3MTY2MGMtZDk3Zi00ZDJhLTg5OGEtZDdkMmEwZGNmNGFjIn0.E-DrUPXOUB20nBSvc6H00UugZkkeQVaz2Pbfm9r6bcg [2022-10-07T09:20:28Z INFO drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests" [2022-10-07T09:20:28Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Context system-tests deleted\n", stderr: "" }) [2022-10-07T09:20:28Z INFO drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzYyMjgsImlhdCI6MTY2NTEzNDQyOCwianRpIjoiNDkxMGZhMmQtYzI4Zi00ODQ4LWI0ZTctYTgzZjQwN2EwYmI0IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiMExNbklkLW84WHBCcUxrSm9ONmJIZyIsInNlc3Npb25fc3RhdGUiOiJiNzcxNjYwYy1kOTdmLTRkMmEtODk4YS1kN2QyYTBkY2Y0YWMiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiYjc3MTY2MGMtZDk3Zi00ZDJhLTg5OGEtZDdkMmEwZGNmNGFjIn0.E-DrUPXOUB20nBSvc6H00UugZkkeQVaz2Pbfm9r6bcg" "--context" "system-tests" [2022-10-07T09:20:28Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Successfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSaved context: system-tests\nSwitched active context to: system-tests\n", stderr: "" }) [2022-10-07T09:20:28Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:20:28Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:20:28Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:20:28Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ3MjgsImlhdCI6MTY2NTEzNDQyOCwiYXV0aF90aW1lIjoxNjY1MTM0NDI1LCJqdGkiOiJkZmIzMDcxNS05ODg3LTQ4NzctODg2MS1mMzdmZTcxZmUzY2EiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjBMTW5JZC1vOFhwQnFMa0pvTjZiSGciLCJzZXNzaW9uX3N0YXRlIjoiYjc3MTY2MGMtZDk3Zi00ZDJhLTg5OGEtZDdkMmEwZGNmNGFjIiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImI3NzE2NjBjLWQ5N2YtNGQyYS04OThhLWQ3ZDJhMGRjZjRhYyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.hvqrty7JTnOGDaw_STywFiv_6t9IYGREvAqSLLr-9RiXpwRJDt7uHmHVET6JpCOXPXeXa2NAVC7aUGC4eY-zRu-W0NKQLVC3wuYpUFl_ZUbW9rG-Ga14KDz_mDiyOqMhqGv26Ux_vMlRDAIDQl9xXU6MlXquH0-ul8BPk-6eqWY0bjMKiZ1yn2kTYnuvBoJ2TpHcyFYrnELDFduy8y9f-uwtMtRUQp5X1jfHBRiA93Qk83wwti-DBc5cH12787cfwQ7bmFmsPJRluQN4i64GGe1IBHvCgVWTfhJfEjTS3CRg90_q9dFzo3FYRyEfWKlTtowjaCdnAwfSqMSXmwT6og\n", stderr: "" }) [2022-10-07T09:20:28Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:20:28Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info [2022-10-07T09:20:28Z INFO drogue_cloud_tests::resources::apps] Create application: 762fe43a-9d05-4a6a-b5da-da3d7fc1ba6f [2022-10-07T09:20:28Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "762fe43a-9d05-4a6a-b5da-da3d7fc1ba6f" [2022-10-07T09:20:28Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application created\n", stderr: "" }) [2022-10-07T09:20:28Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "762fe43a-9d05-4a6a-b5da-da3d7fc1ba6f" "-o" "json" [2022-10-07T09:20:28Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"762fe43a-9d05-4a6a-b5da-da3d7fc1ba6f\",\n \"uid\": \"bc1f6507-c29d-4c75-9f80-962940527e71\",\n \"creationTimestamp\": \"2022-10-07T09:20:28.920106Z\",\n \"generation\": 0,\n \"resourceVersion\": \"63c628a2-1975-4f81-8187-866eb3d7967e\"\n },\n \"status\": {\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:20:28.939920948Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:20:28Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("762fe43a-9d05-4a6a-b5da-da3d7fc1ba6f"), "uid": String("bc1f6507-c29d-4c75-9f80-962940527e71"), "creationTimestamp": String("2022-10-07T09:20:28.920106Z"), "generation": Number(0), "resourceVersion": String("63c628a2-1975-4f81-8187-866eb3d7967e")}), "status": Object({"conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:20:28.939920948Z")})])})}) [2022-10-07T09:20:28Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false [2022-10-07T09:20:29Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "762fe43a-9d05-4a6a-b5da-da3d7fc1ba6f" "-o" "json" [2022-10-07T09:20:29Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"762fe43a-9d05-4a6a-b5da-da3d7fc1ba6f\",\n \"uid\": \"bc1f6507-c29d-4c75-9f80-962940527e71\",\n \"creationTimestamp\": \"2022-10-07T09:20:28.920106Z\",\n \"generation\": 0,\n \"resourceVersion\": \"31be21c9-71a4-4b8a-b200-cdb9bcc4d986\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"JpPzULJ90koW\",\n \"username\": \"user-762fe43a-9d05-4a6a-b5da-da3d7fc1ba6f\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:20:28.974483910Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:20:28.984079380Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:20:29.077637749Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:20:29.086915225Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:20:29.221699086Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:20:29.221766572Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:20:29.222062935Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:20:29.221817417Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:20:29Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("762fe43a-9d05-4a6a-b5da-da3d7fc1ba6f"), "uid": String("bc1f6507-c29d-4c75-9f80-962940527e71"), "creationTimestamp": String("2022-10-07T09:20:28.920106Z"), "generation": Number(0), "resourceVersion": String("31be21c9-71a4-4b8a-b200-cdb9bcc4d986"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("JpPzULJ90koW"), "username": String("user-762fe43a-9d05-4a6a-b5da-da3d7fc1ba6f"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:20:28.974483910Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:20:28.984079380Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:20:29.077637749Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:20:29.086915225Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:20:29.221699086Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:20:29.221766572Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:20:29.222062935Z")}), Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:20:29.221817417Z")})])})}) [2022-10-07T09:20:29Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true [2022-10-07T09:20:29Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "762fe43a-9d05-4a6a-b5da-da3d7fc1ba6f" "-o" "json" [2022-10-07T09:20:29Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"762fe43a-9d05-4a6a-b5da-da3d7fc1ba6f\",\n \"uid\": \"bc1f6507-c29d-4c75-9f80-962940527e71\",\n \"creationTimestamp\": \"2022-10-07T09:20:28.920106Z\",\n \"generation\": 0,\n \"resourceVersion\": \"31be21c9-71a4-4b8a-b200-cdb9bcc4d986\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"JpPzULJ90koW\",\n \"username\": \"user-762fe43a-9d05-4a6a-b5da-da3d7fc1ba6f\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:20:28.974483910Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:20:28.984079380Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:20:29.077637749Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:20:29.086915225Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:20:29.221699086Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:20:29.221766572Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:20:29.222062935Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:20:29.221817417Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:20:29Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("762fe43a-9d05-4a6a-b5da-da3d7fc1ba6f"), "uid": String("bc1f6507-c29d-4c75-9f80-962940527e71"), "creationTimestamp": String("2022-10-07T09:20:28.920106Z"), "generation": Number(0), "resourceVersion": String("31be21c9-71a4-4b8a-b200-cdb9bcc4d986"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("JpPzULJ90koW"), "username": String("user-762fe43a-9d05-4a6a-b5da-da3d7fc1ba6f"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:20:28.974483910Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:20:28.984079380Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:20:29.077637749Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:20:29.086915225Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:20:29.221699086Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:20:29.221766572Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:20:29.222062935Z")}), Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:20:29.221817417Z")})])})}) [2022-10-07T09:20:29Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true [2022-10-07T09:20:29Z INFO drogue_cloud_tests::resources::devices] Create device: device1 [2022-10-07T09:20:29Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "-a" "762fe43a-9d05-4a6a-b5da-da3d7fc1ba6f" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"user\":{\"username\":\"foo\",\"password\":\"bar\",\"unique\":true}}]}}" [2022-10-07T09:20:30Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device created\n", stderr: "" }) [2022-10-07T09:20:30Z INFO drogue_cloud_tests::tests::coap] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002 [2022-10-07T09:20:30Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:20:30Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ3MjgsImlhdCI6MTY2NTEzNDQyOCwiYXV0aF90aW1lIjoxNjY1MTM0NDI1LCJqdGkiOiJkZmIzMDcxNS05ODg3LTQ4NzctODg2MS1mMzdmZTcxZmUzY2EiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjBMTW5JZC1vOFhwQnFMa0pvTjZiSGciLCJzZXNzaW9uX3N0YXRlIjoiYjc3MTY2MGMtZDk3Zi00ZDJhLTg5OGEtZDdkMmEwZGNmNGFjIiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImI3NzE2NjBjLWQ5N2YtNGQyYS04OThhLWQ3ZDJhMGRjZjRhYyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.hvqrty7JTnOGDaw_STywFiv_6t9IYGREvAqSLLr-9RiXpwRJDt7uHmHVET6JpCOXPXeXa2NAVC7aUGC4eY-zRu-W0NKQLVC3wuYpUFl_ZUbW9rG-Ga14KDz_mDiyOqMhqGv26Ux_vMlRDAIDQl9xXU6MlXquH0-ul8BPk-6eqWY0bjMKiZ1yn2kTYnuvBoJ2TpHcyFYrnELDFduy8y9f-uwtMtRUQp5X1jfHBRiA93Qk83wwti-DBc5cH12787cfwQ7bmFmsPJRluQN4i64GGe1IBHvCgVWTfhJfEjTS3CRg90_q9dFzo3FYRyEfWKlTtowjaCdnAwfSqMSXmwT6og\n", stderr: "" }) [2022-10-07T09:20: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: "cbfdb20d-c643-4545-94f6-47669174b9f0", persistence: None, user_data: None } [2022-10-07T09:20:30Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1 [2022-10-07T09:20:30Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561321a55e00 [2022-10-07T09:20:30Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561321a55e00 [2022-10-07T09:20: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: 0x5613218adaf0, connectTimeout: 30, retryInterval: 0, ssl: 0x561321a561f0, 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: 0x561321953960, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ3MjgsImlhdCI6MTY2NTEzNDQyOCwiYXV0aF90aW1lIjoxNjY1MTM0NDI1LCJqdGkiOiJkZmIzMDcxNS05ODg3LTQ4NzctODg2MS1mMzdmZTcxZmUzY2EiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjBMTW5JZC1vOFhwQnFMa0pvTjZiSGciLCJzZXNzaW9uX3N0YXRlIjoiYjc3MTY2MGMtZDk3Zi00ZDJhLTg5OGEtZDdkMmEwZGNmNGFjIiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6ImI3NzE2NjBjLWQ5N2YtNGQyYS04OThhLWQ3ZDJhMGRjZjRhYyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.hvqrty7JTnOGDaw_STywFiv_6t9IYGREvAqSLLr-9RiXpwRJDt7uHmHVET6JpCOXPXeXa2NAVC7aUGC4eY-zRu-W0NKQLVC3wuYpUFl_ZUbW9rG-Ga14KDz_mDiyOqMhqGv26Ux_vMlRDAIDQl9xXU6MlXquH0-ul8BPk-6eqWY0bjMKiZ1yn2kTYnuvBoJ2TpHcyFYrnELDFduy8y9f-uwtMtRUQp5X1jfHBRiA93Qk83wwti-DBc5cH12787cfwQ7bmFmsPJRluQN4i64GGe1IBHvCgVWTfhJfEjTS3CRg90_q9dFzo3FYRyEfWKlTtowjaCdnAwfSqMSXmwT6og"), 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-10-07T09:20:30Z DEBUG paho_mqtt::async_client] Subscribe to '"app/762fe43a-9d05-4a6a-b5da-da3d7fc1ba6f"' @ QOS 0 [2022-10-07T09:20:30Z INFO drogue_cloud_tests::tests::coap] Receiver created [2022-10-07T09:20:30Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Starting message stream... [2022-10-07T09:20:30Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:20:30Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:20:30Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:20:30Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:20:31Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:20:31Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:20:31Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:20:31Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:20:32Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:20:32Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:20:32Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:20:32Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:20:33Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:20:33Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:20:33Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:20:33Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:20:33Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 612, payload: 0x7f3150013e30, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/762fe43a-9d05-4a6a-b5da-da3d7fc1ba6f", payload: [123, 34, 115, 112, 101, 99, 118, 101, 114, 115, 105, 111, 110, 34, 58, 34, 49, 46, 48, 34, 44, 34, 105, 100, 34, 58, 34, 54, 50, 97, 52, 98, 98, 102, 51, 45, 57, 101, 48, 52, 45, 52, 56, 53, 56, 45, 98, 53, 98, 53, 45, 100, 49, 102, 49, 54, 99, 48, 52, 55, 54, 99, 50, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 101, 118, 101, 110, 116, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 55, 54, 50, 102, 101, 52, 51, 97, 45, 57, 100, 48, 53, 45, 52, 97, 54, 97, 45, 98, 53, 100, 97, 45, 100, 97, 51, 100, 55, 102, 99, 49, 98, 97, 54, 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, 49, 48, 45, 48, 55, 84, 48, 57, 58, 50, 48, 58, 51, 51, 46, 52, 49, 51, 52, 53, 53, 55, 56, 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, 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, 54, 50, 102, 101, 52, 51, 97, 45, 57, 100, 48, 53, 45, 52, 97, 54, 97, 45, 98, 53, 100, 97, 45, 100, 97, 51, 100, 55, 102, 99, 49, 98, 97, 54, 102, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 55, 54, 50, 102, 101, 52, 51, 97, 37, 50, 68, 57, 100, 48, 53, 37, 50, 68, 52, 97, 54, 97, 37, 50, 68, 98, 53, 100, 97, 37, 50, 68, 100, 97, 51, 100, 55, 102, 99, 49, 98, 97, 54, 102, 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, 99, 53, 54, 102, 49, 57, 45, 54, 51, 54, 55, 45, 52, 51, 49, 56, 45, 98, 100, 51, 50, 45, 99, 48, 55, 49, 48, 102, 49, 51, 52, 50, 57, 51, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 50, 99, 53, 54, 102, 49, 57, 45, 54, 51, 54, 55, 45, 52, 51, 49, 56, 45, 98, 100, 51, 50, 45, 99, 48, 55, 49, 48, 102, 49, 51, 52, 50, 57, 51, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 98, 99, 49, 102, 54, 53, 48, 55, 45, 99, 50, 57, 100, 45, 52, 99, 55, 53, 45, 57, 102, 56, 48, 45, 57, 54, 50, 57, 52, 48, 53, 50, 55, 101, 55, 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-10-07T09:20:33Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Received: MqttMessage { topic: "app/762fe43a-9d05-4a6a-b5da-da3d7fc1ba6f", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"62a4bbf3-9e04-4858-b5b5-d1f16c0476c2\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://762fe43a-9d05-4a6a-b5da-da3d7fc1ba6f/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-10-07T09:20:33.413455789Z\",\"data\":{\"index\":3},\"sender\":\"device1\",\"device\":\"device1\",\"application\":\"762fe43a-9d05-4a6a-b5da-da3d7fc1ba6f\",\"partitionkey\":\"762fe43a%2D9d05%2D4a6a%2Db5da%2Dda3d7fc1ba6f/device1\",\"senderuid\":\"a2c56f19-6367-4318-bd32-c0710f134293\",\"deviceuid\":\"a2c56f19-6367-4318-bd32-c0710f134293\",\"applicationuid\":\"bc1f6507-c29d-4c75-9f80-962940527e71\",\"instance\":\"drogue\"}" } [2022-10-07T09:20:34Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received first message after 3 attempts [2022-10-07T09:20:34Z DEBUG drogue_cloud_tests::tools::mqtt::receiver::warmup] Received warmup message: 3 [2022-10-07T09:20:34Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received most recent messages ... warmed up! [2022-10-07T09:20:34Z INFO drogue_cloud_tests::tests::coap] Sending payload [2022-10-07T09:20:34Z DEBUG drogue_cloud_tests::tools::coap] Client request: coaps://coap-endpoint.172.18.0.2.nip.io:30003 [2022-10-07T09:20:34Z DEBUG drogue_cloud_tests::tools::coap::helper] CoapRequest { message: Packet { header: Header { ver_type_tkl: 64, code: Request( Get, ), message_id: 0, }, token: [], options: { 11: [ [ 118, 49, ], [ 116, 101, 108, 101, 109, 101, 116, 114, 121, ], ], 15: [ [], ], 4209: [ [ 66, 97, 115, 105, 99, 32, 90, 109, 57, 118, 81, 68, 99, 50, 77, 109, 90, 108, 78, 68, 78, 104, 76, 84, 108, 107, 77, 68, 85, 116, 78, 71, 69, 50, 89, 83, 49, 105, 78, 87, 82, 104, 76, 87, 82, 104, 77, 50, 81, 51, 90, 109, 77, 120, 89, 109, 69, 50, 90, 106, 112, 105, 89, 88, 73, ], ], }, payload: [], }, response: None, source: None, } thread 'main' panicked at 'CoAP call to succeed: Resource temporarily unavailable (os error 11)', src/tests/coap/mod.rs:112:10 [2022-10-07T09:21:10Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Dropping MQTT receiver [2022-10-07T09:21:10Z DEBUG paho_mqtt::async_client] Disconnecting [2022-10-07T09:21:10Z DEBUG paho_mqtt::token] Token failure! 0x56132190d2a0, 0x7ffe82748ac0 [2022-10-07T09:21:10Z DEBUG paho_mqtt::token] Token completed with code: -11 [2022-10-07T09:21:10Z DEBUG paho_mqtt::token] Expecting server response for: None [2022-10-07T09:21:10Z 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 } [2022-10-07T09:21:10Z INFO drogue_cloud_tests::resources::devices] Destroy device 'device1' [2022-10-07T09:21:10Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "-a" "762fe43a-9d05-4a6a-b5da-da3d7fc1ba6f" "device1" [2022-10-07T09:21:10Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device deleted\n", stderr: "" }) [2022-10-07T09:21:10Z INFO drogue_cloud_tests::resources::apps] Destroy application '762fe43a-9d05-4a6a-b5da-da3d7fc1ba6f' [2022-10-07T09:21:10Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "762fe43a-9d05-4a6a-b5da-da3d7fc1ba6f" [2022-10-07T09:21:10Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application deleted\n", stderr: "" })
❌ tests::coap::telemetry::test_send_telemetry_user_alias::version_2
Duration: 49s
Test output
-------------- TEST START -------------- [2022-10-07T09:21:10Z INFO drogue_cloud_tests::tests::coap] entered coap_to_mqtt! [2022-10-07T09:21:12Z DEBUG drogue_cloud_tests::init::drg] auto login [2022-10-07T09:21:12Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:21:12Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:21:12Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:21:12Z INFO drogue_cloud_tests::init::config] Endpoints: Object({ "api": String( "http://api.172.18.0.2.nip.io", ), "console": String( "http://console.172.18.0.2.nip.io", ), "coap": Object({ "url": String( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:21:13Z INFO drogue_cloud_tests::init::login] Found login button [2022-10-07T09:21:15Z INFO drogue_cloud_tests::init::login] Login complete [2022-10-07T09:21:15Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:21:15Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:21: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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:21:16Z INFO drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzYyNzYsImlhdCI6MTY2NTEzNDQ3NiwianRpIjoiMDg0YzJkMjEtZTE2My00ZjFmLWI1NGYtNjEzMTMzNWI2ZDBjIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiVXN2MThibWMySjZWZ2N3SUQ5ckNhUSIsInNlc3Npb25fc3RhdGUiOiI0NTc3YzVhZS1lMWQ4LTQ1ZTctYjZmMS1mZGZkNjdiZTEzZjgiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiNDU3N2M1YWUtZTFkOC00NWU3LWI2ZjEtZmRmZDY3YmUxM2Y4In0.G79DIoi50YcQqu-vYmJwAJv229n8IzGTrCcYanautWk [2022-10-07T09:21:16Z INFO drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests" [2022-10-07T09:21:16Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Context system-tests deleted\n", stderr: "" }) [2022-10-07T09:21:16Z INFO drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzYyNzYsImlhdCI6MTY2NTEzNDQ3NiwianRpIjoiMDg0YzJkMjEtZTE2My00ZjFmLWI1NGYtNjEzMTMzNWI2ZDBjIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiVXN2MThibWMySjZWZ2N3SUQ5ckNhUSIsInNlc3Npb25fc3RhdGUiOiI0NTc3YzVhZS1lMWQ4LTQ1ZTctYjZmMS1mZGZkNjdiZTEzZjgiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiNDU3N2M1YWUtZTFkOC00NWU3LWI2ZjEtZmRmZDY3YmUxM2Y4In0.G79DIoi50YcQqu-vYmJwAJv229n8IzGTrCcYanautWk" "--context" "system-tests" [2022-10-07T09:21:17Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Successfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSaved context: system-tests\nSwitched active context to: system-tests\n", stderr: "" }) [2022-10-07T09:21:17Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:21:17Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:21:17Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:21:17Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ3NzcsImlhdCI6MTY2NTEzNDQ3NywiYXV0aF90aW1lIjoxNjY1MTM0NDc0LCJqdGkiOiJkMjQ0Y2EyYy03NTQ3LTRhMDAtODM4ZS0zMDUwNjFkZjhmMzIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlVzdjE4Ym1jMko2Vmdjd0lEOXJDYVEiLCJzZXNzaW9uX3N0YXRlIjoiNDU3N2M1YWUtZTFkOC00NWU3LWI2ZjEtZmRmZDY3YmUxM2Y4IiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjQ1NzdjNWFlLWUxZDgtNDVlNy1iNmYxLWZkZmQ2N2JlMTNmOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.G5ye2wRz35eg1x5OeyQD3Q7oOcTWiQt5rQKwJzmZ1GvkUzuNBY6v8vCZ2sYo4BxmODJz3A0gxBeUe2lxDxkvs0-zjFGh8JqMfZHAhdnRxCItYu09WYChZhRoIrlHu_VHAb49QETA6m1tM4cfBOJJ44nODCWP7pDEup9k7wjHN02hspZH3xCoPUKEAvmd8nWe2v-eWsauTEtL-NBhaYkcJxsD_00MlwLSytgVF4p9r6tVqaFqBzdrY5aKs9wDm-mpTymCoXyuIt_-zCeSY8rpDJVk4FeLOmm3_DISL3UKBQr3LUJD6xpJqlaLamAFOoy4vyQTsJqE3mjVuF7jLI81Cw\n", stderr: "" }) [2022-10-07T09:21:17Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:21:17Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info [2022-10-07T09:21:17Z INFO drogue_cloud_tests::resources::apps] Create application: a6086971-af35-43c3-a9b1-059606efebed [2022-10-07T09:21:17Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "a6086971-af35-43c3-a9b1-059606efebed" [2022-10-07T09:21:17Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application created\n", stderr: "" }) [2022-10-07T09:21:17Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "a6086971-af35-43c3-a9b1-059606efebed" "-o" "json" [2022-10-07T09:21:17Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"a6086971-af35-43c3-a9b1-059606efebed\",\n \"uid\": \"79f176f6-ced1-4afa-8e7a-7484beb9d0ba\",\n \"creationTimestamp\": \"2022-10-07T09:21:17.726951Z\",\n \"generation\": 0,\n \"resourceVersion\": \"f525ca56-c052-447e-8b8b-ad2c71dd9ef4\"\n },\n \"status\": {\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:21:17.745765978Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:21:17Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("a6086971-af35-43c3-a9b1-059606efebed"), "uid": String("79f176f6-ced1-4afa-8e7a-7484beb9d0ba"), "creationTimestamp": String("2022-10-07T09:21:17.726951Z"), "generation": Number(0), "resourceVersion": String("f525ca56-c052-447e-8b8b-ad2c71dd9ef4")}), "status": Object({"conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:21:17.745765978Z")})])})}) [2022-10-07T09:21:17Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false [2022-10-07T09:21:18Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "a6086971-af35-43c3-a9b1-059606efebed" "-o" "json" [2022-10-07T09:21:18Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"a6086971-af35-43c3-a9b1-059606efebed\",\n \"uid\": \"79f176f6-ced1-4afa-8e7a-7484beb9d0ba\",\n \"creationTimestamp\": \"2022-10-07T09:21:17.726951Z\",\n \"generation\": 0,\n \"resourceVersion\": \"3a5b97bb-c1c8-427b-a711-461cd314ed27\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"e4Kxtv8Y1q4R\",\n \"username\": \"user-a6086971-af35-43c3-a9b1-059606efebed\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:21:17.781863753Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:21:17.790790465Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:21:17.871288500Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:21:17.878516958Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:21:18.030214323Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:21:18.030315232Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:21:18.030431910Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:21:18.030339217Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:21:18Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("a6086971-af35-43c3-a9b1-059606efebed"), "uid": String("79f176f6-ced1-4afa-8e7a-7484beb9d0ba"), "creationTimestamp": String("2022-10-07T09:21:17.726951Z"), "generation": Number(0), "resourceVersion": String("3a5b97bb-c1c8-427b-a711-461cd314ed27"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("e4Kxtv8Y1q4R"), "username": String("user-a6086971-af35-43c3-a9b1-059606efebed"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:21:17.781863753Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:21:17.790790465Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:21:17.871288500Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:21:17.878516958Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:21:18.030214323Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:21:18.030315232Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:21:18.030431910Z")}), Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:21:18.030339217Z")})])})}) [2022-10-07T09:21:18Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true [2022-10-07T09:21:18Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "a6086971-af35-43c3-a9b1-059606efebed" "-o" "json" [2022-10-07T09:21:18Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"a6086971-af35-43c3-a9b1-059606efebed\",\n \"uid\": \"79f176f6-ced1-4afa-8e7a-7484beb9d0ba\",\n \"creationTimestamp\": \"2022-10-07T09:21:17.726951Z\",\n \"generation\": 0,\n \"resourceVersion\": \"3a5b97bb-c1c8-427b-a711-461cd314ed27\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"e4Kxtv8Y1q4R\",\n \"username\": \"user-a6086971-af35-43c3-a9b1-059606efebed\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:21:17.781863753Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:21:17.790790465Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:21:17.871288500Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:21:17.878516958Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:21:18.030214323Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:21:18.030315232Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:21:18.030431910Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:21:18.030339217Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:21:18Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("a6086971-af35-43c3-a9b1-059606efebed"), "uid": String("79f176f6-ced1-4afa-8e7a-7484beb9d0ba"), "creationTimestamp": String("2022-10-07T09:21:17.726951Z"), "generation": Number(0), "resourceVersion": String("3a5b97bb-c1c8-427b-a711-461cd314ed27"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("e4Kxtv8Y1q4R"), "username": String("user-a6086971-af35-43c3-a9b1-059606efebed"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:21:17.781863753Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:21:17.790790465Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:21:17.871288500Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:21:17.878516958Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:21:18.030214323Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:21:18.030315232Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:21:18.030431910Z")}), Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:21:18.030339217Z")})])})}) [2022-10-07T09:21:18Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true [2022-10-07T09:21:18Z INFO drogue_cloud_tests::resources::devices] Create device: device1 [2022-10-07T09:21:18Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "-a" "a6086971-af35-43c3-a9b1-059606efebed" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"user\":{\"username\":\"foo\",\"password\":\"bar\",\"unique\":true}}]}}" [2022-10-07T09:21:18Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device created\n", stderr: "" }) [2022-10-07T09:21:18Z INFO drogue_cloud_tests::tests::coap] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002 [2022-10-07T09:21:18Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:21:18Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ3NzcsImlhdCI6MTY2NTEzNDQ3NywiYXV0aF90aW1lIjoxNjY1MTM0NDc0LCJqdGkiOiJkMjQ0Y2EyYy03NTQ3LTRhMDAtODM4ZS0zMDUwNjFkZjhmMzIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlVzdjE4Ym1jMko2Vmdjd0lEOXJDYVEiLCJzZXNzaW9uX3N0YXRlIjoiNDU3N2M1YWUtZTFkOC00NWU3LWI2ZjEtZmRmZDY3YmUxM2Y4IiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjQ1NzdjNWFlLWUxZDgtNDVlNy1iNmYxLWZkZmQ2N2JlMTNmOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.G5ye2wRz35eg1x5OeyQD3Q7oOcTWiQt5rQKwJzmZ1GvkUzuNBY6v8vCZ2sYo4BxmODJz3A0gxBeUe2lxDxkvs0-zjFGh8JqMfZHAhdnRxCItYu09WYChZhRoIrlHu_VHAb49QETA6m1tM4cfBOJJ44nODCWP7pDEup9k7wjHN02hspZH3xCoPUKEAvmd8nWe2v-eWsauTEtL-NBhaYkcJxsD_00MlwLSytgVF4p9r6tVqaFqBzdrY5aKs9wDm-mpTymCoXyuIt_-zCeSY8rpDJVk4FeLOmm3_DISL3UKBQr3LUJD6xpJqlaLamAFOoy4vyQTsJqE3mjVuF7jLI81Cw\n", stderr: "" }) [2022-10-07T09:21:18Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "3b23ab26-963e-462b-b6db-d6f77f642a9a", persistence: None, user_data: None } [2022-10-07T09:21:18Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1 [2022-10-07T09:21:18Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x5613219d4200 [2022-10-07T09:21:18Z DEBUG paho_mqtt::async_client] Connecting handle: 0x5613219d4200 [2022-10-07T09:21:18Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x5613218b1190, connectTimeout: 30, retryInterval: 0, ssl: 0x561321a11b10, 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: 0x561321a65e60, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ3NzcsImlhdCI6MTY2NTEzNDQ3NywiYXV0aF90aW1lIjoxNjY1MTM0NDc0LCJqdGkiOiJkMjQ0Y2EyYy03NTQ3LTRhMDAtODM4ZS0zMDUwNjFkZjhmMzIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IlVzdjE4Ym1jMko2Vmdjd0lEOXJDYVEiLCJzZXNzaW9uX3N0YXRlIjoiNDU3N2M1YWUtZTFkOC00NWU3LWI2ZjEtZmRmZDY3YmUxM2Y4IiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjQ1NzdjNWFlLWUxZDgtNDVlNy1iNmYxLWZkZmQ2N2JlMTNmOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.G5ye2wRz35eg1x5OeyQD3Q7oOcTWiQt5rQKwJzmZ1GvkUzuNBY6v8vCZ2sYo4BxmODJz3A0gxBeUe2lxDxkvs0-zjFGh8JqMfZHAhdnRxCItYu09WYChZhRoIrlHu_VHAb49QETA6m1tM4cfBOJJ44nODCWP7pDEup9k7wjHN02hspZH3xCoPUKEAvmd8nWe2v-eWsauTEtL-NBhaYkcJxsD_00MlwLSytgVF4p9r6tVqaFqBzdrY5aKs9wDm-mpTymCoXyuIt_-zCeSY8rpDJVk4FeLOmm3_DISL3UKBQr3LUJD6xpJqlaLamAFOoy4vyQTsJqE3mjVuF7jLI81Cw"), 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-10-07T09:21:18Z DEBUG paho_mqtt::async_client] Subscribe to '"app/a6086971-af35-43c3-a9b1-059606efebed"' @ QOS 0 [2022-10-07T09:21:18Z INFO drogue_cloud_tests::tests::coap] Receiver created [2022-10-07T09:21:18Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Starting message stream... [2022-10-07T09:21:18Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:21:18Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:21:18Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:21:19Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:21:20Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:21:20Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:21:20Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:21:20Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:21:21Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:21:21Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:21:21Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:21:21Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:21:22Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:21:22Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:21:22Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:21:22Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:21:22Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 612, payload: 0x7f314c00e880, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f314c00eaf0 } }, data: MessageData { topic: "app/a6086971-af35-43c3-a9b1-059606efebed", payload: [123, 34, 115, 112, 101, 99, 118, 101, 114, 115, 105, 111, 110, 34, 58, 34, 49, 46, 48, 34, 44, 34, 105, 100, 34, 58, 34, 56, 50, 102, 101, 51, 100, 99, 49, 45, 57, 54, 55, 98, 45, 52, 57, 53, 102, 45, 97, 99, 50, 98, 45, 51, 52, 97, 48, 102, 53, 52, 56, 50, 97, 97, 51, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 105, 111, 46, 100, 114, 111, 103, 117, 101, 46, 101, 118, 101, 110, 116, 46, 118, 49, 34, 44, 34, 115, 111, 117, 114, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 58, 47, 47, 97, 54, 48, 56, 54, 57, 55, 49, 45, 97, 102, 51, 53, 45, 52, 51, 99, 51, 45, 97, 57, 98, 49, 45, 48, 53, 57, 54, 48, 54, 101, 102, 101, 98, 101, 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, 49, 48, 45, 48, 55, 84, 48, 57, 58, 50, 49, 58, 50, 50, 46, 52, 52, 55, 49, 49, 52, 49, 50, 57, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 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, 55, 100, 50, 51, 50, 54, 50, 99, 45, 99, 102, 54, 101, 45, 52, 56, 98, 52, 45, 97, 57, 54, 101, 45, 48, 99, 48, 52, 55, 49, 51, 100, 101, 57, 100, 97, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 55, 100, 50, 51, 50, 54, 50, 99, 45, 99, 102, 54, 101, 45, 52, 56, 98, 52, 45, 97, 57, 54, 101, 45, 48, 99, 48, 52, 55, 49, 51, 100, 101, 57, 100, 97, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 97, 54, 48, 56, 54, 57, 55, 49, 37, 50, 68, 97, 102, 51, 53, 37, 50, 68, 52, 51, 99, 51, 37, 50, 68, 97, 57, 98, 49, 37, 50, 68, 48, 53, 57, 54, 48, 54, 101, 102, 101, 98, 101, 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, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 55, 57, 102, 49, 55, 54, 102, 54, 45, 99, 101, 100, 49, 45, 52, 97, 102, 97, 45, 56, 101, 55, 97, 45, 55, 52, 56, 52, 98, 101, 98, 57, 100, 48, 98, 97, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 34, 58, 34, 97, 54, 48, 56, 54, 57, 55, 49, 45, 97, 102, 51, 53, 45, 52, 51, 99, 51, 45, 97, 57, 98, 49, 45, 48, 53, 57, 54, 48, 54, 101, 102, 101, 98, 101, 100, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f314c00eaf0 } } } } [2022-10-07T09:21:22Z DEBUG paho_mqtt::properties] Dropping string property: 0x561321a6e780 [2022-10-07T09:21:22Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Received: MqttMessage { topic: "app/a6086971-af35-43c3-a9b1-059606efebed", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"82fe3dc1-967b-495f-ac2b-34a0f5482aa3\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://a6086971-af35-43c3-a9b1-059606efebed/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-10-07T09:21:22.447114129Z\",\"data\":{\"index\":3},\"instance\":\"drogue\",\"device\":\"device1\",\"senderuid\":\"7d23262c-cf6e-48b4-a96e-0c04713de9da\",\"deviceuid\":\"7d23262c-cf6e-48b4-a96e-0c04713de9da\",\"partitionkey\":\"a6086971%2Daf35%2D43c3%2Da9b1%2D059606efebed/device1\",\"sender\":\"device1\",\"applicationuid\":\"79f176f6-ced1-4afa-8e7a-7484beb9d0ba\",\"application\":\"a6086971-af35-43c3-a9b1-059606efebed\"}" } [2022-10-07T09:21:23Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received first message after 3 attempts [2022-10-07T09:21:23Z DEBUG drogue_cloud_tests::tools::mqtt::receiver::warmup] Received warmup message: 3 [2022-10-07T09:21:23Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received most recent messages ... warmed up! [2022-10-07T09:21:23Z INFO drogue_cloud_tests::tests::coap] Sending payload [2022-10-07T09:21:23Z DEBUG drogue_cloud_tests::tools::coap] Client request: coaps://coap-endpoint.172.18.0.2.nip.io:30003 [2022-10-07T09:21:23Z DEBUG drogue_cloud_tests::tools::coap::helper] CoapRequest { message: Packet { header: Header { ver_type_tkl: 64, code: Request( Get, ), message_id: 0, }, token: [], options: { 11: [ [ 118, 49, ], [ 116, 101, 108, 101, 109, 101, 116, 114, 121, ], ], 15: [ [], ], 4209: [ [ 66, 97, 115, 105, 99, 32, 90, 109, 57, 118, 81, 71, 69, 50, 77, 68, 103, 50, 79, 84, 99, 120, 76, 87, 70, 109, 77, 122, 85, 116, 78, 68, 78, 106, 77, 121, 49, 104, 79, 87, 73, 120, 76, 84, 65, 49, 79, 84, 89, 119, 78, 109, 86, 109, 90, 87, 74, 108, 90, 68, 112, 105, 89, 88, 73, ], ], }, payload: [], }, response: None, source: None, } thread 'main' panicked at 'CoAP call to succeed: Resource temporarily unavailable (os error 11)', src/tests/coap/mod.rs:112:10 [2022-10-07T09:21:59Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Dropping MQTT receiver [2022-10-07T09:21:59Z DEBUG paho_mqtt::async_client] Disconnecting [2022-10-07T09:21:59Z DEBUG paho_mqtt::token] Token failure! 0x56132193f650, 0x7ffe82748ac0 [2022-10-07T09:21:59Z DEBUG paho_mqtt::token] Token completed with code: -11 [2022-10-07T09:21:59Z DEBUG paho_mqtt::token] Expecting server response for: None [2022-10-07T09:21:59Z 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 } [2022-10-07T09:21:59Z INFO drogue_cloud_tests::resources::devices] Destroy device 'device1' [2022-10-07T09:21:59Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "-a" "a6086971-af35-43c3-a9b1-059606efebed" "device1" [2022-10-07T09:21:59Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device deleted\n", stderr: "" }) [2022-10-07T09:21:59Z INFO drogue_cloud_tests::resources::apps] Destroy application 'a6086971-af35-43c3-a9b1-059606efebed' [2022-10-07T09:21:59Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "a6086971-af35-43c3-a9b1-059606efebed" [2022-10-07T09:21:59Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application deleted\n", stderr: "" })
❌ tests::coap::telemetry::test_send_telemetry_user_alias::version_3
Duration: 49s
Test output
-------------- TEST START -------------- [2022-10-07T09:21:59Z INFO drogue_cloud_tests::tests::coap] entered coap_to_mqtt! [2022-10-07T09:22:02Z DEBUG drogue_cloud_tests::init::drg] auto login [2022-10-07T09:22:02Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:22:02Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:22:02Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:22: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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:22:03Z INFO drogue_cloud_tests::init::login] Found login button [2022-10-07T09:22:04Z INFO drogue_cloud_tests::init::login] Login complete [2022-10-07T09:22:04Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:22:04Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:22: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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:22:06Z INFO drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzYzMjYsImlhdCI6MTY2NTEzNDUyNiwianRpIjoiMWIzZWVjZGEtZDRhZC00ZjM5LWE1Y2YtNzJkYTAyYjMwMzE2IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiSk9wZW8wUGlNbVlvaVBHMU1hMjlHZyIsInNlc3Npb25fc3RhdGUiOiIzZmM4ZTc0NC1mZjkyLTQ5ODMtODg4OS1hNGFhNTNhM2I4ZGMiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiM2ZjOGU3NDQtZmY5Mi00OTgzLTg4ODktYTRhYTUzYTNiOGRjIn0.ee3TQhYoSy3-vjlWqB10IXP7d3uK8lQaks7ODEQXzg0 [2022-10-07T09:22:06Z INFO drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests" [2022-10-07T09:22:06Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Context system-tests deleted\n", stderr: "" }) [2022-10-07T09:22:06Z INFO drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzYzMjYsImlhdCI6MTY2NTEzNDUyNiwianRpIjoiMWIzZWVjZGEtZDRhZC00ZjM5LWE1Y2YtNzJkYTAyYjMwMzE2IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiSk9wZW8wUGlNbVlvaVBHMU1hMjlHZyIsInNlc3Npb25fc3RhdGUiOiIzZmM4ZTc0NC1mZjkyLTQ5ODMtODg4OS1hNGFhNTNhM2I4ZGMiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiM2ZjOGU3NDQtZmY5Mi00OTgzLTg4ODktYTRhYTUzYTNiOGRjIn0.ee3TQhYoSy3-vjlWqB10IXP7d3uK8lQaks7ODEQXzg0" "--context" "system-tests" [2022-10-07T09:22:06Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Successfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSaved context: system-tests\nSwitched active context to: system-tests\n", stderr: "" }) [2022-10-07T09:22:06Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:22:06Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:22:06Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:22:06Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ4MjYsImlhdCI6MTY2NTEzNDUyNiwiYXV0aF90aW1lIjoxNjY1MTM0NTIzLCJqdGkiOiJlMzIzZTYzOC0xYzQ0LTRkMGItYTc3ZS05NTAzZjI0ZGNmZjgiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IkpPcGVvMFBpTW1Zb2lQRzFNYTI5R2ciLCJzZXNzaW9uX3N0YXRlIjoiM2ZjOGU3NDQtZmY5Mi00OTgzLTg4ODktYTRhYTUzYTNiOGRjIiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjNmYzhlNzQ0LWZmOTItNDk4My04ODg5LWE0YWE1M2EzYjhkYyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.QWCjjKsf-escsKaxkapKBPjgw0xxXsaOrVYznfDmKqqGKs7ZatGeiVrWFVsmnvemBLct97kmBWiGQZSS8w5ClqfTmQD3N_2BLN5OmOoxnw6DD9w6bzF-5UuGVMDlBDR-lxRACthzNMgDmcmBZTpcZrkDK7uvORvcBFJHV9GL10wKAivlFSnszMap-8UNdIZWqQvJy0gq7F51zpYPTXYDauZEyQLOxQwMeeXUtg3VEkQzm2MrZDy8WT0q8KLft8JD9lKAGnRAQU5n7UGMC8lpLDboIc0MwHwNlsoCNFK_xWGTi4ZtUGo1ORaUED1tXxPgUG4wQUZxsE6oY4I9RPHTCw\n", stderr: "" }) [2022-10-07T09:22:06Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:22:06Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info [2022-10-07T09:22:06Z INFO drogue_cloud_tests::resources::apps] Create application: b33139f8-1f5b-4ef3-96a6-0df22e68363b [2022-10-07T09:22:06Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "b33139f8-1f5b-4ef3-96a6-0df22e68363b" [2022-10-07T09:22:06Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application created\n", stderr: "" }) [2022-10-07T09:22:06Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "b33139f8-1f5b-4ef3-96a6-0df22e68363b" "-o" "json" [2022-10-07T09:22:06Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"b33139f8-1f5b-4ef3-96a6-0df22e68363b\",\n \"uid\": \"24436706-f3af-4fb2-ae24-a08c9cf8d247\",\n \"creationTimestamp\": \"2022-10-07T09:22:06.828568Z\",\n \"generation\": 0,\n \"resourceVersion\": \"2e793031-8cd6-4df9-b24d-7fc67fde9f2e\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"False\",\n \"lastTransitionTime\": \"2022-10-07T09:22:06.846170974Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:22:06.846173699Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:22:06.846174230Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:22:06.846174861Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:22:06.846175422Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"Progressing\",\n \"status\": \"False\",\n \"lastTransitionTime\": \"2022-10-07T09:22:06.846191723Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"KafkaReady\",\n \"reason\": \"WaitingForReady\",\n \"status\": \"False\",\n \"message\": \"Waiting to become ready: HasFinalizer\",\n \"lastTransitionTime\": \"2022-10-07T09:22:06.846231326Z\"\n },\n {\n \"type\": \"Ready\",\n \"reason\": \"NonReadyConditions\",\n \"status\": \"False\",\n \"lastTransitionTime\": \"2022-10-07T09:22:06.846268526Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:22:06Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("b33139f8-1f5b-4ef3-96a6-0df22e68363b"), "uid": String("24436706-f3af-4fb2-ae24-a08c9cf8d247"), "creationTimestamp": String("2022-10-07T09:22:06.828568Z"), "generation": Number(0), "resourceVersion": String("2e793031-8cd6-4df9-b24d-7fc67fde9f2e"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"conditions": Array([Object({"type": String("HasFinalizer"), "status": String("False"), "lastTransitionTime": String("2022-10-07T09:22:06.846170974Z")}), Object({"type": String("CreateTopics"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:22:06.846173699Z")}), Object({"type": String("TopicsReady"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:22:06.846174230Z")}), Object({"type": String("CreateUser"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:22:06.846174861Z")}), Object({"type": String("UserReady"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:22:06.846175422Z")}), Object({"type": String("Reconciled"), "reason": String("Progressing"), "status": String("False"), "lastTransitionTime": String("2022-10-07T09:22:06.846191723Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("KafkaReady"), "reason": String("WaitingForReady"), "status": String("False"), "message": String("Waiting to become ready: HasFinalizer"), "lastTransitionTime": String("2022-10-07T09:22:06.846231326Z")}), Object({"type": String("Ready"), "reason": String("NonReadyConditions"), "status": String("False"), "lastTransitionTime": String("2022-10-07T09:22:06.846268526Z")})])})}) [2022-10-07T09:22:06Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false [2022-10-07T09:22:07Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "b33139f8-1f5b-4ef3-96a6-0df22e68363b" "-o" "json" [2022-10-07T09:22:07Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"b33139f8-1f5b-4ef3-96a6-0df22e68363b\",\n \"uid\": \"24436706-f3af-4fb2-ae24-a08c9cf8d247\",\n \"creationTimestamp\": \"2022-10-07T09:22:06.828568Z\",\n \"generation\": 0,\n \"resourceVersion\": \"63aaf405-4204-4f40-b13d-9eb09b5b14a5\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"oOZw6iNrkzqv\",\n \"username\": \"user-b33139f8-1f5b-4ef3-96a6-0df22e68363b\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:06.875996853Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:06.884679088Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:06.986901184Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:06.993699918Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:07.093419636Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:07.093549980Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:07.093575067Z\"\n },\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:07.093657641Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:22:07Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("b33139f8-1f5b-4ef3-96a6-0df22e68363b"), "uid": String("24436706-f3af-4fb2-ae24-a08c9cf8d247"), "creationTimestamp": String("2022-10-07T09:22:06.828568Z"), "generation": Number(0), "resourceVersion": String("63aaf405-4204-4f40-b13d-9eb09b5b14a5"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("oOZw6iNrkzqv"), "username": String("user-b33139f8-1f5b-4ef3-96a6-0df22e68363b"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:06.875996853Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:06.884679088Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:06.986901184Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:06.993699918Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:07.093419636Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:07.093549980Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:07.093575067Z")}), Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:07.093657641Z")})])})}) [2022-10-07T09:22:07Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true [2022-10-07T09:22:07Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "b33139f8-1f5b-4ef3-96a6-0df22e68363b" "-o" "json" [2022-10-07T09:22:07Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"b33139f8-1f5b-4ef3-96a6-0df22e68363b\",\n \"uid\": \"24436706-f3af-4fb2-ae24-a08c9cf8d247\",\n \"creationTimestamp\": \"2022-10-07T09:22:06.828568Z\",\n \"generation\": 0,\n \"resourceVersion\": \"63aaf405-4204-4f40-b13d-9eb09b5b14a5\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"oOZw6iNrkzqv\",\n \"username\": \"user-b33139f8-1f5b-4ef3-96a6-0df22e68363b\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:06.875996853Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:06.884679088Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:06.986901184Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:06.993699918Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:07.093419636Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:07.093549980Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:07.093575067Z\"\n },\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:07.093657641Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:22:07Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("b33139f8-1f5b-4ef3-96a6-0df22e68363b"), "uid": String("24436706-f3af-4fb2-ae24-a08c9cf8d247"), "creationTimestamp": String("2022-10-07T09:22:06.828568Z"), "generation": Number(0), "resourceVersion": String("63aaf405-4204-4f40-b13d-9eb09b5b14a5"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("oOZw6iNrkzqv"), "username": String("user-b33139f8-1f5b-4ef3-96a6-0df22e68363b"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:06.875996853Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:06.884679088Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:06.986901184Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:06.993699918Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:07.093419636Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:07.093549980Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:07.093575067Z")}), Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:07.093657641Z")})])})}) [2022-10-07T09:22:07Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true [2022-10-07T09:22:07Z INFO drogue_cloud_tests::resources::devices] Create device: device1 [2022-10-07T09:22:07Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "-a" "b33139f8-1f5b-4ef3-96a6-0df22e68363b" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"user\":{\"username\":\"foo\",\"password\":\"bar\",\"unique\":true}}]}}" [2022-10-07T09:22:07Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device created\n", stderr: "" }) [2022-10-07T09:22:07Z INFO drogue_cloud_tests::tests::coap] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002 [2022-10-07T09:22:07Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:22:07Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ4MjYsImlhdCI6MTY2NTEzNDUyNiwiYXV0aF90aW1lIjoxNjY1MTM0NTIzLCJqdGkiOiJlMzIzZTYzOC0xYzQ0LTRkMGItYTc3ZS05NTAzZjI0ZGNmZjgiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IkpPcGVvMFBpTW1Zb2lQRzFNYTI5R2ciLCJzZXNzaW9uX3N0YXRlIjoiM2ZjOGU3NDQtZmY5Mi00OTgzLTg4ODktYTRhYTUzYTNiOGRjIiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjNmYzhlNzQ0LWZmOTItNDk4My04ODg5LWE0YWE1M2EzYjhkYyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.QWCjjKsf-escsKaxkapKBPjgw0xxXsaOrVYznfDmKqqGKs7ZatGeiVrWFVsmnvemBLct97kmBWiGQZSS8w5ClqfTmQD3N_2BLN5OmOoxnw6DD9w6bzF-5UuGVMDlBDR-lxRACthzNMgDmcmBZTpcZrkDK7uvORvcBFJHV9GL10wKAivlFSnszMap-8UNdIZWqQvJy0gq7F51zpYPTXYDauZEyQLOxQwMeeXUtg3VEkQzm2MrZDy8WT0q8KLft8JD9lKAGnRAQU5n7UGMC8lpLDboIc0MwHwNlsoCNFK_xWGTi4ZtUGo1ORaUED1tXxPgUG4wQUZxsE6oY4I9RPHTCw\n", stderr: "" }) [2022-10-07T09:22: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-integration.172.18.0.2.nip.io:30002", client_id: "788cae72-bafb-4cfa-a9ff-e9a4de189829", persistence: None, user_data: None } [2022-10-07T09:22:07Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1 [2022-10-07T09:22:07Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561321b36440 [2022-10-07T09:22:07Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561321b36440 [2022-10-07T09:22: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: 0x0, password: 0x561321921d90, connectTimeout: 30, retryInterval: 0, ssl: 0x561321ab2b70, 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: 0x56132192f180, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ4MjYsImlhdCI6MTY2NTEzNDUyNiwiYXV0aF90aW1lIjoxNjY1MTM0NTIzLCJqdGkiOiJlMzIzZTYzOC0xYzQ0LTRkMGItYTc3ZS05NTAzZjI0ZGNmZjgiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IkpPcGVvMFBpTW1Zb2lQRzFNYTI5R2ciLCJzZXNzaW9uX3N0YXRlIjoiM2ZjOGU3NDQtZmY5Mi00OTgzLTg4ODktYTRhYTUzYTNiOGRjIiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjNmYzhlNzQ0LWZmOTItNDk4My04ODg5LWE0YWE1M2EzYjhkYyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.QWCjjKsf-escsKaxkapKBPjgw0xxXsaOrVYznfDmKqqGKs7ZatGeiVrWFVsmnvemBLct97kmBWiGQZSS8w5ClqfTmQD3N_2BLN5OmOoxnw6DD9w6bzF-5UuGVMDlBDR-lxRACthzNMgDmcmBZTpcZrkDK7uvORvcBFJHV9GL10wKAivlFSnszMap-8UNdIZWqQvJy0gq7F51zpYPTXYDauZEyQLOxQwMeeXUtg3VEkQzm2MrZDy8WT0q8KLft8JD9lKAGnRAQU5n7UGMC8lpLDboIc0MwHwNlsoCNFK_xWGTi4ZtUGo1ORaUED1tXxPgUG4wQUZxsE6oY4I9RPHTCw"), 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-10-07T09:22:08Z DEBUG paho_mqtt::async_client] Subscribe to '"app/b33139f8-1f5b-4ef3-96a6-0df22e68363b"' @ QOS 0 [2022-10-07T09:22:08Z INFO drogue_cloud_tests::tests::coap] Receiver created [2022-10-07T09:22:08Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Starting message stream... [2022-10-07T09:22:08Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:22:08Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:22:08Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:22:08Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:22:09Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:22:09Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:22:09Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:22:09Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:22:10Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:22:10Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:22:10Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:22:10Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:22:11Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:22:11Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?) [2022-10-07T09:22:11Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:22:11Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup? [2022-10-07T09:22:11Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 11, payload: 0x7f315000b6f0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 565, array: 0x5613219aef00 } }, data: MessageData { topic: "app/b33139f8-1f5b-4ef3-96a6-0df22e68363b", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 565, array: 0x5613219aef00 } } } } [2022-10-07T09:22:11Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x5613218a8130, 0x561321ae4ff0 [2022-10-07T09:22:11Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561321ae4ff0, 0x561321adb5b0 [2022-10-07T09:22:11Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561321ae4ff0, 0x5613219743e0 [2022-10-07T09:22:11Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x5613219743e0, 0x561321aecd60 [2022-10-07T09:22:11Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x5613219743e0, 0x7f315c001eb0 [2022-10-07T09:22:11Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c001eb0, 0x561321adb5b0 [2022-10-07T09:22:11Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c001eb0, 0x561321adb5b0 [2022-10-07T09:22:11Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c001eb0, 0x561321aecd60 [2022-10-07T09:22:11Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c001eb0, 0x561321adb5b0 [2022-10-07T09:22:11Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c001eb0, 0x7f315c0016a0 [2022-10-07T09:22:11Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c0016a0, 0x561321adb5b0 [2022-10-07T09:22:11Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c0016a0, 0x561321adb5b0 [2022-10-07T09:22:11Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c0016a0, 0x7f315c0093e0 [2022-10-07T09:22:11Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f315c0093e0, 0x7f315c0016a0 [2022-10-07T09:22:11Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f315c0016a0 [2022-10-07T09:22:11Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Received: MqttMessage { topic: "app/b33139f8-1f5b-4ef3-96a6-0df22e68363b", content_type: Some("application/json"), user_properties: {"applicationuid": "24436706-f3af-4fb2-ae24-a08c9cf8d247", "source": "drogue://b33139f8-1f5b-4ef3-96a6-0df22e68363b/device1", "partitionkey": "b33139f8%2D1f5b%2D4ef3%2D96a6%2D0df22e68363b/device1", "sender": "device1", "subject": "warmup", "time": "2022-10-07T09:22:11.469992416+00:00", "instance": "drogue", "type": "io.drogue.event.v1", "specversion": "1.0", "id": "1377883a-41d4-4d8c-a4fa-7f4328dfca65", "deviceuid": "6f09be58-373a-4866-ac27-30a66a251bb8", "senderuid": "6f09be58-373a-4866-ac27-30a66a251bb8", "application": "b33139f8-1f5b-4ef3-96a6-0df22e68363b", "device": "device1"}, payload: "{\"index\":3}" } [2022-10-07T09:22:12Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received first message after 3 attempts [2022-10-07T09:22:12Z DEBUG drogue_cloud_tests::tools::mqtt::receiver::warmup] Received warmup message: 3 [2022-10-07T09:22:12Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received most recent messages ... warmed up! [2022-10-07T09:22:12Z INFO drogue_cloud_tests::tests::coap] Sending payload [2022-10-07T09:22:12Z DEBUG drogue_cloud_tests::tools::coap] Client request: coaps://coap-endpoint.172.18.0.2.nip.io:30003 [2022-10-07T09:22:12Z DEBUG drogue_cloud_tests::tools::coap::helper] CoapRequest { message: Packet { header: Header { ver_type_tkl: 64, code: Request( Get, ), message_id: 0, }, token: [], options: { 11: [ [ 118, 49, ], [ 116, 101, 108, 101, 109, 101, 116, 114, 121, ], ], 15: [ [], ], 4209: [ [ 66, 97, 115, 105, 99, 32, 90, 109, 57, 118, 81, 71, 73, 122, 77, 122, 69, 122, 79, 87, 89, 52, 76, 84, 70, 109, 78, 87, 73, 116, 78, 71, 86, 109, 77, 121, 48, 53, 78, 109, 69, 50, 76, 84, 66, 107, 90, 106, 73, 121, 90, 84, 89, 52, 77, 122, 89, 122, 89, 106, 112, 105, 89, 88, 73, ], ], }, payload: [], }, response: None, source: None, } thread 'main' panicked at 'CoAP call to succeed: Resource temporarily unavailable (os error 11)', src/tests/coap/mod.rs:112:10 [2022-10-07T09:22:48Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Dropping MQTT receiver [2022-10-07T09:22:48Z DEBUG paho_mqtt::async_client] Disconnecting [2022-10-07T09:22:49Z INFO drogue_cloud_tests::resources::devices] Destroy device 'device1' [2022-10-07T09:22:49Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "-a" "b33139f8-1f5b-4ef3-96a6-0df22e68363b" "device1" [2022-10-07T09:22:49Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device deleted\n", stderr: "" }) [2022-10-07T09:22:49Z INFO drogue_cloud_tests::resources::apps] Destroy application 'b33139f8-1f5b-4ef3-96a6-0df22e68363b' [2022-10-07T09:22:49Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "b33139f8-1f5b-4ef3-96a6-0df22e68363b" [2022-10-07T09:22:49Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application deleted\n", stderr: "" })
❌ tests::coap::telemetry::test_send_telemetry_user_only::version_1
Duration: 49s
Test output
-------------- TEST START -------------- [2022-10-07T09:22:49Z INFO drogue_cloud_tests::tests::coap] entered coap_to_mqtt! [2022-10-07T09:22:50Z DEBUG drogue_cloud_tests::init::drg] auto login [2022-10-07T09:22:50Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:22:50Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:22:50Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:22: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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:22:51Z INFO drogue_cloud_tests::init::login] Found login button [2022-10-07T09:22:53Z INFO drogue_cloud_tests::init::login] Login complete [2022-10-07T09:22:53Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:22:53Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:22:53Z 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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:22:55Z INFO drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzYzNzUsImlhdCI6MTY2NTEzNDU3NSwianRpIjoiYzQ5YzRhMzEtMjkyOS00NTFhLThjOGMtZmFkYWQwMzY1MTE5IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiZ3hxaDdpeWZiQ0h2Y1hFMXh3U2xYdyIsInNlc3Npb25fc3RhdGUiOiI3OTQzOGRhZi0yNmZiLTRmOWUtYWY4OS1hNjExOTljNTYwYzgiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiNzk0MzhkYWYtMjZmYi00ZjllLWFmODktYTYxMTk5YzU2MGM4In0.ZTI6_6AduUAfcM-PaQi2nomHpCvtMPSznrVivufMZ7A [2022-10-07T09:22:55Z INFO drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests" [2022-10-07T09:22:55Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Context system-tests deleted\n", stderr: "" }) [2022-10-07T09:22:55Z INFO drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzYzNzUsImlhdCI6MTY2NTEzNDU3NSwianRpIjoiYzQ5YzRhMzEtMjkyOS00NTFhLThjOGMtZmFkYWQwMzY1MTE5IiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiZ3hxaDdpeWZiQ0h2Y1hFMXh3U2xYdyIsInNlc3Npb25fc3RhdGUiOiI3OTQzOGRhZi0yNmZiLTRmOWUtYWY4OS1hNjExOTljNTYwYzgiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiNzk0MzhkYWYtMjZmYi00ZjllLWFmODktYTYxMTk5YzU2MGM4In0.ZTI6_6AduUAfcM-PaQi2nomHpCvtMPSznrVivufMZ7A" "--context" "system-tests" [2022-10-07T09:22:55Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Successfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSaved context: system-tests\nSwitched active context to: system-tests\n", stderr: "" }) [2022-10-07T09:22:55Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:22:55Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:22:55Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:22:55Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ4NzUsImlhdCI6MTY2NTEzNDU3NSwiYXV0aF90aW1lIjoxNjY1MTM0NTcyLCJqdGkiOiJhMzFhN2E0MS1kOWUzLTRmZjMtODJmNS0yOTg5MjRlY2IzODYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Imd4cWg3aXlmYkNIdmNYRTF4d1NsWHciLCJzZXNzaW9uX3N0YXRlIjoiNzk0MzhkYWYtMjZmYi00ZjllLWFmODktYTYxMTk5YzU2MGM4IiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijc5NDM4ZGFmLTI2ZmItNGY5ZS1hZjg5LWE2MTE5OWM1NjBjOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.qpdZ6vcJb7_xkn_7DKNUs4dpVBNUeQMU5NhTyhlv8CLgqxe8CaXRvSy8Kz4s6S_MmVUlIKGrXcApDiL1M8tJIh_x7q4p-lbzjlLwcNRnVg4Bbm7LFQFYJEGoMomMkjZ4qlJ8inE-hevDbXjeGAvmf0HrMmt4G4zKL-aGI4ohxHPakJbCEBBL7SGO8gum4qjntEZz5JXzhKbYXyNw9omKBCc81fvqak6PqS4RRALkX4W6hu1ZsM-bx1TAaZRI24-DsPeMep-q99OBIuD5jevB4pMjtrfgaskpShsH7KhXEbrvNlHNP8yKwg8i2D_I5vW978FPkeds4YJMD8kv_3H36g\n", stderr: "" }) [2022-10-07T09:22:55Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:22:55Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info [2022-10-07T09:22:55Z INFO drogue_cloud_tests::resources::apps] Create application: 7910c20e-ce4f-437f-b32b-16f24482a4ec [2022-10-07T09:22:55Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "7910c20e-ce4f-437f-b32b-16f24482a4ec" [2022-10-07T09:22:55Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application created\n", stderr: "" }) [2022-10-07T09:22:55Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "7910c20e-ce4f-437f-b32b-16f24482a4ec" "-o" "json" [2022-10-07T09:22:55Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"7910c20e-ce4f-437f-b32b-16f24482a4ec\",\n \"uid\": \"4e8c2960-616b-4f1d-acaf-bf121aaa8598\",\n \"creationTimestamp\": \"2022-10-07T09:22:55.825857Z\",\n \"generation\": 0,\n \"resourceVersion\": \"6e27e3d0-92b4-47d7-b547-a8421d4d2ca4\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"False\",\n \"lastTransitionTime\": \"2022-10-07T09:22:55.853718152Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:22:55.853718894Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:22:55.853719194Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:22:55.853719545Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:22:55.853721117Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"Progressing\",\n \"status\": \"False\",\n \"lastTransitionTime\": \"2022-10-07T09:22:55.853725586Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"reason\": \"NonReadyConditions\",\n \"status\": \"False\",\n \"lastTransitionTime\": \"2022-10-07T09:22:55.853813390Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"reason\": \"WaitingForReady\",\n \"status\": \"False\",\n \"message\": \"Waiting to become ready: HasFinalizer\",\n \"lastTransitionTime\": \"2022-10-07T09:22:55.853751134Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:22:55Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("7910c20e-ce4f-437f-b32b-16f24482a4ec"), "uid": String("4e8c2960-616b-4f1d-acaf-bf121aaa8598"), "creationTimestamp": String("2022-10-07T09:22:55.825857Z"), "generation": Number(0), "resourceVersion": String("6e27e3d0-92b4-47d7-b547-a8421d4d2ca4"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"conditions": Array([Object({"type": String("HasFinalizer"), "status": String("False"), "lastTransitionTime": String("2022-10-07T09:22:55.853718152Z")}), Object({"type": String("CreateTopics"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:22:55.853718894Z")}), Object({"type": String("TopicsReady"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:22:55.853719194Z")}), Object({"type": String("CreateUser"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:22:55.853719545Z")}), Object({"type": String("UserReady"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:22:55.853721117Z")}), Object({"type": String("Reconciled"), "reason": String("Progressing"), "status": String("False"), "lastTransitionTime": String("2022-10-07T09:22:55.853725586Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "reason": String("NonReadyConditions"), "status": String("False"), "lastTransitionTime": String("2022-10-07T09:22:55.853813390Z")}), Object({"type": String("KafkaReady"), "reason": String("WaitingForReady"), "status": String("False"), "message": String("Waiting to become ready: HasFinalizer"), "lastTransitionTime": String("2022-10-07T09:22:55.853751134Z")})])})}) [2022-10-07T09:22:55Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false [2022-10-07T09:22:56Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "7910c20e-ce4f-437f-b32b-16f24482a4ec" "-o" "json" [2022-10-07T09:22:56Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"7910c20e-ce4f-437f-b32b-16f24482a4ec\",\n \"uid\": \"4e8c2960-616b-4f1d-acaf-bf121aaa8598\",\n \"creationTimestamp\": \"2022-10-07T09:22:55.825857Z\",\n \"generation\": 0,\n \"resourceVersion\": \"3ec8d399-17c4-48fe-8413-189a20767f4d\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"PJWSzvhWbvt0\",\n \"username\": \"user-7910c20e-ce4f-437f-b32b-16f24482a4ec\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:55.878941281Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:55.890696362Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:55.980497422Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:55.986519249Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:56.102697988Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:56.102727142Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:56.102889486Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:56.102805409Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:22:56Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("7910c20e-ce4f-437f-b32b-16f24482a4ec"), "uid": String("4e8c2960-616b-4f1d-acaf-bf121aaa8598"), "creationTimestamp": String("2022-10-07T09:22:55.825857Z"), "generation": Number(0), "resourceVersion": String("3ec8d399-17c4-48fe-8413-189a20767f4d"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("PJWSzvhWbvt0"), "username": String("user-7910c20e-ce4f-437f-b32b-16f24482a4ec"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:55.878941281Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:55.890696362Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:55.980497422Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:55.986519249Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:56.102697988Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:56.102727142Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:56.102889486Z")}), Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:56.102805409Z")})])})}) [2022-10-07T09:22:56Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true [2022-10-07T09:22:56Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "7910c20e-ce4f-437f-b32b-16f24482a4ec" "-o" "json" [2022-10-07T09:22:56Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"7910c20e-ce4f-437f-b32b-16f24482a4ec\",\n \"uid\": \"4e8c2960-616b-4f1d-acaf-bf121aaa8598\",\n \"creationTimestamp\": \"2022-10-07T09:22:55.825857Z\",\n \"generation\": 0,\n \"resourceVersion\": \"3ec8d399-17c4-48fe-8413-189a20767f4d\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"PJWSzvhWbvt0\",\n \"username\": \"user-7910c20e-ce4f-437f-b32b-16f24482a4ec\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:55.878941281Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:55.890696362Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:55.980497422Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:55.986519249Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:56.102697988Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:56.102727142Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:56.102889486Z\"\n },\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:22:56.102805409Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:22:56Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("7910c20e-ce4f-437f-b32b-16f24482a4ec"), "uid": String("4e8c2960-616b-4f1d-acaf-bf121aaa8598"), "creationTimestamp": String("2022-10-07T09:22:55.825857Z"), "generation": Number(0), "resourceVersion": String("3ec8d399-17c4-48fe-8413-189a20767f4d"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("PJWSzvhWbvt0"), "username": String("user-7910c20e-ce4f-437f-b32b-16f24482a4ec"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:55.878941281Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:55.890696362Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:55.980497422Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:55.986519249Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:56.102697988Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:56.102727142Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:56.102889486Z")}), Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:22:56.102805409Z")})])})}) [2022-10-07T09:22:56Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true [2022-10-07T09:22:56Z INFO drogue_cloud_tests::resources::devices] Create device: device1 [2022-10-07T09:22:56Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "-a" "7910c20e-ce4f-437f-b32b-16f24482a4ec" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"user\":{\"username\":\"foo\",\"password\":\"bar\"}}]}}" [2022-10-07T09:22:56Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device created\n", stderr: "" }) [2022-10-07T09:22:56Z INFO drogue_cloud_tests::tests::coap] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002 [2022-10-07T09:22:56Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:22:56Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ4NzUsImlhdCI6MTY2NTEzNDU3NSwiYXV0aF90aW1lIjoxNjY1MTM0NTcyLCJqdGkiOiJhMzFhN2E0MS1kOWUzLTRmZjMtODJmNS0yOTg5MjRlY2IzODYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Imd4cWg3aXlmYkNIdmNYRTF4d1NsWHciLCJzZXNzaW9uX3N0YXRlIjoiNzk0MzhkYWYtMjZmYi00ZjllLWFmODktYTYxMTk5YzU2MGM4IiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijc5NDM4ZGFmLTI2ZmItNGY5ZS1hZjg5LWE2MTE5OWM1NjBjOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.qpdZ6vcJb7_xkn_7DKNUs4dpVBNUeQMU5NhTyhlv8CLgqxe8CaXRvSy8Kz4s6S_MmVUlIKGrXcApDiL1M8tJIh_x7q4p-lbzjlLwcNRnVg4Bbm7LFQFYJEGoMomMkjZ4qlJ8inE-hevDbXjeGAvmf0HrMmt4G4zKL-aGI4ohxHPakJbCEBBL7SGO8gum4qjntEZz5JXzhKbYXyNw9omKBCc81fvqak6PqS4RRALkX4W6hu1ZsM-bx1TAaZRI24-DsPeMep-q99OBIuD5jevB4pMjtrfgaskpShsH7KhXEbrvNlHNP8yKwg8i2D_I5vW978FPkeds4YJMD8kv_3H36g\n", stderr: "" }) [2022-10-07T09:22: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: 4, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "415688b5-5e83-49d1-ae86-753189d871a6", persistence: None, user_data: None } [2022-10-07T09:22:56Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1 [2022-10-07T09:22:56Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x5613219e2b30 [2022-10-07T09:22:56Z DEBUG paho_mqtt::async_client] Connecting handle: 0x5613219e2b30 [2022-10-07T09:22:56Z 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: 0x5613219e2fe0, connectTimeout: 30, retryInterval: 0, ssl: 0x561321985f40, 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: 0x561321b6d4b0, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ4NzUsImlhdCI6MTY2NTEzNDU3NSwiYXV0aF90aW1lIjoxNjY1MTM0NTcyLCJqdGkiOiJhMzFhN2E0MS1kOWUzLTRmZjMtODJmNS0yOTg5MjRlY2IzODYiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6Imd4cWg3aXlmYkNIdmNYRTF4d1NsWHciLCJzZXNzaW9uX3N0YXRlIjoiNzk0MzhkYWYtMjZmYi00ZjllLWFmODktYTYxMTk5YzU2MGM4IiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6Ijc5NDM4ZGFmLTI2ZmItNGY5ZS1hZjg5LWE2MTE5OWM1NjBjOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.qpdZ6vcJb7_xkn_7DKNUs4dpVBNUeQMU5NhTyhlv8CLgqxe8CaXRvSy8Kz4s6S_MmVUlIKGrXcApDiL1M8tJIh_x7q4p-lbzjlLwcNRnVg4Bbm7LFQFYJEGoMomMkjZ4qlJ8inE-hevDbXjeGAvmf0HrMmt4G4zKL-aGI4ohxHPakJbCEBBL7SGO8gum4qjntEZz5JXzhKbYXyNw9omKBCc81fvqak6PqS4RRALkX4W6hu1ZsM-bx1TAaZRI24-DsPeMep-q99OBIuD5jevB4pMjtrfgaskpShsH7KhXEbrvNlHNP8yKwg8i2D_I5vW978FPkeds4YJMD8kv_3H36g"), 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-10-07T09:22:56Z DEBUG paho_mqtt::async_client] Subscribe to '"app/7910c20e-ce4f-437f-b32b-16f24482a4ec"' @ QOS 0 [2022-10-07T09:22:56Z INFO drogue_cloud_tests::tests::coap] Receiver created [2022-10-07T09:22:56Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Starting message stream... [2022-10-07T09:22:56Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:22:56Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?application=7910c20e-ce4f-437f-b32b-16f24482a4ec&device=device1) [2022-10-07T09:22:56Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:22:57Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?application=7910c20e-ce4f-437f-b32b-16f24482a4ec&device=device1 [2022-10-07T09:22:58Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:22:58Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?application=7910c20e-ce4f-437f-b32b-16f24482a4ec&device=device1) [2022-10-07T09:22:58Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:22:58Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?application=7910c20e-ce4f-437f-b32b-16f24482a4ec&device=device1 [2022-10-07T09:22:59Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:22:59Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?application=7910c20e-ce4f-437f-b32b-16f24482a4ec&device=device1) [2022-10-07T09:22:59Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:22:59Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?application=7910c20e-ce4f-437f-b32b-16f24482a4ec&device=device1 [2022-10-07T09:23:00Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:23:00Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?application=7910c20e-ce4f-437f-b32b-16f24482a4ec&device=device1) [2022-10-07T09:23:00Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:23:00Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?application=7910c20e-ce4f-437f-b32b-16f24482a4ec&device=device1 [2022-10-07T09:23:00Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 612, payload: 0x7f314c01bd10, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "app/7910c20e-ce4f-437f-b32b-16f24482a4ec", payload: [123, 34, 115, 112, 101, 99, 118, 101, 114, 115, 105, 111, 110, 34, 58, 34, 49, 46, 48, 34, 44, 34, 105, 100, 34, 58, 34, 56, 102, 102, 101, 102, 100, 48, 102, 45, 55, 49, 50, 52, 45, 52, 100, 52, 49, 45, 57, 51, 100, 54, 45, 99, 99, 99, 98, 55, 99, 55, 53, 48, 100, 101, 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, 55, 57, 49, 48, 99, 50, 48, 101, 45, 99, 101, 52, 102, 45, 52, 51, 55, 102, 45, 98, 51, 50, 98, 45, 49, 54, 102, 50, 52, 52, 56, 50, 97, 52, 101, 99, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 97, 116, 97, 99, 111, 110, 116, 101, 110, 116, 116, 121, 112, 101, 34, 58, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 119, 97, 114, 109, 117, 112, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 49, 48, 45, 48, 55, 84, 48, 57, 58, 50, 51, 58, 48, 48, 46, 53, 48, 54, 48, 52, 55, 52, 56, 50, 90, 34, 44, 34, 100, 97, 116, 97, 34, 58, 123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 56, 49, 55, 97, 98, 99, 51, 99, 45, 98, 50, 52, 99, 45, 52, 99, 50, 56, 45, 56, 55, 54, 54, 45, 100, 55, 57, 55, 99, 55, 98, 97, 97, 50, 48, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 56, 49, 55, 97, 98, 99, 51, 99, 45, 98, 50, 52, 99, 45, 52, 99, 50, 56, 45, 56, 55, 54, 54, 45, 100, 55, 57, 55, 99, 55, 98, 97, 97, 50, 48, 49, 34, 44, 34, 100, 101, 118, 105, 99, 101, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 100, 101, 118, 105, 99, 101, 49, 34, 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, 57, 49, 48, 99, 50, 48, 101, 37, 50, 68, 99, 101, 52, 102, 37, 50, 68, 52, 51, 55, 102, 37, 50, 68, 98, 51, 50, 98, 37, 50, 68, 49, 54, 102, 50, 52, 52, 56, 50, 97, 52, 101, 99, 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, 55, 57, 49, 48, 99, 50, 48, 101, 45, 99, 101, 52, 102, 45, 52, 51, 55, 102, 45, 98, 51, 50, 98, 45, 49, 54, 102, 50, 52, 52, 56, 50, 97, 52, 101, 99, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 52, 101, 56, 99, 50, 57, 54, 48, 45, 54, 49, 54, 98, 45, 52, 102, 49, 100, 45, 97, 99, 97, 102, 45, 98, 102, 49, 50, 49, 97, 97, 97, 56, 53, 57, 56, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } } [2022-10-07T09:23:00Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Received: MqttMessage { topic: "app/7910c20e-ce4f-437f-b32b-16f24482a4ec", content_type: None, user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"8ffefd0f-7124-4d41-93d6-cccb7c750de1\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://7910c20e-ce4f-437f-b32b-16f24482a4ec/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-10-07T09:23:00.506047482Z\",\"data\":{\"index\":3},\"senderuid\":\"817abc3c-b24c-4c28-8766-d797c7baa201\",\"deviceuid\":\"817abc3c-b24c-4c28-8766-d797c7baa201\",\"device\":\"device1\",\"sender\":\"device1\",\"instance\":\"drogue\",\"partitionkey\":\"7910c20e%2Dce4f%2D437f%2Db32b%2D16f24482a4ec/device1\",\"application\":\"7910c20e-ce4f-437f-b32b-16f24482a4ec\",\"applicationuid\":\"4e8c2960-616b-4f1d-acaf-bf121aaa8598\"}" } [2022-10-07T09:23:01Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received first message after 3 attempts [2022-10-07T09:23:01Z DEBUG drogue_cloud_tests::tools::mqtt::receiver::warmup] Received warmup message: 3 [2022-10-07T09:23:01Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received most recent messages ... warmed up! [2022-10-07T09:23:01Z INFO drogue_cloud_tests::tests::coap] Sending payload [2022-10-07T09:23:01Z DEBUG drogue_cloud_tests::tools::coap] Client request: coaps://coap-endpoint.172.18.0.2.nip.io:30003 [2022-10-07T09:23:01Z DEBUG drogue_cloud_tests::tools::coap::helper] CoapRequest { message: Packet { header: Header { ver_type_tkl: 64, code: Request( Get, ), message_id: 0, }, token: [], options: { 11: [ [ 118, 49, ], [ 116, 101, 108, 101, 109, 101, 116, 114, 121, ], ], 15: [ [ 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 61, 55, 57, 49, 48, 99, 50, 48, 101, 45, 99, 101, 52, 102, 45, 52, 51, 55, 102, 45, 98, 51, 50, 98, 45, 49, 54, 102, 50, 52, 52, 56, 50, 97, 52, 101, 99, 38, 100, 101, 118, 105, 99, 101, 61, 100, 101, 118, 105, 99, 101, 49, ], ], 4209: [ [ 66, 97, 115, 105, 99, 32, 90, 109, 57, 118, 79, 109, 74, 104, 99, 103, ], ], }, payload: [], }, response: None, source: None, } thread 'main' panicked at 'CoAP call to succeed: Resource temporarily unavailable (os error 11)', src/tests/coap/mod.rs:112:10 [2022-10-07T09:23:38Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Dropping MQTT receiver [2022-10-07T09:23:38Z DEBUG paho_mqtt::async_client] Disconnecting [2022-10-07T09:23:38Z INFO drogue_cloud_tests::resources::devices] Destroy device 'device1' [2022-10-07T09:23:38Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "-a" "7910c20e-ce4f-437f-b32b-16f24482a4ec" "device1" [2022-10-07T09:23:38Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device deleted\n", stderr: "" }) [2022-10-07T09:23:38Z INFO drogue_cloud_tests::resources::apps] Destroy application '7910c20e-ce4f-437f-b32b-16f24482a4ec' [2022-10-07T09:23:38Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "7910c20e-ce4f-437f-b32b-16f24482a4ec" [2022-10-07T09:23:38Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application deleted\n", stderr: "" })
❌ tests::coap::telemetry::test_send_telemetry_user_only::version_2
Duration: 49s
Test output
-------------- TEST START -------------- [2022-10-07T09:23:38Z INFO drogue_cloud_tests::tests::coap] entered coap_to_mqtt! [2022-10-07T09:23:40Z DEBUG drogue_cloud_tests::init::drg] auto login [2022-10-07T09:23:40Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:23:40Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:23:40Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:23:40Z INFO drogue_cloud_tests::init::config] Endpoints: Object({ "api": String( "http://api.172.18.0.2.nip.io", ), "console": String( "http://console.172.18.0.2.nip.io", ), "coap": Object({ "url": String( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:23:41Z INFO drogue_cloud_tests::init::login] Found login button [2022-10-07T09:23:42Z INFO drogue_cloud_tests::init::login] Login complete [2022-10-07T09:23:42Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:23:42Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:23: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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:23:44Z INFO drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzY0MjQsImlhdCI6MTY2NTEzNDYyNCwianRpIjoiNDM2MDQ4ZTctYmYxMC00MGNhLWE0YTAtYTdmMzM4ZWMyZjdkIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiMENOQVpOdTIteDZ1WDkzWnZsVl95ZyIsInNlc3Npb25fc3RhdGUiOiIzYjczZDUwNC1mZmY2LTQ2MjktODcwMy00MDcyY2M3MGE3OTAiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiM2I3M2Q1MDQtZmZmNi00NjI5LTg3MDMtNDA3MmNjNzBhNzkwIn0.bKYnHIdB7YXWmFrMusiJo08kDrWoCQvYmZbwqzq8f88 [2022-10-07T09:23:44Z INFO drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests" [2022-10-07T09:23:44Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Context system-tests deleted\n", stderr: "" }) [2022-10-07T09:23:44Z INFO drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzY0MjQsImlhdCI6MTY2NTEzNDYyNCwianRpIjoiNDM2MDQ4ZTctYmYxMC00MGNhLWE0YTAtYTdmMzM4ZWMyZjdkIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiMENOQVpOdTIteDZ1WDkzWnZsVl95ZyIsInNlc3Npb25fc3RhdGUiOiIzYjczZDUwNC1mZmY2LTQ2MjktODcwMy00MDcyY2M3MGE3OTAiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiM2I3M2Q1MDQtZmZmNi00NjI5LTg3MDMtNDA3MmNjNzBhNzkwIn0.bKYnHIdB7YXWmFrMusiJo08kDrWoCQvYmZbwqzq8f88" "--context" "system-tests" [2022-10-07T09:23:44Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Successfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSaved context: system-tests\nSwitched active context to: system-tests\n", stderr: "" }) [2022-10-07T09:23:44Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:23:44Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:23:44Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:23:44Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ5MjQsImlhdCI6MTY2NTEzNDYyNCwiYXV0aF90aW1lIjoxNjY1MTM0NjIxLCJqdGkiOiJkY2I0N2EwYi03NGY5LTQ0ZDMtYjczNi05OTg5OGI0NjAwZTIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjBDTkFaTnUyLXg2dVg5M1p2bFZfeWciLCJzZXNzaW9uX3N0YXRlIjoiM2I3M2Q1MDQtZmZmNi00NjI5LTg3MDMtNDA3MmNjNzBhNzkwIiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjNiNzNkNTA0LWZmZjYtNDYyOS04NzAzLTQwNzJjYzcwYTc5MCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.OW3tvLduyzVcpIXqOQ-oYx09SdyTfi4EuAVVuIhlPt1F7TyxHMDNkQosGrGdRYUI3W3DXlD3oh3ti7BybSbrFco1hLRQaxb8ufkAeMM3a8UurPzfodkRhdWUPgSr9aoot_oA4gekU17h8WuDlEv67ZhPS_pbvX2ne0LS3h7mTp6JY9eh3yLmnG5tLrXpef3Dxb7WiZQyIPH7SjZ9E5yFPFlq_Sq9ap78_yG3q90Y5Z_Go4WegHG3HOZAFGB1YDy0RWorijuELF1zgvWvou5-MWUWjKtTifRSjm3nTBfNa0jpwh6LRWJEBaz1DktMnxxeQhtKIuo_E7m2zSSl1cBO7Q\n", stderr: "" }) [2022-10-07T09:23:44Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:23:44Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info [2022-10-07T09:23:44Z INFO drogue_cloud_tests::resources::apps] Create application: 1189c23f-64d6-4802-9748-9b10d7cee324 [2022-10-07T09:23:44Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "1189c23f-64d6-4802-9748-9b10d7cee324" [2022-10-07T09:23:44Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application created\n", stderr: "" }) [2022-10-07T09:23:44Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "1189c23f-64d6-4802-9748-9b10d7cee324" "-o" "json" [2022-10-07T09:23:44Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"1189c23f-64d6-4802-9748-9b10d7cee324\",\n \"uid\": \"c3337a70-02e3-42b2-b5b0-ef44f9c6d05c\",\n \"creationTimestamp\": \"2022-10-07T09:23:44.966998Z\",\n \"generation\": 0,\n \"resourceVersion\": \"d73425a9-4847-49ad-8f83-4a926983b6c5\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"False\",\n \"lastTransitionTime\": \"2022-10-07T09:23:44.984493867Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:23:44.984497575Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:23:44.984498296Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:23:44.984499148Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:23:44.984499729Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"Progressing\",\n \"status\": \"False\",\n \"lastTransitionTime\": \"2022-10-07T09:23:44.984510068Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"KafkaReady\",\n \"reason\": \"WaitingForReady\",\n \"status\": \"False\",\n \"message\": \"Waiting to become ready: HasFinalizer\",\n \"lastTransitionTime\": \"2022-10-07T09:23:44.984540545Z\"\n },\n {\n \"type\": \"Ready\",\n \"reason\": \"NonReadyConditions\",\n \"status\": \"False\",\n \"lastTransitionTime\": \"2022-10-07T09:23:44.984565211Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:23:44Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("1189c23f-64d6-4802-9748-9b10d7cee324"), "uid": String("c3337a70-02e3-42b2-b5b0-ef44f9c6d05c"), "creationTimestamp": String("2022-10-07T09:23:44.966998Z"), "generation": Number(0), "resourceVersion": String("d73425a9-4847-49ad-8f83-4a926983b6c5"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"conditions": Array([Object({"type": String("HasFinalizer"), "status": String("False"), "lastTransitionTime": String("2022-10-07T09:23:44.984493867Z")}), Object({"type": String("CreateTopics"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:23:44.984497575Z")}), Object({"type": String("TopicsReady"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:23:44.984498296Z")}), Object({"type": String("CreateUser"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:23:44.984499148Z")}), Object({"type": String("UserReady"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:23:44.984499729Z")}), Object({"type": String("Reconciled"), "reason": String("Progressing"), "status": String("False"), "lastTransitionTime": String("2022-10-07T09:23:44.984510068Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("KafkaReady"), "reason": String("WaitingForReady"), "status": String("False"), "message": String("Waiting to become ready: HasFinalizer"), "lastTransitionTime": String("2022-10-07T09:23:44.984540545Z")}), Object({"type": String("Ready"), "reason": String("NonReadyConditions"), "status": String("False"), "lastTransitionTime": String("2022-10-07T09:23:44.984565211Z")})])})}) [2022-10-07T09:23:44Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false [2022-10-07T09:23:46Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "1189c23f-64d6-4802-9748-9b10d7cee324" "-o" "json" [2022-10-07T09:23:46Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"1189c23f-64d6-4802-9748-9b10d7cee324\",\n \"uid\": \"c3337a70-02e3-42b2-b5b0-ef44f9c6d05c\",\n \"creationTimestamp\": \"2022-10-07T09:23:44.966998Z\",\n \"generation\": 0,\n \"resourceVersion\": \"ab8d548c-ffeb-451f-b512-a49818868f45\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"vYm2kK5irQt2\",\n \"username\": \"user-1189c23f-64d6-4802-9748-9b10d7cee324\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:23:45.011584701Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:23:45.023767662Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:23:45.096235968Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:23:45.108737374Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:23:45.219492569Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:23:45.219510522Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:23:45.219532133Z\"\n },\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:23:45.219719112Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:23:46Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("1189c23f-64d6-4802-9748-9b10d7cee324"), "uid": String("c3337a70-02e3-42b2-b5b0-ef44f9c6d05c"), "creationTimestamp": String("2022-10-07T09:23:44.966998Z"), "generation": Number(0), "resourceVersion": String("ab8d548c-ffeb-451f-b512-a49818868f45"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("vYm2kK5irQt2"), "username": String("user-1189c23f-64d6-4802-9748-9b10d7cee324"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:23:45.011584701Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:23:45.023767662Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:23:45.096235968Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:23:45.108737374Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:23:45.219492569Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:23:45.219510522Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:23:45.219532133Z")}), Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:23:45.219719112Z")})])})}) [2022-10-07T09:23:46Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true [2022-10-07T09:23:46Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "1189c23f-64d6-4802-9748-9b10d7cee324" "-o" "json" [2022-10-07T09:23:46Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"1189c23f-64d6-4802-9748-9b10d7cee324\",\n \"uid\": \"c3337a70-02e3-42b2-b5b0-ef44f9c6d05c\",\n \"creationTimestamp\": \"2022-10-07T09:23:44.966998Z\",\n \"generation\": 0,\n \"resourceVersion\": \"ab8d548c-ffeb-451f-b512-a49818868f45\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"vYm2kK5irQt2\",\n \"username\": \"user-1189c23f-64d6-4802-9748-9b10d7cee324\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:23:45.011584701Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:23:45.023767662Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:23:45.096235968Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:23:45.108737374Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:23:45.219492569Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:23:45.219510522Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:23:45.219532133Z\"\n },\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:23:45.219719112Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:23:46Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("1189c23f-64d6-4802-9748-9b10d7cee324"), "uid": String("c3337a70-02e3-42b2-b5b0-ef44f9c6d05c"), "creationTimestamp": String("2022-10-07T09:23:44.966998Z"), "generation": Number(0), "resourceVersion": String("ab8d548c-ffeb-451f-b512-a49818868f45"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("vYm2kK5irQt2"), "username": String("user-1189c23f-64d6-4802-9748-9b10d7cee324"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:23:45.011584701Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:23:45.023767662Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:23:45.096235968Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:23:45.108737374Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:23:45.219492569Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:23:45.219510522Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:23:45.219532133Z")}), Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:23:45.219719112Z")})])})}) [2022-10-07T09:23:46Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true [2022-10-07T09:23:46Z INFO drogue_cloud_tests::resources::devices] Create device: device1 [2022-10-07T09:23:46Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "-a" "1189c23f-64d6-4802-9748-9b10d7cee324" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"user\":{\"username\":\"foo\",\"password\":\"bar\"}}]}}" [2022-10-07T09:23:46Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device created\n", stderr: "" }) [2022-10-07T09:23:46Z INFO drogue_cloud_tests::tests::coap] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002 [2022-10-07T09:23:46Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:23:46Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ5MjQsImlhdCI6MTY2NTEzNDYyNCwiYXV0aF90aW1lIjoxNjY1MTM0NjIxLCJqdGkiOiJkY2I0N2EwYi03NGY5LTQ0ZDMtYjczNi05OTg5OGI0NjAwZTIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjBDTkFaTnUyLXg2dVg5M1p2bFZfeWciLCJzZXNzaW9uX3N0YXRlIjoiM2I3M2Q1MDQtZmZmNi00NjI5LTg3MDMtNDA3MmNjNzBhNzkwIiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjNiNzNkNTA0LWZmZjYtNDYyOS04NzAzLTQwNzJjYzcwYTc5MCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.OW3tvLduyzVcpIXqOQ-oYx09SdyTfi4EuAVVuIhlPt1F7TyxHMDNkQosGrGdRYUI3W3DXlD3oh3ti7BybSbrFco1hLRQaxb8ufkAeMM3a8UurPzfodkRhdWUPgSr9aoot_oA4gekU17h8WuDlEv67ZhPS_pbvX2ne0LS3h7mTp6JY9eh3yLmnG5tLrXpef3Dxb7WiZQyIPH7SjZ9E5yFPFlq_Sq9ap78_yG3q90Y5Z_Go4WegHG3HOZAFGB1YDy0RWorijuELF1zgvWvou5-MWUWjKtTifRSjm3nTBfNa0jpwh6LRWJEBaz1DktMnxxeQhtKIuo_E7m2zSSl1cBO7Q\n", stderr: "" }) [2022-10-07T09:23:46Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "490fc7c6-f01a-43e5-846b-3b467cbc5eda", persistence: None, user_data: None } [2022-10-07T09:23:46Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1 [2022-10-07T09:23:46Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x561321af06a0 [2022-10-07T09:23:46Z DEBUG paho_mqtt::async_client] Connecting handle: 0x561321af06a0 [2022-10-07T09:23:46Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x561321af25d0, connectTimeout: 30, retryInterval: 0, ssl: 0x561321940390, 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: 0x561321aa7f90, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ5MjQsImlhdCI6MTY2NTEzNDYyNCwiYXV0aF90aW1lIjoxNjY1MTM0NjIxLCJqdGkiOiJkY2I0N2EwYi03NGY5LTQ0ZDMtYjczNi05OTg5OGI0NjAwZTIiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjBDTkFaTnUyLXg2dVg5M1p2bFZfeWciLCJzZXNzaW9uX3N0YXRlIjoiM2I3M2Q1MDQtZmZmNi00NjI5LTg3MDMtNDA3MmNjNzBhNzkwIiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjNiNzNkNTA0LWZmZjYtNDYyOS04NzAzLTQwNzJjYzcwYTc5MCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.OW3tvLduyzVcpIXqOQ-oYx09SdyTfi4EuAVVuIhlPt1F7TyxHMDNkQosGrGdRYUI3W3DXlD3oh3ti7BybSbrFco1hLRQaxb8ufkAeMM3a8UurPzfodkRhdWUPgSr9aoot_oA4gekU17h8WuDlEv67ZhPS_pbvX2ne0LS3h7mTp6JY9eh3yLmnG5tLrXpef3Dxb7WiZQyIPH7SjZ9E5yFPFlq_Sq9ap78_yG3q90Y5Z_Go4WegHG3HOZAFGB1YDy0RWorijuELF1zgvWvou5-MWUWjKtTifRSjm3nTBfNa0jpwh6LRWJEBaz1DktMnxxeQhtKIuo_E7m2zSSl1cBO7Q"), 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-10-07T09:23:46Z DEBUG paho_mqtt::async_client] Subscribe to '"app/1189c23f-64d6-4802-9748-9b10d7cee324"' @ QOS 0 [2022-10-07T09:23:46Z INFO drogue_cloud_tests::tests::coap] Receiver created [2022-10-07T09:23:46Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:23:46Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Starting message stream... [2022-10-07T09:23:46Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?application=1189c23f-64d6-4802-9748-9b10d7cee324&device=device1) [2022-10-07T09:23:46Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:23:46Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?application=1189c23f-64d6-4802-9748-9b10d7cee324&device=device1 [2022-10-07T09:23:47Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:23:47Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?application=1189c23f-64d6-4802-9748-9b10d7cee324&device=device1) [2022-10-07T09:23:47Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:23:47Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?application=1189c23f-64d6-4802-9748-9b10d7cee324&device=device1 [2022-10-07T09:23:48Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:23:48Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?application=1189c23f-64d6-4802-9748-9b10d7cee324&device=device1) [2022-10-07T09:23:48Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:23:48Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?application=1189c23f-64d6-4802-9748-9b10d7cee324&device=device1 [2022-10-07T09:23:49Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:23:49Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?application=1189c23f-64d6-4802-9748-9b10d7cee324&device=device1) [2022-10-07T09:23:49Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:23:49Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?application=1189c23f-64d6-4802-9748-9b10d7cee324&device=device1 [2022-10-07T09:23:49Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 612, payload: 0x7f31500197f0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f3150019a60 } }, data: MessageData { topic: "app/1189c23f-64d6-4802-9748-9b10d7cee324", payload: [123, 34, 115, 112, 101, 99, 118, 101, 114, 115, 105, 111, 110, 34, 58, 34, 49, 46, 48, 34, 44, 34, 105, 100, 34, 58, 34, 102, 101, 101, 49, 97, 57, 56, 56, 45, 101, 102, 97, 49, 45, 52, 55, 55, 99, 45, 56, 55, 56, 97, 45, 49, 56, 99, 53, 101, 98, 97, 53, 50, 52, 52, 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, 49, 49, 56, 57, 99, 50, 51, 102, 45, 54, 52, 100, 54, 45, 52, 56, 48, 50, 45, 57, 55, 52, 56, 45, 57, 98, 49, 48, 100, 55, 99, 101, 101, 51, 50, 52, 47, 100, 101, 118, 105, 99, 101, 49, 34, 44, 34, 100, 97, 116, 97, 99, 111, 110, 116, 101, 110, 116, 116, 121, 112, 101, 34, 58, 34, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 34, 44, 34, 115, 117, 98, 106, 101, 99, 116, 34, 58, 34, 119, 97, 114, 109, 117, 112, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 50, 45, 49, 48, 45, 48, 55, 84, 48, 57, 58, 50, 51, 58, 52, 57, 46, 53, 49, 48, 53, 50, 56, 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, 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, 49, 49, 56, 57, 99, 50, 51, 102, 45, 54, 52, 100, 54, 45, 52, 56, 48, 50, 45, 57, 55, 52, 56, 45, 57, 98, 49, 48, 100, 55, 99, 101, 101, 51, 50, 52, 34, 44, 34, 105, 110, 115, 116, 97, 110, 99, 101, 34, 58, 34, 100, 114, 111, 103, 117, 101, 34, 44, 34, 112, 97, 114, 116, 105, 116, 105, 111, 110, 107, 101, 121, 34, 58, 34, 49, 49, 56, 57, 99, 50, 51, 102, 37, 50, 68, 54, 52, 100, 54, 37, 50, 68, 52, 56, 48, 50, 37, 50, 68, 57, 55, 52, 56, 37, 50, 68, 57, 98, 49, 48, 100, 55, 99, 101, 101, 51, 50, 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, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 117, 105, 100, 34, 58, 34, 99, 51, 51, 51, 55, 97, 55, 48, 45, 48, 50, 101, 51, 45, 52, 50, 98, 50, 45, 98, 53, 98, 48, 45, 101, 102, 52, 52, 102, 57, 99, 54, 100, 48, 53, 99, 34, 44, 34, 100, 101, 118, 105, 99, 101, 117, 105, 100, 34, 58, 34, 97, 52, 51, 49, 100, 101, 100, 100, 45, 53, 98, 102, 55, 45, 52, 51, 57, 100, 45, 98, 50, 51, 56, 45, 102, 102, 55, 101, 98, 98, 52, 51, 98, 54, 50, 98, 34, 44, 34, 115, 101, 110, 100, 101, 114, 117, 105, 100, 34, 58, 34, 97, 52, 51, 49, 100, 101, 100, 100, 45, 53, 98, 102, 55, 45, 52, 51, 57, 100, 45, 98, 50, 51, 56, 45, 102, 102, 55, 101, 98, 98, 52, 51, 98, 54, 50, 98, 34, 125], props: Properties { cprops: MQTTProperties { count: 2, max_count: 10, length: 48, array: 0x7f3150019a60 } } } } [2022-10-07T09:23:49Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f3154005e90 [2022-10-07T09:23:49Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Received: MqttMessage { topic: "app/1189c23f-64d6-4802-9748-9b10d7cee324", content_type: Some("application/cloudevents+json; charset=utf-8"), user_properties: {}, payload: "{\"specversion\":\"1.0\",\"id\":\"fee1a988-efa1-477c-878a-18c5eba52442\",\"type\":\"io.drogue.event.v1\",\"source\":\"drogue://1189c23f-64d6-4802-9748-9b10d7cee324/device1\",\"datacontenttype\":\"application/json\",\"subject\":\"warmup\",\"time\":\"2022-10-07T09:23:49.510528351Z\",\"data\":{\"index\":3},\"sender\":\"device1\",\"application\":\"1189c23f-64d6-4802-9748-9b10d7cee324\",\"instance\":\"drogue\",\"partitionkey\":\"1189c23f%2D64d6%2D4802%2D9748%2D9b10d7cee324/device1\",\"device\":\"device1\",\"applicationuid\":\"c3337a70-02e3-42b2-b5b0-ef44f9c6d05c\",\"deviceuid\":\"a431dedd-5bf7-439d-b238-ff7ebb43b62b\",\"senderuid\":\"a431dedd-5bf7-439d-b238-ff7ebb43b62b\"}" } [2022-10-07T09:23:50Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received first message after 3 attempts [2022-10-07T09:23:50Z DEBUG drogue_cloud_tests::tools::mqtt::receiver::warmup] Received warmup message: 3 [2022-10-07T09:23:50Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received most recent messages ... warmed up! [2022-10-07T09:23:50Z INFO drogue_cloud_tests::tests::coap] Sending payload [2022-10-07T09:23:50Z DEBUG drogue_cloud_tests::tools::coap] Client request: coaps://coap-endpoint.172.18.0.2.nip.io:30003 [2022-10-07T09:23:50Z DEBUG drogue_cloud_tests::tools::coap::helper] CoapRequest { message: Packet { header: Header { ver_type_tkl: 64, code: Request( Get, ), message_id: 0, }, token: [], options: { 11: [ [ 118, 49, ], [ 116, 101, 108, 101, 109, 101, 116, 114, 121, ], ], 15: [ [ 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 61, 49, 49, 56, 57, 99, 50, 51, 102, 45, 54, 52, 100, 54, 45, 52, 56, 48, 50, 45, 57, 55, 52, 56, 45, 57, 98, 49, 48, 100, 55, 99, 101, 101, 51, 50, 52, 38, 100, 101, 118, 105, 99, 101, 61, 100, 101, 118, 105, 99, 101, 49, ], ], 4209: [ [ 66, 97, 115, 105, 99, 32, 90, 109, 57, 118, 79, 109, 74, 104, 99, 103, ], ], }, payload: [], }, response: None, source: None, } thread 'main' panicked at 'CoAP call to succeed: Resource temporarily unavailable (os error 11)', src/tests/coap/mod.rs:112:10 [2022-10-07T09:24:27Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Dropping MQTT receiver [2022-10-07T09:24:27Z DEBUG paho_mqtt::async_client] Disconnecting [2022-10-07T09:24:27Z INFO drogue_cloud_tests::resources::devices] Destroy device 'device1' [2022-10-07T09:24:27Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "-a" "1189c23f-64d6-4802-9748-9b10d7cee324" "device1" [2022-10-07T09:24:27Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device deleted\n", stderr: "" }) [2022-10-07T09:24:27Z INFO drogue_cloud_tests::resources::apps] Destroy application '1189c23f-64d6-4802-9748-9b10d7cee324' [2022-10-07T09:24:27Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "1189c23f-64d6-4802-9748-9b10d7cee324" [2022-10-07T09:24:27Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application deleted\n", stderr: "" })
❌ tests::coap::telemetry::test_send_telemetry_user_only::version_3
Duration: 49s
Test output
-------------- TEST START -------------- [2022-10-07T09:24:27Z INFO drogue_cloud_tests::tests::coap] entered coap_to_mqtt! [2022-10-07T09:24:29Z DEBUG drogue_cloud_tests::init::drg] auto login [2022-10-07T09:24:29Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:24:29Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:24:29Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:24:29Z INFO drogue_cloud_tests::init::config] Endpoints: Object({ "api": String( "http://api.172.18.0.2.nip.io", ), "console": String( "http://console.172.18.0.2.nip.io", ), "coap": Object({ "url": String( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:24:30Z INFO drogue_cloud_tests::init::login] Found login button [2022-10-07T09:24:31Z INFO drogue_cloud_tests::init::login] Login complete [2022-10-07T09:24:31Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:24:31Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/.well-known/drogue-endpoints [2022-10-07T09:24: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( "coaps://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", ), }), "issuer_url": String( "http://sso.172.18.0.2.nip.io/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-10-07T09:24:33Z INFO drogue_cloud_tests::init::drg] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzY0NzMsImlhdCI6MTY2NTEzNDY3MywianRpIjoiMWVjYTVjNmItMDg3MC00MmFkLTgzOTItZDQ4YjNkMGZhZmVlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiOTFqeGRtQ0w0ZTBZTC1xVmtZNVgzQSIsInNlc3Npb25fc3RhdGUiOiIxNzBmM2Y2NS1mNGZjLTRkZGItOGFhOS04NGEzZGM0OThhMDEiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiMTcwZjNmNjUtZjRmYy00ZGRiLThhYTktODRhM2RjNDk4YTAxIn0.KTzjPj3sbpDh0Lwe0a2YiWUldYd46VjvvEBrfS4MMTU [2022-10-07T09:24:33Z INFO drogue_cloud_tests::init::drg] Running: "drg" "context" "delete" "system-tests" [2022-10-07T09:24:33Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Context system-tests deleted\n", stderr: "" }) [2022-10-07T09:24:33Z INFO drogue_cloud_tests::init::drg] Running: "drg" "login" "http://api.172.18.0.2.nip.io/" "-t" "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1ODA3ZWRiYy0wODliLTRjZDUtYmFkMi1hODM0ZmNkZGRmNzgifQ.eyJleHAiOjE2NjUxMzY0NzMsImlhdCI6MTY2NTEzNDY3MywianRpIjoiMWVjYTVjNmItMDg3MC00MmFkLTgzOTItZDQ4YjNkMGZhZmVlIiwiaXNzIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwiYXVkIjoiaHR0cDovL3Nzby4xNzIuMTguMC4yLm5pcC5pby9yZWFsbXMvZHJvZ3VlIiwic3ViIjoiMzg1MmExY2UtZjliOC00OGU2LTk1NmQtOWE4NmQ1OGM2OWFmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRyb2d1ZSIsIm5vbmNlIjoiOTFqeGRtQ0w0ZTBZTC1xVmtZNVgzQSIsInNlc3Npb25fc3RhdGUiOiIxNzBmM2Y2NS1mNGZjLTRkZGItOGFhOS04NGEzZGM0OThhMDEiLCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2lkIjoiMTcwZjNmNjUtZjRmYy00ZGRiLThhYTktODRhM2RjNDk4YTAxIn0.KTzjPj3sbpDh0Lwe0a2YiWUldYd46VjvvEBrfS4MMTU" "--context" "system-tests" [2022-10-07T09:24:33Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Successfully authenticated to drogue cloud : http://api.172.18.0.2.nip.io/\nSaved context: system-tests\nSwitched active context to: system-tests\n", stderr: "" }) [2022-10-07T09:24:34Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:24:34Z DEBUG drogue_cloud_tests::init::config] Create new config [2022-10-07T09:24:34Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:24:34Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ5NzMsImlhdCI6MTY2NTEzNDY3MywiYXV0aF90aW1lIjoxNjY1MTM0NjcwLCJqdGkiOiJjMDRhNWUzNC02N2ZjLTQxYjMtODllYi05OWI4OTMzMjg2ODUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjkxanhkbUNMNGUwWUwtcVZrWTVYM0EiLCJzZXNzaW9uX3N0YXRlIjoiMTcwZjNmNjUtZjRmYy00ZGRiLThhYTktODRhM2RjNDk4YTAxIiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjE3MGYzZjY1LWY0ZmMtNGRkYi04YWE5LTg0YTNkYzQ5OGEwMSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.eTRIPBgS-ci-Z5xK_YGfkh3ATxHfK1NDQ0bVg1cRiDfiZ7AtDn41huePm-acWmxFtkouGLpeXatqHOHPTGrpLrfFDR8Dk5lE-yo4h31GiY9nr3-6KwOaF9lb4inTMzRwWvVPZGftMSZHS0gNSO0RT6HY4qkQQmLR7tPuRv-7iq3SMXiqe-z-VEHmpMbjPJ7UXkou-Co3EAmwBPIlGfMZuJUGqiCd0VEGPz3BMjhSRdfL4rp4tiZZfEyWaElsShG8VE_RIaxKeZh9RX-rxvERTauIsSp0stgJc8F8P0JuGUetYp4bRi8wrYtNW0FGsMVJ1s9PKxvg8EUi559OaDYGvg\n", stderr: "" }) [2022-10-07T09:24:34Z DEBUG reqwest::connect] starting new connection: http://api.172.18.0.2.nip.io/ [2022-10-07T09:24:34Z DEBUG reqwest::async_impl::client] response '200 OK' for http://api.172.18.0.2.nip.io/api/console/v1alpha1/info [2022-10-07T09:24:34Z INFO drogue_cloud_tests::resources::apps] Create application: 8db0f5f9-8741-4bce-a206-f696d7c716df [2022-10-07T09:24:34Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "app" "8db0f5f9-8741-4bce-a206-f696d7c716df" [2022-10-07T09:24:34Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application created\n", stderr: "" }) [2022-10-07T09:24:34Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "8db0f5f9-8741-4bce-a206-f696d7c716df" "-o" "json" [2022-10-07T09:24:34Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"8db0f5f9-8741-4bce-a206-f696d7c716df\",\n \"uid\": \"08cafc6e-195d-4ef7-911f-bb13160ccf34\",\n \"creationTimestamp\": \"2022-10-07T09:24:34.436817Z\",\n \"generation\": 0,\n \"resourceVersion\": \"3a371271-e110-4e8e-81d0-789b55e9fe24\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"False\",\n \"lastTransitionTime\": \"2022-10-07T09:24:34.451690278Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:24:34.451693665Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:24:34.451694416Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:24:34.451695218Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"Unknown\",\n \"lastTransitionTime\": \"2022-10-07T09:24:34.451695779Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"Progressing\",\n \"status\": \"False\",\n \"lastTransitionTime\": \"2022-10-07T09:24:34.451705747Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"KafkaReady\",\n \"reason\": \"WaitingForReady\",\n \"status\": \"False\",\n \"message\": \"Waiting to become ready: HasFinalizer\",\n \"lastTransitionTime\": \"2022-10-07T09:24:34.451864875Z\"\n },\n {\n \"type\": \"Ready\",\n \"reason\": \"NonReadyConditions\",\n \"status\": \"False\",\n \"lastTransitionTime\": \"2022-10-07T09:24:34.451905441Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:24:34Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("8db0f5f9-8741-4bce-a206-f696d7c716df"), "uid": String("08cafc6e-195d-4ef7-911f-bb13160ccf34"), "creationTimestamp": String("2022-10-07T09:24:34.436817Z"), "generation": Number(0), "resourceVersion": String("3a371271-e110-4e8e-81d0-789b55e9fe24"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"conditions": Array([Object({"type": String("HasFinalizer"), "status": String("False"), "lastTransitionTime": String("2022-10-07T09:24:34.451690278Z")}), Object({"type": String("CreateTopics"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:24:34.451693665Z")}), Object({"type": String("TopicsReady"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:24:34.451694416Z")}), Object({"type": String("CreateUser"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:24:34.451695218Z")}), Object({"type": String("UserReady"), "status": String("Unknown"), "lastTransitionTime": String("2022-10-07T09:24:34.451695779Z")}), Object({"type": String("Reconciled"), "reason": String("Progressing"), "status": String("False"), "lastTransitionTime": String("2022-10-07T09:24:34.451705747Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("KafkaReady"), "reason": String("WaitingForReady"), "status": String("False"), "message": String("Waiting to become ready: HasFinalizer"), "lastTransitionTime": String("2022-10-07T09:24:34.451864875Z")}), Object({"type": String("Ready"), "reason": String("NonReadyConditions"), "status": String("False"), "lastTransitionTime": String("2022-10-07T09:24:34.451905441Z")})])})}) [2022-10-07T09:24:34Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = false [2022-10-07T09:24:35Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "8db0f5f9-8741-4bce-a206-f696d7c716df" "-o" "json" [2022-10-07T09:24:35Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"8db0f5f9-8741-4bce-a206-f696d7c716df\",\n \"uid\": \"08cafc6e-195d-4ef7-911f-bb13160ccf34\",\n \"creationTimestamp\": \"2022-10-07T09:24:34.436817Z\",\n \"generation\": 0,\n \"resourceVersion\": \"5c0890a5-1e3d-4676-ae04-bc67419f170e\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"gaA9n95ucRwa\",\n \"username\": \"user-8db0f5f9-8741-4bce-a206-f696d7c716df\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:24:34.478236266Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:24:34.486874402Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:24:34.575179958Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:24:34.581631816Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:24:34.679255529Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:24:34.679503732Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:24:34.679549567Z\"\n },\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:24:34.679598209Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:24:35Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("8db0f5f9-8741-4bce-a206-f696d7c716df"), "uid": String("08cafc6e-195d-4ef7-911f-bb13160ccf34"), "creationTimestamp": String("2022-10-07T09:24:34.436817Z"), "generation": Number(0), "resourceVersion": String("5c0890a5-1e3d-4676-ae04-bc67419f170e"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("gaA9n95ucRwa"), "username": String("user-8db0f5f9-8741-4bce-a206-f696d7c716df"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:24:34.478236266Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:24:34.486874402Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:24:34.575179958Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:24:34.581631816Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:24:34.679255529Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:24:34.679503732Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:24:34.679549567Z")}), Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:24:34.679598209Z")})])})}) [2022-10-07T09:24:35Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: KafkaReady = true [2022-10-07T09:24:35Z INFO drogue_cloud_tests::init::drg] Running: "drg" "get" "app" "8db0f5f9-8741-4bce-a206-f696d7c716df" "-o" "json" [2022-10-07T09:24:35Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "{\n \"metadata\": {\n \"name\": \"8db0f5f9-8741-4bce-a206-f696d7c716df\",\n \"uid\": \"08cafc6e-195d-4ef7-911f-bb13160ccf34\",\n \"creationTimestamp\": \"2022-10-07T09:24:34.436817Z\",\n \"generation\": 0,\n \"resourceVersion\": \"5c0890a5-1e3d-4676-ae04-bc67419f170e\",\n \"finalizers\": [\n \"kafka\"\n ]\n },\n \"status\": {\n \"kafka\": {\n \"user\": {\n \"password\": \"gaA9n95ucRwa\",\n \"username\": \"user-8db0f5f9-8741-4bce-a206-f696d7c716df\",\n \"mechanism\": \"SCRAM-SHA-512\"\n },\n \"conditions\": [\n {\n \"type\": \"HasFinalizer\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:24:34.478236266Z\"\n },\n {\n \"type\": \"CreateTopics\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:24:34.486874402Z\"\n },\n {\n \"type\": \"TopicsReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:24:34.575179958Z\"\n },\n {\n \"type\": \"CreateUser\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:24:34.581631816Z\"\n },\n {\n \"type\": \"UserReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:24:34.679255529Z\"\n },\n {\n \"type\": \"Reconciled\",\n \"reason\": \"AsExpected\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:24:34.679503732Z\"\n }\n ],\n \"observedGeneration\": 0\n },\n \"conditions\": [\n {\n \"type\": \"KafkaReady\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:24:34.679549567Z\"\n },\n {\n \"type\": \"Ready\",\n \"status\": \"True\",\n \"lastTransitionTime\": \"2022-10-07T09:24:34.679598209Z\"\n }\n ]\n }\n}\n", stderr: "" }) [2022-10-07T09:24:35Z DEBUG drogue_cloud_tests::resources::apps] Application: Object({"metadata": Object({"name": String("8db0f5f9-8741-4bce-a206-f696d7c716df"), "uid": String("08cafc6e-195d-4ef7-911f-bb13160ccf34"), "creationTimestamp": String("2022-10-07T09:24:34.436817Z"), "generation": Number(0), "resourceVersion": String("5c0890a5-1e3d-4676-ae04-bc67419f170e"), "finalizers": Array([String("kafka")])}), "status": Object({"kafka": Object({"user": Object({"password": String("gaA9n95ucRwa"), "username": String("user-8db0f5f9-8741-4bce-a206-f696d7c716df"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:24:34.478236266Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:24:34.486874402Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:24:34.575179958Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:24:34.581631816Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:24:34.679255529Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:24:34.679503732Z")})]), "observedGeneration": Number(0)}), "conditions": Array([Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:24:34.679549567Z")}), Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2022-10-07T09:24:34.679598209Z")})])})}) [2022-10-07T09:24:35Z DEBUG drogue_cloud_tests::resources::apps] Application - Condition: Ready = true [2022-10-07T09:24:35Z INFO drogue_cloud_tests::resources::devices] Create device: device1 [2022-10-07T09:24:35Z INFO drogue_cloud_tests::init::drg] Running: "drg" "create" "device" "-a" "8db0f5f9-8741-4bce-a206-f696d7c716df" "device1" "--spec" "{\"credentials\":{\"credentials\":[{\"user\":{\"username\":\"foo\",\"password\":\"bar\"}}]}}" [2022-10-07T09:24:35Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device created\n", stderr: "" }) [2022-10-07T09:24:35Z INFO drogue_cloud_tests::tests::coap] MQTT integration URL: ssl://mqtt-integration.172.18.0.2.nip.io:30002 [2022-10-07T09:24:35Z INFO drogue_cloud_tests::init::drg] Running: "drg" "whoami" "-t" [2022-10-07T09:24:35Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ5NzMsImlhdCI6MTY2NTEzNDY3MywiYXV0aF90aW1lIjoxNjY1MTM0NjcwLCJqdGkiOiJjMDRhNWUzNC02N2ZjLTQxYjMtODllYi05OWI4OTMzMjg2ODUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjkxanhkbUNMNGUwWUwtcVZrWTVYM0EiLCJzZXNzaW9uX3N0YXRlIjoiMTcwZjNmNjUtZjRmYy00ZGRiLThhYTktODRhM2RjNDk4YTAxIiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjE3MGYzZjY1LWY0ZmMtNGRkYi04YWE5LTg0YTNkYzQ5OGEwMSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.eTRIPBgS-ci-Z5xK_YGfkh3ATxHfK1NDQ0bVg1cRiDfiZ7AtDn41huePm-acWmxFtkouGLpeXatqHOHPTGrpLrfFDR8Dk5lE-yo4h31GiY9nr3-6KwOaF9lb4inTMzRwWvVPZGftMSZHS0gNSO0RT6HY4qkQQmLR7tPuRv-7iq3SMXiqe-z-VEHmpMbjPJ7UXkou-Co3EAmwBPIlGfMZuJUGqiCd0VEGPz3BMjhSRdfL4rp4tiZZfEyWaElsShG8VE_RIaxKeZh9RX-rxvERTauIsSp0stgJc8F8P0JuGUetYp4bRi8wrYtNW0FGsMVJ1s9PKxvg8EUi559OaDYGvg\n", stderr: "" }) [2022-10-07T09:24:35Z DEBUG paho_mqtt::async_client] Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "ssl://mqtt-integration.172.18.0.2.nip.io:30002", client_id: "8749399f-c298-4b83-8272-3240e130a35e", persistence: None, user_data: None } [2022-10-07T09:24:35Z DEBUG paho_mqtt::async_client] Creating client with persistence: 1 [2022-10-07T09:24:35Z DEBUG paho_mqtt::async_client] AsyncClient handle: 0x56132195d610 [2022-10-07T09:24:35Z DEBUG paho_mqtt::async_client] Connecting handle: 0x56132195d610 [2022-10-07T09:24:35Z DEBUG paho_mqtt::async_client] Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 30, cleansession: 0, maxInflight: 65535, will: 0x0, username: 0x0, password: 0x56132191de40, connectTimeout: 30, retryInterval: 0, ssl: 0x56132195c0e0, 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: 0x561321b9fb40, 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("eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3R0V6Yl9PS3FHdGRBZkNISlRJSDBEUG1kREJHUUFfQUlpMW5jU1RPQXBZIn0.eyJleHAiOjE2NjUxMzQ5NzMsImlhdCI6MTY2NTEzNDY3MywiYXV0aF90aW1lIjoxNjY1MTM0NjcwLCJqdGkiOiJjMDRhNWUzNC02N2ZjLTQxYjMtODllYi05OWI4OTMzMjg2ODUiLCJpc3MiOiJodHRwOi8vc3NvLjE3Mi4xOC4wLjIubmlwLmlvL3JlYWxtcy9kcm9ndWUiLCJhdWQiOlsiZHJvZ3VlIiwiYWNjb3VudCJdLCJzdWIiOiIzODUyYTFjZS1mOWI4LTQ4ZTYtOTU2ZC05YTg2ZDU4YzY5YWYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkcm9ndWUiLCJub25jZSI6IjkxanhkbUNMNGUwWUwtcVZrWTVYM0EiLCJzZXNzaW9uX3N0YXRlIjoiMTcwZjNmNjUtZjRmYy00ZGRiLThhYTktODRhM2RjNDk4YTAxIiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRyb2d1ZS11c2VyIiwiZHJvZ3VlLWFkbWluIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtZHJvZ3VlIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsInNpZCI6IjE3MGYzZjY1LWY0ZmMtNGRkYi04YWE5LTg0YTNkYzQ5OGEwMSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4ifQ.eTRIPBgS-ci-Z5xK_YGfkh3ATxHfK1NDQ0bVg1cRiDfiZ7AtDn41huePm-acWmxFtkouGLpeXatqHOHPTGrpLrfFDR8Dk5lE-yo4h31GiY9nr3-6KwOaF9lb4inTMzRwWvVPZGftMSZHS0gNSO0RT6HY4qkQQmLR7tPuRv-7iq3SMXiqe-z-VEHmpMbjPJ7UXkou-Co3EAmwBPIlGfMZuJUGqiCd0VEGPz3BMjhSRdfL4rp4tiZZfEyWaElsShG8VE_RIaxKeZh9RX-rxvERTauIsSp0stgJc8F8P0JuGUetYp4bRi8wrYtNW0FGsMVJ1s9PKxvg8EUi559OaDYGvg"), 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-10-07T09:24:35Z DEBUG paho_mqtt::async_client] Subscribe to '"app/8db0f5f9-8741-4bce-a206-f696d7c716df"' @ QOS 0 [2022-10-07T09:24:35Z INFO drogue_cloud_tests::tests::coap] Receiver created [2022-10-07T09:24:35Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Starting message stream... [2022-10-07T09:24:35Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:24:35Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?application=8db0f5f9-8741-4bce-a206-f696d7c716df&device=device1) [2022-10-07T09:24:35Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:24:36Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?application=8db0f5f9-8741-4bce-a206-f696d7c716df&device=device1 [2022-10-07T09:24:37Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:24:37Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?application=8db0f5f9-8741-4bce-a206-f696d7c716df&device=device1) [2022-10-07T09:24:37Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:24:37Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?application=8db0f5f9-8741-4bce-a206-f696d7c716df&device=device1 [2022-10-07T09:24:38Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:24:38Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?application=8db0f5f9-8741-4bce-a206-f696d7c716df&device=device1) [2022-10-07T09:24:38Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:24:38Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?application=8db0f5f9-8741-4bce-a206-f696d7c716df&device=device1 [2022-10-07T09:24:39Z INFO drogue_cloud_tests::context] Adding root certificate [2022-10-07T09:24:39Z INFO drogue_cloud_tests::tools::http] Sending payload (https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?application=8db0f5f9-8741-4bce-a206-f696d7c716df&device=device1) [2022-10-07T09:24:39Z DEBUG reqwest::connect] starting new connection: https://http-endpoint.172.18.0.2.nip.io:30443/ [2022-10-07T09:24:39Z DEBUG reqwest::async_impl::client] response '202 Accepted' for https://http-endpoint.172.18.0.2.nip.io:30443/v1/warmup?application=8db0f5f9-8741-4bce-a206-f696d7c716df&device=device1 [2022-10-07T09:24:39Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Raw message: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 11, payload: 0x7f31500198e0, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 15, max_count: 20, length: 565, array: 0x561321992790 } }, data: MessageData { topic: "app/8db0f5f9-8741-4bce-a206-f696d7c716df", payload: [123, 34, 105, 110, 100, 101, 120, 34, 58, 51, 125], props: Properties { cprops: MQTTProperties { count: 15, max_count: 20, length: 565, array: 0x561321992790 } } } } [2022-10-07T09:24:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x561321a60650, 0x7f31540054a0 [2022-10-07T09:24:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f31540054a0, 0x56132192ef20 [2022-10-07T09:24:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f31540054a0, 0x7f3154005790 [2022-10-07T09:24:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f3154005790, 0x7f3154005460 [2022-10-07T09:24:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f3154005790, 0x7f3154005f60 [2022-10-07T09:24:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f3154005f60, 0x56132192ef20 [2022-10-07T09:24:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f3154005f60, 0x56132192ef20 [2022-10-07T09:24:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f3154005f60, 0x7f3154004da0 [2022-10-07T09:24:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f3154005f60, 0x7f3154004da0 [2022-10-07T09:24:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f3154005f60, 0x7f3154004da0 [2022-10-07T09:24:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f3154005f60, 0x7f3154005460 [2022-10-07T09:24:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f3154005f60, 0x7f3154002980 [2022-10-07T09:24:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f3154005f60, 0x7f3154008690 [2022-10-07T09:24:39Z DEBUG paho_mqtt::properties] Dropping string pair property: 0x7f3154008690, 0x7f3154002980 [2022-10-07T09:24:39Z DEBUG paho_mqtt::properties] Dropping string property: 0x7f3154008690 [2022-10-07T09:24:39Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Received: MqttMessage { topic: "app/8db0f5f9-8741-4bce-a206-f696d7c716df", content_type: Some("application/json"), user_properties: {"source": "drogue://8db0f5f9-8741-4bce-a206-f696d7c716df/device1", "sender": "device1", "applicationuid": "08cafc6e-195d-4ef7-911f-bb13160ccf34", "type": "io.drogue.event.v1", "partitionkey": "8db0f5f9%2D8741%2D4bce%2Da206%2Df696d7c716df/device1", "instance": "drogue", "device": "device1", "id": "bd071e69-aae5-4542-bd89-fc86f804faed", "deviceuid": "434b2506-c0ef-4ca3-bbc5-ed443bdfd1f4", "specversion": "1.0", "senderuid": "434b2506-c0ef-4ca3-bbc5-ed443bdfd1f4", "time": "2022-10-07T09:24:39.534790947+00:00", "application": "8db0f5f9-8741-4bce-a206-f696d7c716df", "subject": "warmup"}, payload: "{\"index\":3}" } [2022-10-07T09:24:40Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received first message after 3 attempts [2022-10-07T09:24:40Z DEBUG drogue_cloud_tests::tools::mqtt::receiver::warmup] Received warmup message: 3 [2022-10-07T09:24:40Z INFO drogue_cloud_tests::tools::mqtt::receiver::warmup] Received most recent messages ... warmed up! [2022-10-07T09:24:40Z INFO drogue_cloud_tests::tests::coap] Sending payload [2022-10-07T09:24:40Z DEBUG drogue_cloud_tests::tools::coap] Client request: coaps://coap-endpoint.172.18.0.2.nip.io:30003 [2022-10-07T09:24:40Z DEBUG drogue_cloud_tests::tools::coap::helper] CoapRequest { message: Packet { header: Header { ver_type_tkl: 64, code: Request( Get, ), message_id: 0, }, token: [], options: { 11: [ [ 118, 49, ], [ 116, 101, 108, 101, 109, 101, 116, 114, 121, ], ], 15: [ [ 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 61, 56, 100, 98, 48, 102, 53, 102, 57, 45, 56, 55, 52, 49, 45, 52, 98, 99, 101, 45, 97, 50, 48, 54, 45, 102, 54, 57, 54, 100, 55, 99, 55, 49, 54, 100, 102, 38, 100, 101, 118, 105, 99, 101, 61, 100, 101, 118, 105, 99, 101, 49, ], ], 4209: [ [ 66, 97, 115, 105, 99, 32, 90, 109, 57, 118, 79, 109, 74, 104, 99, 103, ], ], }, payload: [], }, response: None, source: None, } thread 'main' panicked at 'CoAP call to succeed: Resource temporarily unavailable (os error 11)', src/tests/coap/mod.rs:112:10 [2022-10-07T09:25:16Z INFO drogue_cloud_tests::tools::mqtt::receiver::paho] Dropping MQTT receiver [2022-10-07T09:25:16Z DEBUG paho_mqtt::async_client] Disconnecting [2022-10-07T09:25:16Z INFO drogue_cloud_tests::resources::devices] Destroy device 'device1' [2022-10-07T09:25:16Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "device" "-a" "8db0f5f9-8741-4bce-a206-f696d7c716df" "device1" [2022-10-07T09:25:16Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Device deleted\n", stderr: "" }) [2022-10-07T09:25:16Z INFO drogue_cloud_tests::resources::apps] Destroy application '8db0f5f9-8741-4bce-a206-f696d7c716df' [2022-10-07T09:25:16Z INFO drogue_cloud_tests::init::drg] Running: "drg" "delete" "app" "8db0f5f9-8741-4bce-a206-f696d7c716df" [2022-10-07T09:25:16Z INFO drogue_cloud_tests::init::drg] Output: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "Application deleted\n", stderr: "" })
✅ tests::drg::test_drg_version
Duration: 6s
✅ tests::http::command::test_command::version_1
Duration: 14s
✅ tests::http::command::test_command::version_2
Duration: 12s
✅ 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: 13s
✅ tests::http::telemetry::test_send_telemetry_user::version_1
Duration: 13s
✅ tests::http::telemetry::test_send_telemetry_user::version_2
Duration: 12s
✅ tests::http::telemetry::test_send_telemetry_user::version_3
Duration: 13s
✅ tests::http::telemetry::test_send_telemetry_user_alias::version_1
Duration: 12s
✅ tests::http::telemetry::test_send_telemetry_user_alias::version_2
Duration: 13s
✅ tests::http::telemetry::test_send_telemetry_user_alias::version_3
Duration: 13s
✅ tests::http::telemetry::test_send_telemetry_user_only::version_1
Duration: 12s
✅ tests::http::telemetry::test_send_telemetry_user_only::version_2
Duration: 13s
✅ tests::http::telemetry::test_send_telemetry_user_only::version_3
Duration: 12s
✅ tests::integration::test_qos_1_dropping
Duration: 21s
✅ tests::mqtt::command::gateway::version_1::ws_1
Duration: 10s
✅ 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: 9s
✅ tests::mqtt::command::gateway::version_3::ws_2
Duration: 8s
✅ tests::mqtt::command::gateway_direct::version_1::ws_1
Duration: 8s
✅ tests::mqtt::command::gateway_direct::version_1::ws_2
Duration: 10s
✅ tests::mqtt::command::gateway_direct::version_2::ws_1
Duration: 8s
✅ 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: 9s
✅ tests::mqtt::command::simple::version_3::ws_1
Duration: 7s
✅ tests::mqtt::command::simple::version_3::ws_2
Duration: 9s
✅ 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: 10s
✅ tests::mqtt::command::simple_direct::version_2::ws_2
Duration: 9s
✅ 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: 9s
✅ tests::mqtt::command::simple_me::version_1::ws_2
Duration: 8s
✅ tests::mqtt::command::simple_me::version_2::ws_1
Duration: 11s
✅ tests::mqtt::command::simple_me::version_2::ws_2
Duration: 9s
✅ tests::mqtt::command::simple_me::version_3::ws_1
Duration: 9s
✅ 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
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_1::integration_version_1::integration_ws_2
Duration: 15s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_1::integration_version_2::integration_ws_1
Duration: 16s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_1::integration_version_2::integration_ws_2
Duration: 13s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_1::integration_version_3::integration_ws_1
Duration: 15s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_1::integration_version_3::integration_ws_2
Duration: 13s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_2::integration_version_1::integration_ws_1
Duration: 14s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_2::integration_version_1::integration_ws_2
Duration: 15s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_2::integration_version_2::integration_ws_1
Duration: 13s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_2::integration_version_2::integration_ws_2
Duration: 14s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_2::integration_version_3::integration_ws_1
Duration: 13s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_1::endpoint_ws_2::integration_version_3::integration_ws_2
Duration: 15s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_1::integration_version_1::integration_ws_1
Duration: 13s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_1::integration_version_1::integration_ws_2
Duration: 13s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_1::integration_version_2::integration_ws_1
Duration: 15s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_1::integration_version_2::integration_ws_2
Duration: 14s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_1::integration_version_3::integration_ws_1
Duration: 14s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_1::integration_version_3::integration_ws_2
Duration: 13s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_2::integration_version_1::integration_ws_1
Duration: 14s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_2::integration_version_1::integration_ws_2
Duration: 14s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_2::integration_version_2::integration_ws_1
Duration: 14s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_2::integration_version_2::integration_ws_2
Duration: 13s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_2::integration_version_3::integration_ws_1
Duration: 14s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_2::endpoint_ws_2::integration_version_3::integration_ws_2
Duration: 14s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_1::integration_version_1::integration_ws_1
Duration: 13s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_1::integration_version_1::integration_ws_2
Duration: 14s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_1::integration_version_2::integration_ws_1
Duration: 14s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_1::integration_version_2::integration_ws_2
Duration: 13s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_1::integration_version_3::integration_ws_1
Duration: 14s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_1::integration_version_3::integration_ws_2
Duration: 16s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_2::integration_version_1::integration_ws_1
Duration: 14s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_2::integration_version_1::integration_ws_2
Duration: 17s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_2::integration_version_2::integration_ws_1
Duration: 14s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_2::integration_version_2::integration_ws_2
Duration: 14s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_2::integration_version_3::integration_ws_1
Duration: 13s
✅ tests::mqtt::telemetry::test_send_telemetry_gateway_pass::endpoint_version_3::endpoint_ws_2::integration_version_3::integration_ws_2
Duration: 13s
✅ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::endpoint_ws_1::integration_version_1::integration_ws_1
Duration: 13s
✅ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::endpoint_ws_1::integration_version_1::integration_ws_2
Duration: 14s
✅ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::endpoint_ws_1::integration_version_2::integration_ws_1
Duration: 15s
✅ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::endpoint_ws_1::integration_version_2::integration_ws_2
Duration: 15s
✅ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::endpoint_ws_1::integration_version_3::integration_ws_1
Duration: 14s
✅ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_1::endpoint_ws_1::integration_version_3::integration_ws_2
Duration: 14s
✅ 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: 15s
✅ 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: 15s
✅ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::endpoint_ws_1::integration_version_1::integration_ws_2
Duration: 14s
✅ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::endpoint_ws_1::integration_version_2::integration_ws_1
Duration: 14s
✅ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::endpoint_ws_1::integration_version_2::integration_ws_2
Duration: 14s
✅ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::endpoint_ws_1::integration_version_3::integration_ws_1
Duration: 15s
✅ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_2::endpoint_ws_1::integration_version_3::integration_ws_2
Duration: 13s
✅ 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: 14s
✅ 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: 14s
✅ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_1::integration_version_1::integration_ws_2
Duration: 13s
✅ 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: 13s
✅ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_2::integration_version_2::integration_ws_1
Duration: 15s
✅ tests::mqtt::telemetry::test_send_telemetry_pass::endpoint_version_3::endpoint_ws_2::integration_version_2::integration_ws_2
Duration: 15s
✅ 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: 15s
✅ 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: 16s
✅ tests::websocket::telemetry::test_send_telemetry_user
Duration: 13s
✅ tests::websocket::telemetry::test_send_telemetry_user_alias
Duration: 12s
✅ tests::websocket::telemetry::test_send_telemetry_user_only
Duration: 13s