[
https://issues.apache.org/jira/browse/DISPATCH-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ken Giusti resolved DISPATCH-1048.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.2.0
> system_tests_http fail when run under python3 environment
> ---------------------------------------------------------
>
> Key: DISPATCH-1048
> URL: https://issues.apache.org/jira/browse/DISPATCH-1048
> Project: Qpid Dispatch
> Issue Type: Bug
> Reporter: Ken Giusti
> Assignee: Ken Giusti
> Priority: Major
> Fix For: 1.2.0
>
> Attachments: Dockerfile-ctest
>
>
> Can reproduce with attached docker file
> -----
> Start 46: system_tests_http
> 46: Test command: /usr/bin/python
> "/main/qpid-dispatch-master/BUILD/tests/run.py" "-x" "unit2" "-v"
> "system_tests_http"
> 46: Test timeout computed to be: 1500
> 46: system_tests_http (unittest2.loader._FailedTest) ... ERROR
> 46:
> 46: ======================================================================
> 46: ERROR: system_tests_http (unittest2.loader._FailedTest)
> 46: ----------------------------------------------------------------------
> 46: Traceback (most recent call last):
> 46: ImportError: Failed to import test module: system_tests_http
> 46: Traceback (most recent call last):
> 46: File "/usr/lib/python3.6/site-packages/unittest2/loader.py", line 172,
> in loadTestsFromName
> 46: module = __import__(module_name)
> 46: File "/main/qpid-dispatch-master/tests/system_tests_http.py", line 25,
> in <module>
> 46: import os, threading, sys, urllib2
> 46: ModuleNotFoundError: No module named 'urllib2'
> 46:
> 46:
> 46: ----------------------------------------------------------------------
> 46: Ran 1 test in 0.000s
> 46:
> 46: FAILED (errors=1)
> 46/47 Test #46: system_tests_http .................................***Failed
> 0.21 sec
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]