[jira] [Commented] (THRIFT-5776) Cpp cross test fail
[ https://issues.apache.org/jira/browse/THRIFT-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17842848#comment-17842848 ] Volodymyr Panivko commented on THRIFT-5776: --- In ubuntu-focal situation is better, tests are running After running build/docker/scripts/autotools.sh I get such result: {code:java} *** No errors detected PASS: UnitTests Thrift: Thu May 2 06:22:30 2024 ~TFDTransport TTransportException: 'TFDTransport::close(): Bad file descriptor'*** No errors detected PASS: TFDTransportTest*** No errors detected PASS: TPipedTransportTest*** No errors detected PASS: DebugProtoTest*** No errors detected PASS: JSONProtoTest*** No errors detected PASS: OptionalRequiredTest*** No errors detected PASS: RecursiveTest*** No errors detected PASS: SpecializationTest TBinaryProtocol => OK TLEBinaryProtocol => OK TCompactProtocol => OK*** No errors detected PASS: AllProtocolsTest Timeout alarm expired; attempting to unblock transport Timeout alarm expired; attempting to unblock transport Timeout alarm expired; attempting to unblock transport Timeout alarm expired; attempting to unblock transport Timeout alarm expired; attempting to unblock transport Timeout alarm expired; attempting to unblock transport Timeout alarm expired; attempting to unblock transport Timeout alarm expired; attempting to unblock transport Timeout alarm expired; attempting to unblock transport Timeout alarm expired; attempting to unblock transport*** No errors detected PASS: TransportTest Thrift: Thu May 2 06:23:12 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1)*** No errors detected PASS: TInterruptTest*** No errors detected PASS: TServerIntegrationTest Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1)*** 6 failures are detected in the test module "SecurityTest" FAIL: SecurityTest Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) Thrift: Thu May 2 06:23:30 2024
[jira] [Commented] (THRIFT-5776) Cpp cross test fail
[ https://issues.apache.org/jira/browse/THRIFT-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17842847#comment-17842847 ] Volodymyr Panivko commented on THRIFT-5776: --- ubuntu-jammy > Cpp cross test fail > --- > > Key: THRIFT-5776 > URL: https://issues.apache.org/jira/browse/THRIFT-5776 > Project: Thrift > Issue Type: Bug > Components: C++ - Library >Reporter: Volodymyr Panivko >Priority: Major > Time Spent: 0.5h > Remaining Estimate: 0h > > When running cross test in docker I'm getting an error > {code:java} > ibs/ThriftTest_extras.o > Benchmark.cpp: In function 'int main()': > Benchmark.cpp:69:7: error: 'class thrift::test::debug::OneOfEach' has no > member named 'rfc4122_uuid' > 69 | ooe.rfc4122_uuid = "{5e2ab188-1726-4e75-a04f-1ed9a6a89c4c}"; > | ^~~~ > make[5]: *** [Makefile:1408: Benchmark.o] Error 1 > {code} > if i comment 69 line in Benchmark.cpp this error doe not appear but i'm > getting a new one THRIFT-5775 -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (THRIFT-5776) Cpp cross test fail
[ https://issues.apache.org/jira/browse/THRIFT-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17842843#comment-17842843 ] Carel commented on THRIFT-5776: --- [~sveneld] Which docker image are you using? I am using the {{ubuntu-focal}} and it seems like the zlibclient is not getting compiled by the script by default. I will need to investigate more > Cpp cross test fail > --- > > Key: THRIFT-5776 > URL: https://issues.apache.org/jira/browse/THRIFT-5776 > Project: Thrift > Issue Type: Bug > Components: C++ - Library >Reporter: Volodymyr Panivko >Priority: Major > Time Spent: 0.5h > Remaining Estimate: 0h > > When running cross test in docker I'm getting an error > {code:java} > ibs/ThriftTest_extras.o > Benchmark.cpp: In function 'int main()': > Benchmark.cpp:69:7: error: 'class thrift::test::debug::OneOfEach' has no > member named 'rfc4122_uuid' > 69 | ooe.rfc4122_uuid = "{5e2ab188-1726-4e75-a04f-1ed9a6a89c4c}"; > | ^~~~ > make[5]: *** [Makefile:1408: Benchmark.o] Error 1 > {code} > if i comment 69 line in Benchmark.cpp this error doe not appear but i'm > getting a new one THRIFT-5775 -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (THRIFT-5776) Cpp cross test fail
[ https://issues.apache.org/jira/browse/THRIFT-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17842154#comment-17842154 ] Volodymyr Panivko commented on THRIFT-5776: --- [~cjcombrink] thanks for helping. I applied your fix, than run build/docker/scripts/autotools.sh and get such result: {code:java} g++ -std=c++11 -DHAVE_CONFIG_H -I../../cpp/src -I/usr/include -I./gen-cpp -I../src -I./gen-c_glib -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -Wall -Wextra -pedantic -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -MT testthrifttestclient-testthrifttestclient.o -MD -MP -MF .deps/testthrifttestclient-testthrifttestclient.Tpo -c -o testthrifttestclient-testthrifttestclient.o `test -f 'testthrifttestclient.cpp' || echo './'`testthrifttestclient.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I../../cpp/src -I/usr/include -I./gen-cpp -I../src -I./gen-c_glib -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -Wall -Wextra -pedantic -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -MT testthrifttestzlibclient-testthrifttestzlibclient.o -MD -MP -MF .deps/testthrifttestzlibclient-testthrifttestzlibclient.Tpo -c -o testthrifttestzlibclient-testthrifttestzlibclient.o `test -f 'testthrifttestzlibclient.cpp' || echo './'`testthrifttestzlibclient.cpp testthrifttestzlibclient.cpp:295:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 295 | throw(Xception, apache::thrift::TException) override | ^ testthrifttestzlibclient.cpp:313:93: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 313 | void testMultiException(Xtruct , const std::string , const std::string ) throw(Xception, Xception2) override { | ^ testthrifttestclient.cpp: In function 'int main()': testthrifttestclient.cpp:628:62: error: invalid new-expression of abstract class type 'TestHandler' 628 | std::shared_ptr testHandler(new TestHandler()); | ^ testthrifttestclient.cpp:74:7: note: because the following virtual functions are pure within 'TestHandler': 74 | class TestHandler : public ThriftTestIf { | ^~~ In file included from testthrifttestclient.cpp:36: ./gen-cpp/ThriftTest.h:102:23: note: 'virtual std::string thrift::test::ThriftTestIf::testUuid(std::string)' 102 | virtual std::string testUuid(const std::string thing) = 0; | ^~~~ testthrifttestzlibclient.cpp: In function 'int main()': testthrifttestzlibclient.cpp:627:62: error: invalid new-expression of abstract class type 'TestHandler' 627 | std::shared_ptr testHandler(new TestHandler()); | ^ testthrifttestzlibclient.cpp:69:7: note: because the following virtual functions are pure within 'TestHandler': 69 | class TestHandler : public ThriftTestIf { | ^~~ In file included from testthrifttestzlibclient.cpp:31: ./gen-cpp/ThriftTest.h:102:23: note: 'virtual std::string thrift::test::ThriftTestIf::testUuid(std::string)' 102 | virtual std::string testUuid(const std::string thing) = 0; | ^~~~ make[6]: *** [Makefile:1620: testthrifttestclient-testthrifttestclient.o] Error 1 make[6]: *** Waiting for unfinished jobs make[6]: *** [Makefile:1634: testthrifttestzlibclient-testthrifttestzlibclient.o] Error 1 mv -f gen-c_glib/.deps/libtestgenc_la-t_test_thrift_test_types.Tpo gen-c_glib/.deps/libtestgenc_la-t_test_thrift_test_types.Plo make[6]: Leaving directory '/thrift/src/lib/c_glib/test' make[5]: *** [Makefile:1904: check-am] Error 2 make[5]: Leaving directory '/thrift/src/lib/c_glib/test' make[4]: *** [Makefile:1662: check-recursive] Error 1 make[4]: Leaving directory '/thrift/src/lib/c_glib/test' make[3]: *** [Makefile:1907: check] Error 2 make[3]: Leaving directory '/thrift/src/lib/c_glib/test' make[2]: *** [Makefile:1373: check-recursive] Error 1 make[2]: Leaving directory '/thrift/src/lib/c_glib' make[1]: *** [Makefile:572: check-recursive] Error 1 make[1]: Leaving directory '/thrift/src/lib' make: *** [Makefile:692: check-recursive] Error 1 {code} > Cpp cross test fail > --- > > Key: THRIFT-5776 > URL: https://issues.apache.org/jira/browse/THRIFT-5776 > Project: Thrift > Issue Type: Bug > Components: C++ - Library >Reporter: Volodymyr Panivko >Priority: Major > Time Spent: 10m > Remaining
[jira] [Commented] (THRIFT-5776) Cpp cross test fail
[ https://issues.apache.org/jira/browse/THRIFT-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17841762#comment-17841762 ] Carel commented on THRIFT-5776: --- [~sveneld] It appears that my last (force)push on my branch fixed the issue (for me at least). Can you retest and let us know please. My call to {{build/docker/scripts/autotools.sh}} yields the following {code:java} *** 6 failures are detected in the test module "SecurityTest" FAIL: SecurityTest Thrift: Sun Apr 28 19:37:28 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1) ... Thrift: Sun Apr 28 19:37:28 2024 SSL_shutdown: shutdown while in init (SSL_error_code = 1)*** 6 failures are detected in the test module "SecurityFromBufferTest" FAIL: SecurityFromBufferTest seed: 1714333049 2 of 23 tests failed {code} > Cpp cross test fail > --- > > Key: THRIFT-5776 > URL: https://issues.apache.org/jira/browse/THRIFT-5776 > Project: Thrift > Issue Type: Bug > Components: C++ - Library >Reporter: Volodymyr Panivko >Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > When running cross test in docker I'm getting an error > {code:java} > ibs/ThriftTest_extras.o > Benchmark.cpp: In function 'int main()': > Benchmark.cpp:69:7: error: 'class thrift::test::debug::OneOfEach' has no > member named 'rfc4122_uuid' > 69 | ooe.rfc4122_uuid = "{5e2ab188-1726-4e75-a04f-1ed9a6a89c4c}"; > | ^~~~ > make[5]: *** [Makefile:1408: Benchmark.o] Error 1 > {code} > if i comment 69 line in Benchmark.cpp this error doe not appear but i'm > getting a new one THRIFT-5775 -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (THRIFT-5776) Cpp cross test fail
[ https://issues.apache.org/jira/browse/THRIFT-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17841690#comment-17841690 ] Carel commented on THRIFT-5776: --- [~sveneld] [~jensg] Any help on how to reproduce? I have made [this|https://github.com/apache/thrift/pull/2968] draft PR, the tests fails on a python test, which I suspect might be unrelated: {code} The following tests FAILED: 51 - python_test (Failed) Errors while running CTest Command exited with code 8 {code} I am trying to get the docker up, maybe I can get somewhere there. > Cpp cross test fail > --- > > Key: THRIFT-5776 > URL: https://issues.apache.org/jira/browse/THRIFT-5776 > Project: Thrift > Issue Type: Bug > Components: C++ - Library >Reporter: Volodymyr Panivko >Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > When running cross test in docker I'm getting an error > {code:java} > ibs/ThriftTest_extras.o > Benchmark.cpp: In function 'int main()': > Benchmark.cpp:69:7: error: 'class thrift::test::debug::OneOfEach' has no > member named 'rfc4122_uuid' > 69 | ooe.rfc4122_uuid = "{5e2ab188-1726-4e75-a04f-1ed9a6a89c4c}"; > | ^~~~ > make[5]: *** [Makefile:1408: Benchmark.o] Error 1 > {code} > if i comment 69 line in Benchmark.cpp this error doe not appear but i'm > getting a new one THRIFT-5775 -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (THRIFT-5776) Cpp cross test fail
[ https://issues.apache.org/jira/browse/THRIFT-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17841519#comment-17841519 ] Carel commented on THRIFT-5776: --- [~sveneld] Looking into this. > Cpp cross test fail > --- > > Key: THRIFT-5776 > URL: https://issues.apache.org/jira/browse/THRIFT-5776 > Project: Thrift > Issue Type: Bug > Components: C++ - Library >Reporter: Volodymyr Panivko >Priority: Major > > When running cross test in docker I'm getting an error > {code:java} > ibs/ThriftTest_extras.o > Benchmark.cpp: In function 'int main()': > Benchmark.cpp:69:7: error: 'class thrift::test::debug::OneOfEach' has no > member named 'rfc4122_uuid' > 69 | ooe.rfc4122_uuid = "{5e2ab188-1726-4e75-a04f-1ed9a6a89c4c}"; > | ^~~~ > make[5]: *** [Makefile:1408: Benchmark.o] Error 1 > {code} > if i comment 69 line in Benchmark.cpp this error doe not appear but i'm > getting a new one THRIFT-5775 -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (THRIFT-5776) Cpp cross test fail
[ https://issues.apache.org/jira/browse/THRIFT-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17841423#comment-17841423 ] Volodymyr Panivko commented on THRIFT-5776: --- [~cjcombrink] can you check? > Cpp cross test fail > --- > > Key: THRIFT-5776 > URL: https://issues.apache.org/jira/browse/THRIFT-5776 > Project: Thrift > Issue Type: Bug > Components: C++ - Library >Reporter: Volodymyr Panivko >Priority: Major > > When running cross test in docker I'm getting an error > {code:java} > ibs/ThriftTest_extras.o > Benchmark.cpp: In function 'int main()': > Benchmark.cpp:69:7: error: 'class thrift::test::debug::OneOfEach' has no > member named 'rfc4122_uuid' > 69 | ooe.rfc4122_uuid = "{5e2ab188-1726-4e75-a04f-1ed9a6a89c4c}"; > | ^~~~ > make[5]: *** [Makefile:1408: Benchmark.o] Error 1 > {code} > if i comment 69 line in Benchmark.cpp this error doe not appear but i'm > getting a new one THRIFT-5775 -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (THRIFT-5776) Cpp cross test fail
[ https://issues.apache.org/jira/browse/THRIFT-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17840081#comment-17840081 ] Volodymyr Panivko commented on THRIFT-5776: --- Maybe. But I am not so good in c++ to solve this trouble... > Cpp cross test fail > --- > > Key: THRIFT-5776 > URL: https://issues.apache.org/jira/browse/THRIFT-5776 > Project: Thrift > Issue Type: Bug > Components: C++ - Library >Reporter: Volodymyr Panivko >Priority: Major > > When running cross test in docker I'm getting an error > {code:java} > ibs/ThriftTest_extras.o > Benchmark.cpp: In function 'int main()': > Benchmark.cpp:69:7: error: 'class thrift::test::debug::OneOfEach' has no > member named 'rfc4122_uuid' > 69 | ooe.rfc4122_uuid = "{5e2ab188-1726-4e75-a04f-1ed9a6a89c4c}"; > | ^~~~ > make[5]: *** [Makefile:1408: Benchmark.o] Error 1 > {code} > if i comment 69 line in Benchmark.cpp this error doe not appear but i'm > getting a new one THRIFT-5775 -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (THRIFT-5776) Cpp cross test fail
[ https://issues.apache.org/jira/browse/THRIFT-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17839588#comment-17839588 ] Jens Geyer commented on THRIFT-5776: Could it be related to THRIFT-5772 ? > Cpp cross test fail > --- > > Key: THRIFT-5776 > URL: https://issues.apache.org/jira/browse/THRIFT-5776 > Project: Thrift > Issue Type: Bug > Components: C++ - Library >Reporter: Volodymyr Panivko >Priority: Major > > When running cross test in docker I'm getting an error > {code:java} > ibs/ThriftTest_extras.o > Benchmark.cpp: In function 'int main()': > Benchmark.cpp:69:7: error: 'class thrift::test::debug::OneOfEach' has no > member named 'rfc4122_uuid' > 69 | ooe.rfc4122_uuid = "{5e2ab188-1726-4e75-a04f-1ed9a6a89c4c}"; > | ^~~~ > make[5]: *** [Makefile:1408: Benchmark.o] Error 1 > {code} > if i comment 69 line in Benchmark.cpp this error doe not appear but i'm > getting a new one THRIFT-5775 -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (THRIFT-5776) Cpp cross test fail
[ https://issues.apache.org/jira/browse/THRIFT-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17839396#comment-17839396 ] Volodymyr Panivko commented on THRIFT-5776: --- [~jensg] can you help with this troubles? > Cpp cross test fail > --- > > Key: THRIFT-5776 > URL: https://issues.apache.org/jira/browse/THRIFT-5776 > Project: Thrift > Issue Type: Bug > Components: C++ - Library >Reporter: Volodymyr Panivko >Priority: Major > > When running cross test in docker I'm getting an error > {code:java} > ibs/ThriftTest_extras.o > Benchmark.cpp: In function 'int main()': > Benchmark.cpp:69:7: error: 'class thrift::test::debug::OneOfEach' has no > member named 'rfc4122_uuid' > 69 | ooe.rfc4122_uuid = "{5e2ab188-1726-4e75-a04f-1ed9a6a89c4c}"; > | ^~~~ > make[5]: *** [Makefile:1408: Benchmark.o] Error 1 > {code} > if i comment 69 line in Benchmark.cpp this error doe not appear but i'm > getting a new one THRIFT-5775 -- This message was sent by Atlassian Jira (v8.20.10#820010)