Charm test fails consistently
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mediawiki (Juju Charms Collection) |
Fix Released
|
High
|
Charles Butler |
Bug Description
charm test -v -e charm-testing-lxc $failfast --timeout=45m
DEBUG:jlxc:Exec Command: sudo lxc-ls --fancy -P /tmp/jlxc/
DEBUG:jlxc:Exec Command: sudo lxc-ls --fancy -P /tmp/jlxc/
DEBUG:jlxc:Exec Command: scp -o StrictHostKeyCh
DEBUG:jlxc:Exec Command: sudo lxc-ls --fancy -P /tmp/jlxc/
DEBUG:jlxc:Exec Command: sudo lxc-ls --fancy -P /tmp/jlxc/
DEBUG:jlxc:Exec Command: ssh -o StrictHostKeyCh
DEBUG:jlxc:Exec Command: sudo lxc-ls --fancy -P /tmp/jlxc/
DEBUG:jlxc:Exec Command: sudo lxc-stop -P /tmp/jlxc/
DEBUG:jlxc:Exec Command: sudo lxc-ls --fancy -P /tmp/jlxc/
DEBUG:jlxc:Exec Command: sudo lxc-ls --fancy -P /tmp/jlxc/
DEBUG:jlxc:Exec Command: sudo lxc-destroy --force -P /tmp/jlxc/
DEBUG:jlxc:Exec Command: sudo lxc-ls --fancy -P /tmp/jlxc/
DEBUG:jlxc:Exec Command: sudo lxc-ls --fancy -P /tmp/jlxc/
DEBUG:jlxc:Exec Command: sudo lxc-destroy --force -P /tmp/jlxc/
DEBUG:jlxc:Exec Command: sudo lxc-ls --fancy -P /tmp/jlxc/
DEBUG:jlxc:Exec Command: sudo lxc-ls --fancy -P /tmp/jlxc/
DEBUG:jlxc:Exec Command: sudo lxc-destroy --force -P /tmp/jlxc/
DEBUG:jlxc:Exec Command: sudo rm -rf /tmp/jlxc/
Substrate: charm-testing-hp: PASS
Warning: Permanently added '10.0.3.208' (ECDSA) to the list of known hosts.
+ cd /home/ubuntu/
+ juju destroy-environment -y -e charm-testing-hp
WARNING unknown config field "test-mode"
+ '[' -n False ']'
+ failfast=--set-e
+ charm test -v -e charm-testing-hp --set-e --timeout=45m
juju-test INFO : Starting test run on charm-testing-hp using Juju 1.16.6
juju-test DEBUG : Loading configuration options from testplan YAML
juju-test DEBUG : Creating a new Conductor
juju-test.conductor DEBUG : Starting a bootstrap for charm-testing-hp, kill after 300
juju-test.conductor DEBUG : Running the following: juju bootstrap -e charm-testing-hp
WARNING unknown config field "test-mode"
WARNING unknown config field "test-mode"
WARNING unknown config field "test-mode"
juju-test.conductor DEBUG : Waiting for bootstrap
juju-test.conductor DEBUG : Still not bootstrapped
juju-test.conductor DEBUG : Running the following: juju status -e charm-testing-hp
WARNING unknown config field "test-mode"
WARNING unknown config field "test-mode"
juju-test.conductor DEBUG : State for 1.16.6: down
juju-test.conductor DEBUG : Still not bootstrapped
juju-test.conductor DEBUG : Running the following: juju status -e charm-testing-hp
WARNING unknown config field "test-mode"
WARNING unknown config field "test-mode"
juju-test.conductor DEBUG : State for 1.16.6: started
juju-test.
gpg: keyring `/tmp/tmp9wupGj
gpg: keyring `/tmp/tmp9wupGj
gpg: requesting key C8068B11 from hkp server keyserver.
gpg: /tmp/tmp9wupGj/
gpg: key C8068B11: public key "Launchpad Ensemble PPA" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
E: Unable to locate package python3-pip
juju-test.
Building dependency tree...
Reading state information...
python3-setuptools is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 55 not upgraded.
OK
Get:1 http://
Hit http://
Hit http://
Hit http://
Get:2 http://
Get:3 http://
Hit http://
Get:4 http://
Hit http://
Hit http://
Hit http://
Ign http://
Get:5 http://
Hit http://
Get:6 http://
Ign http://
Hit http://
Get:7 http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Hit http://
Hit http://
Hit http://
Hit http://
Fetched 3,760 kB in 2s (1,653 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Downloading/
Downloading splinter-
Running setup.py (path:/
no previously-included directories found matching 'tests'
Downloading/
Running setup.py (path:/
Installing collected packages: splinter, selenium
Running setup.py install for splinter
no previously-included directories found matching 'tests'
Running setup.py install for selenium
Successfully installed splinter selenium
Cleaning up...
juju-test.
juju-test.conductor DEBUG : Tearing down charm-testing-hp juju environment
juju-test.conductor DEBUG : Calling "juju destroy-environment -y -e charm-testing-hp"
WARNING unknown config field "test-mode"
juju-test.conductor DEBUG : Starting a bootstrap for charm-testing-hp, kill after 300
juju-test.conductor DEBUG : Running the following: juju bootstrap -e charm-testing-hp
WARNING unknown config field "test-mode"
WARNING unknown config field "test-mode"
WARNING unknown config field "test-mode"
juju-test.conductor DEBUG : Waiting for bootstrap
juju-test.conductor DEBUG : Still not bootstrapped
juju-test.conductor DEBUG : Running the following: juju status -e charm-testing-hp
WARNING unknown config field "test-mode"
WARNING unknown config field "test-mode"
juju-test.conductor DEBUG : State for 1.16.6: down
juju-test.conductor DEBUG : Still not bootstrapped
juju-test.conductor DEBUG : Running the following: juju status -e charm-testing-hp
WARNING unknown config field "test-mode"
WARNING unknown config field "test-mode"
juju-test.conductor DEBUG : State for 1.16.6: started
juju-test.
2014-03-14 16:53:31 Starting deployment of charm-testing-hp
2014-03-14 16:53:41 Deploying services...
2014-03-14 16:53:43 Deploying service mediawiki using local:precise/
2014-03-14 16:54:08 Exposing service 'mediawiki'
2014-03-14 16:54:08 Deploying service memcached-sentry using local:precise/
2014-03-14 16:54:22 Exposing service 'memcached-sentry'
2014-03-14 16:54:22 Deploying service mysql-sentry using local:precise/
2014-03-14 16:54:35 Exposing service 'mysql-sentry'
2014-03-14 16:54:35 Deploying service mysql using cs:precise/mysql-36
2014-03-14 16:55:04 Deploying service mediawiki-sentry using local:precise/
2014-03-14 16:55:18 Exposing service 'mediawiki-sentry'
2014-03-14 16:55:18 Deploying service relation-sentry using local:precise/
2014-03-14 16:55:45 Exposing service 'relation-sentry'
2014-03-14 16:55:46 Deploying service memcached using cs:precise/
2014-03-14 16:57:43 Config specifies num units for subordinate: memcached-sentry
2014-03-14 16:57:43 Config specifies num units for subordinate: mysql-sentry
2014-03-14 16:57:43 Config specifies num units for subordinate: mediawiki-sentry
2014-03-14 16:57:43 Adding relations...
2014-03-14 16:57:45 Adding relation mediawiki:juju-info <-> mediawiki-
2014-03-14 16:57:50 Adding relation memcached:juju-info <-> memcached-
2014-03-14 16:57:55 Adding relation mysql:juju-info <-> mysql-sentry:
2014-03-14 16:58:00 Adding relation relation-
2014-03-14 16:58:06 Adding relation relation-
2014-03-14 16:58:11 Adding relation relation-
2014-03-14 16:58:16 Adding relation relation-
2014-03-14 16:59:24 Deployment complete in 352.83 seconds
Traceback (most recent call last):
File "/usr/local/
stdout=
File "/usr/lib/
restore_
File "/usr/lib/
raise child_exception
OSError: [Errno 2] No such file or directory: 'phantomjs'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tests/100-deploy", line 64, in <module>
browser = Browser(
File "/usr/local/
return driver(*args, **kwargs)
File "/usr/local/
self.driver = PhantomJS(
File "/usr/local/
self.
File "/usr/local/
raise WebDriverExcept
selenium.
juju-test.
juju-test.
juju-test.
juju-test.conductor INFO : Breaking here as requested by --set-e
juju-test INFO : Results: 1 passed, 1 failed, 0 errored
Related branches
- Marco Ceppi (community): Approve
- José Antonio Rey (community): Approve
- Jorge Niedbalski (community): Needs Fixing
- Cory Johns (community): Needs Fixing
- charmers: Pending requested
-
Diff: 68 lines (+21/-25)2 files modifiedtests/00-setup (+1/-2)
tests/100-deploy (+20/-23)
Changed in mediawiki (Juju Charms Collection): | |
status: | Triaged → In Progress |
Changed in mediawiki (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
This was fixed with r79, on 2014-07-17