Uploaded image for project: 'AMQ Clients'
  1. AMQ Clients
  2. ENTMQCL-569

[cpp] Failing example tests on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.2.0.GA
    • 1.2.0.GA
    • amqp-cpp-client
    • None
    • Hide

      Run example_test.py on Windows.

      Show
      Run example_test.py on Windows.

      Tests output:

      ............FFEF......E
      ======================================================================
      ERROR: test_ssl_client_cert (__main__.ContainerExampleTest)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "example_test.py", line 341, in test_ssl_client_cert
          out = self.proc(["ssl_client_cert", addr, self.ssl_certs_dir()], skip_valgrind=True).wait_exit()
        File "example_test.py", line 131, in wait_exit
          self.check_()
        File "example_test.py", line 96, in run_
          raise ProcError(self)
      ProcError: ['ssl_client_cert.exe', 'amqps://127.0.0.1:19082/examples', 'c:\\qpid-proton\\VS2013\\examples\\cpp\\ssl_certs'] non-0 exit, code=1
      vvvvvvvvvvvvvvvv
      amqp:connection:policy-error: Client connection unencryted - forbidden
      ^^^^^^^^^^^^^^^^
      
      
      ======================================================================
      ERROR: setUpClass (__main__.MtBrokerTest)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "example_test.py", line 187, in setUpClass
          cls.broker = Proc([cls.broker_exe, "-a", cls.addr], ready="listening")
        File "example_test.py", line 72, in __init__
          raise ProcError(self, str(e))
      ProcError: ['mt_broker.exe', '-a', '127.0.0.1:11968/examples'] [Error 2] The system cannot find the file specified, code=None, no output)
      
      ======================================================================
      FAIL: test_ssl (__main__.ContainerExampleTest)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "example_test.py", line 313, in test_ssl
          self.assertEqual(expect_found, True)
      AssertionError: False != True
      
      ======================================================================
      FAIL: test_ssl_bad_name (__main__.ContainerExampleTest)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "example_test.py", line 331, in test_ssl_bad_name
          self.assertEqual(expect_found, True)
      AssertionError: False != True
      
      ======================================================================
      FAIL: test_ssl_no_name (__main__.ContainerExampleTest)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "example_test.py", line 322, in test_ssl_no_name
          self.assertEqual(expect_found, True)
      AssertionError: False != True
      
      ----------------------------------------------------------------------
      Ran 22 tests in 3.641s
      
      FAILED (failures=3, errors=2)
      ERROR: The process "broker.exe" not found.
      

              cjansen@redhat.com Cliff Jansen
              rkubis_kafka_devexp Radim Kubis
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: