not ok 2 (rabbitmq:info) success in 10sec
(from function `assert_contains' in file test_helper.bash, line 13,
in test file service_info.bats, line 25)
`assert_contains "${lines[*]}" "amqp://l:$password@dokku-rabbitmq-l:5672/l"' failed
Waiting for container to be ready
=====> RabbitMQ container created: l
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/l/config
Data dir: /var/lib/dokku/services/rabbitmq/l/data
Dsn: amqp://l:@dokku-rabbitmq-l:5672/l
Exposed ports: -
Id: 54d4c972a869047ca6e3b386b5dc0b121e9115391c7b5bcedea7791aa4a92602
Internal ip: 172.17.0.2
Links: -
Service root: /var/lib/dokku/services/rabbitmq/l
Status: running
Version: rabbitmq:3.7.16-management
expected amqp://l:cb8f34a63fb6bd97223875ffe5e08986@dokku-rabbitmq-l:5672/l to be in: =====> Container Information Config dir: /var/lib/dokku/services/rabbitmq/l/config Data dir: /var/lib/dokku/services/rabbitmq/l/data Dsn: amqp://l:@dokku-rabbitmq-l:5672/l Exposed ports: - Id: 54d4c972a869047ca6e3b386b5dc0b121e9115391c7b5bcedea7791aa4a92602 Internal ip: 172.17.0.2 Links: - Service root: /var/lib/dokku/services/rabbitmq/l Status: running Version: rabbitmq:3.7.16-management
=====> Deleting l
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: l
not ok 3 (rabbitmq:info) replaces underscores by dash in hostname in 17sec
(from function `assert_contains' in file test_helper.bash, line 13,
in test file service_info.bats, line 32)
`assert_contains "${lines[*]}" "amqp://test_with_underscores:$password@dokku-rabbitmq-test-with-underscores:5672/test_with_underscores"' failed
Waiting for container to be ready
=====> RabbitMQ container created: l
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/l/config
Data dir: /var/lib/dokku/services/rabbitmq/l/data
Dsn: amqp://l:@dokku-rabbitmq-l:5672/l
Exposed ports: -
Id: 1529386edd416dc11ac7008a608a8bc40c44c7f67b9f35c6516bb225468fd0d1
Internal ip: 172.17.0.2
Links: -
Service root: /var/lib/dokku/services/rabbitmq/l
Status: running
Version: rabbitmq:3.7.16-management
Waiting for container to be ready
=====> RabbitMQ container created: test_with_underscores
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/test_with_underscores/config
Data dir: /var/lib/dokku/services/rabbitmq/test_with_underscores/data
Dsn: amqp://test_with_underscores:@dokku-rabbitmq-test-with-underscores:5672/test_with_underscores
Exposed ports: -
Id: cdd732eb014a4827e4bee466582efd703fe0b2c0da91c0b58e7b6bb704be3e06
Internal ip: 172.17.0.3
Links: -
Service root: /var/lib/dokku/services/rabbitmq/test_with_underscores
Status: running
Version: rabbitmq:3.7.16-management
expected amqp://test_with_underscores:92dd23e7315d7f05c6fd90008984b043@dokku-rabbitmq-test-with-underscores:5672/test_with_underscores to be in: =====> Container Information Config dir: /var/lib/dokku/services/rabbitmq/test_with_underscores/config Data dir: /var/lib/dokku/services/rabbitmq/test_with_underscores/data Dsn: amqp://test_with_underscores:@dokku-rabbitmq-test-with-underscores:5672/test_with_underscores Exposed ports: - Id: cdd732eb014a4827e4bee466582efd703fe0b2c0da91c0b58e7b6bb704be3e06 Internal ip: 172.17.0.3 Links: - Service root: /var/lib/dokku/services/rabbitmq/test_with_underscores Status: running Version: rabbitmq:3.7.16-management
=====> Deleting l
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: l
not ok 4 (rabbitmq:info) success with flag in 9sec
(from function `assert_equal' in file test_helper.bash, line 21,
from function `assert_output' in file test_helper.bash, line 71,
in test file service_info.bats, line 39)
`assert_output "amqp://l:$password@dokku-rabbitmq-l:5672/l"' failed
Waiting for container to be ready
=====> RabbitMQ container created: l
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/l/config
Data dir: /var/lib/dokku/services/rabbitmq/l/data
Dsn: amqp://l:@dokku-rabbitmq-l:5672/l
Exposed ports: -
Id: 5def4a4aab546c732b10d0bf16fe8cba2642b11a478fc15de8529a93ee725fbe
Internal ip: 172.17.0.2
Links: -
Service root: /var/lib/dokku/services/rabbitmq/l
Status: running
Version: rabbitmq:3.7.16-management
expected: amqp://l:e80ae2701ab31e0fb1964f58636c05d6@dokku-rabbitmq-l:5672/l
actual: amqp://l:@dokku-rabbitmq-l:5672/l
=====> Deleting l
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: l
1..11 (service_link.bats)
not ok 5 (rabbitmq:link) exports RABBITMQ_URL to app in 20sec
(from function `assert_contains' in file test_helper.bash, line 13,
in test file service_link.bats, line 66)
`assert_contains "$url" "amqp://l:$password@dokku-rabbitmq-l:5672/l"' failed
Waiting for container to be ready
=====> RabbitMQ container created: l
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/l/config
Data dir: /var/lib/dokku/services/rabbitmq/l/data
Dsn: amqp://l:@dokku-rabbitmq-l:5672/l
Exposed ports: -
Id: a3552453553861b73187643422b1dc8e3de72eba52ccad580e0570fb584f4429
Internal ip: 172.17.0.2
Links: -
Service root: /var/lib/dokku/services/rabbitmq/l
Status: running
Version: rabbitmq:3.7.16-management
Waiting for container to be ready
=====> RabbitMQ container created: m
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/m/config
Data dir: /var/lib/dokku/services/rabbitmq/m/data
Dsn: amqp://m:@dokku-rabbitmq-m:5672/m
Exposed ports: -
Id: 94903a0b652ce7ad1888aff21275fac20626e6295c12fde83cce7daec3a79fff
Internal ip: 172.17.0.4
Links: -
Service root: /var/lib/dokku/services/rabbitmq/m
Status: running
Version: rabbitmq:3.7.16-management
-----> Creating my_app... done
output: -----> Setting config vars
RABBITMQ_URL: amqp://l:@dokku-rabbitmq-l:5672/l
-----> Restarting app my_app
! App my_app has not been deployed
status: 0
expected amqp://l:e5d3837a9a1fef0cc710332f446502da@dokku-rabbitmq-l:5672/l to be in: amqp://l:@dokku-rabbitmq-l:5672/l
=====> Deleting m
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: m
Cannot delete linked service
Destroying my_app (including all add-ons)
App image (dokku/my_app:latest) not found
Unlinking from l
Unlinking from test_with_underscores
App my_app has not been deployed
not ok 6 (rabbitmq:link) generates an alternate config url when RABBITMQ_URL already in use in 3sec
(from function `setup' in test file service_link.bats, line 5)
`dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed
RabbitMQ service l already exists
RabbitMQ service m does not exist
=====> Deleting l
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: l
App my_app does not exist
not ok 8 (rabbitmq:link) uses apps RABBITMQ_DATABASE_SCHEME variable in 19sec
(from function `assert_contains' in file test_helper.bash, line 13,
in test file service_link.bats, line 99)
`assert_contains "$url" "amqp2://l:$password@dokku-rabbitmq-l:5672/l"' failed
Waiting for container to be ready
=====> RabbitMQ container created: l
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/l/config
Data dir: /var/lib/dokku/services/rabbitmq/l/data
Dsn: amqp://l:@dokku-rabbitmq-l:5672/l
Exposed ports: -
Id: a747720d1b2c140a153f2f6571ce6c18f98a53586dd1e6e2357be3b96ac1d129
Internal ip: 172.17.0.2
Links: -
Service root: /var/lib/dokku/services/rabbitmq/l
Status: running
Version: rabbitmq:3.7.16-management
Waiting for container to be ready
=====> RabbitMQ container created: m
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/m/config
Data dir: /var/lib/dokku/services/rabbitmq/m/data
Dsn: amqp://m:@dokku-rabbitmq-m:5672/m
Exposed ports: -
Id: e747bf2a0c10fa59ff7790cffb386a587a5a6b5c9db52ddc8002c73db00e2593
Internal ip: 172.17.0.4
Links: -
Service root: /var/lib/dokku/services/rabbitmq/m
Status: running
Version: rabbitmq:3.7.16-management
-----> Creating my_app... done
-----> Setting config vars
RABBITMQ_DATABASE_SCHEME: amqp2
-----> Restarting app my_app
! App my_app has not been deployed
-----> Setting config vars
RABBITMQ_URL: amqp2://l:@dokku-rabbitmq-l:5672/l
-----> Restarting app my_app
! App my_app has not been deployed
expected amqp2://l:9d28d7bf4535a8ec50a52c447328181e@dokku-rabbitmq-l:5672/l to be in: amqp2://l:@dokku-rabbitmq-l:5672/l
=====> Deleting m
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: m
Cannot delete linked service
Destroying my_app (including all add-ons)
App image (dokku/my_app:latest) not found
Unlinking from l
Unlinking from test_with_underscores
App my_app has not been deployed
not ok 9 (rabbitmq:link) adds a querystring in 3sec
(from function `setup' in test file service_link.bats, line 5)
`dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed
RabbitMQ service l already exists
RabbitMQ service m does not exist
=====> Deleting l
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: l
App my_app does not exist
not ok 10 (rabbitmq:link) uses a specified config url when alias is specified in 21sec
(from function `assert_contains' in file test_helper.bash, line 13,
in test file service_link.bats, line 116)
`assert_contains "$url" "amqp://l:$password@dokku-rabbitmq-l:5672/l"' failed
Waiting for container to be ready
=====> RabbitMQ container created: l
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/l/config
Data dir: /var/lib/dokku/services/rabbitmq/l/data
Dsn: amqp://l:@dokku-rabbitmq-l:5672/l
Exposed ports: -
Id: e2702bfc674e421a055957898e2e7ff5cf71a6a53111fc309c483736414c8789
Internal ip: 172.17.0.2
Links: -
Service root: /var/lib/dokku/services/rabbitmq/l
Status: running
Version: rabbitmq:3.7.16-management
Waiting for container to be ready
=====> RabbitMQ container created: m
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/m/config
Data dir: /var/lib/dokku/services/rabbitmq/m/data
Dsn: amqp://m:@dokku-rabbitmq-m:5672/m
Exposed ports: -
Id: bb1035b44bd267d3a3bd9888c04e26b0dc557af5367c6224b56c2147be45d680
Internal ip: 172.17.0.4
Links: -
Service root: /var/lib/dokku/services/rabbitmq/m
Status: running
Version: rabbitmq:3.7.16-management
-----> Creating my_app... done
-----> Setting config vars
ALIAS_URL: amqp://l:@dokku-rabbitmq-l:5672/l
-----> Restarting app my_app
! App my_app has not been deployed
expected amqp://l:0aa0878d496a1a968e22c75f820789e7@dokku-rabbitmq-l:5672/l to be in: amqp://l:@dokku-rabbitmq-l:5672/l
=====> Deleting m
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: m
Cannot delete linked service
Destroying my_app (including all add-ons)
App image (dokku/my_app:latest) not found
Unlinking from l
Unlinking from test_with_underscores
App my_app has not been deployed
1..4 (service_list.bats)
not ok 0 (rabbitmq:list) with no exposed ports, no linked apps in 3sec
(from function `setup' in test file service_list.bats, line 5)
`dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed
RabbitMQ service l already exists
=====> Deleting l
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: l
not ok 1 (rabbitmq:list) with exposed ports in 21sec
(from function `assert_contains' in file test_helper.bash, line 13,
in test file service_list.bats, line 20)
`assert_contains "${lines[*]}" "l rabbitmq:3.7.16-management running 5672->4242 4369->4243 35197->4244 15672->4245 -"' failed
Waiting for container to be ready
=====> RabbitMQ container created: l
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/l/config
Data dir: /var/lib/dokku/services/rabbitmq/l/data
Dsn: amqp://l:@dokku-rabbitmq-l:5672/l
Exposed ports: -
Id: 37a797bb696589d0bea93a3dbded8bb10843c4a63b639ab9f94d22b8f4a39cd1
Internal ip: 172.17.0.2
Links: -
Service root: /var/lib/dokku/services/rabbitmq/l
Status: running
Version: rabbitmq:3.7.16-management
-----> Service l exposed on port(s) [container->host]: 5672->4242 4369->4243 35197->4244 15672->4245
expected l rabbitmq:3.7.16-management running 5672->4242 4369->4243 35197->4244 15672->4245 - to be in: NAME VERSION STATUS EXPOSED PORTS LINKS l rabbitmq:3.7.16-management running 5672->4242 4369->4243 35197->4244 15672->4245 - test_with_underscores rabbitmq:3.7.16-management running - -
=====> Deleting l
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: l
not ok 2 (rabbitmq:list) with linked app in 9sec
(from function `assert_contains' in file test_helper.bash, line 13,
in test file service_list.bats, line 27)
`assert_contains "${lines[*]}" "l rabbitmq:3.7.16-management running - my_app"' failed
Waiting for container to be ready
=====> RabbitMQ container created: l
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/l/config
Data dir: /var/lib/dokku/services/rabbitmq/l/data
Dsn: amqp://l:@dokku-rabbitmq-l:5672/l
Exposed ports: -
Id: 8e7f8236005bc98a774eff07a4a33101a1d94a0f39300e95d8f88365a3e43f08
Internal ip: 172.17.0.2
Links: -
Service root: /var/lib/dokku/services/rabbitmq/l
Status: running
Version: rabbitmq:3.7.16-management
-----> Creating my_app... done
-----> Setting config vars
RABBITMQ_URL: amqp://l:@dokku-rabbitmq-l:5672/l
-----> Restarting app my_app
! App my_app has not been deployed
expected l rabbitmq:3.7.16-management running - my_app to be in: NAME VERSION STATUS EXPOSED PORTS LINKS l rabbitmq:3.7.16-management running - my_app test_with_underscores rabbitmq:3.7.16-management running - -
Cannot delete linked service
not ok 3 (rabbitmq:list) when there are no services in 1sec
(from function `setup' in test file service_list.bats, line 5)
`dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed
RabbitMQ service l already exists
Cannot delete linked service
1..4 (service_logs.bats)
not ok 0 (rabbitmq:logs) error when there are no arguments in 1sec
(from function `setup' in test file service_logs.bats, line 5)
`dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed
RabbitMQ service l already exists
Cannot delete linked service
not ok 1 (rabbitmq:logs) error when service does not exist in 0sec
(from function `setup' in test file service_logs.bats, line 5)
`dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed
RabbitMQ service l already exists
Cannot delete linked service
not ok 2 (rabbitmq:logs) success when not tailing in 1sec
(from function `setup' in test file service_logs.bats, line 5)
`dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed
RabbitMQ service l already exists
Cannot delete linked service
not ok 3 (rabbitmq:logs) success when tailing in 1sec
(from function `setup' in test file service_logs.bats, line 5)
`dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed
RabbitMQ service l already exists
Cannot delete linked service
1..8 (service_promote.bats)
not ok 0 (rabbitmq:promote) error when there are no arguments in 6sec
(from function `setup' in test file service_promote.bats, line 5)
`dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed
RabbitMQ service l already exists
-----> Unsetting RABBITMQ_URL
-----> Restarting app my_app
! App my_app has not been deployed
=====> Deleting l
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: l
Destroying my_app (including all add-ons)
App image (dokku/my_app:latest) not found
Unlinking from test_with_underscores
App my_app has not been deployed
not ok 5 (rabbitmq:promote) changes RABBITMQ_URL in 16sec
(in test file service_promote.bats, line 44)
`dokku "$PLUGIN_COMMAND_PREFIX:promote" l my_app' failed
Waiting for container to be ready
=====> RabbitMQ container created: l
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/l/config
Data dir: /var/lib/dokku/services/rabbitmq/l/data
Dsn: amqp://l:@dokku-rabbitmq-l:5672/l
Exposed ports: -
Id: 2f86d324da0af52742e1454f068337ede1c81551f02072db8ed4d4fd0d13b27e
Internal ip: 172.17.0.2
Links: -
Service root: /var/lib/dokku/services/rabbitmq/l
Status: running
Version: rabbitmq:3.7.16-management
-----> Creating my_app... done
-----> Setting config vars
RABBITMQ_URL: amqp://l:@dokku-rabbitmq-l:5672/l
-----> Restarting app my_app
! App my_app has not been deployed
-----> Setting config vars
DOKKU_RABBITMQ_BLUE_URL: amqp://l:3ea20fe9644cb2b5c199cbfe5e6c50a5@dokku-rabbitmq-l:5672/l
RABBITMQ_URL: amqp://u:p@host:5672/vhost
-----> Restarting app my_app
! App my_app has not been deployed
Not linked to app my_app
Not linked to app my_app
=====> Deleting l
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: l
Destroying my_app (including all add-ons)
App image (dokku/my_app:latest) not found
Unlinking from test_with_underscores
App my_app has not been deployed
not ok 6 (rabbitmq:promote) creates new config url when needed in 14sec
(in test file service_promote.bats, line 52)
`dokku "$PLUGIN_COMMAND_PREFIX:promote" l my_app' failed
Waiting for container to be ready
=====> RabbitMQ container created: l
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/l/config
Data dir: /var/lib/dokku/services/rabbitmq/l/data
Dsn: amqp://l:@dokku-rabbitmq-l:5672/l
Exposed ports: -
Id: 5248201e63b65fd35361798899ce665ce8aff54ab1ee1d99e2ac7815cbac7161
Internal ip: 172.17.0.2
Links: -
Service root: /var/lib/dokku/services/rabbitmq/l
Status: running
Version: rabbitmq:3.7.16-management
-----> Creating my_app... done
-----> Setting config vars
RABBITMQ_URL: amqp://l:@dokku-rabbitmq-l:5672/l
-----> Restarting app my_app
! App my_app has not been deployed
-----> Setting config vars
DOKKU_RABBITMQ_BLUE_URL: amqp://l:696ec6c9896d42017bc99f18b53f999c@dokku-rabbitmq-l:5672/l
RABBITMQ_URL: amqp://u:p@host:5672/vhost
-----> Restarting app my_app
! App my_app has not been deployed
Not linked to app my_app
Not linked to app my_app
=====> Deleting l
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: l
Destroying my_app (including all add-ons)
App image (dokku/my_app:latest) not found
Unlinking from test_with_underscores
App my_app has not been deployed
not ok 7 (rabbitmq:promote) uses RABBITMQ_DATABASE_SCHEME variable in 15sec
(in test file service_promote.bats, line 59)
`dokku "$PLUGIN_COMMAND_PREFIX:promote" l my_app' failed
Waiting for container to be ready
=====> RabbitMQ container created: l
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/l/config
Data dir: /var/lib/dokku/services/rabbitmq/l/data
Dsn: amqp://l:@dokku-rabbitmq-l:5672/l
Exposed ports: -
Id: 77ae03b80ee6854ce9a5c5438a9455bfea4691b9e1024910bfde9bf650fae481
Internal ip: 172.17.0.2
Links: -
Service root: /var/lib/dokku/services/rabbitmq/l
Status: running
Version: rabbitmq:3.7.16-management
-----> Creating my_app... done
-----> Setting config vars
RABBITMQ_URL: amqp://l:@dokku-rabbitmq-l:5672/l
-----> Restarting app my_app
! App my_app has not been deployed
-----> Setting config vars
DOKKU_RABBITMQ_BLUE_URL: amqp2://l:d7641697f67ad04eb94ad192c2f25f18@dokku-rabbitmq-l:5672/l
RABBITMQ_DATABASE_SCHEME: amqp2
RABBITMQ_URL: amqp://u:p@host:5672/db
-----> Restarting app my_app
! App my_app has not been deployed
Not linked to app my_app
Not linked to app my_app
=====> Deleting l
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: l
Destroying my_app (including all add-ons)
App image (dokku/my_app:latest) not found
Unlinking from test_with_underscores
App my_app has not been deployed
not ok 2 (rabbitmq:info) success in 10sec
(from function `assert_contains' in file test_helper.bash, line 13,
in test file service_info.bats, line 25)
`assert_contains "${lines[*]}" "amqp://l:$password@dokku-rabbitmq-l:5672/l"' failed
Waiting for container to be ready
=====> RabbitMQ container created: l
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/l/config
Data dir: /var/lib/dokku/services/rabbitmq/l/data
Dsn: amqp://l:@dokku-rabbitmq-l:5672/l
Exposed ports: -
Id: efe7f69b40753959aad11e85440492117a89d79476b6266df1398bc6e7e79ed5
Internal ip: 172.17.0.2
Links: -
Service root: /var/lib/dokku/services/rabbitmq/l
Status: running
Version: rabbitmq:3.7.16-management
expected amqp://l:f6e78f94a2dcdc235372aaa65dde9fba@dokku-rabbitmq-l:5672/l to be in: =====> Container Information Config dir: /var/lib/dokku/services/rabbitmq/l/config Data dir: /var/lib/dokku/services/rabbitmq/l/data Dsn: amqp://l:@dokku-rabbitmq-l:5672/l Exposed ports: - Id: efe7f69b40753959aad11e85440492117a89d79476b6266df1398bc6e7e79ed5 Internal ip: 172.17.0.2 Links: - Service root: /var/lib/dokku/services/rabbitmq/l Status: running Version: rabbitmq:3.7.16-management
=====> Deleting l
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: l
not ok 3 (rabbitmq:info) replaces underscores by dash in hostname in 17sec
(from function `assert_contains' in file test_helper.bash, line 13,
in test file service_info.bats, line 32)
`assert_contains "${lines[*]}" "amqp://test_with_underscores:$password@dokku-rabbitmq-test-with-underscores:5672/test_with_underscores"' failed
Waiting for container to be ready
=====> RabbitMQ container created: l
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/l/config
Data dir: /var/lib/dokku/services/rabbitmq/l/data
Dsn: amqp://l:@dokku-rabbitmq-l:5672/l
Exposed ports: -
Id: e6916c9373f7aa7ec3bdcb53147bbac2a0f65626a0c9636edcfced0fd56db62c
Internal ip: 172.17.0.2
Links: -
Service root: /var/lib/dokku/services/rabbitmq/l
Status: running
Version: rabbitmq:3.7.16-management
Waiting for container to be ready
=====> RabbitMQ container created: test_with_underscores
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/test_with_underscores/config
Data dir: /var/lib/dokku/services/rabbitmq/test_with_underscores/data
Dsn: amqp://test_with_underscores:@dokku-rabbitmq-test-with-underscores:5672/test_with_underscores
Exposed ports: -
Id: afd76189950d4534bb6ead250cbf5edcde589f855cacd54142792aac6da4e155
Internal ip: 172.17.0.3
Links: -
Service root: /var/lib/dokku/services/rabbitmq/test_with_underscores
Status: running
Version: rabbitmq:3.7.16-management
expected amqp://test_with_underscores:71358ade5c41225d3834b5364829b653@dokku-rabbitmq-test-with-underscores:5672/test_with_underscores to be in: =====> Container Information Config dir: /var/lib/dokku/services/rabbitmq/test_with_underscores/config Data dir: /var/lib/dokku/services/rabbitmq/test_with_underscores/data Dsn: amqp://test_with_underscores:@dokku-rabbitmq-test-with-underscores:5672/test_with_underscores Exposed ports: - Id: afd76189950d4534bb6ead250cbf5edcde589f855cacd54142792aac6da4e155 Internal ip: 172.17.0.3 Links: - Service root: /var/lib/dokku/services/rabbitmq/test_with_underscores Status: running Version: rabbitmq:3.7.16-management
=====> Deleting l
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: l
not ok 4 (rabbitmq:info) success with flag in 10sec
(from function `assert_equal' in file test_helper.bash, line 21,
from function `assert_output' in file test_helper.bash, line 71,
in test file service_info.bats, line 39)
`assert_output "amqp://l:$password@dokku-rabbitmq-l:5672/l"' failed
Waiting for container to be ready
=====> RabbitMQ container created: l
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/l/config
Data dir: /var/lib/dokku/services/rabbitmq/l/data
Dsn: amqp://l:@dokku-rabbitmq-l:5672/l
Exposed ports: -
Id: ce18dbed831a9ef9d1535da3154f4bbad2886df1aa0f3112dd4386002c57398e
Internal ip: 172.17.0.2
Links: -
Service root: /var/lib/dokku/services/rabbitmq/l
Status: running
Version: rabbitmq:3.7.16-management
expected: amqp://l:7ae2767008fc1b6d9b13daafabd104fe@dokku-rabbitmq-l:5672/l
actual: amqp://l:@dokku-rabbitmq-l:5672/l
=====> Deleting l
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: l
1..11 (service_link.bats)
not ok 5 (rabbitmq:link) exports RABBITMQ_URL to app in 21sec
(from function `assert_contains' in file test_helper.bash, line 13,
in test file service_link.bats, line 66)
`assert_contains "$url" "amqp://l:$password@dokku-rabbitmq-l:5672/l"' failed
Waiting for container to be ready
=====> RabbitMQ container created: l
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/l/config
Data dir: /var/lib/dokku/services/rabbitmq/l/data
Dsn: amqp://l:@dokku-rabbitmq-l:5672/l
Exposed ports: -
Id: 58bb64eedea1a9d36a3e7626fd8343bdf8c5a4f3ef839d8fd4e6d4fed39e58bb
Internal ip: 172.17.0.2
Links: -
Service root: /var/lib/dokku/services/rabbitmq/l
Status: running
Version: rabbitmq:3.7.16-management
Waiting for container to be ready
=====> RabbitMQ container created: m
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/m/config
Data dir: /var/lib/dokku/services/rabbitmq/m/data
Dsn: amqp://m:@dokku-rabbitmq-m:5672/m
Exposed ports: -
Id: 22596867bdda1d91d254fae423b5db4861e73f6f107b83d37175761c32412328
Internal ip: 172.17.0.4
Links: -
Service root: /var/lib/dokku/services/rabbitmq/m
Status: running
Version: rabbitmq:3.7.16-management
-----> Creating my_app... done
output: -----> Setting config vars
RABBITMQ_URL: amqp://l:@dokku-rabbitmq-l:5672/l
-----> Restarting app my_app
! App my_app has not been deployed
status: 0
expected amqp://l:9eb16e92163d7bbc0c1e53ee68cb21e9@dokku-rabbitmq-l:5672/l to be in: amqp://l:@dokku-rabbitmq-l:5672/l
=====> Deleting m
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: m
Cannot delete linked service
Destroying my_app (including all add-ons)
App image (dokku/my_app:latest) not found
Unlinking from l
Unlinking from test_with_underscores
App my_app has not been deployed
not ok 6 (rabbitmq:link) generates an alternate config url when RABBITMQ_URL already in use in 3sec
(from function `setup' in test file service_link.bats, line 5)
`dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed
RabbitMQ service l already exists
RabbitMQ service m does not exist
=====> Deleting l
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: l
App my_app does not exist
not ok 8 (rabbitmq:link) uses apps RABBITMQ_DATABASE_SCHEME variable in 22sec
(from function `assert_contains' in file test_helper.bash, line 13,
in test file service_link.bats, line 99)
`assert_contains "$url" "amqp2://l:$password@dokku-rabbitmq-l:5672/l"' failed
Waiting for container to be ready
=====> RabbitMQ container created: l
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/l/config
Data dir: /var/lib/dokku/services/rabbitmq/l/data
Dsn: amqp://l:@dokku-rabbitmq-l:5672/l
Exposed ports: -
Id: ab18b2be73bce579ead0d97bf918207f2d34b5d1bfdbfcc1a02bff7adf0a153a
Internal ip: 172.17.0.2
Links: -
Service root: /var/lib/dokku/services/rabbitmq/l
Status: running
Version: rabbitmq:3.7.16-management
Waiting for container to be ready
=====> RabbitMQ container created: m
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/m/config
Data dir: /var/lib/dokku/services/rabbitmq/m/data
Dsn: amqp://m:@dokku-rabbitmq-m:5672/m
Exposed ports: -
Id: af865eca5c7400be4bcb598fca2fd51c20fce1f4b540937178f74ac51a227ee7
Internal ip: 172.17.0.4
Links: -
Service root: /var/lib/dokku/services/rabbitmq/m
Status: running
Version: rabbitmq:3.7.16-management
-----> Creating my_app... done
-----> Setting config vars
RABBITMQ_DATABASE_SCHEME: amqp2
-----> Restarting app my_app
! App my_app has not been deployed
-----> Setting config vars
RABBITMQ_URL: amqp2://l:@dokku-rabbitmq-l:5672/l
-----> Restarting app my_app
! App my_app has not been deployed
expected amqp2://l:9035dc3fd1fe5ae92f0763d45292b6a5@dokku-rabbitmq-l:5672/l to be in: amqp2://l:@dokku-rabbitmq-l:5672/l
=====> Deleting m
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: m
Cannot delete linked service
Destroying my_app (including all add-ons)
App image (dokku/my_app:latest) not found
Unlinking from l
Unlinking from test_with_underscores
App my_app has not been deployed
not ok 9 (rabbitmq:link) adds a querystring in 3sec
(from function `setup' in test file service_link.bats, line 5)
`dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed
RabbitMQ service l already exists
RabbitMQ service m does not exist
=====> Deleting l
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: l
App my_app does not exist
not ok 10 (rabbitmq:link) uses a specified config url when alias is specified in 21sec
(from function `assert_contains' in file test_helper.bash, line 13,
in test file service_link.bats, line 116)
`assert_contains "$url" "amqp://l:$password@dokku-rabbitmq-l:5672/l"' failed
Waiting for container to be ready
=====> RabbitMQ container created: l
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/l/config
Data dir: /var/lib/dokku/services/rabbitmq/l/data
Dsn: amqp://l:@dokku-rabbitmq-l:5672/l
Exposed ports: -
Id: 4fbf14ed7df633888778d23cfabc4e4327d2ac35c61d41aabcd987d6c2112b2c
Internal ip: 172.17.0.2
Links: -
Service root: /var/lib/dokku/services/rabbitmq/l
Status: running
Version: rabbitmq:3.7.16-management
Waiting for container to be ready
=====> RabbitMQ container created: m
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/m/config
Data dir: /var/lib/dokku/services/rabbitmq/m/data
Dsn: amqp://m:@dokku-rabbitmq-m:5672/m
Exposed ports: -
Id: 22d0ce49a7ef370909ca52cb9af7ce2c24ddc0552d5979101150f3c0bdb89f81
Internal ip: 172.17.0.4
Links: -
Service root: /var/lib/dokku/services/rabbitmq/m
Status: running
Version: rabbitmq:3.7.16-management
-----> Creating my_app... done
-----> Setting config vars
ALIAS_URL: amqp://l:@dokku-rabbitmq-l:5672/l
-----> Restarting app my_app
! App my_app has not been deployed
expected amqp://l:8abc2df4407daa56ce819a0e93485d7d@dokku-rabbitmq-l:5672/l to be in: amqp://l:@dokku-rabbitmq-l:5672/l
=====> Deleting m
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: m
Cannot delete linked service
Destroying my_app (including all add-ons)
App image (dokku/my_app:latest) not found
Unlinking from l
Unlinking from test_with_underscores
App my_app has not been deployed
1..4 (service_list.bats)
not ok 0 (rabbitmq:list) with no exposed ports, no linked apps in 3sec
(from function `setup' in test file service_list.bats, line 5)
`dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed
RabbitMQ service l already exists
=====> Deleting l
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: l
not ok 1 (rabbitmq:list) with exposed ports in 21sec
(from function `assert_contains' in file test_helper.bash, line 13,
in test file service_list.bats, line 20)
`assert_contains "${lines[*]}" "l rabbitmq:3.7.16-management running 5672->4242 4369->4243 35197->4244 15672->4245 -"' failed
Waiting for container to be ready
=====> RabbitMQ container created: l
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/l/config
Data dir: /var/lib/dokku/services/rabbitmq/l/data
Dsn: amqp://l:@dokku-rabbitmq-l:5672/l
Exposed ports: -
Id: 0c2b41de729219ad710c33032e2852e17a0a54b8df9e3111a4f8c2a41e8a91d4
Internal ip: 172.17.0.2
Links: -
Service root: /var/lib/dokku/services/rabbitmq/l
Status: running
Version: rabbitmq:3.7.16-management
-----> Service l exposed on port(s) [container->host]: 5672->4242 4369->4243 35197->4244 15672->4245
expected l rabbitmq:3.7.16-management running 5672->4242 4369->4243 35197->4244 15672->4245 - to be in: NAME VERSION STATUS EXPOSED PORTS LINKS l rabbitmq:3.7.16-management running 5672->4242 4369->4243 35197->4244 15672->4245 - test_with_underscores rabbitmq:3.7.16-management running - -
=====> Deleting l
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: l
not ok 2 (rabbitmq:list) with linked app in 10sec
(from function `assert_contains' in file test_helper.bash, line 13,
in test file service_list.bats, line 27)
`assert_contains "${lines[*]}" "l rabbitmq:3.7.16-management running - my_app"' failed
Waiting for container to be ready
=====> RabbitMQ container created: l
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/l/config
Data dir: /var/lib/dokku/services/rabbitmq/l/data
Dsn: amqp://l:@dokku-rabbitmq-l:5672/l
Exposed ports: -
Id: b6200543a2e46b69a0da2cf05cd097400447ec15c36e64ce2e9a7ae867ce00e0
Internal ip: 172.17.0.2
Links: -
Service root: /var/lib/dokku/services/rabbitmq/l
Status: running
Version: rabbitmq:3.7.16-management
-----> Creating my_app... done
-----> Setting config vars
RABBITMQ_URL: amqp://l:@dokku-rabbitmq-l:5672/l
-----> Restarting app my_app
! App my_app has not been deployed
expected l rabbitmq:3.7.16-management running - my_app to be in: NAME VERSION STATUS EXPOSED PORTS LINKS l rabbitmq:3.7.16-management running - my_app test_with_underscores rabbitmq:3.7.16-management running - -
Cannot delete linked service
not ok 3 (rabbitmq:list) when there are no services in 0sec
(from function `setup' in test file service_list.bats, line 5)
`dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed
RabbitMQ service l already exists
Cannot delete linked service
1..4 (service_logs.bats)
not ok 0 (rabbitmq:logs) error when there are no arguments in 0sec
(from function `setup' in test file service_logs.bats, line 5)
`dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed
RabbitMQ service l already exists
Cannot delete linked service
not ok 1 (rabbitmq:logs) error when service does not exist in 1sec
(from function `setup' in test file service_logs.bats, line 5)
`dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed
RabbitMQ service l already exists
Cannot delete linked service
not ok 2 (rabbitmq:logs) success when not tailing in 0sec
(from function `setup' in test file service_logs.bats, line 5)
`dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed
RabbitMQ service l already exists
Cannot delete linked service
not ok 3 (rabbitmq:logs) success when tailing in 1sec
(from function `setup' in test file service_logs.bats, line 5)
`dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed
RabbitMQ service l already exists
Cannot delete linked service
1..8 (service_promote.bats)
not ok 0 (rabbitmq:promote) error when there are no arguments in 6sec
(from function `setup' in test file service_promote.bats, line 5)
`dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed
RabbitMQ service l already exists
-----> Unsetting RABBITMQ_URL
-----> Restarting app my_app
! App my_app has not been deployed
=====> Deleting l
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: l
Destroying my_app (including all add-ons)
App image (dokku/my_app:latest) not found
Unlinking from test_with_underscores
App my_app has not been deployed
not ok 5 (rabbitmq:promote) changes RABBITMQ_URL in 14sec
(in test file service_promote.bats, line 44)
`dokku "$PLUGIN_COMMAND_PREFIX:promote" l my_app' failed
Waiting for container to be ready
=====> RabbitMQ container created: l
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/l/config
Data dir: /var/lib/dokku/services/rabbitmq/l/data
Dsn: amqp://l:@dokku-rabbitmq-l:5672/l
Exposed ports: -
Id: 6ec3285dde174cddef1569d2f60545fdb26161c25caa0c41f701bd17efc540ed
Internal ip: 172.17.0.2
Links: -
Service root: /var/lib/dokku/services/rabbitmq/l
Status: running
Version: rabbitmq:3.7.16-management
-----> Creating my_app... done
-----> Setting config vars
RABBITMQ_URL: amqp://l:@dokku-rabbitmq-l:5672/l
-----> Restarting app my_app
! App my_app has not been deployed
-----> Setting config vars
DOKKU_RABBITMQ_BLUE_URL: amqp://l:0c7b4784e221d7dc49240f0ec6d2f720@dokku-rabbitmq-l:5672/l
RABBITMQ_URL: amqp://u:p@host:5672/vhost
-----> Restarting app my_app
! App my_app has not been deployed
Not linked to app my_app
Not linked to app my_app
=====> Deleting l
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: l
Destroying my_app (including all add-ons)
App image (dokku/my_app:latest) not found
Unlinking from test_with_underscores
App my_app has not been deployed
not ok 6 (rabbitmq:promote) creates new config url when needed in 15sec
(in test file service_promote.bats, line 52)
`dokku "$PLUGIN_COMMAND_PREFIX:promote" l my_app' failed
Waiting for container to be ready
=====> RabbitMQ container created: l
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/l/config
Data dir: /var/lib/dokku/services/rabbitmq/l/data
Dsn: amqp://l:@dokku-rabbitmq-l:5672/l
Exposed ports: -
Id: 83b1c3dd72f25df14b35dd85016e28a25ee2c769e49f500c30b86939f93d5119
Internal ip: 172.17.0.2
Links: -
Service root: /var/lib/dokku/services/rabbitmq/l
Status: running
Version: rabbitmq:3.7.16-management
-----> Creating my_app... done
-----> Setting config vars
RABBITMQ_URL: amqp://l:@dokku-rabbitmq-l:5672/l
-----> Restarting app my_app
! App my_app has not been deployed
-----> Setting config vars
DOKKU_RABBITMQ_BLUE_URL: amqp://l:2d84cfda8e0690332547e27ff901b649@dokku-rabbitmq-l:5672/l
RABBITMQ_URL: amqp://u:p@host:5672/vhost
-----> Restarting app my_app
! App my_app has not been deployed
Not linked to app my_app
Not linked to app my_app
=====> Deleting l
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: l
Destroying my_app (including all add-ons)
App image (dokku/my_app:latest) not found
Unlinking from test_with_underscores
App my_app has not been deployed
not ok 7 (rabbitmq:promote) uses RABBITMQ_DATABASE_SCHEME variable in 14sec
(in test file service_promote.bats, line 59)
`dokku "$PLUGIN_COMMAND_PREFIX:promote" l my_app' failed
Waiting for container to be ready
=====> RabbitMQ container created: l
=====> Container Information
Config dir: /var/lib/dokku/services/rabbitmq/l/config
Data dir: /var/lib/dokku/services/rabbitmq/l/data
Dsn: amqp://l:@dokku-rabbitmq-l:5672/l
Exposed ports: -
Id: ee7b3b74a6c05ca065cf63213f21a151040170054627d0bdd11153253e18d854
Internal ip: 172.17.0.2
Links: -
Service root: /var/lib/dokku/services/rabbitmq/l
Status: running
Version: rabbitmq:3.7.16-management
-----> Creating my_app... done
-----> Setting config vars
RABBITMQ_URL: amqp://l:@dokku-rabbitmq-l:5672/l
-----> Restarting app my_app
! App my_app has not been deployed
-----> Setting config vars
DOKKU_RABBITMQ_BLUE_URL: amqp2://l:c7bca9987ee752d644b1b4e0177bb096@dokku-rabbitmq-l:5672/l
RABBITMQ_DATABASE_SCHEME: amqp2
RABBITMQ_URL: amqp://u:p@host:5672/db
-----> Restarting app my_app
! App my_app has not been deployed
Not linked to app my_app
Not linked to app my_app
=====> Deleting l
=====> Stopping container
Container stopped
Removing container
Removing data
=====> RabbitMQ container deleted: l
Destroying my_app (including all add-ons)
App image (dokku/my_app:latest) not found
Unlinking from test_with_underscores
App my_app has not been deployed
DOKKU_VERSION=master
Build Url
1..6 (service_info.bats)
not ok 2 (rabbitmq:info) success in 10sec
(from function `assert_contains' in file test_helper.bash, line 13, in test file service_info.bats, line 25) `assert_contains "${lines[*]}" "amqp://l:$password@dokku-rabbitmq-l:5672/l"' failed Waiting for container to be ready =====> RabbitMQ container created: l =====> Container Information Config dir: /var/lib/dokku/services/rabbitmq/l/config Data dir: /var/lib/dokku/services/rabbitmq/l/data Dsn: amqp://l:@dokku-rabbitmq-l:5672/l Exposed ports: - Id: 54d4c972a869047ca6e3b386b5dc0b121e9115391c7b5bcedea7791aa4a92602 Internal ip: 172.17.0.2 Links: - Service root: /var/lib/dokku/services/rabbitmq/l Status: running Version: rabbitmq:3.7.16-management expected amqp://l:cb8f34a63fb6bd97223875ffe5e08986@dokku-rabbitmq-l:5672/l to be in: =====> Container Information Config dir: /var/lib/dokku/services/rabbitmq/l/config Data dir: /var/lib/dokku/services/rabbitmq/l/data Dsn: amqp://l:@dokku-rabbitmq-l:5672/l Exposed ports: - Id: 54d4c972a869047ca6e3b386b5dc0b121e9115391c7b5bcedea7791aa4a92602 Internal ip: 172.17.0.2 Links: - Service root: /var/lib/dokku/services/rabbitmq/l Status: running Version: rabbitmq:3.7.16-management =====> Deleting l =====> Stopping container Container stopped Removing container Removing data =====> RabbitMQ container deleted: lnot ok 3 (rabbitmq:info) replaces underscores by dash in hostname in 17sec
(from function `assert_contains' in file test_helper.bash, line 13, in test file service_info.bats, line 32) `assert_contains "${lines[*]}" "amqp://test_with_underscores:$password@dokku-rabbitmq-test-with-underscores:5672/test_with_underscores"' failed Waiting for container to be ready =====> RabbitMQ container created: l =====> Container Information Config dir: /var/lib/dokku/services/rabbitmq/l/config Data dir: /var/lib/dokku/services/rabbitmq/l/data Dsn: amqp://l:@dokku-rabbitmq-l:5672/l Exposed ports: - Id: 1529386edd416dc11ac7008a608a8bc40c44c7f67b9f35c6516bb225468fd0d1 Internal ip: 172.17.0.2 Links: - Service root: /var/lib/dokku/services/rabbitmq/l Status: running Version: rabbitmq:3.7.16-management Waiting for container to be ready =====> RabbitMQ container created: test_with_underscores =====> Container Information Config dir: /var/lib/dokku/services/rabbitmq/test_with_underscores/config Data dir: /var/lib/dokku/services/rabbitmq/test_with_underscores/data Dsn: amqp://test_with_underscores:@dokku-rabbitmq-test-with-underscores:5672/test_with_underscores Exposed ports: - Id: cdd732eb014a4827e4bee466582efd703fe0b2c0da91c0b58e7b6bb704be3e06 Internal ip: 172.17.0.3 Links: - Service root: /var/lib/dokku/services/rabbitmq/test_with_underscores Status: running Version: rabbitmq:3.7.16-management expected amqp://test_with_underscores:92dd23e7315d7f05c6fd90008984b043@dokku-rabbitmq-test-with-underscores:5672/test_with_underscores to be in: =====> Container Information Config dir: /var/lib/dokku/services/rabbitmq/test_with_underscores/config Data dir: /var/lib/dokku/services/rabbitmq/test_with_underscores/data Dsn: amqp://test_with_underscores:@dokku-rabbitmq-test-with-underscores:5672/test_with_underscores Exposed ports: - Id: cdd732eb014a4827e4bee466582efd703fe0b2c0da91c0b58e7b6bb704be3e06 Internal ip: 172.17.0.3 Links: - Service root: /var/lib/dokku/services/rabbitmq/test_with_underscores Status: running Version: rabbitmq:3.7.16-management =====> Deleting l =====> Stopping container Container stopped Removing container Removing data =====> RabbitMQ container deleted: lnot ok 4 (rabbitmq:info) success with flag in 9sec
(from function `assert_equal' in file test_helper.bash, line 21, from function `assert_output' in file test_helper.bash, line 71, in test file service_info.bats, line 39) `assert_output "amqp://l:$password@dokku-rabbitmq-l:5672/l"' failed Waiting for container to be ready =====> RabbitMQ container created: l =====> Container Information Config dir: /var/lib/dokku/services/rabbitmq/l/config Data dir: /var/lib/dokku/services/rabbitmq/l/data Dsn: amqp://l:@dokku-rabbitmq-l:5672/l Exposed ports: - Id: 5def4a4aab546c732b10d0bf16fe8cba2642b11a478fc15de8529a93ee725fbe Internal ip: 172.17.0.2 Links: - Service root: /var/lib/dokku/services/rabbitmq/l Status: running Version: rabbitmq:3.7.16-management expected: amqp://l:e80ae2701ab31e0fb1964f58636c05d6@dokku-rabbitmq-l:5672/l actual: amqp://l:@dokku-rabbitmq-l:5672/l =====> Deleting l =====> Stopping container Container stopped Removing container Removing data =====> RabbitMQ container deleted: l1..11 (service_link.bats)
not ok 5 (rabbitmq:link) exports RABBITMQ_URL to app in 20sec
(from function `assert_contains' in file test_helper.bash, line 13, in test file service_link.bats, line 66) `assert_contains "$url" "amqp://l:$password@dokku-rabbitmq-l:5672/l"' failed Waiting for container to be ready =====> RabbitMQ container created: l =====> Container Information Config dir: /var/lib/dokku/services/rabbitmq/l/config Data dir: /var/lib/dokku/services/rabbitmq/l/data Dsn: amqp://l:@dokku-rabbitmq-l:5672/l Exposed ports: - Id: a3552453553861b73187643422b1dc8e3de72eba52ccad580e0570fb584f4429 Internal ip: 172.17.0.2 Links: - Service root: /var/lib/dokku/services/rabbitmq/l Status: running Version: rabbitmq:3.7.16-management Waiting for container to be ready =====> RabbitMQ container created: m =====> Container Information Config dir: /var/lib/dokku/services/rabbitmq/m/config Data dir: /var/lib/dokku/services/rabbitmq/m/data Dsn: amqp://m:@dokku-rabbitmq-m:5672/m Exposed ports: - Id: 94903a0b652ce7ad1888aff21275fac20626e6295c12fde83cce7daec3a79fff Internal ip: 172.17.0.4 Links: - Service root: /var/lib/dokku/services/rabbitmq/m Status: running Version: rabbitmq:3.7.16-management -----> Creating my_app... done output: -----> Setting config vars RABBITMQ_URL: amqp://l:@dokku-rabbitmq-l:5672/l -----> Restarting app my_app ! App my_app has not been deployed status: 0 expected amqp://l:e5d3837a9a1fef0cc710332f446502da@dokku-rabbitmq-l:5672/l to be in: amqp://l:@dokku-rabbitmq-l:5672/l =====> Deleting m =====> Stopping container Container stopped Removing container Removing data =====> RabbitMQ container deleted: m Cannot delete linked service Destroying my_app (including all add-ons) App image (dokku/my_app:latest) not found Unlinking from l Unlinking from test_with_underscores App my_app has not been deployednot ok 6 (rabbitmq:link) generates an alternate config url when RABBITMQ_URL already in use in 3sec
(from function `setup' in test file service_link.bats, line 5) `dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed RabbitMQ service l already exists RabbitMQ service m does not exist =====> Deleting l =====> Stopping container Container stopped Removing container Removing data =====> RabbitMQ container deleted: l App my_app does not existnot ok 8 (rabbitmq:link) uses apps RABBITMQ_DATABASE_SCHEME variable in 19sec
(from function `assert_contains' in file test_helper.bash, line 13, in test file service_link.bats, line 99) `assert_contains "$url" "amqp2://l:$password@dokku-rabbitmq-l:5672/l"' failed Waiting for container to be ready =====> RabbitMQ container created: l =====> Container Information Config dir: /var/lib/dokku/services/rabbitmq/l/config Data dir: /var/lib/dokku/services/rabbitmq/l/data Dsn: amqp://l:@dokku-rabbitmq-l:5672/l Exposed ports: - Id: a747720d1b2c140a153f2f6571ce6c18f98a53586dd1e6e2357be3b96ac1d129 Internal ip: 172.17.0.2 Links: - Service root: /var/lib/dokku/services/rabbitmq/l Status: running Version: rabbitmq:3.7.16-management Waiting for container to be ready =====> RabbitMQ container created: m =====> Container Information Config dir: /var/lib/dokku/services/rabbitmq/m/config Data dir: /var/lib/dokku/services/rabbitmq/m/data Dsn: amqp://m:@dokku-rabbitmq-m:5672/m Exposed ports: - Id: e747bf2a0c10fa59ff7790cffb386a587a5a6b5c9db52ddc8002c73db00e2593 Internal ip: 172.17.0.4 Links: - Service root: /var/lib/dokku/services/rabbitmq/m Status: running Version: rabbitmq:3.7.16-management -----> Creating my_app... done -----> Setting config vars RABBITMQ_DATABASE_SCHEME: amqp2 -----> Restarting app my_app ! App my_app has not been deployed -----> Setting config vars RABBITMQ_URL: amqp2://l:@dokku-rabbitmq-l:5672/l -----> Restarting app my_app ! App my_app has not been deployed expected amqp2://l:9d28d7bf4535a8ec50a52c447328181e@dokku-rabbitmq-l:5672/l to be in: amqp2://l:@dokku-rabbitmq-l:5672/l =====> Deleting m =====> Stopping container Container stopped Removing container Removing data =====> RabbitMQ container deleted: m Cannot delete linked service Destroying my_app (including all add-ons) App image (dokku/my_app:latest) not found Unlinking from l Unlinking from test_with_underscores App my_app has not been deployednot ok 9 (rabbitmq:link) adds a querystring in 3sec
(from function `setup' in test file service_link.bats, line 5) `dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed RabbitMQ service l already exists RabbitMQ service m does not exist =====> Deleting l =====> Stopping container Container stopped Removing container Removing data =====> RabbitMQ container deleted: l App my_app does not existnot ok 10 (rabbitmq:link) uses a specified config url when alias is specified in 21sec
(from function `assert_contains' in file test_helper.bash, line 13, in test file service_link.bats, line 116) `assert_contains "$url" "amqp://l:$password@dokku-rabbitmq-l:5672/l"' failed Waiting for container to be ready =====> RabbitMQ container created: l =====> Container Information Config dir: /var/lib/dokku/services/rabbitmq/l/config Data dir: /var/lib/dokku/services/rabbitmq/l/data Dsn: amqp://l:@dokku-rabbitmq-l:5672/l Exposed ports: - Id: e2702bfc674e421a055957898e2e7ff5cf71a6a53111fc309c483736414c8789 Internal ip: 172.17.0.2 Links: - Service root: /var/lib/dokku/services/rabbitmq/l Status: running Version: rabbitmq:3.7.16-management Waiting for container to be ready =====> RabbitMQ container created: m =====> Container Information Config dir: /var/lib/dokku/services/rabbitmq/m/config Data dir: /var/lib/dokku/services/rabbitmq/m/data Dsn: amqp://m:@dokku-rabbitmq-m:5672/m Exposed ports: - Id: bb1035b44bd267d3a3bd9888c04e26b0dc557af5367c6224b56c2147be45d680 Internal ip: 172.17.0.4 Links: - Service root: /var/lib/dokku/services/rabbitmq/m Status: running Version: rabbitmq:3.7.16-management -----> Creating my_app... done -----> Setting config vars ALIAS_URL: amqp://l:@dokku-rabbitmq-l:5672/l -----> Restarting app my_app ! App my_app has not been deployed expected amqp://l:0aa0878d496a1a968e22c75f820789e7@dokku-rabbitmq-l:5672/l to be in: amqp://l:@dokku-rabbitmq-l:5672/l =====> Deleting m =====> Stopping container Container stopped Removing container Removing data =====> RabbitMQ container deleted: m Cannot delete linked service Destroying my_app (including all add-ons) App image (dokku/my_app:latest) not found Unlinking from l Unlinking from test_with_underscores App my_app has not been deployed1..4 (service_list.bats)
not ok 0 (rabbitmq:list) with no exposed ports, no linked apps in 3sec
(from function `setup' in test file service_list.bats, line 5) `dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed RabbitMQ service l already exists =====> Deleting l =====> Stopping container Container stopped Removing container Removing data =====> RabbitMQ container deleted: lnot ok 1 (rabbitmq:list) with exposed ports in 21sec
(from function `assert_contains' in file test_helper.bash, line 13, in test file service_list.bats, line 20) `assert_contains "${lines[*]}" "l rabbitmq:3.7.16-management running 5672->4242 4369->4243 35197->4244 15672->4245 -"' failed Waiting for container to be ready =====> RabbitMQ container created: l =====> Container Information Config dir: /var/lib/dokku/services/rabbitmq/l/config Data dir: /var/lib/dokku/services/rabbitmq/l/data Dsn: amqp://l:@dokku-rabbitmq-l:5672/l Exposed ports: - Id: 37a797bb696589d0bea93a3dbded8bb10843c4a63b639ab9f94d22b8f4a39cd1 Internal ip: 172.17.0.2 Links: - Service root: /var/lib/dokku/services/rabbitmq/l Status: running Version: rabbitmq:3.7.16-management -----> Service l exposed on port(s) [container->host]: 5672->4242 4369->4243 35197->4244 15672->4245 expected l rabbitmq:3.7.16-management running 5672->4242 4369->4243 35197->4244 15672->4245 - to be in: NAME VERSION STATUS EXPOSED PORTS LINKS l rabbitmq:3.7.16-management running 5672->4242 4369->4243 35197->4244 15672->4245 - test_with_underscores rabbitmq:3.7.16-management running - - =====> Deleting l =====> Stopping container Container stopped Removing container Removing data =====> RabbitMQ container deleted: lnot ok 2 (rabbitmq:list) with linked app in 9sec
(from function `assert_contains' in file test_helper.bash, line 13, in test file service_list.bats, line 27) `assert_contains "${lines[*]}" "l rabbitmq:3.7.16-management running - my_app"' failed Waiting for container to be ready =====> RabbitMQ container created: l =====> Container Information Config dir: /var/lib/dokku/services/rabbitmq/l/config Data dir: /var/lib/dokku/services/rabbitmq/l/data Dsn: amqp://l:@dokku-rabbitmq-l:5672/l Exposed ports: - Id: 8e7f8236005bc98a774eff07a4a33101a1d94a0f39300e95d8f88365a3e43f08 Internal ip: 172.17.0.2 Links: - Service root: /var/lib/dokku/services/rabbitmq/l Status: running Version: rabbitmq:3.7.16-management -----> Creating my_app... done -----> Setting config vars RABBITMQ_URL: amqp://l:@dokku-rabbitmq-l:5672/l -----> Restarting app my_app ! App my_app has not been deployed expected l rabbitmq:3.7.16-management running - my_app to be in: NAME VERSION STATUS EXPOSED PORTS LINKS l rabbitmq:3.7.16-management running - my_app test_with_underscores rabbitmq:3.7.16-management running - - Cannot delete linked servicenot ok 3 (rabbitmq:list) when there are no services in 1sec
(from function `setup' in test file service_list.bats, line 5) `dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed RabbitMQ service l already exists Cannot delete linked service1..4 (service_logs.bats)
not ok 0 (rabbitmq:logs) error when there are no arguments in 1sec
(from function `setup' in test file service_logs.bats, line 5) `dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed RabbitMQ service l already exists Cannot delete linked servicenot ok 1 (rabbitmq:logs) error when service does not exist in 0sec
(from function `setup' in test file service_logs.bats, line 5) `dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed RabbitMQ service l already exists Cannot delete linked servicenot ok 2 (rabbitmq:logs) success when not tailing in 1sec
(from function `setup' in test file service_logs.bats, line 5) `dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed RabbitMQ service l already exists Cannot delete linked servicenot ok 3 (rabbitmq:logs) success when tailing in 1sec
(from function `setup' in test file service_logs.bats, line 5) `dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed RabbitMQ service l already exists Cannot delete linked service1..8 (service_promote.bats)
not ok 0 (rabbitmq:promote) error when there are no arguments in 6sec
(from function `setup' in test file service_promote.bats, line 5) `dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed RabbitMQ service l already exists -----> Unsetting RABBITMQ_URL -----> Restarting app my_app ! App my_app has not been deployed =====> Deleting l =====> Stopping container Container stopped Removing container Removing data =====> RabbitMQ container deleted: l Destroying my_app (including all add-ons) App image (dokku/my_app:latest) not found Unlinking from test_with_underscores App my_app has not been deployednot ok 5 (rabbitmq:promote) changes RABBITMQ_URL in 16sec
(in test file service_promote.bats, line 44) `dokku "$PLUGIN_COMMAND_PREFIX:promote" l my_app' failed Waiting for container to be ready =====> RabbitMQ container created: l =====> Container Information Config dir: /var/lib/dokku/services/rabbitmq/l/config Data dir: /var/lib/dokku/services/rabbitmq/l/data Dsn: amqp://l:@dokku-rabbitmq-l:5672/l Exposed ports: - Id: 2f86d324da0af52742e1454f068337ede1c81551f02072db8ed4d4fd0d13b27e Internal ip: 172.17.0.2 Links: - Service root: /var/lib/dokku/services/rabbitmq/l Status: running Version: rabbitmq:3.7.16-management -----> Creating my_app... done -----> Setting config vars RABBITMQ_URL: amqp://l:@dokku-rabbitmq-l:5672/l -----> Restarting app my_app ! App my_app has not been deployed -----> Setting config vars DOKKU_RABBITMQ_BLUE_URL: amqp://l:3ea20fe9644cb2b5c199cbfe5e6c50a5@dokku-rabbitmq-l:5672/l RABBITMQ_URL: amqp://u:p@host:5672/vhost -----> Restarting app my_app ! App my_app has not been deployed Not linked to app my_app Not linked to app my_app =====> Deleting l =====> Stopping container Container stopped Removing container Removing data =====> RabbitMQ container deleted: l Destroying my_app (including all add-ons) App image (dokku/my_app:latest) not found Unlinking from test_with_underscores App my_app has not been deployednot ok 6 (rabbitmq:promote) creates new config url when needed in 14sec
(in test file service_promote.bats, line 52) `dokku "$PLUGIN_COMMAND_PREFIX:promote" l my_app' failed Waiting for container to be ready =====> RabbitMQ container created: l =====> Container Information Config dir: /var/lib/dokku/services/rabbitmq/l/config Data dir: /var/lib/dokku/services/rabbitmq/l/data Dsn: amqp://l:@dokku-rabbitmq-l:5672/l Exposed ports: - Id: 5248201e63b65fd35361798899ce665ce8aff54ab1ee1d99e2ac7815cbac7161 Internal ip: 172.17.0.2 Links: - Service root: /var/lib/dokku/services/rabbitmq/l Status: running Version: rabbitmq:3.7.16-management -----> Creating my_app... done -----> Setting config vars RABBITMQ_URL: amqp://l:@dokku-rabbitmq-l:5672/l -----> Restarting app my_app ! App my_app has not been deployed -----> Setting config vars DOKKU_RABBITMQ_BLUE_URL: amqp://l:696ec6c9896d42017bc99f18b53f999c@dokku-rabbitmq-l:5672/l RABBITMQ_URL: amqp://u:p@host:5672/vhost -----> Restarting app my_app ! App my_app has not been deployed Not linked to app my_app Not linked to app my_app =====> Deleting l =====> Stopping container Container stopped Removing container Removing data =====> RabbitMQ container deleted: l Destroying my_app (including all add-ons) App image (dokku/my_app:latest) not found Unlinking from test_with_underscores App my_app has not been deployednot ok 7 (rabbitmq:promote) uses RABBITMQ_DATABASE_SCHEME variable in 15sec
(in test file service_promote.bats, line 59) `dokku "$PLUGIN_COMMAND_PREFIX:promote" l my_app' failed Waiting for container to be ready =====> RabbitMQ container created: l =====> Container Information Config dir: /var/lib/dokku/services/rabbitmq/l/config Data dir: /var/lib/dokku/services/rabbitmq/l/data Dsn: amqp://l:@dokku-rabbitmq-l:5672/l Exposed ports: - Id: 77ae03b80ee6854ce9a5c5438a9455bfea4691b9e1024910bfde9bf650fae481 Internal ip: 172.17.0.2 Links: - Service root: /var/lib/dokku/services/rabbitmq/l Status: running Version: rabbitmq:3.7.16-management -----> Creating my_app... done -----> Setting config vars RABBITMQ_URL: amqp://l:@dokku-rabbitmq-l:5672/l -----> Restarting app my_app ! App my_app has not been deployed -----> Setting config vars DOKKU_RABBITMQ_BLUE_URL: amqp2://l:d7641697f67ad04eb94ad192c2f25f18@dokku-rabbitmq-l:5672/l RABBITMQ_DATABASE_SCHEME: amqp2 RABBITMQ_URL: amqp://u:p@host:5672/db -----> Restarting app my_app ! App my_app has not been deployed Not linked to app my_app Not linked to app my_app =====> Deleting l =====> Stopping container Container stopped Removing container Removing data =====> RabbitMQ container deleted: l Destroying my_app (including all add-ons) App image (dokku/my_app:latest) not found Unlinking from test_with_underscores App my_app has not been deployed