Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 5.1.0
    • Fix Version/s: None
    • Component/s: Test
    • Labels:
    • Rank:
      1|i00hav:

      Description

      Below is a snippet of the logs when the LevelDBQueueTest fails with a "SIGSEGV". I've also attached a file named 'hs_err_pid24548.log' which has more details about the thread which causes the error.

      build	01-Sep-2018 00:08:57	Running co.cask.cdap.data2.transaction.queue.inmemory.InMemoryQueueTest
      build	01-Sep-2018 00:09:05	Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.757 sec
      build	01-Sep-2018 00:09:05	testDropAllForFlowWithNoQueues(co.cask.cdap.data2.transaction.queue.inmemory.InMemoryQueueTest)  Time elapsed: 0.004 sec
      build	01-Sep-2018 00:09:05	testMultiStageConsumer(co.cask.cdap.data2.transaction.queue.inmemory.InMemoryQueueTest)  Time elapsed: 0.088 sec
      build	01-Sep-2018 00:09:05	testClearAllForFlowWithNoQueues(co.cask.cdap.data2.transaction.queue.inmemory.InMemoryQueueTest)  Time elapsed: 0 sec
      build	01-Sep-2018 00:09:05	testReset(co.cask.cdap.data2.transaction.queue.inmemory.InMemoryQueueTest)  Time elapsed: 0.001 sec
      build	01-Sep-2018 00:09:05	testQueueAbortRetrySkip(co.cask.cdap.data2.transaction.queue.inmemory.InMemoryQueueTest)  Time elapsed: 0.011 sec
      build	01-Sep-2018 00:09:05	testDropAllQueues(co.cask.cdap.data2.transaction.queue.inmemory.InMemoryQueueTest)  Time elapsed: 0.004 sec
      build	01-Sep-2018 00:09:05	testMultiFifo(co.cask.cdap.data2.transaction.queue.inmemory.InMemoryQueueTest)  Time elapsed: 0.039 sec
      build	01-Sep-2018 00:09:05	testMultiHash(co.cask.cdap.data2.transaction.queue.inmemory.InMemoryQueueTest)  Time elapsed: 0.041 sec
      build	01-Sep-2018 00:09:05	testBatchHash(co.cask.cdap.data2.transaction.queue.inmemory.InMemoryQueueTest)  Time elapsed: 0.013 sec
      build	01-Sep-2018 00:09:05	testClearAllForFlow(co.cask.cdap.data2.transaction.queue.inmemory.InMemoryQueueTest)  Time elapsed: 0 sec
      build	01-Sep-2018 00:09:05	testOneFIFOEnqueueDequeue(co.cask.cdap.data2.transaction.queue.inmemory.InMemoryQueueTest)  Time elapsed: 0 sec
      build	01-Sep-2018 00:09:05	testSingleFifo(co.cask.cdap.data2.transaction.queue.inmemory.InMemoryQueueTest)  Time elapsed: 0.013 sec
      build	01-Sep-2018 00:09:05	testSingleHash(co.cask.cdap.data2.transaction.queue.inmemory.InMemoryQueueTest)  Time elapsed: 0.011 sec
      build	01-Sep-2018 00:09:05	testDropAllForNamespace(co.cask.cdap.data2.transaction.queue.inmemory.InMemoryQueueTest)  Time elapsed: 0.001 sec
      build	01-Sep-2018 00:09:05	testRollback(co.cask.cdap.data2.transaction.queue.inmemory.InMemoryQueueTest)  Time elapsed: 0.005 sec
      build	01-Sep-2018 00:09:05	testOneRoundRobinEnqueueDequeue(co.cask.cdap.data2.transaction.queue.inmemory.InMemoryQueueTest)  Time elapsed: 0.001 sec
      build	01-Sep-2018 00:09:05	testDropAllForFlow(co.cask.cdap.data2.transaction.queue.inmemory.InMemoryQueueTest)  Time elapsed: 0.001 sec
      build	01-Sep-2018 00:09:05	testConcurrentEnqueue(co.cask.cdap.data2.transaction.queue.inmemory.InMemoryQueueTest)  Time elapsed: 7.512 sec
      build	01-Sep-2018 00:09:05	parallel='none', perCoreThreadCount=true, threadCount=2, useUnlimitedThreads=false
      build	01-Sep-2018 00:09:06	Running co.cask.cdap.data2.transaction.queue.leveldb.LevelDBQueueTest
      build	01-Sep-2018 00:09:10	#
      build	01-Sep-2018 00:09:10	# A fatal error has been detected by the Java Runtime Environment:
      build	01-Sep-2018 00:09:10	#
      build	01-Sep-2018 00:09:10	#  SIGSEGV (0xb) at pc=0x00007fb4dd520d0c, pid=20181, tid=0x00007fb4dcefc700
      build	01-Sep-2018 00:09:10	#
      build	01-Sep-2018 00:09:10	# JRE version: Java(TM) SE Runtime Environment (8.0_101-b13) (build 1.8.0_101-b13)
      build	01-Sep-2018 00:09:10	# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.101-b13 mixed mode linux-amd64 compressed oops)
      build	01-Sep-2018 00:09:10	# Problematic frame:
      build	01-Sep-2018 00:09:11	# C  [snappy-unknown-d199e4e7-0edc-4d0a-98a7-4d603c7994aa-libsnappyjava.so+0x12d0c]
      build	01-Sep-2018 00:09:11	#
      build	01-Sep-2018 00:09:11	# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      build	01-Sep-2018 00:09:11	#
      build	01-Sep-2018 00:09:11	# An error report file with more information is saved as:
      build	01-Sep-2018 00:09:11	# /var/bamboo/xml-data/build-dir/CDAP-BUT-RCU/cdap/cdap-data-fabric/hs_err_pid20181.log
      build	01-Sep-2018 00:09:11	#
      build	01-Sep-2018 00:09:11	# If you would like to submit a bug report, please visit:
      build	01-Sep-2018 00:09:11	#   http://bugreport.java.com/bugreport/crash.jsp
      build	01-Sep-2018 00:09:11	# The crash happened outside the Java Virtual Machine in native code.
      build	01-Sep-2018 00:09:11	# See problematic frame for where to report the bug.
      build	01-Sep-2018 00:09:11	#
      build	01-Sep-2018 00:09:15	/bin/sh: line 1: 20181 Aborted                 (core dumped) /usr/lib/jvm/jdk1.8.0_101/jre/bin/java -Xmx5000m -Djava.awt.headless=true -XX:+UseG1GC '-XX:OnOutOfMemoryError=kill -9 %p' -XX:+HeapDumpOnOutOfMemoryError -jar /var/bamboo/xml-data/build-dir/CDAP-BUT-RCU/cdap/cdap-data-fabric/target/surefire/surefirebooter6474886836877988650.jar /var/bamboo/xml-data/build-dir/CDAP-BUT-RCU/cdap/cdap-data-fabric/target/surefire/surefire3446779050281928033tmp /var/bamboo/xml-data/build-dir/CDAP-BUT-RCU/cdap/cdap-data-fabric/target/surefire/surefire_1375837321770678425307tmp
      build	01-Sep-2018 00:09:15	parallel='none', perCoreThreadCount=true, threadCount=2, useUnlimitedThreads=false
      build	01-Sep-2018 00:09:15	Running co.cask.cdap.data2.transaction.queue.leveldb.LevelDBNameConverterTest
      build	01-Sep-2018 00:09:15	Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
      build	01-Sep-2018 00:09:15	testLevelDBNameConversionInvalidPrefix(co.cask.cdap.data2.transaction.queue.leveldb.LevelDBNameConverterTest)  Time elapsed: 0.005 sec
      build	01-Sep-2018 00:09:15	testLevelDBNameConversion(co.cask.cdap.data2.transaction.queue.leveldb.LevelDBNameConverterTest)  Time elapsed: 0.001 sec
      build	01-Sep-2018 00:09:15	testLevelDBNameConversionMissingTableName(co.cask.cdap.data2.transaction.queue.leveldb.LevelDBNameConverterTest)  Time elapsed: 0.001 sec 

      I believe this occasional failure is introduced by the changes made to the test case as a part of CDAP-14098.
      An example build where this failure happened is: https://builds.cask.co/browse/CDAP-BUT-RCU-1450.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ali.anwar Ali Anwar
                Reporter:
                ali.anwar Ali Anwar
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: