Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1048

system_tests_http fail when run under python3 environment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • None
    • None

    Description

      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

      Attachments

        1. Dockerfile-ctest
          3 kB
          Ken Giusti

        Issue Links

          Activity

            People

              kgiusti Ken Giusti
              kgiusti Ken Giusti
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: