CI failure with tox

Francesco Romani fromani at redhat.com
Tue Aug 29 08:28:15 UTC 2017


Hi Infra,


while running CI on some patches (example:
https://gerrit.ovirt.org/#/c/80967/) I see this failure[1]

It seems to me something on the CI worker is broken, could anyone check?

let me stress that the tests pass on my fedora laptop and that the
failure seems unrelated to my patch(es).


Thanks,



[1]:

excerpt from
http://jenkins.ovirt.org/job/vdsm_master_check-patch-el7-x86_64/17025/consoleFull
:

08:04:26 =========================== short test summary info
============================
08:04:26 SKIP [1] tests/testValidation.py:240: Comma in PV name is not
supported yet
08:04:26 SKIP [1] tests/storage/fileutil_test.py:51: requires
unprivileged user
08:04:26 SKIP [2] tests/testlib.py:139: Looks like it is impossible to
create a domain object in the tests
08:04:26 SKIP [2] tests/testValidation.py:289: Broken until parent
volume support is added
08:04:26
08:04:26 ============================= 93 tests deselected
==============================
08:04:26 ============ 1168 passed, 6 skipped, 93 deselected in 96.78
seconds ============
08:04:26 storage-py35 create:
/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/.tox/storage-py35
08:04:26 Traceback (most recent call last):
08:04:26   File "/usr/bin/tox", line 11, in <module>
08:04:26     sys.exit(cmdline())
08:04:26   File "/usr/lib/python2.7/site-packages/tox/session.py", line
39, in main
08:04:26     retcode = Session(config).runcommand()
08:04:26   File "/usr/lib/python2.7/site-packages/tox/session.py", line
390, in runcommand
08:04:26     return self.subcommand_test()
08:04:26   File "/usr/lib/python2.7/site-packages/tox/session.py", line
541, in subcommand_test
08:04:26     if self.setupenv(venv):
08:04:26   File "/usr/lib/python2.7/site-packages/tox/session.py", line
449, in setupenv
08:04:26     status = venv.update(action=action)
08:04:26   File "/usr/lib/python2.7/site-packages/tox/venv.py", line
161, in update
08:04:26     self.hook.tox_testenv_create(action=action, venv=self)
08:04:26   File "/usr/lib/python2.7/site-packages/pluggy/__init__.py",
line 680, in __call__
08:04:26     return self._hookexec(self, self._nonwrappers +
self._wrappers, kwargs)
08:04:26   File "/usr/lib/python2.7/site-packages/pluggy/__init__.py",
line 240, in _hookexec
08:04:26     return self._inner_hookexec(hook, methods, kwargs)
08:04:26   File "/usr/lib/python2.7/site-packages/pluggy/__init__.py",
line 234, in <lambda>
08:04:26     methods, kwargs, specopts=hook.spec_opts, hook=hook
08:04:26   File "/usr/lib/python2.7/site-packages/pluggy/callers.py",
line 112, in execute
08:04:26     return outcome.get_result()
08:04:26   File "/usr/lib/python2.7/site-packages/pluggy/callers.py",
line 53, in get_result
08:04:26     _reraise(*ex)  # noqa
08:04:26   File "/usr/lib/python2.7/site-packages/pluggy/callers.py",
line 91, in execute
08:04:26     res = hook_impl.function(*args)
08:04:26   File "/usr/lib/python2.7/site-packages/tox/venv.py", line
398, in tox_testenv_create
08:04:26     config_interpreter = venv.getsupportedinterpreter()
08:04:26   File "/usr/lib/python2.7/site-packages/tox/venv.py", line
199, in getsupportedinterpreter
08:04:26     return self.envconfig.getsupportedinterpreter()
08:04:26   File "/usr/lib/python2.7/site-packages/tox/config.py", line
623, in getsupportedinterpreter
08:04:26     info = self.config.interpreters.get_info(envconfig=self)
08:04:26   File "/usr/lib/python2.7/site-packages/tox/interpreters.py",
line 28, in get_info
08:04:26     executable = self.get_executable(envconfig)
08:04:26   File "/usr/lib/python2.7/site-packages/tox/interpreters.py",
line 23, in get_executable
08:04:26     exe = self.hook.tox_get_python_executable(envconfig=envconfig)
08:04:26   File "/usr/lib/python2.7/site-packages/pluggy/__init__.py",
line 680, in __call__
08:04:26     return self._hookexec(self, self._nonwrappers +
self._wrappers, kwargs)
08:04:26   File "/usr/lib/python2.7/site-packages/pluggy/__init__.py",
line 240, in _hookexec
08:04:26     return self._inner_hookexec(hook, methods, kwargs)
08:04:26   File "/usr/lib/python2.7/site-packages/pluggy/__init__.py",
line 234, in <lambda>
08:04:26     methods, kwargs, specopts=hook.spec_opts, hook=hook
08:04:26   File "/usr/lib/python2.7/site-packages/pluggy/callers.py",
line 110, in execute
08:04:26     return outcome.get_result()[0]
08:04:26 IndexError: list index out of range
08:04:26 make: *** [tests] Error 1
08:04:26 make: *** Waiting for unfinished jobs....
08:04:54 ___________________________________ summary
____________________________________
08:04:54   pylint: commands succeeded
08:04:54   congratulations :)
08:04:54 Took 340 seconds
08:04:54 ===================================
08:04:54 logout
08:04:54 Finish: shell
08:04:55 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
08:04:55 @@ Tue Aug 29 08:04:55 UTC 2017 automation/check-patch.sh
chroot finished
08:04:55 @@      took 370 seconds
08:04:55 @@      rc = 2
08:04:55 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
08:04:55 ========== Scrubbing chroot
08:04:55     mock \
08:04:55         --old-chroot \
08:04:55        
--configdir="/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm"
\
08:04:55         --root="mocker-epel-7-x86_64.el7" \
08:04:55        
--resultdir="./mock_logs.OBbGAu1v/mocker-epel-7-x86_64.el7.scrub" \
08:04:55         --scrub=chroot
08:04:55 WARNING: Could not find required logging config file:
/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/logging.ini.
Using default...
08:04:55 INFO: mock.py version 1.4.2 starting (python version = 3.5.3)...
08:04:56 Start: init plugins
08:04:56 INFO: selinux enabled
08:04:56 Finish: init plugins
08:04:56 Start: run
08:04:56 Start: scrub ['chroot']
08:04:56 INFO: scrubbing chroot for mocker-epel-7-x86_64.el7
08:05:11 Finish: scrub ['chroot']
08:05:11 Finish: run
08:05:11 Scrub chroot took 16 seconds
08:05:11 ============================
08:05:11 ##########################################################
08:05:11 ## Tue Aug 29 08:05:11 UTC 2017 Finished env: el7:epel-7-x86_64
08:05:11 ##      took 386 seconds
08:05:11 ##      rc = 2
08:05:11 ##########################################################
08:05:11 ##! ERROR vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
08:05:11 ##! Last 20 log entries:
./mock_logs.OBbGAu1v/mocker-epel-7-x86_64.el7.check-patch.sh/check-patch.sh.log
08:05:11 ##!
08:05:11   File "/usr/lib/python2.7/site-packages/tox/interpreters.py",
line 28, in get_info
08:05:11     executable = self.get_executable(envconfig)
08:05:11   File "/usr/lib/python2.7/site-packages/tox/interpreters.py",
line 23, in get_executable
08:05:11     exe = self.hook.tox_get_python_executable(envconfig=envconfig)
08:05:11   File "/usr/lib/python2.7/site-packages/pluggy/__init__.py",
line 680, in __call__
08:05:11     return self._hookexec(self, self._nonwrappers +
self._wrappers, kwargs)
08:05:11   File "/usr/lib/python2.7/site-packages/pluggy/__init__.py",
line 240, in _hookexec
08:05:11     return self._inner_hookexec(hook, methods, kwargs)
08:05:11   File "/usr/lib/python2.7/site-packages/pluggy/__init__.py",
line 234, in <lambda>
08:05:11     methods, kwargs, specopts=hook.spec_opts, hook=hook
08:05:11   File "/usr/lib/python2.7/site-packages/pluggy/callers.py",
line 110, in execute
08:05:11     return outcome.get_result()[0]
08:05:11 IndexError: list index out of range
08:05:11 make: *** [tests] Error 1
08:05:11 make: *** Waiting for unfinished jobs....
08:05:11 ___________________________________ summary
____________________________________
08:05:11   pylint: commands succeeded
08:05:11   congratulations :)
08:05:11 Took 340 seconds
08:05:11 ===================================
08:05:11 ##!
08:05:11 ##! ERROR ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
08:05:11 ##!########################################################



-- 
Francesco Romani
Senior SW Eng., Virtualization R&D
Red Hat
IRC: fromani github: @fromanirh



More information about the Infra mailing list