You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Charles E. Rolke (Jira)" <ji...@apache.org> on 2021/02/24 21:21:00 UTC
[jira] [Resolved] (DISPATCH-1980) python checker tests fail on
fedora 32
[ https://issues.apache.org/jira/browse/DISPATCH-1980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charles E. Rolke resolved DISPATCH-1980.
----------------------------------------
Resolution: Not A Bug
In this case python-checker checked a file that was not committed to git and failed.
The issue was fixed by renaming file qpid-dispatch/tools/scraper/logger.py and the test passes.
> python checker tests fail on fedora 32
> --------------------------------------
>
> Key: DISPATCH-1980
> URL: https://issues.apache.org/jira/browse/DISPATCH-1980
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Tests, Tools
> Affects Versions: 1.15.0
> Reporter: Charles E. Rolke
> Assignee: Charles E. Rolke
> Priority: Major
> Fix For: 1.16.0
>
>
> {code:java}
> 73: py39 run-test: commands[0] | flake8 --count --show-source /home/chug/git/qpid-dispatch/python /home/chug/git/qpid-dispatch/console /home/chug/git/qpid-dispatch/docs /home/chug/git/qpid-dispatch/tests /home/chug/git/qpid-dispatch/tools /home/chug/git/qpid-dispatch/tools/qdstat /home/chug/git/qpid-dispatch/tools/qdmanage
> 73: /home/chug/git/qpid-dispatch/tools/scraper/logger.py:6:13: E401 multiple imports on one line
> 73: import errno, os, time, socket, random, subprocess, shutil, unittest, __main__, re, sys
> 73: ^
> 73: /home/chug/git/qpid-dispatch/tools/scraper/logger.py:9:1: E302 expected 2 blank lines, found 1
> 73: class Timestamp(object):
> 73: ^
> 73: /home/chug/git/qpid-dispatch/tools/scraper/logger.py:33:26: E201 whitespace after '('
> 73: self.logs.append( (ts, msg) )
> 73: ^
> 73: /home/chug/git/qpid-dispatch/tools/scraper/logger.py:33:36: E202 whitespace before ')'
> 73: self.logs.append( (ts, msg) )
> 73: ^
> 73: /home/chug/git/qpid-dispatch/tools/scraper/logger.py:49:1: E305 expected 2 blank lines after class or function definition, found 1
> 73: log = Logger()
> 73: ^
> 73: 5
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org