Closed Bug 1749652 Opened 2 years ago Closed 2 years 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'

Categories

(GeckoView :: General, defect, P5)

Unspecified
All

Tracking

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

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

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file, 1 obsolete file)

Filed by: nfay [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=363815721&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/YDHYFLehTcmwaabBlbokvw/runs/0/artifacts/public/logs/live_backing.log


[task 2022-01-12T04:20:22.632Z] 04:20:22     INFO -  git clone --branch gh-pages --depth 1 git@github.com:mozilla/geckoview.git /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 'github.com,192.30.255.113' (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/mach_commands.py", 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/mozfile.py", 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/zipfile.py", line 1239, in __init__
[task 2022-01-12T04:20:24.560Z] 04:20:24     INFO -      self.fp = io.open(file, 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
Status: NEW → ASSIGNED
Flags: needinfo?(agi)
Regressions: 1724480
Pushed by asferro@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/db861e2fd044
Fix javadoc path in gv-docs. r=calu
Regressed by: 1724480
No longer regressions: 1724480
Has Regression Range: --- → yes
Keywords: regression
Status: ASSIGNED → RESOLVED
Closed: 2 years 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
files.

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

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: 98 Branch → ---
Attachment #9258675 - Attachment is obsolete: true
Pushed by asferro@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/51b1fe3cbcb8
Actually publish javadoc jar contents. r=calu
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: