FailedConsole Output

GitHub pull request #54 of commit 7286f22d6ce58251764c9682c1aa30e7b8d92916 automatically merged.
[EnvInject] - Loading node environment variables.
Building remotely on amp-jenkins-worker-05 (centos spark-test) in workspace /home/jenkins/workspace/e-mission-data-collection-android-prb
Cloning the remote Git repository
Cloning repository https://github.com/e-mission/e-mission-data-collection
 > git init /home/jenkins/workspace/e-mission-data-collection-android-prb # timeout=10
Fetching upstream changes from https://github.com/e-mission/e-mission-data-collection
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/e-mission/e-mission-data-collection +refs/heads/*:refs/remotes/github-prb/*
 > git config remote.github-prb.url https://github.com/e-mission/e-mission-data-collection # timeout=10
 > git config --add remote.github-prb.fetch +refs/heads/*:refs/remotes/github-prb/* # timeout=10
 > git config remote.github-prb.url https://github.com/e-mission/e-mission-data-collection # timeout=10
Fetching upstream changes from https://github.com/e-mission/e-mission-data-collection
 > git fetch --tags --progress https://github.com/e-mission/e-mission-data-collection +refs/pull/*:refs/remotes/origin/pr/*
 > git rev-parse origin/pr/54/merge^{commit} # timeout=10
 > git branch -a --contains 85b4d98f280ba71566bae09564430e9aed993d3b # timeout=10
 > git rev-parse remotes/origin/pr/54/merge^{commit} # timeout=10
Checking out Revision 85b4d98f280ba71566bae09564430e9aed993d3b (origin/pr/54/merge)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 85b4d98f280ba71566bae09564430e9aed993d3b
First time build. Skipping changelog.
[Gradle] - Launching build.
[android] $ /home/jenkins/workspace/e-mission-data-collection-android-prb/android/gradlew -DghprbTriggerAuthorEmail= -DghprbTargetBranch=master -DghprbSourceBranch=switch_to_our_format "-DghprbActualCommitAuthor=K. Shankari" -Dsha1=origin/pr/54/merge -DghprbPullLink=https://api.github.com/repos/e-mission/e-mission-data-collection/pulls/54 -DghprbActualCommit=7286f22d6ce58251764c9682c1aa30e7b8d92916 -DGIT_BRANCH=switch_to_our_format -DghprbPullAuthorEmail= -DghprbActualCommitAuthorEmail=shankari@eecs.berkeley.edu -DghprbTriggerAuthor= -DghprbPullId=54 "-DghprbPullTitle=Change the TripDiary manipulation from an intent service to a service" "-DghprbPullDescription=GitHub pull request #54 of commit 7286f22d6ce58251764c9682c1aa30e7b8d92916 automatically merged." build
Download https://jcenter.bintray.com/com/google/code/gson/gson/2.3.1/gson-2.3.1.pom
Download https://jcenter.bintray.com/com/google/code/gson/gson/2.3.1/gson-2.3.1.jar
:app:preBuild
:app:compileDebugNdk
:app:preDebugBuild
:app:checkDebugManifest
:app:preReleaseBuild
:app:prepareComAndroidSupportSupportV42220Library
:app:prepareComGoogleAndroidGmsPlayServices6587Library
:app:prepareDebugDependencies
:app:compileDebugAidl
:app:compileDebugRenderscript
:app:generateDebugBuildConfig
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets
:app:generateDebugResValues
:app:generateDebugResources
:app:mergeDebugResources
:app:processDebugManifest
:app:processDebugResources
:app:generateDebugSources
:app:compileDebugJava/home/jenkins/workspace/e-mission-data-collection-android-prb/android/app/src/main/java/edu/berkeley/eecs/cfc_tracker/smap/AddDataAdapter.java:38: error: cannot find symbol
import edu.berkeley.eecs.cfc_tracker.location.TripDiaryStateMachineIntentService;
                                             ^
  symbol:   class TripDiaryStateMachineIntentService
  location: package edu.berkeley.eecs.cfc_tracker.location
/home/jenkins/workspace/e-mission-data-collection-android-prb/android/app/src/main/java/edu/berkeley/eecs/cfc_tracker/location/TripDiaryStateMachineReceiver.java:69: error: cannot find symbol
        Intent serviceStartIntent = new Intent(context, TripDiaryStateMachineIntentService.class);
                                                        ^
  symbol:   class TripDiaryStateMachineIntentService
  location: class TripDiaryStateMachineReceiver
/home/jenkins/workspace/e-mission-data-collection-android-prb/android/app/src/main/java/edu/berkeley/eecs/cfc_tracker/smap/AddDataAdapter.java:171: error: cannot find symbol
        if (TripDiaryStateMachineIntentService.getState(mContext).equals(mContext.getString(R.string.state_start))) {
            ^
  symbol:   variable TripDiaryStateMachineIntentService
  location: class AddDataAdapter
/home/jenkins/workspace/e-mission-data-collection-android-prb/android/app/src/main/java/edu/berkeley/eecs/cfc_tracker/smap/AddDataAdapter.java:173: error: cannot find symbol
        } else if (TripDiaryStateMachineIntentService.getState(mContext).equals(
                   ^
  symbol:   variable TripDiaryStateMachineIntentService
  location: class AddDataAdapter
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/jenkins/workspace/e-mission-data-collection-android-prb/android/app/src/main/java/edu/berkeley/eecs/cfc_tracker/usercache/BuiltinUserCache.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 16.91 secs
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
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.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:408)
Sending e-mails to: shankari@eecs.berkeley.edu
Test FAILed.
Refer to this link for build results (access rights to CI server needed): 
https://amplab.cs.berkeley.edu/jenkins/job/e-mission-data-collection-android-prb/5/
Test FAILed.
Finished: FAILURE