Closed Bug 1873359 Opened 9 months ago Closed 8 months ago

Intermittent linux64-snap Sel [taskcluster:error] exit status 1 | After cannot find required base "core22"

Categories

(Firefox Build System :: Third Party Packaging, defect)

defect

Tracking

(firefox124 fixed)

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: gerard-majax)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure)

Attachments

(2 files)

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


[taskcluster 2024-01-05T01:05:19.679Z] Executing command 1: './run-task' -- bash -cx 'export TASKCLUSTER_ROOT_DIR=$PWD && cd $MOZ_FETCHES_DIR/ && ./tests.sh'
[setup 2024-01-05T01:05:19.747Z] run-task started in /home/ubuntu/tasks/task_170441667401445
[setup 2024-01-05T01:05:19.757Z] MOZ_FETCHES_DIR is /home/ubuntu/tasks/task_170441667401445/fetches
[fetches 2024-01-05T01:05:19.757Z] fetching artifacts
[fetches 2024-01-05T01:05:19.758Z] executing ['/usr/bin/python3', '-u', '/home/ubuntu/tasks/task_170441667401445/./fetch-content', 'task-artifacts']
[fetches 2024-01-05T01:05:19.999Z] attempt 1/5
[fetches 2024-01-05T01:05:19.999Z] Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/aNwhWKDjQtWNedLYBYYGwQ/artifacts/public/build/firefox.snap to /home/ubuntu/tasks/task_170441667401445/fetches/firefox.snap
[fetches 2024-01-05T01:05:19.999Z] Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/aNwhWKDjQtWNedLYBYYGwQ/artifacts/public/build/firefox.snap
[fetches 2024-01-05T01:05:20.000Z] /home/ubuntu/tasks/task_170441667401445/./fetch-content:186: DeprecationWarning: cafile, capath and cadefault are deprecated, use a custom context instead.
[fetches 2024-01-05T01:05:20.000Z]   with urllib.request.urlopen(
[fetches 2024-01-05T01:05:20.001Z] attempt 1/5
[fetches 2024-01-05T01:05:20.001Z] Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/aNwhWKDjQtWNedLYBYYGwQ/artifacts/public/build/snap-tests.zip to /home/ubuntu/tasks/task_170441667401445/fetches/snap-tests.zip
[fetches 2024-01-05T01:05:20.002Z] Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/aNwhWKDjQtWNedLYBYYGwQ/artifacts/public/build/snap-tests.zip
[fetches 2024-01-05T01:05:22.077Z] https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/aNwhWKDjQtWNedLYBYYGwQ/artifacts/public/build/snap-tests.zip resolved to 3100 bytes with sha256 b582e7e7c1d8bdfd1f635fc562f2067c7b6832acf7a2e14b201900bb619b6af4 in 2.075s
[fetches 2024-01-05T01:05:22.078Z] Extracting /home/ubuntu/tasks/task_170441667401445/fetches/snap-tests.zip to /home/ubuntu/tasks/task_170441667401445/fetches
[fetches 2024-01-05T01:05:22.113Z] Archive:  /home/ubuntu/tasks/task_170441667401445/fetches/snap-tests.zip
[fetches 2024-01-05T01:05:22.114Z]   inflating: basic_tests.py          
[fetches 2024-01-05T01:05:22.115Z]   inflating: expectations.json.in    
[fetches 2024-01-05T01:05:22.115Z]   inflating: requirements.txt        
[fetches 2024-01-05T01:05:22.115Z]   inflating: tests.sh                
[fetches 2024-01-05T01:05:22.116Z] /home/ubuntu/tasks/task_170441667401445/fetches/snap-tests.zip extracted in 0.038s
[fetches 2024-01-05T01:05:22.116Z] Removing /home/ubuntu/tasks/task_170441667401445/fetches/snap-tests.zip
[fetches 2024-01-05T01:05:45.423Z] https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/aNwhWKDjQtWNedLYBYYGwQ/artifacts/public/build/firefox.snap resolved to 982831104 bytes with sha256 f82a238ee5a56ae2bb76de9db266db88e095165faebe53b155939a52ba6c46ee in 25.424s
[fetches 2024-01-05T01:05:45.424Z] Extracting /home/ubuntu/tasks/task_170441667401445/fetches/firefox.snap to /home/ubuntu/tasks/task_170441667401445/fetches
[fetches 2024-01-05T01:05:45.437Z] PERFHERDER_DATA: {"framework": {"name": "build_metrics"}, "suites": [{"name": "fetch_content", "value": 22.92402491700001, "lowerIsBetter": true, "shouldAlert": false, "subtests": []}]}
[fetches 2024-01-05T01:05:45.439Z] finished fetching artifacts
[task 2024-01-05T01:05:45.440Z] executing ['bash', '-cx', 'export TASKCLUSTER_ROOT_DIR=$PWD && cd $MOZ_FETCHES_DIR/ && ./tests.sh']
[task 2024-01-05T01:05:45.444Z] + export TASKCLUSTER_ROOT_DIR=/home/ubuntu/tasks/task_170441667401445
[task 2024-01-05T01:05:45.444Z] + TASKCLUSTER_ROOT_DIR=/home/ubuntu/tasks/task_170441667401445
[task 2024-01-05T01:05:45.444Z] + cd /home/ubuntu/tasks/task_170441667401445/fetches/
[task 2024-01-05T01:05:45.444Z] + ./tests.sh
[task 2024-01-05T01:05:45.447Z] + pwd
[task 2024-01-05T01:05:45.447Z] /home/ubuntu/tasks/task_170441667401445/fetches
[task 2024-01-05T01:05:45.447Z] + ARTIFACT_DIR=/home/ubuntu/tasks/task_170441667401445/builds/worker/artifacts/
[task 2024-01-05T01:05:45.447Z] + mkdir -p /home/ubuntu/tasks/task_170441667401445/builds/worker/artifacts/
[task 2024-01-05T01:05:45.451Z] + sudo snap refresh
[task 2024-01-05T01:06:12.855Z] 2024-01-05T01:06:05Z INFO Waiting for automatic snapd restart...
[task 2024-01-05T01:07:02.127Z] error: cannot perform the following tasks:
[task 2024-01-05T01:07:02.127Z] - Mount snap "firefox" (3600) (cannot find required base "core22")
[taskcluster 2024-01-05T01:07:02.144Z]    Exit Code: 1
[taskcluster 2024-01-05T01:07:02.144Z]    User Time: 10.862739s
[taskcluster 2024-01-05T01:07:02.144Z]  Kernel Time: 8.634314s
[taskcluster 2024-01-05T01:07:02.144Z]    Wall Time: 1m42.464563917s
[taskcluster 2024-01-05T01:07:02.144Z]       Result: FAILED
[taskcluster 2024-01-05T01:07:02.144Z] === Task Finished ===
[taskcluster 2024-01-05T01:07:02.144Z] Task Duration: 1m42.470506504s
[taskcluster 2024-01-05T01:07:02.183Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2024-04-04T00:04:10.354Z
[taskcluster:error] exit status 1

Hello Gerard! This seems to be permafailing from 4th of January, but also not in all cases, as it can be seen here. I suspect it could be an upstream issue. Could you please take a look at this?

Thank you!

Severity: S4 → --
Priority: P5 → --

This looks like outside of our reach ...

Blocks: snap

This looks intermittent, to make it even better.

Snap store issues ?

Summary: Perma linux64-snap Sel [taskcluster:error] exit status 1 | After cannot find required base "core22" → Intermittent linux64-snap Sel [taskcluster:error] exit status 1 | After cannot find required base "core22"

Andrew, according to https://bugs.launchpad.net/snapd/+bug/2048104/comments/13 there should be no more problem if we start for sure with snapd 2.61.1. Could you rebuild / update the current images, and ensuring before making them available that snap info snapd reports 2.61.1 ?

Flags: needinfo?(aerickson)

This started again to permafail on some builds, example from the latest push from central and it's permafailing where it was green before as it can be seen here.

Eventually turned green after a long list of retriggers.

Latest answer from upstream https://bugs.launchpad.net/snapd/+bug/2048104/comments/15 confirms that as soon as we boot a VM running already snapd 2.61.1 we should be safe. It is my understanding people in charge of our images might not have a few cycles to update it, and the new wayland support is coming (good news), so I will try and see if we can have a snap refresh step that is more reliable to this specific issue.

Flags: needinfo?(aerickson)
Assignee: nobody → lissyx+mozillians
Status: NEW → ASSIGNED

Depends on D199207

Status: ASSIGNED → NEW
Pushed by alissy@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3d51860ca492 Add support for install-from-store for tests r=jcristau https://hg.mozilla.org/integration/autoland/rev/1ac69623ae79 Allow snap refresh failure r=jcristau
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: