hudson.plugins.testlink.result.TestResultSeekerException: Unkown internal error. Please, open an issue in Jenkins JIRA with the complete stack trace. If possible, try including the JUnit XML(s) too.

Jenkins JIRA | John Sillers | 5 years ago
  1. 0

    Failure is: FATAL: Unkown internal error. Please, open an issue in Jenkins JIRA with the complete stack trace. If possible, try including the JUnit XML(s) too. hudson.plugins.testlink.result.TestResultSeekerException: Unkown internal error. Please, open an issue in Jenkins JIRA with the complete stack trace. If possible, try including the JUnit XML(s) too. at hudson.plugins.testlink.result.junit.JUnitTestCasesTestResultSeeker.seek(JUnitTestCasesTestResultSeeker.java:117) at hudson.plugins.testlink.result.TestResultsCallable.seekTestResults(TestResultsCallable.java:111) at hudson.plugins.testlink.result.TestResultsCallable.invoke(TestResultsCallable.java:153) at hudson.plugins.testlink.result.TestResultsCallable.invoke(TestResultsCallable.java:47) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1994) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Caused by: java.lang.OutOfMemoryError: Java heap space ERROR: An error occured while trying to retrieve the test results: Unkown internal error. Please, open an issue in Jenkins JIRA with the complete stack trace. If possible, try including the JUnit XML(s) too.. We recently started using the testlink plugin. I was evaluating it until last night when I applied it to our 'real' build system. The job that failed above had succeeded before. I also saw this fail with OutOfMemoryError when using this pattern for the JUnit XML files: **/TEST*Test.xml . Changing the pattern to **/Test*TestSuites.xml seemed to get us over the failure, but apparently not. I have attached the JUnit XML files. After seeing suggestions for increasing the max memory for slaves when an OutOfMemory error occurs I set the slave memory setting to -Xmx1024m.

    Jenkins JIRA | 5 years ago | John Sillers
    hudson.plugins.testlink.result.TestResultSeekerException: Unkown internal error. Please, open an issue in Jenkins JIRA with the complete stack trace. If possible, try including the JUnit XML(s) too.
  2. 0

    Failure is: FATAL: Unkown internal error. Please, open an issue in Jenkins JIRA with the complete stack trace. If possible, try including the JUnit XML(s) too. hudson.plugins.testlink.result.TestResultSeekerException: Unkown internal error. Please, open an issue in Jenkins JIRA with the complete stack trace. If possible, try including the JUnit XML(s) too. at hudson.plugins.testlink.result.junit.JUnitTestCasesTestResultSeeker.seek(JUnitTestCasesTestResultSeeker.java:117) at hudson.plugins.testlink.result.TestResultsCallable.seekTestResults(TestResultsCallable.java:111) at hudson.plugins.testlink.result.TestResultsCallable.invoke(TestResultsCallable.java:153) at hudson.plugins.testlink.result.TestResultsCallable.invoke(TestResultsCallable.java:47) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1994) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Caused by: java.lang.OutOfMemoryError: Java heap space ERROR: An error occured while trying to retrieve the test results: Unkown internal error. Please, open an issue in Jenkins JIRA with the complete stack trace. If possible, try including the JUnit XML(s) too.. We recently started using the testlink plugin. I was evaluating it until last night when I applied it to our 'real' build system. The job that failed above had succeeded before. I also saw this fail with OutOfMemoryError when using this pattern for the JUnit XML files: **/TEST*Test.xml . Changing the pattern to **/Test*TestSuites.xml seemed to get us over the failure, but apparently not. I have attached the JUnit XML files. After seeing suggestions for increasing the max memory for slaves when an OutOfMemory error occurs I set the slave memory setting to -Xmx1024m.

    Jenkins JIRA | 5 years ago | John Sillers
    hudson.plugins.testlink.result.TestResultSeekerException: Unkown internal error. Please, open an issue in Jenkins JIRA with the complete stack trace. If possible, try including the JUnit XML(s) too.
  3. 0

    The following Null Pointer Exception occurs when the Testlink Plugin parses a JUnit test result file. This JUnit file is generated by QF Test (GUI Test Tool). See attachment. Here the Console output: ... Looking for the test results of TestLink test cases. Found [18] JUnit XML(s). Parsing JUnit XML [MST_DEMO_LOG_01/MST_DEMO_LOG_01_201105120834/MST_DEMO_LOG_01_report_junit.xml]. Veryfying JUnit test suite [/data/tester/system_tests/qftest/demos/MST_DEMO_LOG_01/MST_DEMO_LOG_01_qft]. This suite contains [3] tests, [0] failures and [0] errors. Verifying JUnit test [UnitTest.Startup]. Looking for a test result that matches with key custom field [TESTCLASS] => [null]. Verifying TestLink test case [MST_DEMO_LOG_01], ID [111]. Custom fields in this TestLink test case [[CustomField [id=14, name=TESTCLASS, label=TESTCLASS, type=0, possibleValues=, defaultValue=, validRegexp=, lengthMin=0, lengthMax=0, showOnDesign=true, enableOnDesign=true, showOnExecution=true, enableOnExecution=false, showOnTestPlanDesign=false, enableOnTestPlanDesign=false, displayOrder=1, location=1, value=MST_DEMO_LOG_01], CustomField [id=12, name=test_suite, label=Test Suite, type=0, possibleValues=, defaultValue=, validRegexp=, lengthMin=0, lengthMax=0, showOnDesign=true, enableOnDesign=true, showOnExecution=true, enableOnExecution=false, showOnTestPlanDesign=false, enableOnTestPlanDesign=false, displayOrder=1, location=1, value=/data/tester/system_tests/qftest/demos/MST_DEMO_LOG_01/MST_DEMO_LOG_01.qft], CustomField [id=9, name=automation_type, label=Automation Type, type=6, possibleValues=QFTest|TADS, defaultValue=, validRegexp=, lengthMin=0, lengthMax=0, showOnDesign=true, enableOnDesign=true, showOnExecution=true, enableOnExecution=false, showOnTestPlanDesign=false, enableOnTestPlanDesign=false, displayOrder=1, location=1, value=QFTest], CustomField [id=15, name=work_dir, label=Working Directory, type=0, possibleValues=, defaultValue=, validRegexp=, lengthMin=0, lengthMax=0, showOnDesign=true, enableOnDesign=true, showOnExecution=true, enableOnExecution=false, showOnTestPlanDesign=false, enableOnTestPlanDesign=false, displayOrder=1, location=1, value=/data/tester/system_tests/qftest/demos/MST_DEMO_LOG_01/], CustomField [id=10, name=execution_host, label=Execution Host, type=0, possibleValues=, defaultValue=, validRegexp=, lengthMin=0, lengthMax=0, showOnDesign=true, enableOnDesign=true, showOnExecution=true, enableOnExecution=false, showOnTestPlanDesign=false, enableOnTestPlanDesign=false, displayOrder=2, location=1, value=mclient35]]]. An error occured while trying to retrieve the test results: Unkown internal error. Please, open an issue in Jenkins JIRA with the complete stack trace. If possible, try including the JUnit XML(s) too.. FATAL: Unkown internal error. Please, open an issue in Jenkins JIRA with the complete stack trace. If possible, try including the JUnit XML(s) too. hudson.plugins.testlink.result.TestResultSeekerException: Unkown internal error. Please, open an issue in Jenkins JIRA with the complete stack trace. If possible, try including the JUnit XML(s) too. at hudson.plugins.testlink.result.JUnitTestResultSeeker.seek(JUnitTestResultSeeker.java:113) at hudson.plugins.testlink.result.TestResultsCallable.seekTestResults(TestResultsCallable.java:115) at hudson.plugins.testlink.result.TestResultsCallable.invoke(TestResultsCallable.java:156) at hudson.plugins.testlink.result.TestResultsCallable.invoke(TestResultsCallable.java:45) at hudson.FilePath.act(FilePath.java:757) at hudson.FilePath.act(FilePath.java:739) at hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:503) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:644) at hudson.model.Build$RunnerImpl.build(Build.java:175) at hudson.model.Build$RunnerImpl.doRun(Build.java:137) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421) at hudson.model.Run.run(Run.java:1362) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) Caused by: java.lang.NullPointerException at hudson.plugins.testlink.result.JUnitTestResultSeeker.doFindTestResult(JUnitTestResultSeeker.java:246) at hudson.plugins.testlink.result.JUnitTestResultSeeker.doJunitSuite(JUnitTestResultSeeker.java:180) at hudson.plugins.testlink.result.JUnitTestResultSeeker.doJunitReports(JUnitTestResultSeeker.java:145) at hudson.plugins.testlink.result.JUnitTestResultSeeker.seek(JUnitTestResultSeeker.java:105) ... 15 more FATAL: null java.lang.NullPointerException at hudson.plugins.testlink.TestLinkService.updateTestCasesAndUploadAttachments(TestLinkService.java:155) at hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:525) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:644) at hudson.model.Build$RunnerImpl.build(Build.java:175) at hudson.model.Build$RunnerImpl.doRun(Build.java:137) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421) at hudson.model.Run.run(Run.java:1362) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145)

    Jenkins JIRA | 6 years ago | Thomas Geiser
    hudson.plugins.testlink.result.TestResultSeekerException: Unkown internal error. Please, open an issue in Jenkins JIRA with the complete stack trace. If possible, try including the JUnit XML(s) too.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    The following Null Pointer Exception occurs when the Testlink Plugin parses a JUnit test result file. This JUnit file is generated by QF Test (GUI Test Tool). See attachment. Here the Console output: ... Looking for the test results of TestLink test cases. Found [18] JUnit XML(s). Parsing JUnit XML [MST_DEMO_LOG_01/MST_DEMO_LOG_01_201105120834/MST_DEMO_LOG_01_report_junit.xml]. Veryfying JUnit test suite [/data/tester/system_tests/qftest/demos/MST_DEMO_LOG_01/MST_DEMO_LOG_01_qft]. This suite contains [3] tests, [0] failures and [0] errors. Verifying JUnit test [UnitTest.Startup]. Looking for a test result that matches with key custom field [TESTCLASS] => [null]. Verifying TestLink test case [MST_DEMO_LOG_01], ID [111]. Custom fields in this TestLink test case [[CustomField [id=14, name=TESTCLASS, label=TESTCLASS, type=0, possibleValues=, defaultValue=, validRegexp=, lengthMin=0, lengthMax=0, showOnDesign=true, enableOnDesign=true, showOnExecution=true, enableOnExecution=false, showOnTestPlanDesign=false, enableOnTestPlanDesign=false, displayOrder=1, location=1, value=MST_DEMO_LOG_01], CustomField [id=12, name=test_suite, label=Test Suite, type=0, possibleValues=, defaultValue=, validRegexp=, lengthMin=0, lengthMax=0, showOnDesign=true, enableOnDesign=true, showOnExecution=true, enableOnExecution=false, showOnTestPlanDesign=false, enableOnTestPlanDesign=false, displayOrder=1, location=1, value=/data/tester/system_tests/qftest/demos/MST_DEMO_LOG_01/MST_DEMO_LOG_01.qft], CustomField [id=9, name=automation_type, label=Automation Type, type=6, possibleValues=QFTest|TADS, defaultValue=, validRegexp=, lengthMin=0, lengthMax=0, showOnDesign=true, enableOnDesign=true, showOnExecution=true, enableOnExecution=false, showOnTestPlanDesign=false, enableOnTestPlanDesign=false, displayOrder=1, location=1, value=QFTest], CustomField [id=15, name=work_dir, label=Working Directory, type=0, possibleValues=, defaultValue=, validRegexp=, lengthMin=0, lengthMax=0, showOnDesign=true, enableOnDesign=true, showOnExecution=true, enableOnExecution=false, showOnTestPlanDesign=false, enableOnTestPlanDesign=false, displayOrder=1, location=1, value=/data/tester/system_tests/qftest/demos/MST_DEMO_LOG_01/], CustomField [id=10, name=execution_host, label=Execution Host, type=0, possibleValues=, defaultValue=, validRegexp=, lengthMin=0, lengthMax=0, showOnDesign=true, enableOnDesign=true, showOnExecution=true, enableOnExecution=false, showOnTestPlanDesign=false, enableOnTestPlanDesign=false, displayOrder=2, location=1, value=mclient35]]]. An error occured while trying to retrieve the test results: Unkown internal error. Please, open an issue in Jenkins JIRA with the complete stack trace. If possible, try including the JUnit XML(s) too.. FATAL: Unkown internal error. Please, open an issue in Jenkins JIRA with the complete stack trace. If possible, try including the JUnit XML(s) too. hudson.plugins.testlink.result.TestResultSeekerException: Unkown internal error. Please, open an issue in Jenkins JIRA with the complete stack trace. If possible, try including the JUnit XML(s) too. at hudson.plugins.testlink.result.JUnitTestResultSeeker.seek(JUnitTestResultSeeker.java:113) at hudson.plugins.testlink.result.TestResultsCallable.seekTestResults(TestResultsCallable.java:115) at hudson.plugins.testlink.result.TestResultsCallable.invoke(TestResultsCallable.java:156) at hudson.plugins.testlink.result.TestResultsCallable.invoke(TestResultsCallable.java:45) at hudson.FilePath.act(FilePath.java:757) at hudson.FilePath.act(FilePath.java:739) at hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:503) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:644) at hudson.model.Build$RunnerImpl.build(Build.java:175) at hudson.model.Build$RunnerImpl.doRun(Build.java:137) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421) at hudson.model.Run.run(Run.java:1362) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) Caused by: java.lang.NullPointerException at hudson.plugins.testlink.result.JUnitTestResultSeeker.doFindTestResult(JUnitTestResultSeeker.java:246) at hudson.plugins.testlink.result.JUnitTestResultSeeker.doJunitSuite(JUnitTestResultSeeker.java:180) at hudson.plugins.testlink.result.JUnitTestResultSeeker.doJunitReports(JUnitTestResultSeeker.java:145) at hudson.plugins.testlink.result.JUnitTestResultSeeker.seek(JUnitTestResultSeeker.java:105) ... 15 more FATAL: null java.lang.NullPointerException at hudson.plugins.testlink.TestLinkService.updateTestCasesAndUploadAttachments(TestLinkService.java:155) at hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:525) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:644) at hudson.model.Build$RunnerImpl.build(Build.java:175) at hudson.model.Build$RunnerImpl.doRun(Build.java:137) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421) at hudson.model.Run.run(Run.java:1362) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145)

    Jenkins JIRA | 6 years ago | Thomas Geiser
    hudson.plugins.testlink.result.TestResultSeekerException: Unkown internal error. Please, open an issue in Jenkins JIRA with the complete stack trace. If possible, try including the JUnit XML(s) too.

    Root Cause Analysis

    1. hudson.plugins.testlink.result.TestResultSeekerException

      Unkown internal error. Please, open an issue in Jenkins JIRA with the complete stack trace. If possible, try including the JUnit XML(s) too.

      at hudson.plugins.testlink.result.junit.JUnitTestCasesTestResultSeeker.seek()
    2. hudson.plugins.testlink
      TestResultsCallable.invoke
      1. hudson.plugins.testlink.result.junit.JUnitTestCasesTestResultSeeker.seek(JUnitTestCasesTestResultSeeker.java:117)
      2. hudson.plugins.testlink.result.TestResultsCallable.seekTestResults(TestResultsCallable.java:111)
      3. hudson.plugins.testlink.result.TestResultsCallable.invoke(TestResultsCallable.java:153)
      4. hudson.plugins.testlink.result.TestResultsCallable.invoke(TestResultsCallable.java:47)
      4 frames
    3. Hudson
      FilePath$FileCallableWrapper.call
      1. hudson.FilePath$FileCallableWrapper.call(FilePath.java:1994)
      1 frame
    4. Hudson :: Remoting Layer
      Request$2.run
      1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      3. hudson.remoting.Request$2.run(Request.java:287)
      3 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:166)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      6. java.lang.Thread.run(Thread.java:636)
      6 frames