Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2089

Failed java tests can orphan test-tmp files

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: test
    • Labels:
      None
    • Target Version/s:

      Description

      In a recent precommit run I saw TestMiniKuduCluster failed:

      11:28:19 testKerberos(org.apache.kudu.client.TestMiniKuduCluster)  Time elapsed: 0.739 sec  <<< ERROR!
      11:28:19 java.lang.Exception: We tried starting a process (/home/jenkins-slave/workspace/kudu-master/0/build/latest/bin/kudu-master) but it exited with value=134
      11:28:19 	at org.apache.kudu.client.MiniKuduCluster.configureAndStartProcess(MiniKuduCluster.java:345)
      11:28:19 	at org.apache.kudu.client.MiniKuduCluster.startMasters(MiniKuduCluster.java:237)
      11:28:19 	at org.apache.kudu.client.MiniKuduCluster.startCluster(MiniKuduCluster.java:153)
      11:28:19 	at org.apache.kudu.client.MiniKuduCluster.start(MiniKuduCluster.java:117)
      11:28:19 	at org.apache.kudu.client.MiniKuduCluster.access$300(MiniKuduCluster.java:50)
      11:28:19 	at org.apache.kudu.client.MiniKuduCluster$MiniKuduClusterBuilder.build(MiniKuduCluster.java:661)
      11:28:19 	at org.apache.kudu.client.TestMiniKuduCluster.testKerberos(TestMiniKuduCluster.java:77)
      

      It passed on its second try, but left a minidump file around, causing the overall precommit build to fail:

      11:40:43 All tests passed, yet some left behind their test output.
      11:40:43 TEST_TMPDIR: /home/jenkins-slave/workspace/kudu-master/0/build/test-tmp
      11:40:43 13107437    4 drwxr-xr-x   3 jenkins-slave jenkins-slave     4096 Aug  2 18:40 /home/jenkins-slave/workspace/kudu-master/0/build/test-tmp
      11:40:43 13148530    4 drwxr-xr-x   3 jenkins-slave jenkins-slave     4096 Aug  2 18:28 /home/jenkins-slave/workspace/kudu-master/0/build/test-tmp/master-0-1501698497481
      11:40:43 13148531    4 drwxr-xr-x   3 jenkins-slave jenkins-slave     4096 Aug  2 18:28 /home/jenkins-slave/workspace/kudu-master/0/build/test-tmp/master-0-1501698497481/logs
      11:40:43 13148534    4 drwx------   3 jenkins-slave jenkins-slave     4096 Aug  2 18:28 /home/jenkins-slave/workspace/kudu-master/0/build/test-tmp/master-0-1501698497481/logs/minidumps
      11:40:43 13148535    4 drwx------   2 jenkins-slave jenkins-slave     4096 Aug  2 18:28 /home/jenkins-slave/workspace/kudu-master/0/build/test-tmp/master-0-1501698497481/logs/minidumps/kudu-master
      11:40:43 13148536  220 -rw-------   1 jenkins-slave jenkins-slave   222216 Aug  2 18:28 /home/jenkins-slave/workspace/kudu-master/0/build/test-tmp/master-0-1501698497481/logs/minidumps/kudu-master/17859959-3bfe-c67c-0ac6e052-0748e93f.dmp
      

        Attachments

          Activity

            People

            • Assignee:
              junhe Jun He
              Reporter:
              tlipcon Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: