See
<https://builds.apache.org/job/Qpid-proton-c/1393/display/redirect?page=changes>
Changes:
[astitcher] PROTON-1503: Fix Python test code tempfile creation
------------------------------------------
[...truncated 208.10 KB...]
10: TEST: (null_test<V>())
10: TEST: (bad_get_test<V>())
10: TEST: sequence_test<list<bool> >( ARRAY, many<bool>() + false + true,
"@PN_BOOL[false, true]")
10: TEST: sequence_test<vector<int> >( ARRAY, many<int>() + -1 + 2,
"@PN_INT[-1, 2]")
10: TEST: sequence_test<deque<string> >( ARRAY, many<string>() + "a" + "b",
"@PN_STRING[\"a\", \"b\"]")
10: TEST: sequence_test<deque<symbol> >( ARRAY, many<symbol>() + "a" + "b",
"@PN_SYMBOL[:a, :b]")
10: TEST: sequence_test<vector<value> >( LIST, many<value>() + value(0) +
value("a"), "[0, \"a\"]")
10: TEST: sequence_test<vector<scalar> >( LIST, many<scalar>() + scalar(0) +
scalar("a"), "[0, \"a\"]")
10: TEST: (map_test<map<string, uint64_t> >( si_pairs, "{\"a\"=0, \"b\"=1,
\"c\"=2}"))
10: TEST: (map_test<vector<si_pair> >( si_pairs, "{\"a\"=0, \"b\"=1, \"c\"=2}"))
10: TEST: (map_test<map<value, value> >( value_pairs, "{\"a\"=0, \"b\"=1,
\"c\"=2}"))
10: TEST: (map_test<map<scalar, scalar> >( scalar_pairs, "{\"a\"=0, \"b\"=1,
\"c\"=2}"))
10: TEST: (map_test<map<annotation_key, message_id> >( restricted_pairs,
"{:a=0, :b=1, :c=2}"))
8/24 Test #10: cpp-value_test ................... Passed 0.01 sec
test 11
Start 11: cpp-container_test
11: Test command:
<https://builds.apache.org/job/Qpid-proton-c/ws/build/proton-c/bindings/cpp/container_test>
11: Test timeout computed to be: 1500
11: TEST: test_container_vhost()
11: TEST: test_container_default_vhost()
11: TEST: test_container_no_vhost()
11: TEST: test_container_bad_address()
11: TEST: test_container_stop()
9/24 Test #11: cpp-container_test ............... Passed 0.09 sec
test 12
Start 12: cpp-url_test
12: Test command:
<https://builds.apache.org/job/Qpid-proton-c/ws/build/proton-c/bindings/cpp/url_test>
12: Test timeout computed to be: 1500
12: TEST: parse_to_string_test()
10/24 Test #12: cpp-url_test ..................... Passed 0.01 sec
test 14
Start 14: c-object-tests
14: Test command:
<https://builds.apache.org/job/Qpid-proton-c/ws/build/proton-c/src/tests/c-object-tests>
14: Test timeout computed to be: 1500
11/24 Test #14: c-object-tests ................... Passed 0.09 sec
test 15
Start 15: c-message-tests
15: Test command:
<https://builds.apache.org/job/Qpid-proton-c/ws/build/proton-c/src/tests/c-message-tests>
15: Test timeout computed to be: 1500
12/24 Test #15: c-message-tests .................. Passed 0.00 sec
test 16
Start 16: c-engine-tests
16: Test command:
<https://builds.apache.org/job/Qpid-proton-c/ws/build/proton-c/src/tests/c-engine-tests>
16: Test timeout computed to be: 1500
16: test_free_connection
16: test_free_session
16: test_free_link
16: test_link_name_prefix
13/24 Test #16: c-engine-tests ................... Passed 0.00 sec
test 17
Start 17: c-parse-url-tests
17: Test command:
<https://builds.apache.org/job/Qpid-proton-c/ws/build/proton-c/src/tests/c-parse-url-tests>
17: Test timeout computed to be: 1500
14/24 Test #17: c-parse-url-tests ................ Passed 0.00 sec
test 18
Start 18: c-refcount-tests
18: Test command:
<https://builds.apache.org/job/Qpid-proton-c/ws/build/proton-c/src/tests/c-refcount-tests>
18: Test timeout computed to be: 1500
15/24 Test #18: c-refcount-tests ................. Passed 0.00 sec
test 19
Start 19: c-reactor-tests
19: Test command:
<https://builds.apache.org/job/Qpid-proton-c/ws/build/proton-c/src/tests/c-reactor-tests>
19: Test timeout computed to be: 1500
16/24 Test #19: c-reactor-tests .................. Passed 0.34 sec
test 20
Start 20: c-event-tests
20: Test command:
<https://builds.apache.org/job/Qpid-proton-c/ws/build/proton-c/src/tests/c-event-tests>
20: Test timeout computed to be: 1500
17/24 Test #20: c-event-tests .................... Passed 0.00 sec
test 21
Start 21: c-data-tests
21: Test command:
<https://builds.apache.org/job/Qpid-proton-c/ws/build/proton-c/src/tests/c-data-tests>
21: Test timeout computed to be: 1500
18/24 Test #21: c-data-tests ..................... Passed 0.01 sec
test 22
Start 22: c-condition-tests
22: Test command:
<https://builds.apache.org/job/Qpid-proton-c/ws/build/proton-c/src/tests/c-condition-tests>
22: Test timeout computed to be: 1500
19/24 Test #22: c-condition-tests ................ Passed 0.00 sec
test 23
Start 23: c-proactor-tests
23: Test command:
<https://builds.apache.org/job/Qpid-proton-c/ws/build/proton-c/src/tests/c-proactor-tests>
23: Test timeout computed to be: 1500
23: TEST: test_inactive(&t)
23: TEST: test_interrupt_timeout(&t)
23: TEST: test_errors(&t)
23: TEST: test_client_server(&t)
23: TEST: test_connection_wake(&t)
23: TEST: test_ipv4_ipv6(&t)
23: TEST: test_release_free(&t)
23: TEST: test_ssl(&t)
23: TEST: test_proactor_addr(&t)
23: TEST: test_parse_addr(&t)
23: TEST: test_netaddr(&t)
23: TEST: test_disconnect(&t)
23: TEST: test_abort(&t)
23: TEST: test_refuse(&t)
20/24 Test #23: c-proactor-tests ................. Passed 0.15 sec
test 24
Start 24: c-fdlimit-tests
24: Test command: /usr/bin/python
"<https://builds.apache.org/job/Qpid-proton-c/ws/proton-c/src/tests/fdlimit.py">
24: Environment variables:
24:
PATH=<https://builds.apache.org/job/Qpid-proton-c/ws/build/proton-c/src/tests>:<https://builds.apache.org/job/Qpid-proton-c/ws/build/examples/c/proactor>:/home/jenkins/.local/bin:/home/jenkins/tools/java/latest1.7/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
24: PYTHONPATH=<https://builds.apache.org/job/Qpid-proton-c/ws/tools/py>
24: Test timeout computed to be: 1500
24: E
24: ======================================================================
24: ERROR: test_fd_limit_broker (__main__.FdLimitTest)
24: Check behaviour when running out of file descriptors on accept
24: ----------------------------------------------------------------------
24: Traceback (most recent call last):
24: File
"<https://builds.apache.org/job/Qpid-proton-c/ws/proton-c/src/tests/fdlimit.py",>
line 82, in test_fd_limit_broker
24: self.assertIn("10 messages received", self.proc(["receive", "",
b.port]).wait_exit())
24: File
"<https://builds.apache.org/job/Qpid-proton-c/ws/proton-c/src/tests/fdlimit.py",>
line 39, in __exit__
24: raise ProcError(b, "broker crash")
24: ProcError: ['prlimit', '-n256', 'broker', '', '43963'] broker crash, code=-6
24: vvvvvvvvvvvvvvvv
24: listening
24: PN_TRANSPORT_CLOSED: proton:io: Too many open files - accepting from :5672
24: broker:
<https://builds.apache.org/job/Qpid-proton-c/ws/proton-c/src/core/transport.c>:2950:
pn_transport_pending: Assertion `transport' failed.
24: ^^^^^^^^^^^^^^^^
24:
24:
24: ----------------------------------------------------------------------
24: Ran 1 test in 0.868s
24:
24: FAILED (errors=1)
21/24 Test #24: c-fdlimit-tests ..................***Failed 0.99 sec
test 25
Start 25: c-example-proactor
25: Test command: /usr/bin/python
"<https://builds.apache.org/job/Qpid-proton-c/ws/proton-c/env.py">
"PYTHONPATH=<https://builds.apache.org/job/Qpid-proton-c/ws/tools/py">
"PATH=<https://builds.apache.org/job/Qpid-proton-c/ws/build/examples/c/proactor>:/home/jenkins/.local/bin:/home/jenkins/tools/java/latest1.7/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
"--" "/usr/bin/python"
"<https://builds.apache.org/job/Qpid-proton-c/ws/examples/c/proactor/example_test.py">
"-v"
25: Test timeout computed to be: 1500
25: test_receive_direct (__main__.CExampleTest)
25: Receive from direct server ... ok
25: test_receive_send (__main__.CExampleTest)
25: Start receiving first, then send. ... ok
25: test_send_direct (__main__.CExampleTest)
25: Send to direct server ... ok
25: test_send_receive (__main__.CExampleTest)
25: Send first then receive ... ok
25:
25: ----------------------------------------------------------------------
25: Ran 4 tests in 0.086s
25:
25: OK
22/24 Test #25: c-example-proactor ............... Passed 0.17 sec
test 28
Start 28: cpp-example-container
28: Test command: /usr/bin/python
"<https://builds.apache.org/job/Qpid-proton-c/ws/proton-c/env.py">
"PYTHONPATH=<https://builds.apache.org/job/Qpid-proton-c/ws/tools/py">
"PATH=<https://builds.apache.org/job/Qpid-proton-c/ws/build/examples/cpp>:/home/jenkins/.local/bin:/home/jenkins/tools/java/latest1.7/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
"--" "/usr/bin/python"
"<https://builds.apache.org/job/Qpid-proton-c/ws/examples/cpp/example_test.py">
"-v" "ContainerExampleTest"
28: Test timeout computed to be: 1500
28: test_encode_decode (__main__.ContainerExampleTest) ... ok
28: test_flow_control (__main__.ContainerExampleTest) ... ok
28: test_helloworld (__main__.ContainerExampleTest) ... ok
28: test_helloworld_direct (__main__.ContainerExampleTest) ... ok
28: test_message_properties (__main__.ContainerExampleTest) ... ok
28: test_request_response (__main__.ContainerExampleTest) ... ok
28: test_request_response_direct (__main__.ContainerExampleTest) ... ok
28: test_scheduled_send (__main__.ContainerExampleTest) ... ok
28: test_scheduled_send_03 (__main__.ContainerExampleTest) ... ok
28: test_simple_recv_direct_send (__main__.ContainerExampleTest) ... ERROR
28: test_simple_recv_send (__main__.ContainerExampleTest) ... ok
28: test_simple_send_direct_recv (__main__.ContainerExampleTest) ... ok
28: test_simple_send_recv (__main__.ContainerExampleTest) ... ok
28:
28: ======================================================================
28: ERROR: test_simple_recv_direct_send (__main__.ContainerExampleTest)
28: ----------------------------------------------------------------------
28: Traceback (most recent call last):
28: File
"<https://builds.apache.org/job/Qpid-proton-c/ws/examples/cpp/example_test.py",>
line 160, in test_simple_recv_direct_send
28: self.proc(["simple_recv", "-a", addr]).wait_exit())
28: File
"<https://builds.apache.org/job/Qpid-proton-c/ws/tools/py/proctest.py",> line
123, in wait_exit
28: raise ProcError(self)
28: ProcError: ['simple_recv', '-a', 'localhost:33868/examples'] bad exit
status, code=1
28: vvvvvvvvvvvvvvvv
28: simple_recv listening on localhost:33868/examples
28: proton:io: recv: Connection refused
28: ^^^^^^^^^^^^^^^^
28:
28:
28: ----------------------------------------------------------------------
28: Ran 13 tests in 0.360s
28:
28: FAILED (errors=1)
23/24 Test #28: cpp-example-container ............***Failed 0.45 sec
test 29
Start 29: cpp-example-container-ssl
29: Test command: /usr/bin/python
"<https://builds.apache.org/job/Qpid-proton-c/ws/proton-c/env.py">
"PYTHONPATH=<https://builds.apache.org/job/Qpid-proton-c/ws/tools/py">
"PATH=<https://builds.apache.org/job/Qpid-proton-c/ws/build/examples/cpp>:/home/jenkins/.local/bin:/home/jenkins/tools/java/latest1.7/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
"--" "/usr/bin/python"
"<https://builds.apache.org/job/Qpid-proton-c/ws/examples/cpp/example_test.py">
"-v" "ContainerExampleSSLTest"
29: Test timeout computed to be: 1500
29: test_ssl (__main__.ContainerExampleSSLTest) ... ok
29: test_ssl_bad_name (__main__.ContainerExampleSSLTest) ... ok
29: test_ssl_client_cert (__main__.ContainerExampleSSLTest) ... ok
29: test_ssl_no_name (__main__.ContainerExampleSSLTest) ... ok
29:
29: ----------------------------------------------------------------------
29: Ran 4 tests in 0.247s
29:
29: OK
24/24 Test #29: cpp-example-container-ssl ........ Passed 0.33 sec
The following tests passed:
cpp-codec_test
cpp-connection_driver_test
cpp-thread_safe_test
cpp-interop_test
cpp-message_test
cpp-map_test
cpp-scalar_test
cpp-value_test
cpp-container_test
cpp-url_test
c-object-tests
c-message-tests
c-engine-tests
c-parse-url-tests
c-refcount-tests
c-reactor-tests
c-event-tests
c-data-tests
c-condition-tests
c-proactor-tests
c-example-proactor
cpp-example-container-ssl
92% tests passed, 2 tests failed out of 24
Total Test time (real) = 2.76 sec
The following tests FAILED:
24 - c-fdlimit-tests (Failed)
28 - cpp-example-container (Failed)
Errors while running CTest
Build step 'Execute shell' marked build as failure
Recording test results