You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/10/09 18:04:00 UTC

[jira] [Commented] (DISPATCH-1443) Unable to run ctest on Centos 8

    [ https://issues.apache.org/jira/browse/DISPATCH-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16947903#comment-16947903 ] 

ASF GitHub Bot commented on DISPATCH-1443:
------------------------------------------

kgiusti commented on pull request #584: DISPATCH-1443: use python unittest library, fail back to unittest2
URL: https://github.com/apache/qpid-dispatch/pull/584
 
 
   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 is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org