<div dir="auto">Rebase on top of master. It was your hint to avoid buffering when opening /sys/class/net/bond/option that I used to fix this py3-only behavior.</div><div class="gmail_extra"><br><div class="gmail_quote">On Jan 13, 2017 17:51, "Nir Soffer" <<a href="mailto:nsoffer@redhat.com">nsoffer@redhat.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I have seen this failure several times in the last week, typically the error<br>
is gone after rebuilding.<br>
<br>
It is not clear what is the test - the test name does not apear in the error,<br>
this happens when adding a (useless) docstring to a test method.<br>
<br>
Looking at the traceback, this seems to be a networking test.<br>
<br>
Full log:<br>
<a href="http://jenkins.ovirt.org/job/vdsm_master_check-patch-fc25-x86_64/218/consoleFull" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>vdsm_master_check-patch-fc25-<wbr>x86_64/218/consoleFull</a><br>
<br>
14:55:03 ==============================<wbr>==============================<wbr>==========<br>
14:55:03 ERROR: Failure: OSError ([Errno 22] Invalid argument)<br>
14:55:03 ------------------------------<wbr>------------------------------<wbr>----------<br>
14:55:03 Traceback (most recent call last):<br>
14:55:03 File<br>
"/home/jenkins/workspace/vdsm_<wbr>master_check-patch-fc25-x86_<wbr>64/vdsm/lib/vdsm/utils.py",<br>
line 477, in __call__<br>
14:55:03 return self.cache[args]<br>
14:55:03 KeyError: ()<br>
14:55:03<br>
14:55:03 During handling of the above exception, another exception occurred:<br>
14:55:03<br>
14:55:03 OSError: [Errno 22] Invalid argument<br>
14:55:03<br>
14:55:03 During handling of the above exception, another exception occurred:<br>
14:55:03<br>
14:55:03 Traceback (most recent call last):<br>
14:55:03 File "/usr/lib/python3.5/site-<wbr>packages/nose/failure.py",<br>
line 39, in runTest<br>
14:55:03 raise self.exc_val.with_traceback(<wbr>self.tb)<br>
14:55:03 File "/usr/lib/python3.5/site-<wbr>packages/nose/loader.py",<br>
line 418, in loadTestsFromName<br>
14:55:03 addr.filename, addr.module)<br>
14:55:03 File "/usr/lib/python3.5/site-<wbr>packages/nose/importer.py",<br>
line 47, in importFromPath<br>
14:55:03 return self.importFromDir(dir_path, fqname)<br>
14:55:03 File "/usr/lib/python3.5/site-<wbr>packages/nose/importer.py",<br>
line 94, in importFromDir<br>
14:55:03 mod = load_module(part_fqname, fh, filename, desc)<br>
14:55:03 File "/usr/lib64/python3.5/imp.py", line 234, in load_module<br>
14:55:03 return load_source(name, filename, file)<br>
14:55:03 File "/usr/lib64/python3.5/imp.py", line 172, in load_source<br>
14:55:03 module = _load(spec)<br>
14:55:03 File "<frozen importlib._bootstrap>", line 693, in _load<br>
14:55:03 File "<frozen importlib._bootstrap>", line 673, in _load_unlocked<br>
14:55:03 File "<frozen importlib._bootstrap_external><wbr>", line 665, in<br>
exec_module<br>
14:55:03 File "<frozen importlib._bootstrap>", line 222, in<br>
_call_with_frames_removed<br>
14:55:03 File<br>
"/home/jenkins/workspace/vdsm_<wbr>master_check-patch-fc25-x86_<wbr>64/vdsm/tests/network/models_<wbr>test.py",<br>
line 41, in <module><br>
14:55:03 bonding_default_fpath())<br>
14:55:03 File<br>
"/home/jenkins/workspace/vdsm_<wbr>master_check-patch-fc25-x86_<wbr>64/vdsm/lib/vdsm/utils.py",<br>
line 479, in __call__<br>
14:55:03 value = self.func(*args)<br>
14:55:03 File<br>
"/home/jenkins/workspace/vdsm_<wbr>master_check-patch-fc25-x86_<wbr>64/vdsm/tests/network/<wbr>nettestlib.py",<br>
line 509, in bonding_default_fpath<br>
14:55:03 dump_bonding_opts()<br>
14:55:03 File<br>
"/home/jenkins/workspace/vdsm_<wbr>master_check-patch-fc25-x86_<wbr>64/vdsm/lib/vdsm/tool/dump_<wbr>bonding_opts.py",<br>
line 55, in main<br>
14:55:03 jdump(_get_bonding_options_<wbr>name2numeric(), f)<br>
14:55:03 File<br>
"/home/jenkins/workspace/vdsm_<wbr>master_check-patch-fc25-x86_<wbr>64/vdsm/lib/vdsm/tool/dump_<wbr>bonding_opts.py",<br>
line 94, in _get_bonding_options_<wbr>name2numeric<br>
14:55:03 opts[mode] = bond_opts_name2numeric_<wbr>filtered(bond_name)<br>
14:55:03 File<br>
"/home/jenkins/workspace/vdsm_<wbr>master_check-patch-fc25-x86_<wbr>64/vdsm/lib/vdsm/network/<wbr>netinfo/bonding.py",<br>
line 154, in bond_opts_name2numeric_<wbr>filtered<br>
14:55:03 in _bond_opts_name2numeric(bond).<wbr>iteritems()<br>
14:55:03 File<br>
"/home/jenkins/workspace/vdsm_<wbr>master_check-patch-fc25-x86_<wbr>64/vdsm/lib/vdsm/network/<wbr>netinfo/bonding.py",<br>
line 189, in _bond_opts_name2numeric<br>
14:55:03 _bond_opts_name2numeric_scan(<wbr>path)<br>
14:55:03 File<br>
"/home/jenkins/workspace/vdsm_<wbr>master_check-patch-fc25-x86_<wbr>64/vdsm/lib/vdsm/network/<wbr>netinfo/bonding.py",<br>
line 202, in _bond_opts_name2numeric_scan<br>
14:55:03 vals[name] = numeric<br>
14:55:03 OSError: [Errno 22] Invalid argument<br>
</blockquote></div></div>