Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-1510

TLS test fails on Ubuntu Precise

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.2
    • Component/s: Test suite
    • Labels:
      None

      Description

      The tls_generic_test freezes during run. Last messages are:

      ==================================================
      Starting test: tls_generic_test.c
      ==================================================
      test_TLSVerifyPeer: Starting test
      ffffffff == ffffffff
      ERROR: tls_generic_test.c:1160 Failure!
      test_TLSVerifyPeer: Test failed.
      test_TLSBasicIO: Starting test

      This is fully reproducible in chroot generated with debootstrap. Backtracing the child process gives:
      #0 0x55577430 in __kernel_vsyscall ()
      #1 0x558ba9b3 in __read_nocancel () from /lib/i386-linux-gnu/libpthread.so.0
      #2 0x557aebce in ?? () from /lib/i386-linux-gnu/libcrypto.so.1.0.0
      #3 0x557ac432 in BIO_read () from /lib/i386-linux-gnu/libcrypto.so.1.0.0
      #4 0x556c6157 in ?? () from /lib/i386-linux-gnu/libssl.so.1.0.0
      #5 0x556c72c5 in ?? () from /lib/i386-linux-gnu/libssl.so.1.0.0
      #6 0x556c8e42 in ?? () from /lib/i386-linux-gnu/libssl.so.1.0.0
      #7 0x556b7007 in ?? () from /lib/i386-linux-gnu/libssl.so.1.0.0
      #8 0x556bbc1b in ?? () from /lib/i386-linux-gnu/libssl.so.1.0.0
      #9 0x556c6c37 in ?? () from /lib/i386-linux-gnu/libssl.so.1.0.0
      #10 0x556c4628 in ?? () from /lib/i386-linux-gnu/libssl.so.1.0.0
      #11 0x0804ecd2 in child_cycle (channel=6) at tls_generic_test.c:169
      #12 0x0804f01e in start_child_process () at tls_generic_test.c:208
      #13 0x0804f0e3 in tests_setup () at tls_generic_test.c:682
      #14 0x0804bef3 in main () at tls_generic_test.c:1417

      Backtracing parent process gives:
      #0 0x55577430 in __kernel_vsyscall ()
      #1 0x558da9b3 in __read_nocancel () from /lib/i386-linux-gnu/libpthread.so.0
      #2 0x557cebce in ?? () from /lib/i386-linux-gnu/libcrypto.so.1.0.0
      #3 0x557cc432 in BIO_read () from /lib/i386-linux-gnu/libcrypto.so.1.0.0
      #4 0x556eb37b in ?? () from /lib/i386-linux-gnu/libssl.so.1.0.0
      #5 0x556ea44b in ?? () from /lib/i386-linux-gnu/libssl.so.1.0.0
      #6 0x5570023a in SSL_connect () from /lib/i386-linux-gnu/libssl.so.1.0.0
      #7 0x0804f083 in test_TLSBasicIO () at tls_generic_test.c:1331
      #8 0x08053673 in _run_test (function_name=0x805873d "test_TLSBasicIO", Function=0x804ed75 <test_TLSBasicIO>, state=0x0,
      function_type=UNIT_TEST_FUNCTION_TYPE_TEST, heap_check_point=0x0) at cmockery.c:1811
      #9 0x08053ca7 in _run_tests (tests=0xfff00294, number_of_tests=2, file=0x8058248 "tls_generic_test.c") at cmockery.c:1988
      #10 0x0804fb17 in main () at tls_generic_test.c:1426

        Attachments

          Activity

            People

            • Assignee:
              a10038 jimis (Dimitrios Apostolou)
              Reporter:
              ballock Boleslaw Tokarski
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel