Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-3007 ARM/aarch64 platform support
  3. KUDU-3093

DebugUtilTest.TestSignalStackTrace of debug-util-test failed on aarch64

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0
    • None
    • None

    Description

      I test kudu on aarch64 server based on https://gerrit.cloudera.org/#/c/14964/ , the test debug-util-test failed, for DEBUG build type, the test failed sometimes, for RELEASE build type the test is hang on TestSignalStackTrace testcase, I debug using gdb, get the error info as below:
      /home/jenkins/workspace/kudu/src/kudu/util/debug-util-test.cc:123: Failure
      Value of: DumpThreadStack(t->tid())
      Expected: has substring "SleeperThread"
      Actual: " @ 0xffff7fa1c688 ([vdso]+0x687)\n @ 0xffff7f73d548 __pthread_cond_timedwait\n @ 0xaaaab5f41e7c kudu::ConditionVariable::WaitUntil()\n @ 0xaaaab5ef05a0 _ZNSt17_Function_handlerIFv vEZN4kudu39DebugUtilTest_TestSignalStackTrace_Test8TestBodyEvEUlvE_E9_M_invokeERKSt9_Any_data\n @ 0xaaaa b5f95120 kudu::Thread::SuperviseThread()\n @ 0xffff7f737088 start_thread\n @ 0xffff7f737088 st art_thread\n"

      /home/jenkins/workspace/kudu/src/kudu/util/test_util.cc:348: Failure
      Failed
      Timed out waiting for assertion to pass.
      I0327 07:46:04.605425 17375 test_util.cc:146] -----------------------------------------------
      I0327 07:46:04.605443 17375 test_util.cc:147] Had fatal failures, leaving test files at /tmp/kudutest-0/debug-u til-test.DebugUtilTest.TestSignalStackTrace.1585295134509818-17375
      [ FAILED ] DebugUtilTest.TestSignalStackTrace (30094 ms)
      [----------] 1 test from DebugUtilTest (30094 ms total)

      [----------] Global test environment tear-down
      [==========] 1 test from 1 test case ran. (30094 ms total)
      [ PASSED ] 0 tests.
      [ FAILED ] 1 test, listed below:
      [ FAILED ] DebugUtilTest.TestSignalStackTrace
      1 FAILED TEST

      Don't know why the result is defferent for DEBUG and RELEASE, seems only onething I can find: https://github.com/apache/kudu/blob/master/src/kudu/gutil/once.cc#L21-L30 But it looks no effect, right? Could someone help us to have a look for this? Thanks very much.

      Attachments

        Activity

          People

            adar Adar Dembo
            huangtianhua huangtianhua
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: