Closed Bug 1536044 Opened 5 years ago Closed 5 years ago

Perma Android ccov subprocess.CalledProcessError: Command '[u'/builds/worker/workspace/build/src/mach', 'android', 'assemble-app']' returned non-zero exit status 1

Categories

(Firefox Build System :: Android Studio and Gradle Integration, defect, P5)

defect

Tracking

(firefox66 unaffected, firefox67 unaffected, firefox68 fixed)

RESOLVED FIXED
mozilla68
Tracking Status
firefox66 --- unaffected
firefox67 --- unaffected
firefox68 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: snorp)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

#[markdown(off)]
Filed by: cbrindusan [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=234493132&repo=mozilla-central

https://queue.taskcluster.net/v1/task/HI9b8h-QSZW72Cejvo1urA/runs/1/artifacts/public/logs/live_backing.log

[task 2019-03-18T10:15:44.421Z] 10:15:44 INFO - > Task :geckoview:platformAttrExtractor
[task 2019-03-18T10:15:44.421Z] 10:15:44 INFO - > Task :geckoview:generateWithGeckoBinariesDebugRFile
[task 2019-03-18T10:15:44.421Z] 10:15:44 INFO - > Task :geckoview:compileWithGeckoBinariesDebugKotlin FAILED
[task 2019-03-18T10:15:44.421Z] 10:15:44 INFO - > Task :app:validateSigningWithoutGeckoBinariesDebug
[task 2019-03-18T10:15:44.422Z] 10:15:44 INFO - > Task :thirdparty:compileDebugJavaWithJavac
[task 2019-03-18T10:15:44.422Z] 10:15:44 WARNING - /builds/worker/workspace/build/src/mobile/android/thirdparty/ch/boye/httpclientandroidlib/conn/HttpHostConnectException.java:56: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[task 2019-03-18T10:15:44.423Z] 10:15:44 INFO - this(cause, host, null);
[task 2019-03-18T10:15:44.423Z] 10:15:44 INFO - ^
[task 2019-03-18T10:15:44.423Z] 10:15:44 INFO - cast to InetAddress for a varargs call
[task 2019-03-18T10:15:44.423Z] 10:15:44 INFO - cast to InetAddress[] for a non-varargs call and to suppress this warning
[task 2019-03-18T10:15:44.423Z] 10:15:44 INFO - Note: Some input files use or override a deprecated API.
[task 2019-03-18T10:15:44.424Z] 10:15:44 INFO - Note: Recompile with -Xlint:deprecation for details.
[task 2019-03-18T10:15:44.424Z] 10:15:44 INFO - Note: Some input files use unchecked or unsafe operations.
[task 2019-03-18T10:15:44.424Z] 10:15:44 INFO - Note: Recompile with -Xlint:unchecked for details.
[task 2019-03-18T10:15:44.425Z] 10:15:44 INFO - 1 warning
[task 2019-03-18T10:15:44.425Z] 10:15:44 INFO - > Task :annotations:compileJava
[task 2019-03-18T10:15:44.425Z] 10:15:44 INFO - Note: /builds/worker/workspace/build/src/mobile/android/annotations/src/main/java/org/mozilla/gecko/annotationProcessors/SDKProcessor.java uses or overrides a deprecated API.
[task 2019-03-18T10:15:44.425Z] 10:15:44 INFO - Note: Recompile with -Xlint:deprecation for details.
[task 2019-03-18T10:15:44.426Z] 10:15:44 INFO - FAILURE: Build failed with an exception.
[task 2019-03-18T10:15:44.426Z] 10:15:44 INFO - * What went wrong:
[task 2019-03-18T10:15:44.426Z] 10:15:44 INFO - Execution failed for task ':geckoview:compileWithGeckoBinariesDebugKotlin'.
[task 2019-03-18T10:15:44.426Z] 10:15:44 INFO - > Could not resolve all artifacts for configuration ':geckoview:withGeckoBinariesDebugCompileClasspath'.
[task 2019-03-18T10:15:44.427Z] 10:15:44 INFO - > Could not find org.jacoco.agent-runtime.jar (org.jacoco:org.jacoco.agent:0.8.1).
[task 2019-03-18T10:15:44.427Z] 10:15:44 INFO - Searched in the following locations:
[task 2019-03-18T10:15:44.427Z] 10:15:44 INFO - file:/builds/worker/workspace/build/src/android-gradle-dependencies/jcenter/org/jacoco/org.jacoco.agent/0.8.1/org.jacoco.agent-0.8.1-runtime.jar
[task 2019-03-18T10:15:44.427Z] 10:15:44 INFO - * Try:
[task 2019-03-18T10:15:44.427Z] 10:15:44 INFO - Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[task 2019-03-18T10:15:44.427Z] 10:15:44 INFO - * Get more help at https://help.gradle.org
[task 2019-03-18T10:15:44.428Z] 10:15:44 INFO - Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
[task 2019-03-18T10:15:44.428Z] 10:15:44 INFO - Use '--warning-mode all' to show the individual deprecation warnings.
[task 2019-03-18T10:15:44.428Z] 10:15:44 INFO - See https://docs.gradle.org/4.10.2/userguide/command_line_interface.html#sec:command_line_warnings
[task 2019-03-18T10:15:44.428Z] 10:15:44 INFO - BUILD FAILED in 29s
[task 2019-03-18T10:15:44.428Z] 10:15:44 INFO - 47 actionable tasks: 47 executed
[task 2019-03-18T10:15:44.428Z] 10:15:44 ERROR - Traceback (most recent call last):
[task 2019-03-18T10:15:44.428Z] 10:15:44 INFO - File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
[task 2019-03-18T10:15:44.428Z] 10:15:44 INFO - "__main__", fname, loader, pkg_name)
[task 2019-03-18T10:15:44.429Z] 10:15:44 INFO - File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
[task 2019-03-18T10:15:44.429Z] 10:15:44 INFO - exec code in run_globals
[task 2019-03-18T10:15:44.429Z] 10:15:44 INFO - File "/builds/worker/workspace/build/src/python/mozbuild/mozbuild/action/file_generate.py", line 120, in <module>
[task 2019-03-18T10:15:44.429Z] 10:15:44 INFO - sys.exit(main(sys.argv[1:]))
[task 2019-03-18T10:15:44.429Z] 10:15:44 INFO - File "/builds/worker/workspace/build/src/python/mozbuild/mozbuild/action/file_generate.py", line 71, in main
[task 2019-03-18T10:15:44.429Z] 10:15:44 INFO - ret = module.__dict__[method](output, *args.additional_arguments, **kwargs)
[task 2019-03-18T10:15:44.429Z] 10:15:44 INFO - File "/builds/worker/workspace/build/src/mobile/android/gradle.py", line 39, in assemble_app
[task 2019-03-18T10:15:44.429Z] 10:15:44 INFO - return android('assemble-app')
[task 2019-03-18T10:15:44.429Z] 10:15:44 INFO - File "/builds/worker/workspace/build/src/mobile/android/gradle.py", line 31, in android
[task 2019-03-18T10:15:44.430Z] 10:15:44 INFO - subprocess.check_call(cmd)
[task 2019-03-18T10:15:44.430Z] 10:15:44 INFO - File "/usr/lib/python2.7/subprocess.py", line 186, in check_call
[task 2019-03-18T10:15:44.430Z] 10:15:44 INFO - raise CalledProcessError(retcode, cmd)
[task 2019-03-18T10:15:44.430Z] 10:15:44 INFO - subprocess.CalledProcessError: Command '[u'/builds/worker/workspace/build/src/mach', 'android', 'assemble-app']' returned non-zero exit status 1
[task 2019-03-18T10:15:44.430Z] 10:15:44 INFO - backend.mk:63: recipe for target '.deps/android_apks.stub' failed
[task 2019-03-18T10:15:44.430Z] 10:15:44 ERROR - make[4]: *** [.deps/android_apks.stub] Error 1
[task 2019-03-18T10:15:44.430Z] 10:15:44 INFO - make[4]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/mobile/android/base'
[task 2019-03-18T10:15:44.431Z] 10:15:44 INFO - /builds/worker/workspace/build/src/config/recurse.mk:101: recipe for target 'mobile/android/base/export' failed
[task 2019-03-18T10:15:44.431Z] 10:15:44 ERROR - make[3]: *** [mobile/android/base/export] Error 2
[task 2019-03-18T10:15:44.431Z] 10:15:44 INFO - /builds/worker/workspace/build/src/config/recurse.mk:32: recipe for target 'export' failed
[task 2019-03-18T10:15:44.431Z] 10:15:44 ERROR - make[2]: *** [export] Error 2
[task 2019-03-18T10:15:44.431Z] 10:15:44 INFO - /builds/worker/workspace/build/src/config/rules.mk:400: recipe for target 'default' failed
[task 2019-03-18T10:15:44.432Z] 10:15:44 ERROR - make[1]: *** [default] Error 2
[task 2019-03-18T10:15:44.432Z] 10:15:44 INFO - client.mk:125: recipe for target 'build' failed
[task 2019-03-18T10:15:44.432Z] 10:15:44 INFO - make: *** [build] Error 2
[task 2019-03-18T10:15:44.453Z] 10:15:44 INFO - 0 compiler warnings present.
[task 2019-03-18T10:15:44.486Z] 10:15:44 ERROR - Return code: 2
[task 2019-03-18T10:15:44.486Z] 10:15:44 WARNING - setting return code to 2
[task 2019-03-18T10:15:44.486Z] 10:15:44 FATAL - 'mach build -v' did not run successfully. Please check log for errors.
[task 2019-03-18T10:15:44.486Z] 10:15:44 FATAL - Running post_fatal callback...
[task 2019-03-18T10:15:44.486Z] 10:15:44 FATAL - Exiting -1

Flags: needinfo?(snorp)
Summary: Intermittent subprocess.CalledProcessError: Command '[u'/builds/worker/workspace/build/src/mach', 'android', 'assemble-app']' returned non-zero exit status 1 → Perma subprocess.CalledProcessError: Command '[u'/builds/worker/workspace/build/src/mach', 'android', 'assemble-app']' returned non-zero exit status 1
Depends on: 1534802
Flags: needinfo?(snorp)
Summary: Perma subprocess.CalledProcessError: Command '[u'/builds/worker/workspace/build/src/mach', 'android', 'assemble-app']' returned non-zero exit status 1 → Perma Android ccov subprocess.CalledProcessError: Command '[u'/builds/worker/workspace/build/src/mach', 'android', 'assemble-app']' returned non-zero exit status 1

I thought this was fixed with the backout of bug 1534802 but apparently not. We don't want to run these tests anyway, so I'll try to figure out how to disable.

Flags: needinfo?(snorp)
Assignee: nobody → snorp
Pushed by jwillcox@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/531d308db7e7
Fully disable jacoco builds for Android r=agi
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 68
Product: Firefox for Android → Firefox Build System
Target Milestone: Firefox 68 → mozilla68
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: