Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-8606

Tests fails with Swig 4 due to missing `__swig_getmethods__`

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • qpid-cpp-1.40.0
    • None
    • C++ Client, C++ Tests
    • None

    Description

      https://github.com/NanoComp/meep/issues/965

      https://github.com/jiridanek/qpid-cpp/actions/runs/3308257602/jobs/5460505689#step:13:1414

      10: run_python_tests: Calling 'qpid-python-test --broker localhost:34529 --time -m qpid.tests.messaging.message -m qpid_tests.broker_0_10.priority -m qpid_tests.broker_0_10.lvq -m qpid_tests.broker_0_10.new_api -I /home/runner/work/qpid-cpp/qpid-cpp/BLD/src/tests/failing-amqp0-10-python-tests'
      10: Traceback (most recent call last):
      10:   File "/opt/hostedtoolcache/Python/2.7.18/x64/bin/qpid-python-test", line 563, in <module>
      10:     m = __import__(name, None, None, ["dummy"])
      10:   File "/opt/hostedtoolcache/Python/2.7.18/x64/lib/python2.7/site-packages/qpid/tests/__init__.py", line 31, in <module>
      10:     import qpid.tests.messaging
      10:   File "/opt/hostedtoolcache/Python/2.7.18/x64/lib/python2.7/site-packages/qpid/tests/messaging/__init__.py", line 23, in <module>
      10:     from qpid.tests.messaging.implementation import *
      10:   File "/opt/hostedtoolcache/Python/2.7.18/x64/lib/python2.7/site-packages/qpid/tests/messaging/implementation.py", line 22, in <module>
      10:     from qpid_messaging import *
      10:   File "/home/runner/work/qpid-cpp/qpid-cpp/BLD/bindings/qpid/python/qpid_messaging.py", line 202, in <module>
      10:     class Message(object):
      10:   File "/home/runner/work/qpid-cpp/qpid-cpp/BLD/bindings/qpid/python/qpid_messaging.py", line 395, in Message
      10:     __swig_getmethods__["content"] = _get_content
      10: NameError: name '__swig_getmethods__' is not defined
      10: Traceback (most recent call last):
      10:   File "run_python_tests", line 52, in <module>
      10:     "-I {0}".format(failing_tests))
      10:   File "/home/runner/work/qpid-cpp/qpid-cpp/BLD/src/tests/common.py", line 292, in run_broker_tests
      10:     call(" ".join(command))
      10:   File "/home/runner/work/qpid-cpp/qpid-cpp/BLD/src/tests/plano.py", line 418, in call
      10:     _subprocess.check_call(command, **kwargs)
      10:   File "/opt/hostedtoolcache/Python/2.7.18/x64/lib/python2.7/subprocess.py", line 190, in check_call
      10:     raise CalledProcessError(retcode, cmd)
      10: subprocess.CalledProcessError: Command 'qpid-python-test --broker localhost:34529 --time -m qpid.tests.messaging.message -m qpid_tests.broker_0_10.priority -m qpid_tests.broker_0_10.lvq -m qpid_tests.broker_0_10.new_api -I /home/runner/work/qpid-cpp/qpid-cpp/BLD/src/tests/failing-amqp0-10-python-tests' returned non-zero exit status 1
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jdanek Jiri Daněk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: