Uploaded image for project: 'AMQ Interconnect'
  1. AMQ Interconnect
  2. ENTMQIC-3277

CI job building and testing dispatch on el7 fails on webconsole test

XMLWordPrintable

    • False
    • False

      + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DDOC_INSTALL_DIR=/usr/share/doc/qpid-dispatch-1.19.0 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUSE_SETUP_PY=0 -DQD_DOC_INSTALL_DIR=/usr/share/doc/qpid-dispatch-1.19.0 -DBUILD_DOCS=ON -DCMAKE_SKIP_RPATH:BOOL=OFF -DUSE_LIBWEBSOCKETS=ON -DCONSOLE_INSTALL=ON .
      [...]
      -- Found Threads: TRUE  
      -- Found Proton: Proton::qpid-proton (found version "0.37.0")
      -- Could NOT find libnghttp2 (missing:  LIBNGHTTP2_VERSION_STRING NGHTTP2_LIBRARIES NGHTTP2_INCLUDE_DIRS) (Required is at least version "1.33.0")
      -- Found libwebsockets version 2.4.2 but least 3.0.1 is required. WebSocket support disabled.
      
      58/74 Test #58: system_tests_console ..............................***Failed   60.78 sec
      ERROR
      /usr/lib64/python3.6/subprocess.py:786: ResourceWarning: subprocess 5879 is still running
        ResourceWarning, source=self)
      
      ======================================================================
      ERROR: setUpClass (system_tests_console.ConsoleTest)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/home/jenkins/workspace/rh-qpid-dispatch-dist-el7-main/build/BUILD/qpid-dispatch-1.19.0/tests/system_test.py", line 211, in wait_port
          retry_exception(connect, exception_test=check, **retry_kwargs)
        File "/home/jenkins/workspace/rh-qpid-dispatch-dist-el7-main/build/BUILD/qpid-dispatch-1.19.0/tests/system_test.py", line 156, in retry_exception
          return function()
        File "/home/jenkins/workspace/rh-qpid-dispatch-dist-el7-main/build/BUILD/qpid-dispatch-1.19.0/tests/system_test.py", line 206, in connect
          s.connect((host, port))
      ConnectionRefusedError: [Errno 111] Connection refused
      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "/home/jenkins/workspace/rh-qpid-dispatch-dist-el7-main/build/BUILD/qpid-dispatch-1.19.0/tests/system_tests_console.py", line 84, in setUpClass
          ('listener', {'role': 'normal', 'port': cls.http_port, 'http': True})])
        File "/home/jenkins/workspace/rh-qpid-dispatch-dist-el7-main/build/BUILD/qpid-dispatch-1.19.0/tests/system_tests_console.py", line 71, in router
          cls.routers.append(cls.tester.qdrouterd(name, config, wait=True))
        File "/home/jenkins/workspace/rh-qpid-dispatch-dist-el7-main/build/BUILD/qpid-dispatch-1.19.0/tests/system_test.py", line 793, in qdrouterd
          return self.cleanup(Qdrouterd(*args, **kwargs))
        File "/home/jenkins/workspace/rh-qpid-dispatch-dist-el7-main/build/BUILD/qpid-dispatch-1.19.0/tests/system_test.py", line 479, in __init__
          self.wait_ready()
        File "/home/jenkins/workspace/rh-qpid-dispatch-dist-el7-main/build/BUILD/qpid-dispatch-1.19.0/tests/system_test.py", line 702, in wait_ready
          self.wait_ports(**retry_kwargs)
        File "/home/jenkins/workspace/rh-qpid-dispatch-dist-el7-main/build/BUILD/qpid-dispatch-1.19.0/tests/system_test.py", line 687, in wait_ports
          wait_ports(self.ports_family, **retry_kwargs)
        File "/home/jenkins/workspace/rh-qpid-dispatch-dist-el7-main/build/BUILD/qpid-dispatch-1.19.0/tests/system_test.py", line 220, in wait_ports
          wait_port(port=port, protocol_family=protocol_family, **retry_kwargs)
        File "/home/jenkins/workspace/rh-qpid-dispatch-dist-el7-main/build/BUILD/qpid-dispatch-1.19.0/tests/system_test.py", line 213, in wait_port
          raise Exception("wait_port timeout on host %s port %s: %s" % (host, port, e))
      Exception: wait_port timeout on host None port 26075: [Errno 111] Connection refused
      
      ----------------------------------------------------------------------
      Ran 0 tests in 60.274s
      
      FAILED (errors=1)
      

      The build specified CONSOLE_INSTALL but there was older version of libwebsockets present, so libwebsockets feature did not get enabled. But a test for web console got enabled, and failed.

              gmurthy@redhat.com Ganesh Murthy
              jdanek@redhat.com Jiri Daněk
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: