Closed Bug 1749652 Opened 4 months ago Closed 4 months ago

Perma [tier 2] FileNotFoundError: [Errno 2] No such file or directory: '/builds/worker/workspace/obj-build/gradle/build/mobile/android/geckoview/libs/geckoview-javadoc.jar'


(GeckoView :: General, defect, P5)



(firefox-esr91 unaffected, firefox96 unaffected, firefox97 unaffected, firefox98 fixed)

98 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox96 --- unaffected
firefox97 --- unaffected
firefox98 --- fixed


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




(Keywords: intermittent-failure, regression)


(1 file, 1 obsolete file)

Filed by: nfay [at]
Parsed log:
Full log:

[task 2022-01-12T04:20:22.632Z] 04:20:22     INFO -  git clone --branch gh-pages --depth 1 /builds/worker/checkouts/gecko/gv-docs-repo
[task 2022-01-12T04:20:22.634Z] 04:20:22     INFO -  Cloning into '/builds/worker/checkouts/gecko/gv-docs-repo'...
[task 2022-01-12T04:20:22.917Z] 04:20:22     INFO -  Warning: Permanently added ',' (ECDSA) to the list of known hosts.
[task 2022-01-12T04:20:24.558Z] 04:20:24     INFO -  src: /builds/worker/workspace/obj-build/gradle/build/mobile/android/geckoview/libs/geckoview-javadoc.jar
[task 2022-01-12T04:20:24.559Z] 04:20:24     INFO -  Error running mach:
[task 2022-01-12T04:20:24.559Z] 04:20:24     INFO -      ['--log-no-times', 'android', 'geckoview-docs', '--archive', '--upload', 'mozilla/geckoview', '--upload-branch', 'gh-pages', '--javadoc-path', 'javadoc/{project}', '--upload-message', 'Update {project} documentation to rev {revision}']
[task 2022-01-12T04:20:24.559Z] 04:20:24     INFO -  The error occurred in code that was called by the mach command. This is either
[task 2022-01-12T04:20:24.559Z] 04:20:24     INFO -  a bug in the called code itself or in the way that mach is calling it.
[task 2022-01-12T04:20:24.559Z] 04:20:24     INFO -  You can invoke |./mach busted| to check if this issue is already on file. If it
[task 2022-01-12T04:20:24.559Z] 04:20:24     INFO -  isn't, please use |./mach busted file android| to report it. If |./mach busted| is
[task 2022-01-12T04:20:24.559Z] 04:20:24     INFO -  misbehaving, you can also inspect the dependencies of bug 1543241.
[task 2022-01-12T04:20:24.559Z] 04:20:24     INFO -  If filing a bug, please include the full output of mach, including this error
[task 2022-01-12T04:20:24.559Z] 04:20:24     INFO -  message.
[task 2022-01-12T04:20:24.559Z] 04:20:24     INFO -  The details of the failure are as follows:
[task 2022-01-12T04:20:24.560Z] 04:20:24     INFO -  FileNotFoundError: [Errno 2] No such file or directory: '/builds/worker/workspace/obj-build/gradle/build/mobile/android/geckoview/libs/geckoview-javadoc.jar'
[task 2022-01-12T04:20:24.560Z] 04:20:24     INFO -    File "/builds/worker/checkouts/gecko/mobile/android/", line 425, in android_geckoview_docs
[task 2022-01-12T04:20:24.560Z] 04:20:24     INFO -      mozfile.extract_zip(src_tar, dst_path)
[task 2022-01-12T04:20:24.560Z] 04:20:24     INFO -    File "/builds/worker/checkouts/gecko/testing/mozbase/mozfile/mozfile/", line 69, in extract_zip
[task 2022-01-12T04:20:24.560Z] 04:20:24     INFO -      bundle = zipfile.ZipFile(src)
[task 2022-01-12T04:20:24.560Z] 04:20:24     INFO -    File "/usr/lib/python3.9/", line 1239, in __init__
[task 2022-01-12T04:20:24.560Z] 04:20:24     INFO -      self.fp =, filemode)
[task 2022-01-12T04:20:24.607Z] 04:20:24    ERROR - Return code: 1
[task 2022-01-12T04:20:24.607Z] 04:20:24    ERROR - 1 not in success codes: [0]
[task 2022-01-12T04:20:24.607Z] 04:20:24  WARNING - setting return code to 2
[task 2022-01-12T04:20:24.607Z] 04:20:24    FATAL - Halting on failure while running ['/builds/worker/workspace/obj-build/_virtualenvs/psutil/bin/python', 'mach', '--log-no-times', 'android', 'geckoview-docs', '--archive', '--upload', 'mozilla/geckoview', '--upload-branch', 'gh-pages', '--javadoc-path', 'javadoc/{project}', '--upload-message', 'Update {project} documentation to rev {revision}']
[task 2022-01-12T04:20:24.607Z] 04:20:24    FATAL - Running post_fatal callback...
[task 2022-01-12T04:20:24.607Z] 04:20:24    FATAL - Exiting 2
[task 2022-01-12T04:20:24.607Z] 04:20:24     INFO - [mozharness: 2022-01-12 04:20:24.607895Z] Finished build step (failed)
[task 2022-01-12T04:20:24.607Z] 04:20:24     INFO - Running post-run listener: _parse_build_tests_ccov

Flags: needinfo?(agi)

The javdoc path changed after Bug 1724480.

Assignee: nobody → agi
Flags: needinfo?(agi)
Regressions: 1724480
Pushed by
Fix javadoc path in gv-docs. r=calu
Regressed by: 1724480
No longer regressions: 1724480
Has Regression Range: --- → yes
Keywords: regression
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch

Not sure how this code came to be, but it produces an empty javadoc jar.

The patch fixes the javadoc jar task so that it actually collects the javadoc

Set release status flags based on info from the regressing bug 1724480

Resolution: FIXED → ---
Target Milestone: 98 Branch → ---
Attachment #9258675 - Attachment is obsolete: true
Pushed by
Actually publish javadoc jar contents. r=calu
Closed: 4 months ago4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
You need to log in before you can comment on or make changes to this bug.