Project

General

Profile

Actions

Bug #71243

open

unittest_ceph_assert ......................***Timeout 7200.14 sec

Added by Casey Bodley 11 months ago. Updated 6 months ago.

Status:
New
Priority:
Normal
Category:
Tests
Target version:
-
% Done:

0%

Source:
Backport:
tentacle
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:

Description

from make check in https://jenkins.ceph.com/job/preserve-ceph-pull-requests/13/

79/310 Test  #79: unittest_ceph_assert ......................***Timeout 7200.14 sec
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from CephAssertDeathTest
[ RUN      ] CephAssertDeathTest.ceph_assert_supresssions

[WARNING] /home/jenkins-build/build/workspace/preserve-ceph-pull-requests/src/googletest/googletest/src/gtest-death-test.cc:1104:: Death tests use fork(), which is unsafe particularly in a threaded context. For this test, Google Test detected 3 threads. See https://github.com/google/googletest/blob/main/docs/advanced.md#death-tests-and-threads for more explanation and suggested solutions, especially if this is the last message you see before your test times out.
/home/jenkins-build/build/workspace/preserve-ceph-pull-requests/src/test/ceph_assert.cc: In function 'void supressed_assert_line19()' thread 7fe5c5640bc0 time 2025-05-06T20:40:04.483973+0000
/home/jenkins-build/build/workspace/preserve-ceph-pull-requests/src/test/ceph_assert.cc: 19: FAILED ceph_assert(42 == 40)
 ceph version Development (no_version) tentacle (dev)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x188) [0x7fe5c84e8c48]
 2: (ceph::__ceph_assert_fail(ceph::assert_data const&)+0x2f) [0x7fe5c84e91bf]
 3: /home/jenkins-build/build/workspace/preserve-ceph-pull-requests/build/bin/unittest_ceph_assert(+0xcb480) [0x55d573812480]
 4: /home/jenkins-build/build/workspace/preserve-ceph-pull-requests/build/bin/unittest_ceph_assert(+0xcb461) [0x55d573812461]
 5: /home/jenkins-build/build/workspace/preserve-ceph-pull-requests/build/bin/unittest_ceph_assert(+0xcb1d3) [0x55d5738121d3]
 6: (CephAssertDeathTest_ceph_assert_supresssions_Test::TestBody()+0x3d4) [0x55d573811d64]
 7: (void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x74) [0x55d57386a9b4]
 8: (void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x66) [0x55d57384b8e6]
 9: (testing::Test::Run()+0xb7) [0x55d57382bb27]
 10: (testing::TestInfo::Run()+0x10f) [0x55d57382c53f]
 11: (testing::TestSuite::Run()+0x17a) [0x55d57382cd5a]
 12: (testing::internal::UnitTestImpl::RunAllTests()+0x418) [0x55d57383cbb8]
 13: (bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)+0x74) [0x55d57386eaf4]
 14: (bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)+0x66) [0x55d57384de96]
 15: (testing::UnitTest::Run()+0xb6) [0x55d57383c746]
 16: (RUN_ALL_TESTS()+0x11) [0x55d573812fd1]
 17: main()
 18: /lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7fe5c6206d90]
 19: __libc_start_main()
 20: _start()
WARNING: ceph_assert() does NOT abort() due to ceph_assert_supresssions2025-05-06T20:40:04.482+0000 7fe5c5640bc0 -1 /home/jenkins-build/build/workspace/preserve-ceph-pull-requests/src/test/ceph_assert.cc: In function 'void supressed_assert_line19()' thread 7fe5c5640bc0 time 2025-05-06T20:40:04.483973+0000
/home/jenkins-build/build/workspace/preserve-ceph-pull-requests/src/test/ceph_assert.cc: 19: FAILED ceph_assert(42 == 40)

 ceph version Development (no_version) tentacle (dev)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x188) [0x7fe5c84e8c48]
 2: (ceph::__ceph_assert_fail(ceph::assert_data const&)+0x2f) [0x7fe5c84e91bf]
 3: /home/jenkins-build/build/workspace/preserve-ceph-pull-requests/build/bin/unittest_ceph_assert(+0xcb480) [0x55d573812480]
 4: /home/jenkins-build/build/workspace/preserve-ceph-pull-requests/build/bin/unittest_ceph_assert(+0xcb461) [0x55d573812461]
 5: /home/jenkins-build/build/workspace/preserve-ceph-pull-requests/build/bin/unittest_ceph_assert(+0xcb1d3) [0x55d5738121d3]
 6: (CephAssertDeathTest_ceph_assert_supresssions_Test::TestBody()+0x3d4) [0x55d573811d64]
 7: (void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x74) [0x55d57386a9b4]
 8: (void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x66) [0x55d57384b8e6]
 9: (testing::Test::Run()+0xb7) [0x55d57382bb27]
 10: (testing::TestInfo::Run()+0x10f) [0x55d57382c53f]
 11: (testing::TestSuite::Run()+0x17a) [0x55d57382cd5a]
 12: (testing::internal::UnitTestImpl::RunAllTests()+0x418) [0x55d57383cbb8]
 13: (bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)+0x74) [0x55d57386eaf4]
 14: (bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)+0x66) [0x55d57384de96]
 15: (testing::UnitTest::Run()+0xb6) [0x55d57383c746]
 16: (RUN_ALL_TESTS()+0x11) [0x55d573812fd1]
 17: main()
 18: /lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7fe5c6206d90]
 19: __libc_start_main()
 20: _start()

