Issue Type: Bug Bug
Assignee: vjuranek
Attachments: selenium_firefox Config [Jenkins] - Mozilla Firefox_2014-01-07_09-24-03.png
Components: build-publisher
Created: 07/Jan/14 8:26 AM
Description:

We have a job which triggers three other jobs and aggregates their test results using post build actions:

  • Aggregate post build test results (german: "Nachgelagerte Testergebnisse zusammenfassen")
    • [x] Aggregate all post build jobs
    • [x] Aggregate failed build result
  • Build jobs (german: "Weitere Projekte bauen")
    • [x] trigger only on build success
    • [ ] trigger even when build is instable
    • [ ] trigger even when build fails

When starting this job it fails quickly with an NullPointer exception:

Started by user anonymous
Building in workspace /ps/devop/jenkins/data/jobs/selenium_firefox/workspace
ERROR: Publisher hudson.tasks.test.AggregatedTestResultPublisher aborted due to exception
java.lang.NullPointerException
	at hudson.tasks.test.AggregatedTestResultPublisher$TestResultAction.getProject(AggregatedTestResultPublisher.java:173)
	at hudson.tasks.test.AggregatedTestResultPublisher$TestResultAction.<init>(AggregatedTestResultPublisher.java:146)
	at hudson.tasks.test.AggregatedTestResultPublisher$TestResultAction.<init>(AggregatedTestResultPublisher.java:135)
	at hudson.tasks.test.AggregatedTestResultPublisher.perform(AggregatedTestResultPublisher.java:90)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757)
	at hudson.model.Build$BuildExecution.post2(Build.java:183)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706)
	at hudson.model.Run.execute(Run.java:1703)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:231)
Finished: FAILURE

The aggregation is crucial for our dashboard which displays the overall testresults history chart.

P.S.: Sorry, I only use the german translation, so I just guessed the actual english configuration lables above.

Project: Jenkins
Priority: Blocker Blocker
Reporter: Norbert Pfistner
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to