Hi,

please see https://gerrit.ovirt.org/#/c/106877/

Regards, Marcin

On 2/11/20 1:55 PM, Tomáš Golembiovský wrote:
Oh yes, and here is the example of failure:

https://jenkins.ovirt.org/job/vdsm_standard-check-patch/18064/artifact/ci_build_summary.html
https://jenkins.ovirt.org/job/vdsm_standard-check-patch/18064//artifact/check-patch.tests-py3.el8.x86_64/mock_logs/script/stdout_stderr.log
https://jenkins.ovirt.org/job/vdsm_standard-check-patch/18064//artifact/check-patch.linters.fc30.x86_64/mock_logs/script/stdout_stderr.log



On Tue, Feb 11, 2020 at 01:51:16PM +0100, Tomáš Golembiovský wrote:
Hi,

it looks like the CI is broken. All recent Gerrit patches fail currently
for strange reasons.


check-patch.linters.fc30.x86_64 fails because it cannot create tox environments:

ERROR: invocation failed (exit code 1), logfile: 
/home/jenkins/workspace/vdsm_standard-check-patch/vdsm/.tox/gluster/log/gluster-0.log
================================== log start ===================================
ERROR:root:ImportError: cannot import name 'ensure_text'

=================================== log end ====================================
ERROR: InvocationError for command /usr/bin/python3 -m virtualenv 
--system-site-packages --no-download --python /usr/bin/python3 gluster (exited 
with code 1)

check-patch.tests-py3.el8.x86_64 fails on flake8 because it tries to
lint files from some virtual env:

...
/.local/share/virtualenv/seed-v1/3.7/image/SymlinkPipInstall/pip-20.0.2-py2.py3-none-any/pip/_vendor/webencodings/x_user_defined.py:48:1:
 E266 too many leading '#' for block comment
### encodings module API
^
./.local/share/virtualenv/seed-v1/3.7/image/SymlinkPipInstall/pip-20.0.2-py2.py3-none-any/pip/_vendor/webencodings/x_user_defined.py:61:1:
 E266 too many leading '#' for block comment
### Decoding Table
^
./.local/share/virtualenv/seed-v1/3.7/image/SymlinkPipInstall/pip-20.0.2-py2.py3-none-any/pip/_vendor/webencodings/x_user_defined.py:324:1:
 E266 too many leading '#' for block comment
### Encoding table
^
6     E111 indentation is not a multiple of four
15    E114 indentation is not a multiple of four (comment)
12    E115 expected an indented block (comment)
70    E116 unexpected indentation (comment)
38    E121 continuation line under-indented for hanging indent
10177 E122 continuation line missing indentation or outdented
12    E123 closing bracket does not match indentation of opening bracket's line
2     E124 closing bracket does not match visual indentation
1     E125 continuation line with same indent as next logical line
37    E126 continuation line over-indented for hanging indent
78    E127 continuation line over-indented for visual indent
124   E128 continuation line under-indented for visual indent
19    E129 visually indented line with same indent as next logical line
253   E131 continuation line unaligned for hanging indent
962   E201 whitespace after '{'
982   E202 whitespace before '}'
11    E211 whitespace before '('
143   E221 multiple spaces before operator
61    E225 missing whitespace around operator
229   E226 missing whitespace around arithmetic operator
4     E227 missing whitespace around bitwise or shift operator
56614 E231 missing whitespace after ','
1024  E241 multiple spaces after ','
36    E251 unexpected spaces around keyword / parameter equals
770   E261 at least two spaces before inline comment
205   E262 inline comment should start with '# '
190   E265 block comment should start with '# '
91    E266 too many leading '#' for block comment
3     E271 multiple spaces after keyword
4     E272 multiple spaces before keyword
71    E301 expected 1 blank line, found 0
427   E302 expected 2 blank lines, found 1
26    E303 too many blank lines (3)
26    E306 expected 1 blank line before a nested definition, found 0
3     E401 multiple imports on one line
4717  E501 line too long (96 > 79 characters)
5     E502 the backslash is redundant between brackets
11    E701 multiple statements on one line (colon)
11    E704 multiple statements on one line (def)
4     E713 test for membership should be 'not in'
1     E714 test for object identity should be 'is not'
565   F401 'typing.List' imported but unused
4     F403 'from .core import *' used; unable to detect undefined names
2     F405 'encode' may be undefined, or defined from star imports: .codec, 
.core
3     F811 redefinition of unused 're' from line 10
78    F821 undefined name 'unicode'
23    F841 local variable 'success' is assigned to but never used
158   W291 trailing whitespace
259   W293 blank line contains whitespace
12    W391 blank line at end of file
Are the environemtns broken? Can somebody look into that?

     Tomas

--
Tomáš Golembiovský <tgole...@redhat.com>
_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/DB2SROZXCEQDS5UE6RCQWSADP6HYZ2T6/

Reply via email to