not ok 6 (mongo:link) generates an alternate config url when MONGO_URL already in use in 7sec
(from function `assert_contains' in file test_helper.bash, line 10,
in test file service_link.bats, line 75)
`assert_contains "${lines[*]}" "DOKKU_MONGODB_AQUA_URL"' failed
Waiting for container to be ready
=====> MongoDB container created: l
=====> Container Information
Config dir: /var/lib/dokku/services/mongo/l/config
Data dir: /var/lib/dokku/services/mongo/l/data
Dsn: mongodb://l:807d8814e3f70ac0c5d9a0d81cca2c1a@dokku-mongo-l:27017/l
Exposed ports: -
Id: 52e7a7d3cd1fae88c290e9fbc5098c81caf53af9b45f5a975fead2c9cea9af09
Internal ip: 172.17.0.2
Links: -
Service root: /var/lib/dokku/services/mongo/l
Status: running
Version: mongo:3.4.9
Waiting for container to be ready
=====> MongoDB container created: m
=====> Container Information
Config dir: /var/lib/dokku/services/mongo/m/config
Data dir: /var/lib/dokku/services/mongo/m/data
Dsn: mongodb://m:0788174f47c7d2b81da6132dd2c9866a@dokku-mongo-m:27017/m
Exposed ports: -
Id: 81d211ebcf480ffe3412c311cb89f3417db31be260248233f5b6a4a63df26f55
Internal ip: 172.17.0.3
Links: -
Service root: /var/lib/dokku/services/mongo/m
Status: running
Version: mongo:3.4.9
-----> Creating my_app... done
-----> Setting config vars
MONGO_URL: mongodb://user:pass@host:27017/db
-----> Restarting app my_app
! App my_app has not been deployed
-----> Setting config vars
DOKKU_MONGO_AQUA_URL: mongodb://l:807d8814e3f70ac0c5d9a0d81cca2c1a@dokku-mongo-l:27017/l
-----> Restarting app my_app
! App my_app has not been deployed
expected DOKKU_MONGODB_AQUA_URL to be in: =====> my_app env vars DOKKU_MONGO_AQUA_URL: mongodb://l:807d8814e3f70ac0c5d9a0d81cca2c1a@dokku-mongo-l:27017/l MONGO_URL: mongodb://user:pass@host:27017/db
=====> Deleting m
=====> Stopping container
Container stopped
Removing container
Removing data
=====> MongoDB 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
App my_app has not been deployed
not ok 7 (mongo:link) links to app with docker-options in 2sec
(from function `setup' in test file service_link.bats, line 5)
`dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed
MongoDB service l already exists
MongoDB service m does not exist
=====> Deleting l
=====> Stopping container
Container stopped
Removing container
Removing data
=====> MongoDB container deleted: l
App my_app does not exist
not ok 6 (mongo:link) generates an alternate config url when MONGO_URL already in use in 7sec
(from function `assert_contains' in file test_helper.bash, line 10,
in test file service_link.bats, line 75)
`assert_contains "${lines[*]}" "DOKKU_MONGODB_AQUA_URL"' failed
Waiting for container to be ready
=====> MongoDB container created: l
=====> Container Information
Config dir: /var/lib/dokku/services/mongo/l/config
Data dir: /var/lib/dokku/services/mongo/l/data
Dsn: mongodb://l:8361df87e25e5fb9864e7ab4ee0bc027@dokku-mongo-l:27017/l
Exposed ports: -
Id: ca002acb9e88574913d2156906320c21f06adfc3b161512516fee46fca354488
Internal ip: 172.17.0.2
Links: -
Service root: /var/lib/dokku/services/mongo/l
Status: running
Version: mongo:3.4.9
Waiting for container to be ready
=====> MongoDB container created: m
=====> Container Information
Config dir: /var/lib/dokku/services/mongo/m/config
Data dir: /var/lib/dokku/services/mongo/m/data
Dsn: mongodb://m:d85a17569647c72813a47f0e2731386e@dokku-mongo-m:27017/m
Exposed ports: -
Id: ceb6a71bb21f6cab07acb6e379021a8fc73fe5c0cf43e1fc822193ba70e16910
Internal ip: 172.17.0.3
Links: -
Service root: /var/lib/dokku/services/mongo/m
Status: running
Version: mongo:3.4.9
-----> Creating my_app... done
-----> Setting config vars
MONGO_URL: mongodb://user:pass@host:27017/db
-----> Restarting app my_app
App my_app has not been deployed
-----> Setting config vars
DOKKU_MONGO_AQUA_URL: mongodb://l:8361df87e25e5fb9864e7ab4ee0bc027@dokku-mongo-l:27017/l
-----> Restarting app my_app
App my_app has not been deployed
expected DOKKU_MONGODB_AQUA_URL to be in: =====> my_app env vars DOKKU_MONGO_AQUA_URL: mongodb://l:8361df87e25e5fb9864e7ab4ee0bc027@dokku-mongo-l:27017/l MONGO_URL: mongodb://user:pass@host:27017/db
=====> Deleting m
=====> Stopping container
Container stopped
Removing container
Removing data
=====> MongoDB 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
App my_app has not been deployed
not ok 7 (mongo:link) links to app with docker-options in 2sec
(from function `setup' in test file service_link.bats, line 5)
`dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed
MongoDB service l already exists
MongoDB service m does not exist
=====> Deleting l
=====> Stopping container
Container stopped
Removing container
Removing data
=====> MongoDB container deleted: l
App my_app does not exist
App my_app does not exist
not ok 6 (mongo:link) generates an alternate config url when MONGO_URL already in use in 8sec
(from function `assert_contains' in file test_helper.bash, line 10,
in test file service_link.bats, line 75)
`assert_contains "${lines[*]}" "DOKKU_MONGODB_AQUA_URL"' failed
Waiting for container to be ready
=====> MongoDB container created: l
=====> Container Information
Config dir: /var/lib/dokku/services/mongo/l/config
Data dir: /var/lib/dokku/services/mongo/l/data
Dsn: mongodb://l:05562a5b668d02ef594f55fd757b8036@dokku-mongo-l:27017/l
Exposed ports: -
Id: 8b6862fa4c4776a0905d1857d7d32326550ad189910b59db6d6d296bbe8baa79
Internal ip: 172.17.0.2
Links: -
Service root: /var/lib/dokku/services/mongo/l
Status: running
Version: mongo:3.4.9
Waiting for container to be ready
=====> MongoDB container created: m
=====> Container Information
Config dir: /var/lib/dokku/services/mongo/m/config
Data dir: /var/lib/dokku/services/mongo/m/data
Dsn: mongodb://m:2db1ba9f8904e4b00485e71aa57519ea@dokku-mongo-m:27017/m
Exposed ports: -
Id: f8649ce142419e2a5beecc163e36da284f50484577b0a81f33be11ad52825ee7
Internal ip: 172.17.0.3
Links: -
Service root: /var/lib/dokku/services/mongo/m
Status: running
Version: mongo:3.4.9
-----> Creating my_app... done
-----> Setting config vars
MONGO_URL: mongodb://user:pass@host:27017/db
-----> Restarting app my_app
! App my_app has not been deployed
-----> Setting config vars
DOKKU_MONGO_AQUA_URL: mongodb://l:05562a5b668d02ef594f55fd757b8036@dokku-mongo-l:27017/l
-----> Restarting app my_app
! App my_app has not been deployed
expected DOKKU_MONGODB_AQUA_URL to be in: =====> my_app env vars DOKKU_MONGO_AQUA_URL: mongodb://l:05562a5b668d02ef594f55fd757b8036@dokku-mongo-l:27017/l MONGO_URL: mongodb://user:pass@host:27017/db
=====> Deleting m
=====> Stopping container
Container stopped
Removing container
Removing data
=====> MongoDB 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
App my_app has not been deployed
not ok 7 (mongo:link) links to app with docker-options in 1sec
(from function `setup' in test file service_link.bats, line 5)
`dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed
MongoDB service l already exists
MongoDB service m does not exist
=====> Deleting l
=====> Stopping container
Container stopped
Removing container
Removing data
=====> MongoDB container deleted: l
App my_app does not exist
DOKKU_VERSION=master
Build Url
1..11 (service_link.bats)
not ok 6 (mongo:link) generates an alternate config url when MONGO_URL already in use in 7sec
(from function `assert_contains' in file test_helper.bash, line 10, in test file service_link.bats, line 75) `assert_contains "${lines[*]}" "DOKKU_MONGODB_AQUA_URL"' failed Waiting for container to be ready =====> MongoDB container created: l =====> Container Information Config dir: /var/lib/dokku/services/mongo/l/config Data dir: /var/lib/dokku/services/mongo/l/data Dsn: mongodb://l:807d8814e3f70ac0c5d9a0d81cca2c1a@dokku-mongo-l:27017/l Exposed ports: - Id: 52e7a7d3cd1fae88c290e9fbc5098c81caf53af9b45f5a975fead2c9cea9af09 Internal ip: 172.17.0.2 Links: - Service root: /var/lib/dokku/services/mongo/l Status: running Version: mongo:3.4.9 Waiting for container to be ready =====> MongoDB container created: m =====> Container Information Config dir: /var/lib/dokku/services/mongo/m/config Data dir: /var/lib/dokku/services/mongo/m/data Dsn: mongodb://m:0788174f47c7d2b81da6132dd2c9866a@dokku-mongo-m:27017/m Exposed ports: - Id: 81d211ebcf480ffe3412c311cb89f3417db31be260248233f5b6a4a63df26f55 Internal ip: 172.17.0.3 Links: - Service root: /var/lib/dokku/services/mongo/m Status: running Version: mongo:3.4.9 -----> Creating my_app... done -----> Setting config vars MONGO_URL: mongodb://user:pass@host:27017/db -----> Restarting app my_app ! App my_app has not been deployed -----> Setting config vars DOKKU_MONGO_AQUA_URL: mongodb://l:807d8814e3f70ac0c5d9a0d81cca2c1a@dokku-mongo-l:27017/l -----> Restarting app my_app ! App my_app has not been deployed expected DOKKU_MONGODB_AQUA_URL to be in: =====> my_app env vars DOKKU_MONGO_AQUA_URL: mongodb://l:807d8814e3f70ac0c5d9a0d81cca2c1a@dokku-mongo-l:27017/l MONGO_URL: mongodb://user:pass@host:27017/db =====> Deleting m =====> Stopping container Container stopped Removing container Removing data =====> MongoDB 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 App my_app has not been deployednot ok 7 (mongo:link) links to app with docker-options in 2sec
(from function `setup' in test file service_link.bats, line 5) `dokku "$PLUGIN_COMMAND_PREFIX:create" l' failed MongoDB service l already exists MongoDB service m does not exist =====> Deleting l =====> Stopping container Container stopped Removing container Removing data =====> MongoDB container deleted: l App my_app does not exist