Merge lp:~cprov/uci-engine/tr-nova-failures into lp:uci-engine

Proposed by Celso Providelo
Status: Merged
Approved by: Celso Providelo
Approved revision: 928
Merged at revision: 920
Proposed branch: lp:~cprov/uci-engine/tr-nova-failures
Merge into: lp:uci-engine
Diff against target: 91 lines (+8/-10)
5 files modified
ci-utils/ci_utils/testing/features.py (+3/-8)
juju-deployer/configs/unit_config.yaml.tmpl (+1/-0)
test_runner/tstrun/tests/test_run_test.py (+1/-1)
test_runner/tstrun/tests/test_worker.py (+2/-0)
testing/run_tests.py (+1/-1)
To merge this branch: bzr merge lp:~cprov/uci-engine/tr-nova-failures
Reviewer Review Type Date Requested Status
Ursula Junque (community) Approve
Vincent Ladeuil (community) Approve
Review via email: mp+245739@code.launchpad.net

Commit message

Re-enable TR tests depending on nova-compute feature, adding "autopkgtest" testing feature, but still not using no_skip testing behaviour.

Description of the change

Re-enable TR tests depending on nova-compute, adding "autopkgtest" testing feature.

'no_skip' testing behaviour was not enabled because NovaCredentials (unit_config) and additional deployments (uci-britney) are still not supported in tarmac.

To post a comment you must log in.
Revision history for this message
Vincent Ladeuil (vila) wrote :

Good work, thanks for digging into this !

Swift needs to be re-activated too and I have a few comments inline.

review: Needs Fixing
Revision history for this message
Celso Providelo (cprov) wrote :

Vincent,

Thanks for the quick review, comments addressed.

Revision history for this message
Vincent Ladeuil (vila) wrote :

Thanks for the quick reply ;)

As mentioned on IRC you will likely have to be patient to activate --no-skip by default.

Approving nevertheless

review: Approve
Revision history for this message
Ubuntu CI Bot (uci-bot) wrote :
Download full text (117.8 KiB)

The attempt to merge lp:~cprov/uci-engine/tr-nova-failures into lp:uci-engine failed. Below is the output from the failed tests.

