You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Tomasz Kloczko (Jira)" <ji...@apache.org> on 2023/03/07 13:10:00 UTC
[jira] [Updated] (THRIFT-5691) 0.18.1: test suite is failing in few units
[ https://issues.apache.org/jira/browse/THRIFT-5691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomasz Kloczko updated THRIFT-5691:
-----------------------------------
Description:
Looks like sometbing is wrog and test suite is failing in few units
{code:java}
+ cd thrift-0.18.1
+ /usr/bin/ctest --test-dir x86_64-redhat-linux-gnu --output-on-failure --force-new-ctest-process -j48 ' '
Internal ctest changing into directory: /home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/x86_64-redhat-linux-gnu
Test project /home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/x86_64-redhat-linux-gnu
Start 1: php_const1_return
Start 2: php_enum1_return
Start 3: php_enum2_return
Start 4: php_exception1_return
Start 5: php_exception2_return
Start 6: php_service1_return
Start 7: php_service2_return
Start 8: php_service3_return
Start 9: php_service4_return
Start 10: php_struct1_return
Start 11: php_struct2_return
Start 12: php_typedef1_return
Start 13: php_union1_return
Start 14: php_union2_return
Start 15: StalenessCheckTest
Start 16: Benchmark
Start 17: UnitTests
Start 18: TInterruptTest
Start 19: TServerIntegrationTest
Start 20: TransportTest
Start 21: ZlibTest
Start 22: AnnotationTest
Start 23: EnumTest
Start 24: TFileTransportTest
Start 25: TFDTransportTest
Start 26: TPipedTransportTest
Start 27: AllProtocolsTest
Start 28: DebugProtoTest
Start 29: JSONProtoTest
Start 30: OptionalRequiredTest
Start 31: RecursiveTest
Start 32: SpecializationTest
Start 33: concurrency_test
Start 34: link_test
Start 35: processor_test
Start 36: TNonblockingServerTest
Start 37: TNonblockingSSLServerTest
Start 38: OpenSSLManualInitTest
Start 39: SecurityTest
Start 40: SecurityFromBufferTest
Start 41: TQTcpServerTest_Qt5
Start 42: StressTest
Start 43: StressTestConcurrent
Start 44: StressTestNonBlocking
Start 45: SpecificNameTest
Start 46: testserialization
Start 47: testapplicationexception
Start 48: testtransportsocket
1/76 Test #1: php_const1_return .................***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.08 sec
[WARNING:generation:1] Unable to get a generator for "php".
Start 49: testbinaryprotocol
2/76 Test #2: php_enum1_return ..................***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.08 sec
[WARNING:generation:1] Unable to get a generator for "php".
Start 50: testcompactprotocol
3/76 Test #3: php_enum2_return ..................***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.08 sec
[WARNING:generation:1] Unable to get a generator for "php".
Start 51: testbufferedtransport
4/76 Test #4: php_exception1_return .............***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.08 sec
[WARNING:generation:1] Unable to get a generator for "php".
Start 52: testframedtransport
5/76 Test #5: php_exception2_return .............***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.08 sec
[WARNING:generation:1] Unable to get a generator for "php".
Start 53: testfdtransport
6/76 Test #6: php_service1_return ...............***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.08 sec
[WARNING:generation:1] Unable to get a generator for "php".
Start 54: testmemorybuffer
7/76 Test #7: php_service2_return ...............***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.08 sec
[WARNING:generation:1] Unable to get a generator for "php".
Start 55: testsimpleserver
8/76 Test #8: php_service3_return ...............***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.08 sec
[WARNING:generation:1] Unable to get a generator for "php".
Start 56: testdebugproto
9/76 Test #9: php_service4_return ...............***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.08 sec
[WARNING:generation:1] Unable to get a generator for "php".
Start 57: testoptionalrequired
10/76 Test #10: php_struct1_return ................***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.08 sec
[WARNING:generation:1] Unable to get a generator for "php".
Start 58: testthriftbinaryreadcheck
11/76 Test #11: php_struct2_return ................***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.09 sec
[WARNING:generation:1] Unable to get a generator for "php".
Start 59: testthriftbufferedreadcheck
12/76 Test #12: php_typedef1_return ...............***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.09 sec
[WARNING:generation:1] Unable to get a generator for "php".
Start 60: testthriftcompactreadcheck
13/76 Test #13: php_union1_return .................***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.09 sec
[WARNING:generation:1] Unable to get a generator for "php".
Start 61: testthriftframedreadcheck
14/76 Test #14: php_union2_return .................***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.09 sec
[WARNING:generation:1] Unable to get a generator for "php".
Start 62: testthriftfdreadcheck
15/76 Test #22: AnnotationTest .................... Passed 0.08 sec
Start 63: testthriftmemorybufferreadcheck
16/76 Test #23: EnumTest .......................... Passed 0.08 sec
Start 64: testzlibtransport
17/76 Test #25: TFDTransportTest .................. Passed 0.07 sec
Start 65: testthrifttest
18/76 Test #26: TPipedTransportTest ............... Passed 0.07 sec
Start 66: testthrifttestclient
19/76 Test #27: AllProtocolsTest .................. Passed 0.07 sec
Start 67: testthrifttestzlibclient
20/76 Test #28: DebugProtoTest .................... Passed 0.08 sec
Start 68: PythonTestSSLSocket
21/76 Test #29: JSONProtoTest ..................... Passed 0.08 sec
Start 69: PythonThriftJson
22/76 Test #30: OptionalRequiredTest .............. Passed 0.08 sec
Start 70: PythonThriftTransport
23/76 Test #31: RecursiveTest ..................... Passed 0.08 sec
Start 71: PythonThriftTBinaryProtocol
24/76 Test #32: SpecializationTest ................ Passed 0.08 sec
Start 72: PythonThriftTZlibTransport
25/76 Test #34: link_test ......................... Passed 0.08 sec
Start 73: PythonThriftProtocol
26/76 Test #36: TNonblockingServerTest ............ Passed 0.07 sec
Start 74: PythonThriftTNonblockingServer
27/76 Test #38: OpenSSLManualInitTest ............. Passed 0.07 sec
Start 75: python_test_generate
28/76 Test #45: SpecificNameTest .................. Passed 0.07 sec
Start 76: python_test
29/76 Test #37: TNonblockingSSLServerTest ......... Passed 0.08 sec
30/76 Test #46: testserialization ................. Passed 0.07 sec
31/76 Test #21: ZlibTest .......................... Passed 0.11 sec
32/76 Test #54: testmemorybuffer .................. Passed 0.05 sec
33/76 Test #56: testdebugproto .................... Passed 0.05 sec
34/76 Test #57: testoptionalrequired .............. Passed 0.04 sec
35/76 Test #63: testthriftmemorybufferreadcheck ... Passed 0.03 sec
36/76 Test #65: testthrifttest .................... Passed 0.03 sec
37/76 Test #73: PythonThriftProtocol ..............***Failed 0.07 sec
Traceback (most recent call last):
File "/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/py/test/thrift_TCompactProtocol.py", line 21, in <module>
from thrift.protocol import TCompactProtocol
ModuleNotFoundError: No module named 'thrift'38/76 Test #43: StressTestConcurrent ..............Subprocess aborted***Exception: 0.13 sec
Starting the server on port 9091
Thrift: Tue Mar 7 13:03:08 2023 TServerSocket::listen() Could not bind to port 9091
terminate called after throwing an instance of 'apache::thrift::transport::TTransportException'
what(): Could not bind: Address already in use39/76 Test #76: python_test .......................***Failed 0.07 sec
----------------
Executing individual test scripts with various generated code directories
Directories to be tested: gen-py-default, gen-py-slots, gen-py-oldstyle, gen-py-no_utf8strings, gen-py-dynamic, gen-py-dynamicslots, gen-py-enum
Scripts to be tested: FastbinaryTest.py, TestFrozen.py, TestRenderedDoubleConstants.py, TSimpleJSONProtocolTest.py, SerializationTest.py, TestEof.py, TestSyntax.py, TestSocket.py
----------------
Traceback (most recent call last):
File "/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/test/py/RunClientServer.py", line 323, in <module>
sys.exit(main())
File "/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/test/py/RunClientServer.py", line 302, in main
runScriptTest(options.libdir, options.gen_base, genpydir, script)
File "/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/test/py/RunClientServer.py", line 94, in runScriptTest
env = setup_pypath(libdir, os.path.join(genbase, genpydir))
File "/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/test/py/RunClientServer.py", line 87, in setup_pypath
env['PYTHONPATH'] = os.pathsep.join(dirs)
TypeError: sequence item 0: expected str instance, NoneType found40/76 Test #44: StressTestNonBlocking .............Subprocess aborted***Exception: 0.16 sec
Starting the server on port 9091 and 9092
Thrift: Tue Mar 7 13:03:08 2023 TNonblockingServerSocket::listen() Could not bind to port 9091
Thrift: Tue Mar 7 13:03:08 2023 TNonblockingServer: Serving with 1 io threads.
terminate called after throwing an instance of 'apache::thrift::transport::TTransportException'
Thrift: Tue Mar 7 13:03:08 2023 TNonblockingServer: using libevent 2.1.12-stable method epoll
what(): Could not bind: Address already in use
Thrift: Tue Mar 7 13:03:08 2023 TNonblocking: IO thread #0 registered for listen.
Thrift: Tue Mar 7 13:03:08 2023 TNonblocking: IO thread #0 registered for notify.41/76 Test #69: PythonThriftJson ..................***Failed 0.11 sec
Traceback (most recent call last):
File "/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/py/test/thrift_json.py", line 24, in <module>
from thrift.protocol.TJSONProtocol import TJSONProtocol
ModuleNotFoundError: No module named 'thrift'42/76 Test #47: testapplicationexception ..........SIGTRAP***Exception: 0.16 sec
TAP version 13
# random seed: R02S1a1ffd5dedd8587e702edd3f42b61eb8
1..4
# Start of testapplicationexception tests
ok 1 /testapplicationexception/CreateAndDestroy
ok 2 /testapplicationexception/Initialize
# Start of Properties tests(/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/x86_64-redhat-linux-gnu/bin/testapplicationexception:432210): GLib-CRITICAL **: 13:03:08.674: Did not see expected message GLib-GObject-WARNING **: value*out of range*type*
not ok /testapplicationexception/Properties/test - GLib-GObject-FATAL-CRITICAL: value "-1" of type 'gint' is invalid or out of range for property 'type' of type 'gint'
Bail out!43/76 Test #70: PythonThriftTransport .............***Failed 0.11 sec
Traceback (most recent call last):
File "/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/py/test/thrift_transport.py", line 24, in <module>
from thrift.transport import TTransport
ModuleNotFoundError: No module named 'thrift'44/76 Test #41: TQTcpServerTest_Qt5 ............... Passed 0.18 sec
45/76 Test #40: SecurityFromBufferTest ............***Failed 0.19 sec
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Running 1 test case...
/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/cpp/test/SecurityFromBufferTest.cpp(243): error: in "SecurityFromBufferTest/ssl_security_matrix": Server = SSLTLS, Client = TLSv1_0 expected mConnected == 1 but was 0
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/cpp/test/SecurityFromBufferTest.cpp(243): error: in "SecurityFromBufferTest/ssl_security_matrix": Server = SSLTLS, Client = TLSv1_1 expected mConnected == 1 but was 0
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/cpp/test/SecurityFromBufferTest.cpp(243): error: in "SecurityFromBufferTest/ssl_security_matrix": Server = TLSv1_0, Client = SSLTLS expected mConnected == 1 but was 0
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/cpp/test/SecurityFromBufferTest.cpp(243): error: in "SecurityFromBufferTest/ssl_security_matrix": Server = TLSv1_0, Client = TLSv1_0 expected mConnected == 1 but was 0
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/cpp/test/SecurityFromBufferTest.cpp(243): error: in "SecurityFromBufferTest/ssl_security_matrix": Server = TLSv1_1, Client = SSLTLS expected mConnected == 1 but was 0
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/cpp/test/SecurityFromBufferTest.cpp(243): error: in "SecurityFromBufferTest/ssl_security_matrix": Server = TLSv1_1, Client = TLSv1_1 expected mConnected == 1 but was 0
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)*** 6 failures are detected in the test module "SecurityFromBufferTest"
46/76 Test #68: PythonTestSSLSocket ...............***Failed 0.13 sec
Traceback (most recent call last):
File "/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/py/test/test_sslsocket.py", line 352, in <module>
from thrift.transport.TSSLSocket import TSSLSocket, TSSLServerSocket, _match_has_ipaddress
ModuleNotFoundError: No module named 'thrift'47/76 Test #39: SecurityTest ......................***Failed 0.20 sec
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Running 1 test case...
/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/cpp/test/SecurityTest.cpp(267): error: in "SecurityTest/ssl_security_matrix": Server = SSLTLS, Client = TLSv1_0 expected mConnected == 1 but was 0
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/cpp/test/SecurityTest.cpp(267): error: in "SecurityTest/ssl_security_matrix": Server = SSLTLS, Client = TLSv1_1 expected mConnected == 1 but was 0
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/cpp/test/SecurityTest.cpp(267): error: in "SecurityTest/ssl_security_matrix": Server = TLSv1_0, Client = SSLTLS expected mConnected == 1 but was 0
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/cpp/test/SecurityTest.cpp(267): error: in "SecurityTest/ssl_security_matrix": Server = TLSv1_0, Client = TLSv1_0 expected mConnected == 1 but was 0
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/cpp/test/SecurityTest.cpp(267): error: in "SecurityTest/ssl_security_matrix": Server = TLSv1_1, Client = SSLTLS expected mConnected == 1 but was 0
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/cpp/test/SecurityTest.cpp(267): error: in "SecurityTest/ssl_security_matrix": Server = TLSv1_1, Client = TLSv1_1 expected mConnected == 1 but was 0
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)*** 6 failures are detected in the test module "SecurityTest"
48/76 Test #71: PythonThriftTBinaryProtocol .......***Failed 0.14 sec
Traceback (most recent call last):
File "/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/py/test/thrift_TBinaryProtocol.py", line 23, in <module>
from thrift.protocol.TBinaryProtocol import TBinaryProtocol
ModuleNotFoundError: No module named 'thrift'49/76 Test #72: PythonThriftTZlibTransport ........***Failed 0.16 sec
Traceback (most recent call last):
File "/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/py/test/thrift_TZlibTransport.py", line 25, in <module>
from thrift.transport import TTransport
ModuleNotFoundError: No module named 'thrift'50/76 Test #74: PythonThriftTNonblockingServer ....***Failed 0.16 sec
Traceback (most recent call last):
File "/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/py/test/thrift_TNonblockingServer.py", line 29, in <module>
from TestServer import TestServer
File "/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/py/gen-py/TestServer/TestServer.py", line 9, in <module>
from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
ModuleNotFoundError: No module named 'thrift'51/76 Test #53: testfdtransport ...................SIGTRAP***Exception: 0.22 sec
TAP version 13
# random seed: R02S116105795fe85b794faaf41a2ae2805d
1..3
# Start of testfdtransport tests
ok 1 /testfdtransport/CreateAndDestroy
not ok /testfdtransport/OpenAndClose - GLib-FATAL-CRITICAL: g_close(fd:-1) failed with EBADF. This is not a valid file descriptor
Bail out!52/76 Test #62: testthriftfdreadcheck .............SIGTRAP***Exception: 0.23 sec
TAP version 13
# random seed: R02S49397b6d3cffd5e53233ab7b4f042957
1..2
# Start of testfdtransport tests
not ok /testfdtransport/OpenAndClose - GLib-FATAL-CRITICAL: g_close(fd:-1) failed with EBADF. This is not a valid file descriptor
Bail out!53/76 Test #75: python_test_generate .............. Passed 0.27 sec
54/76 Test #16: Benchmark ......................... Passed 1.22 sec
55/76 Test #49: testbinaryprotocol ................Subprocess aborted***Exception: 1.17 sec
TAP version 13
# random seed: R02Sabb0584bce01b63e95679996d9a3ae92
1..5
# Start of testbinaryprotocol tests
ok 1 /testbinaryprotocol/CreateAndDestroy
ok 2 /testbinaryprotocol/Initialize
**
ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testbinaryprotocol.c:506:thrift_server_primitives: assertion failed: (client != NULL)
not ok /testbinaryprotocol/ReadAndWritePrimitives - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testbinaryprotocol.c:506:thrift_server_primitives: assertion failed: (client != NULL)
Bail out!
**
ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testbinaryprotocol.c:157:test_read_and_write_primitives: assertion failed: (thrift_transport_is_open (transport))
not ok /testbinaryprotocol/ReadAndWritePrimitives - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testbinaryprotocol.c:157:test_read_and_write_primitives: assertion failed: (thrift_transport_is_open (transport))
Bail out!56/76 Test #50: testcompactprotocol ...............Subprocess aborted***Exception: 1.18 sec
TAP version 13
# random seed: R02S77c1597aa502bd35ad06a80b9caeb8af
1..5
# Start of testcompactprotocol tests
ok 1 /testcompactprotocol/CreateAndDestroy
ok 2 /testcompactprotocol/Initialize
**
ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testcompactprotocol.c:692:thrift_server_primitives: assertion failed: (client != NULL)
not ok /testcompactprotocol/ReadAndWritePrimitives - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testcompactprotocol.c:692:thrift_server_primitives: assertion failed: (client != NULL)
Bail out!
**
ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testcompactprotocol.c:164:test_read_and_write_primitives: assertion failed: (thrift_transport_is_open (transport))
not ok /testcompactprotocol/ReadAndWritePrimitives - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testcompactprotocol.c:164:test_read_and_write_primitives: assertion failed: (thrift_transport_is_open (transport))
Bail out!57/76 Test #52: testframedtransport ...............Subprocess aborted***Exception: 1.18 sec
TAP version 13
# random seed: R02S572ab7b60007793648316a44e19cb2a2
1..4
# Start of testframedtransport tests
ok 1 /testframedtransport/CreateAndDestroy
**
ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testframedtransport.c:263:thrift_socket_server_open: assertion failed: (client != NULL)
not ok /testframedtransport/OpenAndClose - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testframedtransport.c:263:thrift_socket_server_open: assertion failed: (client != NULL)
Bail out!
**
ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testframedtransport.c:82:test_open_and_close: assertion failed: (thrift_framed_transport_open (transport, NULL) == TRUE)
not ok /testframedtransport/OpenAndClose - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testframedtransport.c:82:test_open_and_close: assertion failed: (thrift_framed_transport_open (transport, NULL) == TRUE)
Bail out!58/76 Test #51: testbufferedtransport .............Subprocess aborted***Exception: 1.19 sec
TAP version 13
# random seed: R02S5f4107752541b0142432c4e6561b4984
1..4
# Start of testbufferedtransport tests
ok 1 /testbufferedtransport/CreateAndDestroy
**
ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testbufferedtransport.c:188:thrift_socket_server_open: assertion failed: (client != NULL)
not ok /testbufferedtransport/OpenAndClose - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testbufferedtransport.c:188:thrift_socket_server_open: assertion failed: (client != NULL)
Bail out!
**
ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testbufferedtransport.c:83:test_open_and_close: assertion failed: (thrift_buffered_transport_open (transport, NULL) == TRUE)
not ok /testbufferedtransport/OpenAndClose - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testbufferedtransport.c:83:test_open_and_close: assertion failed: (thrift_buffered_transport_open (transport, NULL) == TRUE)
Bail out!59/76 Test #58: testthriftbinaryreadcheck .........Subprocess aborted***Exception: 1.19 sec
TAP version 13
# random seed: R02S4a23f3e4cd4de7eec2c0009040d0e006
1..3
# Start of testthriftbinaryreadcheck tests
ok 1 /testthriftbinaryreadcheck/CreateAndDestroy
ok 2 /testthriftbinaryreadcheck/Initialize
**
ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftbinaryreadcheck.c:236:thrift_server_complex_types: assertion failed: (client != NULL)
not ok /testthriftbinaryreadcheck/test_read_and_write_complex_types - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftbinaryreadcheck.c:236:thrift_server_complex_types: assertion failed: (client != NULL)
Bail out!
**
ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftbinaryreadcheck.c:210:test_read_and_wirte_complex_types: assertion failed: (status == 0)
not ok /testthriftbinaryreadcheck/test_read_and_write_complex_types - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftbinaryreadcheck.c:210:test_read_and_wirte_complex_types: assertion failed: (status == 0)
Bail out!60/76 Test #59: testthriftbufferedreadcheck .......Subprocess aborted***Exception: 1.21 sec
TAP version 13
# random seed: R02Sc77db88c3851299da8c074833b0ace22
1..2
# Start of testthriftbufferedreadcheck tests
**
ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftbufferedreadcheck.c:161:thrift_socket_server_open: assertion failed: (client != NULL)
not ok /testthriftbufferedreadcheck/OpenAndClose - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftbufferedreadcheck.c:161:thrift_socket_server_open: assertion failed: (client != NULL)
Bail out!
**
ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftbufferedreadcheck.c:89:test_open_and_close: assertion failed: (status == 0)
not ok /testthriftbufferedreadcheck/OpenAndClose - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftbufferedreadcheck.c:89:test_open_and_close: assertion failed: (status == 0)
Bail out!61/76 Test #60: testthriftcompactreadcheck ........Subprocess aborted***Exception: 1.22 sec
TAP version 13
# random seed: R02S82828ef87f901e370b5d4b1430f288c1
1..3
# Start of testthriftcompactreadcheck tests
ok 1 /testthriftcompactreadcheck/CreateAndDestroy
ok 2 /testthriftcompactreadcheck/Initialize
**
ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftcompactreadcheck.c:231:thrift_server_complex_types: assertion failed: (client != NULL)
not ok /testthriftcompactreadcheck/ReadAndWriteComplexTypes - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftcompactreadcheck.c:231:thrift_server_complex_types: assertion failed: (client != NULL)
Bail out!
**
ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftcompactreadcheck.c:208:test_read_and_write_complex_types: assertion failed: (status == 0)
not ok /testthriftcompactreadcheck/ReadAndWriteComplexTypes - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftcompactreadcheck.c:208:test_read_and_write_complex_types: assertion failed: (status == 0)
Bail out!62/76 Test #61: testthriftframedreadcheck .........Subprocess aborted***Exception: 1.22 sec
TAP version 13
# random seed: R02Sba54e11e77e4f7aa3fe06b3c81e3b432
1..2
# Start of testframedtransport tests
**
ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftframedreadcheck.c:159:thrift_socket_server_open: assertion failed: (client != NULL)
not ok /testframedtransport/OpenAndClose - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftframedreadcheck.c:159:thrift_socket_server_open: assertion failed: (client != NULL)
Bail out!
**
ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftframedreadcheck.c:87:test_open_and_close: assertion failed: (status == 0)
not ok /testframedtransport/OpenAndClose - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftframedreadcheck.c:87:test_open_and_close: assertion failed: (status == 0)
Bail out!63/76 Test #17: UnitTests ......................... Passed 1.50 sec
64/76 Test #42: StressTest ........................ Passed 1.58 sec
65/76 Test #64: testzlibtransport .................Subprocess aborted***Exception: 1.86 sec
TAP version 13
# random seed: R02S6a7df0a34ea17e1d852f67990dbec5e4
1..3
# Start of testzlibtransport tests
ok 1 /testzlibtransport/CreateAndDestroy
**
ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testzlibtransport.c:174:thrift_socket_server_open: assertion failed: (client != NULL)
not ok /testzlibtransport/OpenAndClose - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testzlibtransport.c:174:thrift_socket_server_open: assertion failed: (client != NULL)
Bail out!
**
ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testzlibtransport.c:114:test_open_and_close: assertion failed: (status == 0)
not ok /testzlibtransport/OpenAndClose - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testzlibtransport.c:114:test_open_and_close: assertion failed: (status == 0)
Bail out!66/76 Test #48: testtransportsocket ...............Subprocess aborted***Exception: 2.14 sec
TAP version 13
# random seed: R02S8007b72b24038e616c01c1fc63398a59
1..4
# Start of testtransportsocket tests
ok 1 /testtransportsocket/CreateAndDestroy
ok 2 /testtransportsocket/OpenAndClose
**
ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testtransportsocket.c:332:thrift_socket_server: assertion failed: (memcmp(buf, match, 10) == 0)
not ok /testtransportsocket/ReadAndWrite - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testtransportsocket.c:332:thrift_socket_server: assertion failed: (memcmp(buf, match, 10) == 0)
Bail out!
**
ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testtransportsocket.c:173:test_read_and_write: assertion failed: (thrift_socket_open (transport, NULL) == TRUE)
not ok /testtransportsocket/ReadAndWrite - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testtransportsocket.c:173:test_read_and_write: assertion failed: (thrift_socket_open (transport, NULL) == TRUE)
Bail out!67/76 Test #24: TFileTransportTest ................ Passed 2.42 sec
68/76 Test #15: StalenessCheckTest ................ Passed 3.21 sec
69/76 Test #55: testsimpleserver ..................Subprocess aborted***Exception: 5.13 sec
TAP version 13
# random seed: R02S71a7b9914005cfbef12ff64972d15b74
1..1
# Start of testsimpleserver tests
**
ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testsimpleserver.c:106:test_server: assertion failed: (status == SIGINT)
not ok /testsimpleserver/SimpleServer - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testsimpleserver.c:106:test_server: assertion failed: (status == SIGINT)
Bail out!70/76 Test #66: testthrifttestclient .............. Passed 6.01 sec
71/76 Test #67: testthrifttestzlibclient .......... Passed 6.01 sec
72/76 Test #18: TInterruptTest .................... Passed 12.14 sec
73/76 Test #19: TServerIntegrationTest ............ Passed 12.26 sec
74/76 Test #33: concurrency_test .................. Passed 20.61 sec
75/76 Test #35: processor_test .................... Passed 35.16 sec
76/76 Test #20: TransportTest ..................... Passed 35.31 sec47% tests passed, 40 tests failed out of 76Total Test time (real) = 35.35 secThe following tests FAILED:
1 - php_const1_return (Failed)
2 - php_enum1_return (Failed)
3 - php_enum2_return (Failed)
4 - php_exception1_return (Failed)
5 - php_exception2_return (Failed)
6 - php_service1_return (Failed)
7 - php_service2_return (Failed)
8 - php_service3_return (Failed)
9 - php_service4_return (Failed)
10 - php_struct1_return (Failed)
11 - php_struct2_return (Failed)
12 - php_typedef1_return (Failed)
13 - php_union1_return (Failed)
14 - php_union2_return (Failed)
39 - SecurityTest (Failed)
40 - SecurityFromBufferTest (Failed)
43 - StressTestConcurrent (Subprocess aborted)
44 - StressTestNonBlocking (Subprocess aborted)
47 - testapplicationexception (SIGTRAP)
48 - testtransportsocket (Subprocess aborted)
49 - testbinaryprotocol (Subprocess aborted)
50 - testcompactprotocol (Subprocess aborted)
51 - testbufferedtransport (Subprocess aborted)
52 - testframedtransport (Subprocess aborted)
53 - testfdtransport (SIGTRAP)
55 - testsimpleserver (Subprocess aborted)
58 - testthriftbinaryreadcheck (Subprocess aborted)
59 - testthriftbufferedreadcheck (Subprocess aborted)
60 - testthriftcompactreadcheck (Subprocess aborted)
61 - testthriftframedreadcheck (Subprocess aborted)
62 - testthriftfdreadcheck (SIGTRAP)
64 - testzlibtransport (Subprocess aborted)
68 - PythonTestSSLSocket (Failed)
69 - PythonThriftJson (Failed)
70 - PythonThriftTransport (Failed)
71 - PythonThriftTBinaryProtocol (Failed)
72 - PythonThriftTZlibTransport (Failed)
73 - PythonThriftProtocol (Failed)
74 - PythonThriftTNonblockingServer (Failed)
76 - python_test (Failed)
Errors while running CTest
{code}
was:
Looks like sometbing is wrog and test suite is failing in few units
{code:java}
+ cd thrift-0.18.1
+ /usr/bin/ctest --test-dir x86_64-redhat-linux-gnu --output-on-failure --force-new-ctest-process -j48 ' ' -E '^(SecurityTest|SecurityFromBufferTest|StressTestConcurrent|StressTestNonBlocking|testapplicationexception|testtransportsocket|testbinaryprotocol|testcompactprotocol|testbufferedtransport|testframedtransport|testfdtransport|testsimpleserver|testthriftbinaryreadcheck|testthriftbufferedreadcheck|testthriftcompactreadcheck|testthriftframedreadcheck|testthriftfdreadcheck|testzlibtransport|testthrifttestclient|testthrifttestzlibclient|PythonTestSSLSocket|PythonThriftJson|PythonThriftTransport|PythonThriftTBinaryProtocol|PythonThriftTZlibTransport|PythonThriftProtocol|PythonThriftTNonblockingServer|python_test)'
Internal ctest changing into directory: /home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/x86_64-redhat-linux-gnu
Test project /home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/x86_64-redhat-linux-gnu
Start 1: php_const1_return
Start 2: php_enum1_return
Start 3: php_enum2_return
Start 4: php_exception1_return
Start 5: php_exception2_return
Start 6: php_service1_return
Start 7: php_service2_return
Start 8: php_service3_return
Start 9: php_service4_return
Start 10: php_struct1_return
Start 11: php_struct2_return
Start 12: php_typedef1_return
Start 13: php_union1_return
Start 14: php_union2_return
Start 15: StalenessCheckTest
Start 16: Benchmark
Start 17: UnitTests
Start 18: TInterruptTest
Start 19: TServerIntegrationTest
Start 20: TransportTest
Start 21: ZlibTest
Start 22: AnnotationTest
Start 23: EnumTest
Start 24: TFileTransportTest
Start 25: TFDTransportTest
Start 26: TPipedTransportTest
Start 27: AllProtocolsTest
Start 28: DebugProtoTest
Start 29: JSONProtoTest
Start 30: OptionalRequiredTest
Start 31: RecursiveTest
Start 32: SpecializationTest
Start 33: concurrency_test
Start 34: link_test
Start 35: processor_test
Start 36: TNonblockingServerTest
Start 37: TNonblockingSSLServerTest
Start 38: OpenSSLManualInitTest
Start 39: TQTcpServerTest_Qt5
Start 40: StressTest
Start 41: SpecificNameTest
Start 42: testserialization
Start 43: testmemorybuffer
Start 44: testdebugproto
Start 45: testoptionalrequired
Start 46: testthriftmemorybufferreadcheck
Start 47: testthrifttest
1/47 Test #1: php_const1_return .................***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.07 sec
[WARNING:generation:1] Unable to get a generator for "php".
2/47 Test #2: php_enum1_return ..................***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.07 sec
[WARNING:generation:1] Unable to get a generator for "php".
3/47 Test #3: php_enum2_return ..................***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.07 sec
[WARNING:generation:1] Unable to get a generator for "php".
4/47 Test #4: php_exception1_return .............***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.07 sec
[WARNING:generation:1] Unable to get a generator for "php".
5/47 Test #5: php_exception2_return .............***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.06 sec
[WARNING:generation:1] Unable to get a generator for "php".
6/47 Test #6: php_service1_return ...............***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.06 sec
[WARNING:generation:1] Unable to get a generator for "php".
7/47 Test #7: php_service2_return ...............***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.06 sec
[WARNING:generation:1] Unable to get a generator for "php".
8/47 Test #8: php_service3_return ...............***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.06 sec
[WARNING:generation:1] Unable to get a generator for "php".
9/47 Test #9: php_service4_return ...............***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.06 sec
[WARNING:generation:1] Unable to get a generator for "php".
10/47 Test #10: php_struct1_return ................***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.06 sec
[WARNING:generation:1] Unable to get a generator for "php".
11/47 Test #11: php_struct2_return ................***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.06 sec
[WARNING:generation:1] Unable to get a generator for "php".
12/47 Test #12: php_typedef1_return ...............***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.06 sec
[WARNING:generation:1] Unable to get a generator for "php".
13/47 Test #13: php_union1_return .................***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.06 sec
[WARNING:generation:1] Unable to get a generator for "php".
14/47 Test #14: php_union2_return .................***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
] 0.06 sec
[WARNING:generation:1] Unable to get a generator for "php".
15/47 Test #22: AnnotationTest .................... Passed 0.04 sec
16/47 Test #23: EnumTest .......................... Passed 0.04 sec
17/47 Test #25: TFDTransportTest .................. Passed 0.04 sec
18/47 Test #26: TPipedTransportTest ............... Passed 0.04 sec
19/47 Test #27: AllProtocolsTest .................. Passed 0.04 sec
20/47 Test #28: DebugProtoTest .................... Passed 0.04 sec
21/47 Test #29: JSONProtoTest ..................... Passed 0.04 sec
22/47 Test #30: OptionalRequiredTest .............. Passed 0.03 sec
23/47 Test #31: RecursiveTest ..................... Passed 0.03 sec
24/47 Test #32: SpecializationTest ................ Passed 0.03 sec
25/47 Test #34: link_test ......................... Passed 0.03 sec
26/47 Test #36: TNonblockingServerTest ............ Passed 0.03 sec
27/47 Test #38: OpenSSLManualInitTest ............. Passed 0.02 sec
28/47 Test #41: SpecificNameTest .................. Passed 0.02 sec
29/47 Test #42: testserialization ................. Passed 0.02 sec
30/47 Test #43: testmemorybuffer .................. Passed 0.02 sec
31/47 Test #44: testdebugproto .................... Passed 0.02 sec
32/47 Test #45: testoptionalrequired .............. Passed 0.02 sec
33/47 Test #46: testthriftmemorybufferreadcheck ... Passed 0.02 sec
34/47 Test #47: testthrifttest .................... Passed 0.01 sec
35/47 Test #21: ZlibTest .......................... Passed 0.05 sec
36/47 Test #37: TNonblockingSSLServerTest ......... Passed 0.06 sec
37/47 Test #39: TQTcpServerTest_Qt5 ............... Passed 0.18 sec
38/47 Test #16: Benchmark ......................... Passed 1.01 sec
39/47 Test #40: StressTest ........................ Passed 1.63 sec
40/47 Test #17: UnitTests ......................... Passed 1.78 sec
41/47 Test #24: TFileTransportTest ................ Passed 2.38 sec
42/47 Test #15: StalenessCheckTest ................ Passed 3.15 sec
43/47 Test #18: TInterruptTest .................... Passed 12.11 sec
44/47 Test #19: TServerIntegrationTest ............ Passed 12.30 sec
45/47 Test #33: concurrency_test .................. Passed 20.62 sec
46/47 Test #20: TransportTest ..................... Passed 35.02 sec
47/47 Test #35: processor_test .................... Passed 35.27 sec70% tests passed, 14 tests failed out of 47Total Test time (real) = 35.32 secThe following tests FAILED:
1 - php_const1_return (Failed)
2 - php_enum1_return (Failed)
3 - php_enum2_return (Failed)
4 - php_exception1_return (Failed)
5 - php_exception2_return (Failed)
6 - php_service1_return (Failed)
7 - php_service2_return (Failed)
8 - php_service3_return (Failed)
9 - php_service4_return (Failed)
10 - php_struct1_return (Failed)
11 - php_struct2_return (Failed)
12 - php_typedef1_return (Failed)
13 - php_union1_return (Failed)
14 - php_union2_return (Failed)
Errors while running CTest
{code}
> 0.18.1: test suite is failing in few units
> ------------------------------------------
>
> Key: THRIFT-5691
> URL: https://issues.apache.org/jira/browse/THRIFT-5691
> Project: Thrift
> Issue Type: Bug
> Affects Versions: 0.18.1
> Reporter: Tomasz Kloczko
> Priority: Major
>
> Looks like sometbing is wrog and test suite is failing in few units
> {code:java}
> + cd thrift-0.18.1
> + /usr/bin/ctest --test-dir x86_64-redhat-linux-gnu --output-on-failure --force-new-ctest-process -j48 ' '
> Internal ctest changing into directory: /home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/x86_64-redhat-linux-gnu
> Test project /home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/x86_64-redhat-linux-gnu
> Start 1: php_const1_return
> Start 2: php_enum1_return
> Start 3: php_enum2_return
> Start 4: php_exception1_return
> Start 5: php_exception2_return
> Start 6: php_service1_return
> Start 7: php_service2_return
> Start 8: php_service3_return
> Start 9: php_service4_return
> Start 10: php_struct1_return
> Start 11: php_struct2_return
> Start 12: php_typedef1_return
> Start 13: php_union1_return
> Start 14: php_union2_return
> Start 15: StalenessCheckTest
> Start 16: Benchmark
> Start 17: UnitTests
> Start 18: TInterruptTest
> Start 19: TServerIntegrationTest
> Start 20: TransportTest
> Start 21: ZlibTest
> Start 22: AnnotationTest
> Start 23: EnumTest
> Start 24: TFileTransportTest
> Start 25: TFDTransportTest
> Start 26: TPipedTransportTest
> Start 27: AllProtocolsTest
> Start 28: DebugProtoTest
> Start 29: JSONProtoTest
> Start 30: OptionalRequiredTest
> Start 31: RecursiveTest
> Start 32: SpecializationTest
> Start 33: concurrency_test
> Start 34: link_test
> Start 35: processor_test
> Start 36: TNonblockingServerTest
> Start 37: TNonblockingSSLServerTest
> Start 38: OpenSSLManualInitTest
> Start 39: SecurityTest
> Start 40: SecurityFromBufferTest
> Start 41: TQTcpServerTest_Qt5
> Start 42: StressTest
> Start 43: StressTestConcurrent
> Start 44: StressTestNonBlocking
> Start 45: SpecificNameTest
> Start 46: testserialization
> Start 47: testapplicationexception
> Start 48: testtransportsocket
> 1/76 Test #1: php_const1_return .................***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
> ] 0.08 sec
> [WARNING:generation:1] Unable to get a generator for "php".
> Start 49: testbinaryprotocol
> 2/76 Test #2: php_enum1_return ..................***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
> ] 0.08 sec
> [WARNING:generation:1] Unable to get a generator for "php".
> Start 50: testcompactprotocol
> 3/76 Test #3: php_enum2_return ..................***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
> ] 0.08 sec
> [WARNING:generation:1] Unable to get a generator for "php".
> Start 51: testbufferedtransport
> 4/76 Test #4: php_exception1_return .............***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
> ] 0.08 sec
> [WARNING:generation:1] Unable to get a generator for "php".
> Start 52: testframedtransport
> 5/76 Test #5: php_exception2_return .............***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
> ] 0.08 sec
> [WARNING:generation:1] Unable to get a generator for "php".
> Start 53: testfdtransport
> 6/76 Test #6: php_service1_return ...............***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
> ] 0.08 sec
> [WARNING:generation:1] Unable to get a generator for "php".
> Start 54: testmemorybuffer
> 7/76 Test #7: php_service2_return ...............***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
> ] 0.08 sec
> [WARNING:generation:1] Unable to get a generator for "php".
> Start 55: testsimpleserver
> 8/76 Test #8: php_service3_return ...............***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
> ] 0.08 sec
> [WARNING:generation:1] Unable to get a generator for "php".
> Start 56: testdebugproto
> 9/76 Test #9: php_service4_return ...............***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
> ] 0.08 sec
> [WARNING:generation:1] Unable to get a generator for "php".
> Start 57: testoptionalrequired
> 10/76 Test #10: php_struct1_return ................***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
> ] 0.08 sec
> [WARNING:generation:1] Unable to get a generator for "php".
> Start 58: testthriftbinaryreadcheck
> 11/76 Test #11: php_struct2_return ................***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
> ] 0.09 sec
> [WARNING:generation:1] Unable to get a generator for "php".
> Start 59: testthriftbufferedreadcheck
> 12/76 Test #12: php_typedef1_return ...............***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
> ] 0.09 sec
> [WARNING:generation:1] Unable to get a generator for "php".
> Start 60: testthriftcompactreadcheck
> 13/76 Test #13: php_union1_return .................***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
> ] 0.09 sec
> [WARNING:generation:1] Unable to get a generator for "php".
> Start 61: testthriftframedreadcheck
> 14/76 Test #14: php_union2_return .................***Failed Required regular expression not found. Regex=[Cannot use reserved language keyword
> ] 0.09 sec
> [WARNING:generation:1] Unable to get a generator for "php".
> Start 62: testthriftfdreadcheck
> 15/76 Test #22: AnnotationTest .................... Passed 0.08 sec
> Start 63: testthriftmemorybufferreadcheck
> 16/76 Test #23: EnumTest .......................... Passed 0.08 sec
> Start 64: testzlibtransport
> 17/76 Test #25: TFDTransportTest .................. Passed 0.07 sec
> Start 65: testthrifttest
> 18/76 Test #26: TPipedTransportTest ............... Passed 0.07 sec
> Start 66: testthrifttestclient
> 19/76 Test #27: AllProtocolsTest .................. Passed 0.07 sec
> Start 67: testthrifttestzlibclient
> 20/76 Test #28: DebugProtoTest .................... Passed 0.08 sec
> Start 68: PythonTestSSLSocket
> 21/76 Test #29: JSONProtoTest ..................... Passed 0.08 sec
> Start 69: PythonThriftJson
> 22/76 Test #30: OptionalRequiredTest .............. Passed 0.08 sec
> Start 70: PythonThriftTransport
> 23/76 Test #31: RecursiveTest ..................... Passed 0.08 sec
> Start 71: PythonThriftTBinaryProtocol
> 24/76 Test #32: SpecializationTest ................ Passed 0.08 sec
> Start 72: PythonThriftTZlibTransport
> 25/76 Test #34: link_test ......................... Passed 0.08 sec
> Start 73: PythonThriftProtocol
> 26/76 Test #36: TNonblockingServerTest ............ Passed 0.07 sec
> Start 74: PythonThriftTNonblockingServer
> 27/76 Test #38: OpenSSLManualInitTest ............. Passed 0.07 sec
> Start 75: python_test_generate
> 28/76 Test #45: SpecificNameTest .................. Passed 0.07 sec
> Start 76: python_test
> 29/76 Test #37: TNonblockingSSLServerTest ......... Passed 0.08 sec
> 30/76 Test #46: testserialization ................. Passed 0.07 sec
> 31/76 Test #21: ZlibTest .......................... Passed 0.11 sec
> 32/76 Test #54: testmemorybuffer .................. Passed 0.05 sec
> 33/76 Test #56: testdebugproto .................... Passed 0.05 sec
> 34/76 Test #57: testoptionalrequired .............. Passed 0.04 sec
> 35/76 Test #63: testthriftmemorybufferreadcheck ... Passed 0.03 sec
> 36/76 Test #65: testthrifttest .................... Passed 0.03 sec
> 37/76 Test #73: PythonThriftProtocol ..............***Failed 0.07 sec
> Traceback (most recent call last):
> File "/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/py/test/thrift_TCompactProtocol.py", line 21, in <module>
> from thrift.protocol import TCompactProtocol
> ModuleNotFoundError: No module named 'thrift'38/76 Test #43: StressTestConcurrent ..............Subprocess aborted***Exception: 0.13 sec
> Starting the server on port 9091
> Thrift: Tue Mar 7 13:03:08 2023 TServerSocket::listen() Could not bind to port 9091
> terminate called after throwing an instance of 'apache::thrift::transport::TTransportException'
> what(): Could not bind: Address already in use39/76 Test #76: python_test .......................***Failed 0.07 sec
> ----------------
> Executing individual test scripts with various generated code directories
> Directories to be tested: gen-py-default, gen-py-slots, gen-py-oldstyle, gen-py-no_utf8strings, gen-py-dynamic, gen-py-dynamicslots, gen-py-enum
> Scripts to be tested: FastbinaryTest.py, TestFrozen.py, TestRenderedDoubleConstants.py, TSimpleJSONProtocolTest.py, SerializationTest.py, TestEof.py, TestSyntax.py, TestSocket.py
> ----------------
> Traceback (most recent call last):
> File "/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/test/py/RunClientServer.py", line 323, in <module>
> sys.exit(main())
> File "/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/test/py/RunClientServer.py", line 302, in main
> runScriptTest(options.libdir, options.gen_base, genpydir, script)
> File "/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/test/py/RunClientServer.py", line 94, in runScriptTest
> env = setup_pypath(libdir, os.path.join(genbase, genpydir))
> File "/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/test/py/RunClientServer.py", line 87, in setup_pypath
> env['PYTHONPATH'] = os.pathsep.join(dirs)
> TypeError: sequence item 0: expected str instance, NoneType found40/76 Test #44: StressTestNonBlocking .............Subprocess aborted***Exception: 0.16 sec
> Starting the server on port 9091 and 9092
> Thrift: Tue Mar 7 13:03:08 2023 TNonblockingServerSocket::listen() Could not bind to port 9091
> Thrift: Tue Mar 7 13:03:08 2023 TNonblockingServer: Serving with 1 io threads.
> terminate called after throwing an instance of 'apache::thrift::transport::TTransportException'
> Thrift: Tue Mar 7 13:03:08 2023 TNonblockingServer: using libevent 2.1.12-stable method epoll
> what(): Could not bind: Address already in use
> Thrift: Tue Mar 7 13:03:08 2023 TNonblocking: IO thread #0 registered for listen.
> Thrift: Tue Mar 7 13:03:08 2023 TNonblocking: IO thread #0 registered for notify.41/76 Test #69: PythonThriftJson ..................***Failed 0.11 sec
> Traceback (most recent call last):
> File "/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/py/test/thrift_json.py", line 24, in <module>
> from thrift.protocol.TJSONProtocol import TJSONProtocol
> ModuleNotFoundError: No module named 'thrift'42/76 Test #47: testapplicationexception ..........SIGTRAP***Exception: 0.16 sec
> TAP version 13
> # random seed: R02S1a1ffd5dedd8587e702edd3f42b61eb8
> 1..4
> # Start of testapplicationexception tests
> ok 1 /testapplicationexception/CreateAndDestroy
> ok 2 /testapplicationexception/Initialize
> # Start of Properties tests(/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/x86_64-redhat-linux-gnu/bin/testapplicationexception:432210): GLib-CRITICAL **: 13:03:08.674: Did not see expected message GLib-GObject-WARNING **: value*out of range*type*
> not ok /testapplicationexception/Properties/test - GLib-GObject-FATAL-CRITICAL: value "-1" of type 'gint' is invalid or out of range for property 'type' of type 'gint'
> Bail out!43/76 Test #70: PythonThriftTransport .............***Failed 0.11 sec
> Traceback (most recent call last):
> File "/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/py/test/thrift_transport.py", line 24, in <module>
> from thrift.transport import TTransport
> ModuleNotFoundError: No module named 'thrift'44/76 Test #41: TQTcpServerTest_Qt5 ............... Passed 0.18 sec
> 45/76 Test #40: SecurityFromBufferTest ............***Failed 0.19 sec
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Running 1 test case...
> /home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/cpp/test/SecurityFromBufferTest.cpp(243): error: in "SecurityFromBufferTest/ssl_security_matrix": Server = SSLTLS, Client = TLSv1_0 expected mConnected == 1 but was 0
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> /home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/cpp/test/SecurityFromBufferTest.cpp(243): error: in "SecurityFromBufferTest/ssl_security_matrix": Server = SSLTLS, Client = TLSv1_1 expected mConnected == 1 but was 0
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> /home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/cpp/test/SecurityFromBufferTest.cpp(243): error: in "SecurityFromBufferTest/ssl_security_matrix": Server = TLSv1_0, Client = SSLTLS expected mConnected == 1 but was 0
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> /home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/cpp/test/SecurityFromBufferTest.cpp(243): error: in "SecurityFromBufferTest/ssl_security_matrix": Server = TLSv1_0, Client = TLSv1_0 expected mConnected == 1 but was 0
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> /home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/cpp/test/SecurityFromBufferTest.cpp(243): error: in "SecurityFromBufferTest/ssl_security_matrix": Server = TLSv1_1, Client = SSLTLS expected mConnected == 1 but was 0
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> /home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/cpp/test/SecurityFromBufferTest.cpp(243): error: in "SecurityFromBufferTest/ssl_security_matrix": Server = TLSv1_1, Client = TLSv1_1 expected mConnected == 1 but was 0
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)*** 6 failures are detected in the test module "SecurityFromBufferTest"
> 46/76 Test #68: PythonTestSSLSocket ...............***Failed 0.13 sec
> Traceback (most recent call last):
> File "/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/py/test/test_sslsocket.py", line 352, in <module>
> from thrift.transport.TSSLSocket import TSSLSocket, TSSLServerSocket, _match_has_ipaddress
> ModuleNotFoundError: No module named 'thrift'47/76 Test #39: SecurityTest ......................***Failed 0.20 sec
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Running 1 test case...
> /home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/cpp/test/SecurityTest.cpp(267): error: in "SecurityTest/ssl_security_matrix": Server = SSLTLS, Client = TLSv1_0 expected mConnected == 1 but was 0
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> /home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/cpp/test/SecurityTest.cpp(267): error: in "SecurityTest/ssl_security_matrix": Server = SSLTLS, Client = TLSv1_1 expected mConnected == 1 but was 0
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> /home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/cpp/test/SecurityTest.cpp(267): error: in "SecurityTest/ssl_security_matrix": Server = TLSv1_0, Client = SSLTLS expected mConnected == 1 but was 0
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> /home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/cpp/test/SecurityTest.cpp(267): error: in "SecurityTest/ssl_security_matrix": Server = TLSv1_0, Client = TLSv1_0 expected mConnected == 1 but was 0
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> /home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/cpp/test/SecurityTest.cpp(267): error: in "SecurityTest/ssl_security_matrix": Server = TLSv1_1, Client = SSLTLS expected mConnected == 1 but was 0
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> /home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/cpp/test/SecurityTest.cpp(267): error: in "SecurityTest/ssl_security_matrix": Server = TLSv1_1, Client = TLSv1_1 expected mConnected == 1 but was 0
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
> Thrift: Tue Mar 7 13:03:08 2023 SSL_shutdown: shutdown while in init (SSL_error_code = 1)*** 6 failures are detected in the test module "SecurityTest"
> 48/76 Test #71: PythonThriftTBinaryProtocol .......***Failed 0.14 sec
> Traceback (most recent call last):
> File "/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/py/test/thrift_TBinaryProtocol.py", line 23, in <module>
> from thrift.protocol.TBinaryProtocol import TBinaryProtocol
> ModuleNotFoundError: No module named 'thrift'49/76 Test #72: PythonThriftTZlibTransport ........***Failed 0.16 sec
> Traceback (most recent call last):
> File "/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/py/test/thrift_TZlibTransport.py", line 25, in <module>
> from thrift.transport import TTransport
> ModuleNotFoundError: No module named 'thrift'50/76 Test #74: PythonThriftTNonblockingServer ....***Failed 0.16 sec
> Traceback (most recent call last):
> File "/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/py/test/thrift_TNonblockingServer.py", line 29, in <module>
> from TestServer import TestServer
> File "/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/py/gen-py/TestServer/TestServer.py", line 9, in <module>
> from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
> ModuleNotFoundError: No module named 'thrift'51/76 Test #53: testfdtransport ...................SIGTRAP***Exception: 0.22 sec
> TAP version 13
> # random seed: R02S116105795fe85b794faaf41a2ae2805d
> 1..3
> # Start of testfdtransport tests
> ok 1 /testfdtransport/CreateAndDestroy
> not ok /testfdtransport/OpenAndClose - GLib-FATAL-CRITICAL: g_close(fd:-1) failed with EBADF. This is not a valid file descriptor
> Bail out!52/76 Test #62: testthriftfdreadcheck .............SIGTRAP***Exception: 0.23 sec
> TAP version 13
> # random seed: R02S49397b6d3cffd5e53233ab7b4f042957
> 1..2
> # Start of testfdtransport tests
> not ok /testfdtransport/OpenAndClose - GLib-FATAL-CRITICAL: g_close(fd:-1) failed with EBADF. This is not a valid file descriptor
> Bail out!53/76 Test #75: python_test_generate .............. Passed 0.27 sec
> 54/76 Test #16: Benchmark ......................... Passed 1.22 sec
> 55/76 Test #49: testbinaryprotocol ................Subprocess aborted***Exception: 1.17 sec
> TAP version 13
> # random seed: R02Sabb0584bce01b63e95679996d9a3ae92
> 1..5
> # Start of testbinaryprotocol tests
> ok 1 /testbinaryprotocol/CreateAndDestroy
> ok 2 /testbinaryprotocol/Initialize
> **
> ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testbinaryprotocol.c:506:thrift_server_primitives: assertion failed: (client != NULL)
> not ok /testbinaryprotocol/ReadAndWritePrimitives - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testbinaryprotocol.c:506:thrift_server_primitives: assertion failed: (client != NULL)
> Bail out!
> **
> ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testbinaryprotocol.c:157:test_read_and_write_primitives: assertion failed: (thrift_transport_is_open (transport))
> not ok /testbinaryprotocol/ReadAndWritePrimitives - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testbinaryprotocol.c:157:test_read_and_write_primitives: assertion failed: (thrift_transport_is_open (transport))
> Bail out!56/76 Test #50: testcompactprotocol ...............Subprocess aborted***Exception: 1.18 sec
> TAP version 13
> # random seed: R02S77c1597aa502bd35ad06a80b9caeb8af
> 1..5
> # Start of testcompactprotocol tests
> ok 1 /testcompactprotocol/CreateAndDestroy
> ok 2 /testcompactprotocol/Initialize
> **
> ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testcompactprotocol.c:692:thrift_server_primitives: assertion failed: (client != NULL)
> not ok /testcompactprotocol/ReadAndWritePrimitives - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testcompactprotocol.c:692:thrift_server_primitives: assertion failed: (client != NULL)
> Bail out!
> **
> ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testcompactprotocol.c:164:test_read_and_write_primitives: assertion failed: (thrift_transport_is_open (transport))
> not ok /testcompactprotocol/ReadAndWritePrimitives - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testcompactprotocol.c:164:test_read_and_write_primitives: assertion failed: (thrift_transport_is_open (transport))
> Bail out!57/76 Test #52: testframedtransport ...............Subprocess aborted***Exception: 1.18 sec
> TAP version 13
> # random seed: R02S572ab7b60007793648316a44e19cb2a2
> 1..4
> # Start of testframedtransport tests
> ok 1 /testframedtransport/CreateAndDestroy
> **
> ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testframedtransport.c:263:thrift_socket_server_open: assertion failed: (client != NULL)
> not ok /testframedtransport/OpenAndClose - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testframedtransport.c:263:thrift_socket_server_open: assertion failed: (client != NULL)
> Bail out!
> **
> ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testframedtransport.c:82:test_open_and_close: assertion failed: (thrift_framed_transport_open (transport, NULL) == TRUE)
> not ok /testframedtransport/OpenAndClose - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testframedtransport.c:82:test_open_and_close: assertion failed: (thrift_framed_transport_open (transport, NULL) == TRUE)
> Bail out!58/76 Test #51: testbufferedtransport .............Subprocess aborted***Exception: 1.19 sec
> TAP version 13
> # random seed: R02S5f4107752541b0142432c4e6561b4984
> 1..4
> # Start of testbufferedtransport tests
> ok 1 /testbufferedtransport/CreateAndDestroy
> **
> ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testbufferedtransport.c:188:thrift_socket_server_open: assertion failed: (client != NULL)
> not ok /testbufferedtransport/OpenAndClose - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testbufferedtransport.c:188:thrift_socket_server_open: assertion failed: (client != NULL)
> Bail out!
> **
> ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testbufferedtransport.c:83:test_open_and_close: assertion failed: (thrift_buffered_transport_open (transport, NULL) == TRUE)
> not ok /testbufferedtransport/OpenAndClose - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testbufferedtransport.c:83:test_open_and_close: assertion failed: (thrift_buffered_transport_open (transport, NULL) == TRUE)
> Bail out!59/76 Test #58: testthriftbinaryreadcheck .........Subprocess aborted***Exception: 1.19 sec
> TAP version 13
> # random seed: R02S4a23f3e4cd4de7eec2c0009040d0e006
> 1..3
> # Start of testthriftbinaryreadcheck tests
> ok 1 /testthriftbinaryreadcheck/CreateAndDestroy
> ok 2 /testthriftbinaryreadcheck/Initialize
> **
> ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftbinaryreadcheck.c:236:thrift_server_complex_types: assertion failed: (client != NULL)
> not ok /testthriftbinaryreadcheck/test_read_and_write_complex_types - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftbinaryreadcheck.c:236:thrift_server_complex_types: assertion failed: (client != NULL)
> Bail out!
> **
> ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftbinaryreadcheck.c:210:test_read_and_wirte_complex_types: assertion failed: (status == 0)
> not ok /testthriftbinaryreadcheck/test_read_and_write_complex_types - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftbinaryreadcheck.c:210:test_read_and_wirte_complex_types: assertion failed: (status == 0)
> Bail out!60/76 Test #59: testthriftbufferedreadcheck .......Subprocess aborted***Exception: 1.21 sec
> TAP version 13
> # random seed: R02Sc77db88c3851299da8c074833b0ace22
> 1..2
> # Start of testthriftbufferedreadcheck tests
> **
> ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftbufferedreadcheck.c:161:thrift_socket_server_open: assertion failed: (client != NULL)
> not ok /testthriftbufferedreadcheck/OpenAndClose - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftbufferedreadcheck.c:161:thrift_socket_server_open: assertion failed: (client != NULL)
> Bail out!
> **
> ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftbufferedreadcheck.c:89:test_open_and_close: assertion failed: (status == 0)
> not ok /testthriftbufferedreadcheck/OpenAndClose - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftbufferedreadcheck.c:89:test_open_and_close: assertion failed: (status == 0)
> Bail out!61/76 Test #60: testthriftcompactreadcheck ........Subprocess aborted***Exception: 1.22 sec
> TAP version 13
> # random seed: R02S82828ef87f901e370b5d4b1430f288c1
> 1..3
> # Start of testthriftcompactreadcheck tests
> ok 1 /testthriftcompactreadcheck/CreateAndDestroy
> ok 2 /testthriftcompactreadcheck/Initialize
> **
> ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftcompactreadcheck.c:231:thrift_server_complex_types: assertion failed: (client != NULL)
> not ok /testthriftcompactreadcheck/ReadAndWriteComplexTypes - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftcompactreadcheck.c:231:thrift_server_complex_types: assertion failed: (client != NULL)
> Bail out!
> **
> ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftcompactreadcheck.c:208:test_read_and_write_complex_types: assertion failed: (status == 0)
> not ok /testthriftcompactreadcheck/ReadAndWriteComplexTypes - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftcompactreadcheck.c:208:test_read_and_write_complex_types: assertion failed: (status == 0)
> Bail out!62/76 Test #61: testthriftframedreadcheck .........Subprocess aborted***Exception: 1.22 sec
> TAP version 13
> # random seed: R02Sba54e11e77e4f7aa3fe06b3c81e3b432
> 1..2
> # Start of testframedtransport tests
> **
> ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftframedreadcheck.c:159:thrift_socket_server_open: assertion failed: (client != NULL)
> not ok /testframedtransport/OpenAndClose - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftframedreadcheck.c:159:thrift_socket_server_open: assertion failed: (client != NULL)
> Bail out!
> **
> ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftframedreadcheck.c:87:test_open_and_close: assertion failed: (status == 0)
> not ok /testframedtransport/OpenAndClose - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testthriftframedreadcheck.c:87:test_open_and_close: assertion failed: (status == 0)
> Bail out!63/76 Test #17: UnitTests ......................... Passed 1.50 sec
> 64/76 Test #42: StressTest ........................ Passed 1.58 sec
> 65/76 Test #64: testzlibtransport .................Subprocess aborted***Exception: 1.86 sec
> TAP version 13
> # random seed: R02S6a7df0a34ea17e1d852f67990dbec5e4
> 1..3
> # Start of testzlibtransport tests
> ok 1 /testzlibtransport/CreateAndDestroy
> **
> ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testzlibtransport.c:174:thrift_socket_server_open: assertion failed: (client != NULL)
> not ok /testzlibtransport/OpenAndClose - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testzlibtransport.c:174:thrift_socket_server_open: assertion failed: (client != NULL)
> Bail out!
> **
> ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testzlibtransport.c:114:test_open_and_close: assertion failed: (status == 0)
> not ok /testzlibtransport/OpenAndClose - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testzlibtransport.c:114:test_open_and_close: assertion failed: (status == 0)
> Bail out!66/76 Test #48: testtransportsocket ...............Subprocess aborted***Exception: 2.14 sec
> TAP version 13
> # random seed: R02S8007b72b24038e616c01c1fc63398a59
> 1..4
> # Start of testtransportsocket tests
> ok 1 /testtransportsocket/CreateAndDestroy
> ok 2 /testtransportsocket/OpenAndClose
> **
> ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testtransportsocket.c:332:thrift_socket_server: assertion failed: (memcmp(buf, match, 10) == 0)
> not ok /testtransportsocket/ReadAndWrite - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testtransportsocket.c:332:thrift_socket_server: assertion failed: (memcmp(buf, match, 10) == 0)
> Bail out!
> **
> ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testtransportsocket.c:173:test_read_and_write: assertion failed: (thrift_socket_open (transport, NULL) == TRUE)
> not ok /testtransportsocket/ReadAndWrite - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testtransportsocket.c:173:test_read_and_write: assertion failed: (thrift_socket_open (transport, NULL) == TRUE)
> Bail out!67/76 Test #24: TFileTransportTest ................ Passed 2.42 sec
> 68/76 Test #15: StalenessCheckTest ................ Passed 3.21 sec
> 69/76 Test #55: testsimpleserver ..................Subprocess aborted***Exception: 5.13 sec
> TAP version 13
> # random seed: R02S71a7b9914005cfbef12ff64972d15b74
> 1..1
> # Start of testsimpleserver tests
> **
> ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testsimpleserver.c:106:test_server: assertion failed: (status == SIGINT)
> not ok /testsimpleserver/SimpleServer - ERROR:/home/tkloczko/rpmbuild/BUILD/thrift-0.18.1/lib/c_glib/test/testsimpleserver.c:106:test_server: assertion failed: (status == SIGINT)
> Bail out!70/76 Test #66: testthrifttestclient .............. Passed 6.01 sec
> 71/76 Test #67: testthrifttestzlibclient .......... Passed 6.01 sec
> 72/76 Test #18: TInterruptTest .................... Passed 12.14 sec
> 73/76 Test #19: TServerIntegrationTest ............ Passed 12.26 sec
> 74/76 Test #33: concurrency_test .................. Passed 20.61 sec
> 75/76 Test #35: processor_test .................... Passed 35.16 sec
> 76/76 Test #20: TransportTest ..................... Passed 35.31 sec47% tests passed, 40 tests failed out of 76Total Test time (real) = 35.35 secThe following tests FAILED:
> 1 - php_const1_return (Failed)
> 2 - php_enum1_return (Failed)
> 3 - php_enum2_return (Failed)
> 4 - php_exception1_return (Failed)
> 5 - php_exception2_return (Failed)
> 6 - php_service1_return (Failed)
> 7 - php_service2_return (Failed)
> 8 - php_service3_return (Failed)
> 9 - php_service4_return (Failed)
> 10 - php_struct1_return (Failed)
> 11 - php_struct2_return (Failed)
> 12 - php_typedef1_return (Failed)
> 13 - php_union1_return (Failed)
> 14 - php_union2_return (Failed)
> 39 - SecurityTest (Failed)
> 40 - SecurityFromBufferTest (Failed)
> 43 - StressTestConcurrent (Subprocess aborted)
> 44 - StressTestNonBlocking (Subprocess aborted)
> 47 - testapplicationexception (SIGTRAP)
> 48 - testtransportsocket (Subprocess aborted)
> 49 - testbinaryprotocol (Subprocess aborted)
> 50 - testcompactprotocol (Subprocess aborted)
> 51 - testbufferedtransport (Subprocess aborted)
> 52 - testframedtransport (Subprocess aborted)
> 53 - testfdtransport (SIGTRAP)
> 55 - testsimpleserver (Subprocess aborted)
> 58 - testthriftbinaryreadcheck (Subprocess aborted)
> 59 - testthriftbufferedreadcheck (Subprocess aborted)
> 60 - testthriftcompactreadcheck (Subprocess aborted)
> 61 - testthriftframedreadcheck (Subprocess aborted)
> 62 - testthriftfdreadcheck (SIGTRAP)
> 64 - testzlibtransport (Subprocess aborted)
> 68 - PythonTestSSLSocket (Failed)
> 69 - PythonThriftJson (Failed)
> 70 - PythonThriftTransport (Failed)
> 71 - PythonThriftTBinaryProtocol (Failed)
> 72 - PythonThriftTZlibTransport (Failed)
> 73 - PythonThriftProtocol (Failed)
> 74 - PythonThriftTNonblockingServer (Failed)
> 76 - python_test (Failed)
> Errors while running CTest
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)