Xiangrui Meng created SPARK-10728: ------------------------------------- Summary: Failed to set Jenkins Identity header on email. Key: SPARK-10728 URL: https://issues.apache.org/jira/browse/SPARK-10728 Project: Spark Issue Type: Bug Components: Tests Affects Versions: 1.6.0 Reporter: Xiangrui Meng Assignee: Josh Rosen
Saw couple Jenkins build failures due to "Failed to set Jenkins Identity header on email", e.g., https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Test%20(Dashboard)/job/Spark-Master-SBT/3572/AMPLAB_JENKINS_BUILD_PROFILE=hadoop2.0,label=spark-test/consoleFull {code} [error] running /home/jenkins/workspace/Spark-Master-SBT/AMPLAB_JENKINS_BUILD_PROFILE/hadoop2.0/label/spark-test/build/sbt -Phadoop-1 -Dhadoop.version=2.0.0-mr1-cdh4.1.1 -Phive -Pkinesis-asl -Phive-thriftserver test ; received return code 143 Build step 'Execute shell' marked build as failure Archiving artifacts Recording test results ERROR: Failed to set Jenkins Identity header on email. java.lang.NullPointerException at org.jenkinsci.main.modules.instance_identity.InstanceIdentity.get(InstanceIdentity.java:126) at jenkins.plugins.mailer.tasks.MimeMessageBuilder.setJenkinsInstanceIdent(MimeMessageBuilder.java:188) at jenkins.plugins.mailer.tasks.MimeMessageBuilder.buildMimeMessage(MimeMessageBuilder.java:166) at hudson.tasks.MailSender.createEmptyMail(MailSender.java:391) at hudson.tasks.MailSender.createFailureMail(MailSender.java:260) at hudson.tasks.MailSender.createMail(MailSender.java:178) at hudson.tasks.MailSender.run(MailSender.java:107) at hudson.tasks.Mailer.perform(Mailer.java:141) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:75) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) at hudson.model.Run.execute(Run.java:1766) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Sending e-mails to: spark-bu...@databricks.com rosenvi...@gmail.com Finished: FAILURE {code} The workaround documented on https://issues.jenkins-ci.org/browse/JENKINS-26740 is to downgrade mailer to 1.12. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org