Checking juju status
Private PPAs: disabled
Preparing local branch upload...
Uploading local branch, fingerprint 04fcbf8cf5823eaeee710830066c58833878b9b1
Installing keys from bzr+ssh://bazaar.launchpad.net/~ci-engineering-private/+junk/ci-airline-dev-keys/
Running juju-deployer -v -c /tmp/tmpQUsGpn/deployer/relations.yaml -c /tmp/tmpQUsGpn/deployer/services.yaml ci-airline
Tests running...
ci-utils.ci_utils.tests.test_amqp.TestAMQP.testConnectFailed ... OK (0.002 secs)
ci-utils.ci_utils.tests.test_amqp.TestAMQP.testProcessQueue ... OK (0.005 secs)
ci-utils.ci_utils.tests.test_amqp.TestAMQP.testRunForever ... OK (0.102 secs)
ci-utils.ci_utils.tests.test_amqp.TestAMQP.testSent ... OK (0.005 secs)
ci-utils.ci_utils.tests.test_amqp.TestProgressTrigger.testProgress ... OK (0.002 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testCancel ... OK (0.110 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testNoQueue ... OK (0.004 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testNoTicket ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageCalledProcessError ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageFail ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageKilled ... OK (0.004 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageSimple ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageUnexpected ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testSaveLastRun ... OK (0.005 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestTimer.testCBRuns ... OK (0.021 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestTimer.testCanCancel ... OK (0.001 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreConfig.test_invalid_auth_config ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreConfig.test_valid_auth_config ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreFileName.test_abspath ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreFileName.test_basename ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreFileName.test_relpath ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_deployer.TestDeployer.test_load_empty_single_config ... OK (0.005 secs)
ci-utils.ci_utils.tests.test_deployer.TestDeployer.test_load_multiple_config ... OK (0.009 secs)
ci-utils.ci_utils.tests.test_deployer.TestDeployer.test_load_single_config ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_features.TestJujuControlBucket.test_no_control_bucket ... OK (0.002 secs)
ci-utils.ci_utils.tests.test_features.TestJujuGetEnvsFromYaml.test_broken_environments_file ... OK (0.002 secs)
ci-utils.ci_utils.tests.test_features.TestJujuGetEnvsFromYaml.test_inconsistent_environments_file ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_features.TestJujuNova.test_get_nova_id_malformed ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_features.TestJu...

Revision history for this message
Ubuntu CI Bot (uci-bot) wrote :
Download full text (117.7 KiB)

The attempt to merge lp:~cprov/uci-engine/tr-nova-failures into lp:uci-engine failed. Below is the output from the failed tests.

Checking juju status
Private PPAs: disabled
Preparing local branch upload...
Uploading local branch, fingerprint 1a408df5ab0bf9bf6da935f0b6333f254c7a393e
Installing keys from bzr+ssh://bazaar.launchpad.net/~ci-engineering-private/+junk/ci-airline-dev-keys/
Running juju-deployer -v -c /tmp/tmpWWqzt5/deployer/relations.yaml -c /tmp/tmpWWqzt5/deployer/services.yaml ci-airline
Tests running...
ci-utils.ci_utils.tests.test_amqp.TestAMQP.testConnectFailed ... OK (0.002 secs)
ci-utils.ci_utils.tests.test_amqp.TestAMQP.testProcessQueue ... OK (0.002 secs)
ci-utils.ci_utils.tests.test_amqp.TestAMQP.testRunForever ... OK (0.102 secs)
ci-utils.ci_utils.tests.test_amqp.TestAMQP.testSent ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp.TestProgressTrigger.testProgress ... OK (0.001 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testCancel ... OK (0.106 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testNoQueue ... OK (0.002 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testNoTicket ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageCalledProcessError ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageFail ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageKilled ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageSimple ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageUnexpected ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testSaveLastRun ... OK (0.001 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestTimer.testCBRuns ... OK (0.021 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestTimer.testCanCancel ... OK (0.001 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreConfig.test_invalid_auth_config ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreConfig.test_valid_auth_config ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreFileName.test_abspath ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreFileName.test_basename ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreFileName.test_relpath ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_deployer.TestDeployer.test_load_empty_single_config ... OK (0.004 secs)
ci-utils.ci_utils.tests.test_deployer.TestDeployer.test_load_multiple_config ... OK (0.008 secs)
ci-utils.ci_utils.tests.test_deployer.TestDeployer.test_load_single_config ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_features.TestJujuControlBucket.test_no_control_bucket ... OK (0.002 secs)
ci-utils.ci_utils.tests.test_features.TestJujuGetEnvsFromYaml.test_broken_environments_file ... OK (0.001 secs)
ci-utils.ci_utils.tests.test_features.TestJujuGetEnvsFromYaml.test_inconsistent_environments_file ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_features.TestJujuNova.test_get_nova_id_malformed ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_features.TestJu...

Revision history for this message
Ubuntu CI Bot (uci-bot) wrote :
Download full text (117.8 KiB)

The attempt to merge lp:~cprov/uci-engine/tr-nova-failures into lp:uci-engine failed. Below is the output from the failed tests.

Checking juju status
Private PPAs: disabled
Preparing local branch upload...
Uploading local branch, fingerprint 7e2f70c4b12cb12de7cdbbf0c539d463ff3a09a6
Installing keys from bzr+ssh://bazaar.launchpad.net/~ci-engineering-private/+junk/ci-airline-dev-keys/
Running juju-deployer -v -c /tmp/tmpg399TJ/deployer/relations.yaml -c /tmp/tmpg399TJ/deployer/services.yaml ci-airline
Tests running...
ci-utils.ci_utils.tests.test_amqp.TestAMQP.testConnectFailed ... OK (0.002 secs)
ci-utils.ci_utils.tests.test_amqp.TestAMQP.testProcessQueue ... OK (0.004 secs)
ci-utils.ci_utils.tests.test_amqp.TestAMQP.testRunForever ... OK (0.102 secs)
ci-utils.ci_utils.tests.test_amqp.TestAMQP.testSent ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp.TestProgressTrigger.testProgress ... OK (0.001 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testCancel ... OK (0.108 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testNoQueue ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testNoTicket ... OK (0.004 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageCalledProcessError ... OK (0.004 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageFail ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageKilled ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageSimple ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageUnexpected ... OK (0.004 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testSaveLastRun ... OK (0.001 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestTimer.testCBRuns ... OK (0.021 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestTimer.testCanCancel ... OK (0.001 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreConfig.test_invalid_auth_config ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreConfig.test_valid_auth_config ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreFileName.test_abspath ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreFileName.test_basename ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreFileName.test_relpath ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_deployer.TestDeployer.test_load_empty_single_config ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_deployer.TestDeployer.test_load_multiple_config ... OK (0.008 secs)
ci-utils.ci_utils.tests.test_deployer.TestDeployer.test_load_single_config ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_features.TestJujuControlBucket.test_no_control_bucket ... OK (0.002 secs)
ci-utils.ci_utils.tests.test_features.TestJujuGetEnvsFromYaml.test_broken_environments_file ... OK (0.002 secs)
ci-utils.ci_utils.tests.test_features.TestJujuGetEnvsFromYaml.test_inconsistent_environments_file ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_features.TestJujuNova.test_get_nova_id_malformed ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_features.TestJu...

Revision history for this message
Ubuntu CI Bot (uci-bot) wrote :
Download full text (59.4 KiB)

The attempt to merge lp:~cprov/uci-engine/tr-nova-failures into lp:uci-engine failed. Below is the output from the failed tests.

2015-01-09 00:21:39 INFO juju.cmd supercommand.go:37 running jujud [1.20.14.1-precise-amd64 gc]
2015-01-09 00:21:39 DEBUG juju.agent agent.go:377 read agent config, format "1.18"
2015-01-09 00:21:39 INFO juju.jujud unit.go:78 unit agent unit-ci-airline-ts-django-0 start (1.20.14.1-precise-amd64 [gc])
2015-01-09 00:21:39 INFO juju.worker runner.go:260 start "api"
2015-01-09 00:21:39 INFO juju.state.api apiclient.go:242 dialing "wss://10.0.3.1:17070/"
2015-01-09 00:21:39 INFO juju.state.api apiclient.go:176 connection established to "wss://10.0.3.1:17070/"
2015-01-09 00:21:39 INFO juju.state.api apiclient.go:242 dialing "wss://10.0.3.1:17070/"
2015-01-09 00:21:39 INFO juju.state.api apiclient.go:176 connection established to "wss://10.0.3.1:17070/"
2015-01-09 00:21:46 INFO juju.state.api apiclient.go:242 dialing "wss://10.0.3.1:17070/"
2015-01-09 00:21:46 INFO juju.state.api apiclient.go:176 connection established to "wss://10.0.3.1:17070/"
2015-01-09 00:21:46 INFO juju.worker runner.go:260 start "upgrader"
2015-01-09 00:21:46 INFO juju.worker runner.go:260 start "logger"
2015-01-09 00:21:46 DEBUG juju.worker.logger logger.go:35 initial log config: "<root>=DEBUG"
2015-01-09 00:21:46 INFO juju.worker runner.go:260 start "uniter"
2015-01-09 00:21:46 DEBUG juju.worker.logger logger.go:60 logger setup
2015-01-09 00:21:46 INFO juju.worker runner.go:260 start "apiaddressupdater"
2015-01-09 00:21:46 INFO juju.worker runner.go:260 start "rsyslog"
2015-01-09 00:21:46 DEBUG juju.worker.rsyslog worker.go:75 starting rsyslog worker mode 1 for "unit-ci-airline-ts-django-0" "tarmac-local"
2015-01-09 00:21:46 DEBUG juju.worker.logger logger.go:45 reconfiguring logging from "<root>=DEBUG" to "<root>=WARNING;unit=DEBUG"
2015-01-09 00:22:18 INFO juju-log Making dir /srv/ci-airline-ts-django/code/ root:root 555
2015-01-09 00:22:19 INFO juju-log Adding dependencies.
2015-01-09 00:22:19 INFO juju-log installing apt packages...
2015-01-09 00:22:30 INFO config-changed gpg: keyring `/tmp/tmpf7smlF/secring.gpg' created
2015-01-09 00:22:30 INFO config-changed gpg: keyring `/tmp/tmpf7smlF/pubring.gpg' created
2015-01-09 00:22:30 INFO config-changed gpg: requesting key 6A8DFC40 from hkp server keyserver.ubuntu.com
2015-01-09 00:22:30 INFO config-changed gpg: /tmp/tmpf7smlF/trustdb.gpg: trustdb created
2015-01-09 00:22:30 INFO config-changed gpg: key 6A8DFC40: public key "Launchpad PPA for Canonical CI Engineering" imported
2015-01-09 00:22:30 INFO config-changed gpg: Total number processed: 1
2015-01-09 00:22:30 INFO config-changed gpg: imported: 1 (RSA: 1)
2015-01-09 00:22:31 INFO config-changed OK
2015-01-09 00:22:33 INFO config-changed Hit http://archive.ubuntu.com precise Release.gpg
2015-01-09 00:22:33 INFO config-changed Get:1 http://ppa.launchpad.net precise Release.gpg [316 B]
2015-01-09 00:22:33 INFO config-changed Get:2 http://ubuntu-cloud.archive.canonical.com precise-updates/cloud-tools Release.gpg [543 B]
2015-01-09 00:22:33 INFO config-changed Get:3 http://archive.ubuntu.com precise-...

Revision history for this message
Ubuntu CI Bot (uci-bot) wrote :
Download full text (59.7 KiB)

The attempt to merge lp:~cprov/uci-engine/tr-nova-failures into lp:uci-engine failed. Below is the output from the failed tests.

2015-01-09 01:04:22 INFO juju.cmd supercommand.go:37 running jujud [1.20.14.1-precise-amd64 gc]
2015-01-09 01:04:22 DEBUG juju.agent agent.go:377 read agent config, format "1.18"
2015-01-09 01:04:22 INFO juju.jujud unit.go:78 unit agent unit-ci-airline-ts-django-0 start (1.20.14.1-precise-amd64 [gc])
2015-01-09 01:04:22 INFO juju.worker runner.go:260 start "api"
2015-01-09 01:04:22 INFO juju.state.api apiclient.go:242 dialing "wss://10.0.3.1:17070/"
2015-01-09 01:04:22 INFO juju.state.api apiclient.go:176 connection established to "wss://10.0.3.1:17070/"
2015-01-09 01:04:22 INFO juju.state.api apiclient.go:242 dialing "wss://10.0.3.1:17070/"
2015-01-09 01:04:22 INFO juju.state.api apiclient.go:176 connection established to "wss://10.0.3.1:17070/"
2015-01-09 01:04:23 INFO juju.state.api apiclient.go:242 dialing "wss://10.0.3.1:17070/"
2015-01-09 01:04:23 INFO juju.state.api apiclient.go:176 connection established to "wss://10.0.3.1:17070/"
2015-01-09 01:04:23 INFO juju.worker runner.go:260 start "upgrader"
2015-01-09 01:04:23 INFO juju.worker runner.go:260 start "logger"
2015-01-09 01:04:23 DEBUG juju.worker.logger logger.go:35 initial log config: "<root>=DEBUG"
2015-01-09 01:04:23 INFO juju.worker runner.go:260 start "uniter"
2015-01-09 01:04:23 DEBUG juju.worker.logger logger.go:60 logger setup
2015-01-09 01:04:23 INFO juju.worker runner.go:260 start "apiaddressupdater"
2015-01-09 01:04:23 INFO juju.worker runner.go:260 start "rsyslog"
2015-01-09 01:04:23 DEBUG juju.worker.rsyslog worker.go:75 starting rsyslog worker mode 1 for "unit-ci-airline-ts-django-0" "tarmac-local"
2015-01-09 01:04:23 DEBUG juju.worker.logger logger.go:45 reconfiguring logging from "<root>=DEBUG" to "<root>=WARNING;unit=DEBUG"
2015-01-09 01:04:42 INFO juju-log Making dir /srv/ci-airline-ts-django/code/ root:root 555
2015-01-09 01:04:45 INFO juju-log Adding dependencies.
2015-01-09 01:04:45 INFO juju-log installing apt packages...
2015-01-09 01:04:48 INFO config-changed gpg: keyring `/tmp/tmp5SORt5/secring.gpg' created
2015-01-09 01:04:48 INFO config-changed gpg: keyring `/tmp/tmp5SORt5/pubring.gpg' created
2015-01-09 01:04:48 INFO config-changed gpg: requesting key 6A8DFC40 from hkp server keyserver.ubuntu.com
2015-01-09 01:04:48 INFO config-changed gpg: /tmp/tmp5SORt5/trustdb.gpg: trustdb created
2015-01-09 01:04:48 INFO config-changed gpg: key 6A8DFC40: public key "Launchpad PPA for Canonical CI Engineering" imported
2015-01-09 01:04:48 INFO config-changed gpg: Total number processed: 1
2015-01-09 01:04:48 INFO config-changed gpg: imported: 1 (RSA: 1)
2015-01-09 01:04:50 INFO config-changed OK
2015-01-09 01:04:57 INFO config-changed Get:1 http://ppa.launchpad.net precise Release.gpg [316 B]
2015-01-09 01:04:57 INFO config-changed Hit http://archive.ubuntu.com precise Release.gpg
2015-01-09 01:04:57 INFO config-changed Get:2 http://ppa.launchpad.net precise Release [12.9 kB]
2015-01-09 01:04:57 INFO config-changed Get:3 http://archive.ubuntu.com precise-updates Release.gpg [198 B]
2015-01-09...

Revision history for this message
Ubuntu CI Bot (uci-bot) wrote :
Download full text (114.0 KiB)

The attempt to merge lp:~cprov/uci-engine/tr-nova-failures into lp:uci-engine failed. Below is the output from the failed tests.

Checking juju status
Private PPAs: disabled
Preparing local branch upload...
Uploading local branch, fingerprint 12dab6d744110a9c0cef3912b20e6937c75059ad
Installing keys from bzr+ssh://bazaar.launchpad.net/~ci-engineering-private/+junk/ci-airline-dev-keys/
Running juju-deployer -v -c /tmp/tmpCoeq2G/deployer/relations.yaml -c /tmp/tmpCoeq2G/deployer/services.yaml ci-airline
Tests running...
ci-utils.ci_utils.tests.test_amqp.TestAMQP.testConnectFailed ... OK (0.002 secs)
ci-utils.ci_utils.tests.test_amqp.TestAMQP.testProcessQueue ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp.TestAMQP.testRunForever ... OK (0.102 secs)
ci-utils.ci_utils.tests.test_amqp.TestAMQP.testSent ... OK (0.002 secs)
ci-utils.ci_utils.tests.test_amqp.TestProgressTrigger.testProgress ... OK (0.001 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testCancel ... OK (0.107 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testNoQueue ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testNoTicket ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageCalledProcessError ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageFail ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageKilled ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageSimple ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageUnexpected ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testSaveLastRun ... OK (0.001 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestTimer.testCBRuns ... OK (0.021 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestTimer.testCanCancel ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreConfig.test_invalid_auth_config ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreConfig.test_valid_auth_config ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreFileName.test_abspath ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreFileName.test_basename ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreFileName.test_relpath ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_deployer.TestDeployer.test_load_empty_single_config ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_deployer.TestDeployer.test_load_multiple_config ... OK (0.007 secs)
ci-utils.ci_utils.tests.test_deployer.TestDeployer.test_load_single_config ... OK (0.004 secs)
ci-utils.ci_utils.tests.test_features.TestJujuControlBucket.test_no_control_bucket ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_features.TestJujuGetEnvsFromYaml.test_broken_environments_file ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_features.TestJujuGetEnvsFromYaml.test_inconsistent_environments_file ... OK (0.005 secs)
ci-utils.ci_utils.tests.test_features.TestJujuNova.test_get_nova_id_malformed ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_features.TestJu...

Revision history for this message
Vincent Ladeuil (vila) wrote :

Silently disabling tests is making us blind: the failures do happen and we need to know about them.

Revision history for this message
Ubuntu CI Bot (uci-bot) wrote :
Download full text (114.0 KiB)

The attempt to merge lp:~cprov/uci-engine/tr-nova-failures into lp:uci-engine failed. Below is the output from the failed tests.

Checking juju status
Private PPAs: disabled
Preparing local branch upload...
Uploading local branch, fingerprint bff593fda1bf4c004d5bdfe12946c6c8b5761961
Installing keys from bzr+ssh://bazaar.launchpad.net/~ci-engineering-private/+junk/ci-airline-dev-keys/
Running juju-deployer -v -c /tmp/tmpt14Ge4/deployer/relations.yaml -c /tmp/tmpt14Ge4/deployer/services.yaml ci-airline
Tests running...
ci-utils.ci_utils.tests.test_amqp.TestAMQP.testConnectFailed ... OK (0.002 secs)
ci-utils.ci_utils.tests.test_amqp.TestAMQP.testProcessQueue ... OK (0.002 secs)
ci-utils.ci_utils.tests.test_amqp.TestAMQP.testRunForever ... OK (0.103 secs)
ci-utils.ci_utils.tests.test_amqp.TestAMQP.testSent ... OK (0.002 secs)
ci-utils.ci_utils.tests.test_amqp.TestProgressTrigger.testProgress ... OK (0.001 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testCancel ... OK (0.106 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testNoQueue ... OK (0.002 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testNoTicket ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageCalledProcessError ... OK (0.005 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageFail ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageKilled ... OK (0.004 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageSimple ... OK (0.004 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageUnexpected ... OK (0.005 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testSaveLastRun ... OK (0.001 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestTimer.testCBRuns ... OK (0.021 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestTimer.testCanCancel ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreConfig.test_invalid_auth_config ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreConfig.test_valid_auth_config ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreFileName.test_abspath ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreFileName.test_basename ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreFileName.test_relpath ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_deployer.TestDeployer.test_load_empty_single_config ... OK (0.005 secs)
ci-utils.ci_utils.tests.test_deployer.TestDeployer.test_load_multiple_config ... OK (0.009 secs)
ci-utils.ci_utils.tests.test_deployer.TestDeployer.test_load_single_config ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_features.TestJujuControlBucket.test_no_control_bucket ... OK (0.002 secs)
ci-utils.ci_utils.tests.test_features.TestJujuGetEnvsFromYaml.test_broken_environments_file ... OK (0.001 secs)
ci-utils.ci_utils.tests.test_features.TestJujuGetEnvsFromYaml.test_inconsistent_environments_file ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_features.TestJujuNova.test_get_nova_id_malformed ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_features.TestJu...

Revision history for this message
Celso Providelo (cprov) wrote :

Vicent,

Skipping a test is not necessarily blindly ignoring the problem, it's a documented way to move forward and not block everyone else.

That said, we still have few hours to get this properly fixed ... let's work.

Revision history for this message
Ubuntu CI Bot (uci-bot) wrote :
Download full text (117.8 KiB)

The attempt to merge lp:~cprov/uci-engine/tr-nova-failures into lp:uci-engine failed. Below is the output from the failed tests.

Checking juju status
Private PPAs: disabled
Preparing local branch upload...
Uploading local branch, fingerprint c8d524020e06218e339b97adc4f2a1bdef08964d
Installing keys from bzr+ssh://bazaar.launchpad.net/~ci-engineering-private/+junk/ci-airline-dev-keys/
Running juju-deployer -v -c /tmp/tmpm1wNZl/deployer/relations.yaml -c /tmp/tmpm1wNZl/deployer/services.yaml ci-airline
Tests running...
ci-utils.ci_utils.tests.test_amqp.TestAMQP.testConnectFailed ... OK (0.002 secs)
ci-utils.ci_utils.tests.test_amqp.TestAMQP.testProcessQueue ... OK (0.002 secs)
ci-utils.ci_utils.tests.test_amqp.TestAMQP.testRunForever ... OK (0.102 secs)
ci-utils.ci_utils.tests.test_amqp.TestAMQP.testSent ... OK (0.002 secs)
ci-utils.ci_utils.tests.test_amqp.TestProgressTrigger.testProgress ... OK (0.001 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testCancel ... OK (0.105 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testNoQueue ... OK (0.002 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testNoTicket ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageCalledProcessError ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageFail ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageKilled ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageSimple ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testOnMessageUnexpected ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestAMQPWorker.testSaveLastRun ... OK (0.004 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestTimer.testCBRuns ... OK (0.020 secs)
ci-utils.ci_utils.tests.test_amqp_worker.TestTimer.testCanCancel ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreConfig.test_invalid_auth_config ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreConfig.test_valid_auth_config ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreFileName.test_abspath ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreFileName.test_basename ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_data_store.TestDataStoreFileName.test_relpath ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_deployer.TestDeployer.test_load_empty_single_config ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_deployer.TestDeployer.test_load_multiple_config ... OK (0.007 secs)
ci-utils.ci_utils.tests.test_deployer.TestDeployer.test_load_single_config ... OK (0.004 secs)
ci-utils.ci_utils.tests.test_features.TestJujuControlBucket.test_no_control_bucket ... OK (0.002 secs)
ci-utils.ci_utils.tests.test_features.TestJujuGetEnvsFromYaml.test_broken_environments_file ... OK (0.002 secs)
ci-utils.ci_utils.tests.test_features.TestJujuGetEnvsFromYaml.test_inconsistent_environments_file ... OK (0.003 secs)
ci-utils.ci_utils.tests.test_features.TestJujuNova.test_get_nova_id_malformed ... OK (0.000 secs)
ci-utils.ci_utils.tests.test_features.TestJu...

Revision history for this message
Ursula Junque (ursinha) wrote :

Test failures are valid, not just tarmac hiccups (as I supposed). Celso has a branch to fix that that needs to be merged into this one once it hits trunk (MP: https://code.launchpad.net/~cprov/uci-engine/webui-native-tickets/+merge/245953)

review: Needs Fixing
Revision history for this message
Ursula Junque (ursinha) wrote :

I managed to comment in the wrong MP, need more coffee.

review: Approve
925. By Celso Providelo

revert webui tests to the default sst timeout (10s), issue has been fixed in another MP.

926. By Celso Providelo

Add appropriate tarmac-bootstack nova flavour.

927. By Celso Providelo

Moving tarmac-bootstack flavor up in the config list, so it gets higher precedence than 'small' ones.

928. By Celso Providelo

merge trunk

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ci-utils/ci_utils/testing/features.py'
2--- ci-utils/ci_utils/testing/features.py 2014-11-26 08:09:56 +0000
3+++ ci-utils/ci_utils/testing/features.py 2015-01-09 15:16:15 +0000
4@@ -36,10 +36,6 @@
5 class Swift(features.Feature):
6
7 def _probe(self):
8- # FIXME: swift needs to handle more transient failures, tests are
9- # currently failing when swift becomes too slow. Disable all tests that
10- # require a "perfect" swift -- vila 2014-11-26
11- return False
12 conn = self.get_connection()
13 if conn is None:
14 return False
15@@ -71,10 +67,6 @@
16 class NovaCompute(features.Feature):
17
18 def _probe(self):
19- # FIXME: nova needs to handle more transient failures, tests are
20- # currently failing for various known reasons. Disable all tests that
21- # require a "perfect" nova. -- vila 2014-11-26
22- return False
23 client = self.get_client()
24 if client is None:
25 return False
26@@ -130,6 +122,9 @@
27 nova_creds = NovaCredentials()
28
29
30+autopkgtest = features.ExecutableFeature('adt-run')
31+
32+
33 class BootstrappedJuju(features.Feature):
34
35 def __init__(self):
36
37=== modified file 'juju-deployer/configs/unit_config.yaml.tmpl'
38--- juju-deployer/configs/unit_config.yaml.tmpl 2014-11-05 05:20:40 +0000
39+++ juju-deployer/configs/unit_config.yaml.tmpl 2015-01-09 15:16:15 +0000
40@@ -48,6 +48,7 @@
41 master_ppa: $CI_MASTER_PPA
42 tr_flavors:
43 - m1.smaller
44+ - m1.smaller.production
45 - m1.small
46 - standard.small
47
48
49=== modified file 'test_runner/tstrun/tests/test_run_test.py'
50--- test_runner/tstrun/tests/test_run_test.py 2014-10-17 03:00:39 +0000
51+++ test_runner/tstrun/tests/test_run_test.py 2015-01-09 15:16:15 +0000
52@@ -78,7 +78,7 @@
53 res.stopTestRun()
54 return res
55
56- def test_passs(self):
57+ def test_pass(self):
58 res = self.fake_result_for_dep8_test('PASS', 'xx')
59 self.assertTrue(res.wasSuccessful())
60 self.assertEqual(0, len(res.errors))
61
62=== modified file 'test_runner/tstrun/tests/test_worker.py'
63--- test_runner/tstrun/tests/test_worker.py 2015-01-07 14:15:55 +0000
64+++ test_runner/tstrun/tests/test_worker.py 2015-01-09 15:16:15 +0000
65@@ -44,6 +44,7 @@
66 load_tests = scenarii.load_tests_with_scenarios
67
68
69+@features.requires(features.autopkgtest)
70 @features.requires(features.nova_creds)
71 @features.requires(features.nova_compute)
72 class TestWorkerHandleRequest(unittest.TestCase):
73@@ -133,6 +134,7 @@
74 self.assertEqual(amqp_utils.progress_completed, retcode)
75
76
77+@features.requires(features.autopkgtest)
78 @features.requires(features.nova_creds)
79 @features.requires(features.nova_compute)
80 class TestWorkerHandleRequestFor(unittest.TestCase):
81
82=== modified file 'testing/run_tests.py'
83--- testing/run_tests.py 2015-01-06 03:29:49 +0000
84+++ testing/run_tests.py 2015-01-09 15:16:15 +0000
85@@ -390,7 +390,7 @@
86 super(RunTestsArgParser, self).__init__('run-tests')
87 self.add_argument(
88 '--no-skip', action='store_true',
89- dest='no_skip',
90+ dest='no_skip', default=False,
91 help='Errors if at lest one test is skipped.')
92
93

Subscribers

People subscribed via source and target branches