[
https://issues.apache.org/jira/browse/DISPATCH-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16948835#comment-16948835
]
ASF subversion and git services commented on DISPATCH-1443:
-----------------------------------------------------------
Commit 3a4552832ef6e9f24269d6c7d9d1ec971b8202fd in qpid-dispatch's branch
refs/heads/master from Ken Giusti
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=3a45528 ]
DISPATCH-1443: use python unittest library, fail back to unittest2
unittest is part of the standard library for Python. unittest in
versions of Python prior to 2.7 does not have all the features needed
by our unit tests. Use 3rd party python-unittest2 module if Python <
2.7, otherwise use the standard library unittest.
This closes #584
> Unable to run ctest on Centos 8
> -------------------------------
>
> Key: DISPATCH-1443
> URL: https://issues.apache.org/jira/browse/DISPATCH-1443
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Tests
> Affects Versions: 1.9.0
> Reporter: Ken Giusti
> Assignee: Ken Giusti
> Priority: Major
> Fix For: 1.10.0
>
>
> The old python unittest2 backport is not available on Centos 8.
> unittest2 is a project to port changes to the standard library 'unittest'
> from python 2.7 back to pre-2.7 releases.
> We should update the test infrastructure to use 'unittest' by default, and
> fail back to 'unittest2' on older versions of python.
>
> 19: Test command: /usr/bin/python
> "/home/kgiusti/work/qpid-dispatch/BUILD/tests/run.py" "unit2" "-v"
> "system_tests_one_router"
> 19: Test timeout computed to be: 360
> 19: Running '['unit2', '-v', 'system_tests_one_router']': FileNotFoundError:
> [Errno 2] No such file or directory
> 19: Traceback (most recent call last):
> 19: File "/home/kgiusti/work/qpid-dispatch/BUILD/tests/run.py", line 143, in
> <module>
> 19: os.execvp(args[0], args)
> 19: File "/usr/lib64/python3.6/os.py", line 559, in execvp
> 19: _execvpe(file, args)
> 19: File "/usr/lib64/python3.6/os.py", line 604, in _execvpe
> 19: raise last_exc.with_traceback(tb)
> 19: File "/usr/lib64/python3.6/os.py", line 594, in _execvpe
> 19: exec_func(fullname, *argrest)
> 19: FileNotFoundError: [Errno 2] No such file or directory
> 1/1 Test #19: system_tests_one_router ..........***Failed 0.10 sec
> 0% tests passed, 1 tests failed out of 1
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]