Closed Bug 1901936 Opened 1 year ago Closed 1 year ago

Perma custom-car android PermissionError: [Errno 13] Permission denied: '/builds/worker/.config/depot_tools'

Categories

(Testing :: Performance, defect, P1)

defect

Tracking

(firefox-esr115 fixed, firefox-esr128 fixed, firefox129 fixed)

RESOLVED FIXED
129 Branch
Tracking Status
firefox-esr115 --- fixed
firefox-esr128 --- fixed
firefox129 --- fixed

People

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

References

Details

(Keywords: intermittent-failure, Whiteboard: [fxp][operational])

Attachments

(1 file)

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


cd chromium
[task 2024-06-12T06:30:36.433Z] + cd chromium
[task 2024-06-12T06:30:36.433Z] 
[task 2024-06-12T06:30:36.433Z] fetch --no-history --nohooks $FETCH_NAME
[task 2024-06-12T06:30:36.433Z] + fetch --no-history --nohooks android
[task 2024-06-12T06:30:49.486Z] Traceback (most recent call last):
[task 2024-06-12T06:30:49.486Z]   File "/builds/worker/custom_car/depot_tools/gclient.py", line 108, in <module>
[task 2024-06-12T06:30:49.486Z]     import gclient_scm
[task 2024-06-12T06:30:49.486Z]   File "/builds/worker/custom_car/depot_tools/gclient_scm.py", line 23, in <module>
[task 2024-06-12T06:30:49.486Z]     import gerrit_util
[task 2024-06-12T06:30:49.486Z]   File "/builds/worker/custom_car/depot_tools/gerrit_util.py", line 41, in <module>
[task 2024-06-12T06:30:49.486Z]     import metrics
[task 2024-06-12T06:30:49.486Z]   File "/builds/worker/custom_car/depot_tools/metrics.py", line 23, in <module>
[task 2024-06-12T06:30:49.486Z]     CONFIG_FILE = utils.depot_tools_config_path('metrics.cfg')
[task 2024-06-12T06:30:49.486Z]                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-06-12T06:30:49.486Z]   File "/builds/worker/custom_car/depot_tools/utils.py", line 48, in depot_tools_config_path
[task 2024-06-12T06:30:49.486Z]     pathlib.Path(config_dir).mkdir(parents=True, exist_ok=True)
[task 2024-06-12T06:30:49.486Z]   File "/builds/worker/.cache/.vpython-root/store/cpython+qocd3gso2qlupcvi74a8cf00v0/contents/lib/python3.11/pathlib.py", line 1116, in mkdir
[task 2024-06-12T06:30:49.487Z]     os.mkdir(self, mode)
[task 2024-06-12T06:30:49.487Z] PermissionError: [Errno 13] Permission denied: '/builds/worker/.config/depot_tools'
[task 2024-06-12T06:30:51.598Z] Traceback (most recent call last):
[task 2024-06-12T06:30:51.598Z]   File "/builds/worker/custom_car/depot_tools/gclient.py", line 108, in <module>
[task 2024-06-12T06:30:51.598Z]     import gclient_scm
[task 2024-06-12T06:30:51.598Z]   File "/builds/worker/custom_car/depot_tools/gclient_scm.py", line 23, in <module>
[task 2024-06-12T06:30:51.598Z]     import gerrit_util
[task 2024-06-12T06:30:51.598Z]   File "/builds/worker/custom_car/depot_tools/gerrit_util.py", line 41, in <module>
[task 2024-06-12T06:30:51.598Z]     import metrics
[task 2024-06-12T06:30:51.598Z]   File "/builds/worker/custom_car/depot_tools/metrics.py", line 23, in <module>
[task 2024-06-12T06:30:51.598Z]     CONFIG_FILE = utils.depot_tools_config_path('metrics.cfg')
[task 2024-06-12T06:30:51.598Z]                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-06-12T06:30:51.598Z]   File "/builds/worker/custom_car/depot_tools/utils.py", line 48, in depot_tools_config_path
[task 2024-06-12T06:30:51.598Z]     pathlib.Path(config_dir).mkdir(parents=True, exist_ok=True)
[task 2024-06-12T06:30:51.598Z]   File "/builds/worker/.cache/.vpython-root/store/cpython+qocd3gso2qlupcvi74a8cf00v0/contents/lib/python3.11/pathlib.py", line 1116, in mkdir
[task 2024-06-12T06:30:51.598Z]     os.mkdir(self, mode)
[task 2024-06-12T06:30:51.598Z] PermissionError: [Errno 13] Permission denied: '/builds/worker/.config/depot_tools'
[task 2024-06-12T06:30:51.618Z] Running: gclient root
[task 2024-06-12T06:30:51.618Z] Running: gclient config --spec 'solutions = [
[task 2024-06-12T06:30:51.618Z]   {
[task 2024-06-12T06:30:51.618Z]     "name": "src",
[task 2024-06-12T06:30:51.618Z]     "url": "https://chromium.googlesource.com/chromium/src.git",
[task 2024-06-12T06:30:51.618Z]     "managed": False,
[task 2024-06-12T06:30:51.618Z]     "custom_deps": {},
[task 2024-06-12T06:30:51.618Z]     "custom_vars": {},
[task 2024-06-12T06:30:51.618Z]   },
[task 2024-06-12T06:30:51.618Z] ]
[task 2024-06-12T06:30:51.618Z] target_os = ["android"]
[task 2024-06-12T06:30:51.618Z] '
[task 2024-06-12T06:30:51.618Z] Subprocess failed with return code 1.
[taskcluster 2024-06-12 06:30:57.720Z] === Task Finished ===
[taskcluster 2024-06-12 06:30:57.737Z] Artifact "public/build" not found at "/builds/worker/artifacts/": (HTTP code 404) no such container - Could not find the file /builds/worker/artifacts/ in container b6251defa8d92d7988ff5bd90ac689d682bfdc95a33d1ce414afd3c5a4146008 
[taskcluster 2024-06-12 06:30:57.804Z] Unsuccessful task run with exit code: 1 completed in 143.975 seconds
Flags: needinfo?(kshampur)
Component: Toolchains → Performance
Product: Firefox Build System → Testing

Upstream changes have changed the config path of depot_tools to default
to $HOME/.config. Instead we also have the option to set
$XDG_CONFIG_HOME. At the moment this only affects linux, with
windows/macos slated to have a similar change soon with possibly
different setup.

Assignee: nobody → kshampur
Attachment #9407015 - Attachment description: WIP: Bug 1901936 - Set environment variables for custom-v8 and linux/android CaR builds. r?#perftest → Bug 1901936 - Set environment variables for custom-v8 and linux/android CaR builds. r?#perftest
Status: NEW → ASSIGNED
Flags: needinfo?(kshampur)
Whiteboard: [fxp]
Pushed by kshampur@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fd0489f45972 Set environment variables for custom-v8 and linux/android CaR builds. r=perftest-reviewers,sparky
Blocks: 1901951
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch

Uplifted to the ESR branches to reduce some noise from failing jobs when we rebuild the cached dependencies world.

Priority: P5 → P1
Whiteboard: [fxp] → [fxp][operational]
Severity: S4 → S2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: