gate-ceilometer-python27 failures

Bug #1580999 reported by Alexey Stupnikov on 2016-05-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Critical
MOS Packaging Team

Bug Description

We have a problem with ceilometer's CI checks in MOS 7.0. gate-ceilometer-python27 test is failing on empty commit with the following traceback:

12:08:24 ERROR: InvocationError: '/bin/bash -x /home/jenkins/workspace/gate-ceilometer-python27/setup-test-env-mongodb.sh python setup.py testr --slowest --testr-args='
12:08:24 ___________________________________ summary ____________________________________
12:08:24 ERROR: py27: commands failed
12:08:24 + result=1
12:08:24 + '[' -e .tox/py27/bin/pbr ']'
12:08:24 + freezecmd=pbr
12:08:24 + echo 'Begin pbr freeze output from test virtualenv:'
12:08:24 Begin pbr freeze output from test virtualenv:

12:08:25 + echo ======================================================================
12:08:25 ======================================================================
12:08:25 + '[' -d .testrepository ']'
12:08:25 + '[' -f .testrepository/0.2 ']'
12:08:25 + '[' -f .testrepository/0 ']'
12:08:25 + .tox/py27/bin/python /usr/local/jenkins/slave_scripts/subunit2html.py ./subunit_log.txt testr_results.html
12:08:25 Traceback (most recent call last):
12:08:25 File "/usr/local/jenkins/slave_scripts/subunit2html.py", line 727, in <module>
12:08:25 main()
12:08:25 File "/usr/local/jenkins/slave_scripts/subunit2html.py", line 702, in main
12:08:25 stream = open(subunit_file, 'rb')
12:08:25 IOError: [Errno 2] No such file or directory: './subunit_log.txt'
12:08:25 ++ du -k ./subunit_log.txt
12:08:25 ++ awk '{print $1}'
12:08:25 du: cannot access ‘./subunit_log.txt’: No such file or directory
12:08:25 + SUBUNIT_SIZE=
12:08:25 + gzip -9 ./subunit_log.txt
12:08:25 gzip: ./subunit_log.txt: No such file or directory
12:08:25 + gzip -9 ./testr_results.html
12:08:25 gzip: ./testr_results.html: No such file or directory
12:08:25 + export PYTHON=.tox/py27/bin/python
12:08:25 + PYTHON=.tox/py27/bin/python
12:08:25 + [[ '' -gt 60000 ]]
12:08:25 ++ .tox/py27/bin/testr last
12:08:25 ++ sed -ne 's/Ran \([0-9]\+\).*tests in.*/\1/p'
12:08:25 'No tests in repository'
12:08:25 + rancount=
12:08:25 + '[' -z '' ']'
12:08:25 + echo
12:08:25
12:08:25 + echo 'Zero tests were run. At least one test should have been run.'
12:08:25 Zero tests were run. At least one test should have been run.
12:08:25 + echo 'Failing this test as a result'
12:08:25 Failing this test as a result
12:08:25 + echo
12:08:25
12:08:25 + exit 1
12:08:25 + rm -rf /tmp/tmp.bzqqve67xL
12:08:25 Build step 'Execute shell' marked build as failure

Example review: https://review.fuel-infra.org/#/c/20582/
Example test: http://logs.mosi.mirantis.net/82/20582/1/check/gate-ceilometer-python27/c5b62dd/

Artur Kaszuba (akaszuba) wrote :

Job failing by python tests, it could be problem with mos-requirements for 7.0, please check it.

12:08:24 ${PYTHON:-python} -m subunit.run discover ${OS_TEST_PATH:-./ceilometer/tests} -t . --list
12:08:24 --- import errors ---
12:08:24 ceilometer.tests.gabbi.test_gabbiNon-zero exit code (2) from test listing.
12:08:24 error: testr failed (3)
12:08:24 + clean_exit /tmp/CEILO-MONGODB-7ZVyd
12:08:24 + local error_code=1
12:08:24 + test -n ''
12:08:24 + rm -rf /tmp/CEILO-MONGODB-7ZVyd
12:08:24 ++ jobs -p
12:08:24 + kill 7706 7742 7743
12:08:24 + return 1
12:08:24 ERROR: InvocationError: '/bin/bash -x /home/jenkins/workspace/gate-ceilometer-python27/setup-test-env-mongodb.sh python setup.py testr --slowest --testr-args='

Changed in mos:
assignee: Fuel CI (fuel-ci) → MOS Packaging Team (mos-packaging)
Changed in mos:
status: New → Confirmed
Alexey Stupnikov (astupnikov) wrote :
Changed in mos:
status: Confirmed → In Progress

Reviewed: https://review.fuel-infra.org/20638
Submitter: Igor Yozhikov <email address hidden>
Branch: master

Commit: 6d7d6f86dff6bcc175e54de2a0517c1f7ce8600b
Author: Alexey Stupnikov <email address hidden>
Date: Fri May 13 10:35:03 2016

[7.0] gabbi version to 0.101.2 to fix python27 failures

Bind gabbi version to fix python27 tests and comply with kilo's
upper-constraints

Closes-bug: #1580999
Change-Id: Ibb8d0ab5fc4963dc865f80635babbaca704504a1

Changed in mos:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers