Date
1 - 3 of 3
smoke_tests errand job [fail]
Tomasz Kapek
Hello.
I'm trying to launch an errand job from bosh cli on cloud foundry deployment: # bosh run errand smoke_tests --keep-alive and I got following error: ################################################################################################################ go version go1.7.4 linux/amd64 CONFIG=/var/vcap/jobs/smoke-tests/bin/config.json CONFIG=/var/vcap/jobs/smoke-tests/bin/config.json GOPATH=/var/vcap/packages/smoke-tests GOROOT=/var/vcap/data/packages/golang1.7/46105d4480ca083a6cafb8ca307d5e5084c655c4.1-74efcbd4bdbb840a9d80c5793cbb431b210d5b9a OLDPWD=/var/vcap/bosh PATH=/var/vcap/packages/smoke-tests/bin:/var/vcap/packages/cli/bin:/var/vcap/data/packages/golang1.7/46105d4480ca083a6cafb8ca307d5e5084c655c4.1-74efcbd4bdbb840a9d80c5793cbb431b210d5b9a/bin:/usr/sbin:/usr/bin:/sbin:/bin PWD=/var/vcap/packages/smoke-tests/src/github.com/cloudfoundry/cf-smoke-tests SHLVL=1 TMPDIR=/var/vcap/data/tmp _=/usr/bin/env ################################################################################################################ Running smoke tests... panic: missing configuration 'api' After logging into smoke_tests/0 vm i have found out: smoke_tests/32e93888-c340-48bd-9f1f-ea7d3abec927:/var/vcap/jobs/smoke-tests/bin# cat config.json { "suite_name" : "CF_SMOKE_TESTS", "api" : "", "apps_domain" : "", "user" : "", "password" : "", "org" : "", "space" : "", "use_existing_org" : false, "use_existing_space" : false, "logging_app" : "", "runtime_app" : "", "skip_ssl_validation" : false, "syslog_drain_port" : 514, "syslog_ip_address" : "10.11.0.61", "enable_windows_tests" : false, "backend" : "", "enable_etcd_cluster_check_tests" : false, "etcd_ip_address" : "" } seems like config.json has no proper values... Any ideas how to fix it? |
|
Eric Malm <emalm@...>
Hi, Tomasz,
toggle quoted message
Show quoted text
Looks like you need to supply some properties for the smoke-tests errand in your CF deployment manifest. The spec listing the relevant properties for the smoke-tests job template is at https://github.com/cloudfou ndry/cf-release/blob/v252/jobs/smoke-tests/spec. I don't believe the manifest-generation script and associated templates in the cf-release repo automatically populate any of those properties, so if you're using that script you likely need to supply them explicitly in a stub file. Best, Eric On Mon, Feb 20, 2017 at 2:41 AM, Tomasz Kapek <kapekto1(a)gmail.com> wrote:
Hello. |
|
Tomasz Kapek
Thanks Eric, you are right. I have added proper entries into my stub end it works ;)
|
|