Integration tests fail on xenial
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Charm |
Fix Released
|
Medium
|
Free Ekanayaka |
Bug Description
The current charm store (cs:trusty/
$ time make integration-test
Checking for ...
juju-test: installed
Tree is up to date at revision 15 of branch bzr+ssh:
juju test --set-e -p LS_CHARM_
juju-test INFO : Starting test run on local using Juju 1.25.5
juju-test DEBUG : Loading configuration options from testplan YAML
juju-test DEBUG : Creating a new Conductor
juju-test.conductor DEBUG : Starting a bootstrap for local, kill after 300
juju-test.conductor DEBUG : Running the following: juju bootstrap -e local
Bootstrapping environment "local"
Starting new instance for initial state server
Building tools to upload (1.25.5.
Installing Juju agent on bootstrap instance
[sudo] password for andreas:
Logging to /home/andreas/
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Installing package: cloud-utils
Installing package: cloud-image-utils
Installing package: tmux
Bootstrapping Juju machine agent
Starting Juju machine agent (juju-agent-
Bootstrap agent installed
vmwarestack -> local
Bootstrap complete
juju-test.conductor DEBUG : Waiting for bootstrap
juju-test.conductor DEBUG : Still not bootstrapped
juju-test.conductor DEBUG : Running the following: juju status -e local
juju-test.conductor DEBUG : State for 1.25.5: started
juju-test.
Running tests at level 1
Running layers.
Set up layers.
2016-07-20 16:35:29 Deploying services...
2016-07-20 16:35:29 Deploying service haproxy using cs:trusty/
2016-07-20 16:35:35 Deploying service landscape-server using /tmp/charmtumyk
2016-07-20 16:35:39 Deploying service postgresql using cs:trusty/
2016-07-20 16:35:45 Deploying service rabbitmq-server using cs:trusty/
2016-07-20 16:39:57 Adding relations...
2016-07-20 16:39:57 Adding relation landscape-server <-> rabbitmq-server
2016-07-20 16:39:58 Adding relation landscape-server <-> haproxy
2016-07-20 16:39:58 Adding relation landscape-server:db <-> postgresql:db-admin
2016-07-20 16:40:58 Exposing service 'haproxy'
2016-07-20 16:40:59 Deployment complete in 329.47 seconds
in 6 minutes 56.288 seconds.
Running:
test_bootstrap (basic.
test_pause_resume (basic.
File "tests/01-basic", line 5, in <module>
main()
File "/home/
run(args=args)
File "/usr/lib/
failed = run_internal(
File "/usr/lib/
runner.run()
File "/usr/lib/
self.
File "/usr/lib/
self.skipped, self.import_errors)
File "/usr/lib/
import_errors)
File "/usr/lib/
test(result)
File "/usr/lib/
return self.run(*args, **kwds)
File "/usr/lib/
result.
File "/usr/lib/
self.
File "/usr/lib/
layer.
File "/home/
cls.
File "/usr/lib/
return self._cleanups(
TypeError: 'NoneType' object is not callable
juju-test.
juju-test.
juju-test.
juju-test.conductor INFO : Breaking here as requested by --set-e
juju-test INFO : Results: 0 passed, 1 failed, 0 errored
Makefile:43: recipe for target 'integration-test' failed
make: *** [integration-test] Error 1
real 9m5.878s
user 1m1.260s
sys 0m10.052s
For this run, I had LS_CHARM_SOURCE set to ppa:landscape/16.06
$ juju status --format=tabular
[Services]
NAME STATUS EXPOSED CHARM
haproxy unknown true cs:trusty/
landscape-server active false local:trusty/
postgresql active false cs:trusty/
rabbitmq-server active false cs:trusty/
[Units]
ID WORKLOAD-STATE AGENT-STATE VERSION MACHINE PORTS PUBLIC-ADDRESS MESSAGE
haproxy/0 unknown idle 1.25.5.1 1 80/tcp,
landscape-server/0 active idle 1.25.5.1 2 10.0.3.150
postgresql/0 active idle 1.25.5.1 3 5432/tcp 10.0.3.68 Live master
rabbitmq-server/0 active idle 1.25.5.1 4 5672/tcp 10.0.3.74 Unit is ready
[Machines]
ID STATE VERSION DNS INS-ID SERIES HARDWARE
0 started 1.25.5.1 localhost localhost xenial
1 started 1.25.5.1 10.0.3.17 andreas-
2 started 1.25.5.1 10.0.3.150 andreas-
3 started 1.25.5.1 10.0.3.68 andreas-
4 started 1.25.5.1 10.0.3.74 andreas-
Changed in landscape-charm: | |
assignee: | nobody → Chris Glass (tribaal) |
status: | New → In Progress |
tags: | added: kanban |
tags: | removed: kanban |
Changed in landscape-charm: | |
assignee: | Chris Glass (tribaal) → Free Ekanayaka (free.ekanayaka) |
importance: | Undecided → Medium |
Changed in landscape-charm: | |
status: | Fix Committed → Fix Released |
Tests pass in r368 and later:
https:/ /ci.lscape. net/job/ landscape- charm-test/