/home/jenkins-build/build/workspace/preserve-ceph-pull-requests/src/test/ceph_assert.cc: In function 'void supressed_assertf_line22()' thread 7fe5c5640bc0 time 2025-05-06T20:40:04.486899+0000
/home/jenkins-build/build/workspace/preserve-ceph-pull-requests/src/test/ceph_assert.cc: 22: FAILED ceph_assert(42 == 39)
Assertion details: FAILED ceph_assertf
 ceph version Development (no_version) tentacle (dev)
 1: (ceph::__ceph_assertf_fail(char const*, char const*, int, char const*, char const*, ...)+0x137) [0x7fe5c84e9307]
 2: /home/jenkins-build/build/workspace/preserve-ceph-pull-requests/build/bin/unittest_ceph_assert(+0xcb20c) [0x55d57381220c]
 3: (CephAssertDeathTest_ceph_assert_supresssions_Test::TestBody()+0x3d9) [0x55d573811d69]
 4: (void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x74) [0x55d57386a9b4]
 5: (void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x66) [0x55d57384b8e6]
 6: (testing::Test::Run()+0xb7) [0x55d57382bb27]
 7: (testing::TestInfo::Run()+0x10f) [0x55d57382c53f]
 8: (testing::TestSuite::Run()+0x17a) [0x55d57382cd5a]
 9: (testing::internal::UnitTestImpl::RunAllTests()+0x418) [0x55d57383cbb8]
 10: (bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)+0x74) [0x55d57386eaf4]
 11: (bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)+0x66) [0x55d57384de96]
 12: (testing::UnitTest::Run()+0xb6) [0x55d57383c746]
 13: (RUN_ALL_TESTS()+0x11) [0x55d573812fd1]
 14: main()
 15: /lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7fe5c6206d90]
 16: __libc_start_main()
 17: _start()
WARNING: ceph_assertf() does NOT abort() due toto ceph_assert_supresssions
[WARNING] /home/jenkins-build/build/workspace/preserve-ceph-pull-requests/src/googletest/googletest/src/gtest-death-test.cc:1104:: Death tests use fork(), which is unsafe particularly in a threaded context. For this test, Google Test detected 3 threads. See https://github.com/google/googletest/blob/main/docs/advanced.md#death-tests-and-threads for more explanation and suggested solutions, especially if this is the last message you see before your test times out.


Related issues 1 (1 open0 closed)

Related to RADOS - Feature #70476: ceph_asserts should be supressibleFix Under ReviewRadoslaw Zarzynski

Actions
Actions #1

Updated by Casey Bodley 11 months ago

Actions #2

Updated by Casey Bodley 11 months ago

For this test, Google Test detected 3 threads

i'm guessing these are from common_init_finish() starting the log- and service threads

Actions #3

Updated by Casey Bodley 11 months ago

  • Backport set to tentacle
Actions #4

Updated by Radoslaw Zarzynski 10 months ago

  • Assignee set to Radoslaw Zarzynski
Actions #5

Updated by Matan Breizman 10 months ago

Not sure if noticied:

WARNING: ceph_assertf() does NOT abort() due toto ceph_assert_supresssions  <---

[WARNING] /home/jenkins-build/build/workspace/preserve-ceph-pull-requests/src/googletest/googletest/src/gtest-death-test.cc:1104:: Death
tests use fork(), which is unsafe particularly in a threaded context. For this test, Google Test detected 3 threads. See
https://github.com/google/googletest/blob/main/docs/advanced.md#death-tests-and-threads for more explanation and suggested solutions,
especially if this is the last message you see before your test times out.

Actions #6

Updated by Radoslaw Zarzynski 10 months ago

Bump up.

Actions #7

Updated by Casey Bodley 9 months ago

https://jenkins.ceph.com/job/preserve-adarsha-ceph-pull-requests/8/

Total Test time (real) = 7200.49 sec

The following tests FAILED:
     86 - unittest_ceph_assert (Timeout)

Actions #8

Updated by Casey Bodley 6 months ago

https://jenkins.ceph.com/job/ceph-pull-requests/167781/

The following tests FAILED:
     86 - unittest_ceph_assert (Timeout)

Actions

Also available in: Atom PDF