Closed Bug 1687374 Opened 5 years ago Closed 5 years ago

Perma [tier 2 snap] A tool snapcraft depends on could not be found: 'snap'

Categories

(Release Engineering Graveyard :: Release Automation: Snap, defect)

defect

Tracking

(firefox-esr7885+ fixed)

RESOLVED FIXED
Tracking Status
firefox-esr78 85+ fixed

People

(Reporter: malexandru, Assigned: jcristau)

References

Details

Failure log:
https://treeherder.mozilla.org/logviewer?job_id=327060248&repo=mozilla-esr78&lineNumber=4787
Raw log:
https://firefoxci.taskcluster-artifacts.net/VXUjNs6uRu2BARyuwz0VlA/0/public/logs/live_backing.log

[taskcluster 2021-01-18 19:09:57.739Z] Downloaded artifact successfully.
[taskcluster 2021-01-18 19:09:57.739Z] Downloaded 1343.363 mb
[taskcluster 2021-01-18 19:09:57.740Z] Decompressing downloaded image
[taskcluster 2021-01-18 19:10:05.596Z] Loading docker image from downloaded archive.
[taskcluster 2021-01-18 19:10:44.410Z] Image 'public/image.tar.zst' from task 'dQcY3t7ORTyP1tnC_w2rXA' loaded.  Using image ID sha256:f32e1a146adcba719e2323bbb0daaef0ae12f240fac65b8c4a6ca82592557d6e.
[taskcluster 2021-01-18 19:10:44.889Z] === Task Starting ===
+ ./runme.sh
+ : PRODUCT firefox
+ test 78.7.0esr
+ test 1
+ test https://net-mozaws-prod-delivery-firefox.s3.amazonaws.com/pub/firefox/candidates
+ test https://hg.mozilla.org/releases/mozilla-esr78/raw-file/0b2a3be4915be03d5434bd445234b7145f4d7dab/browser/locales/l10n-changesets.json
+ : WORKSPACE /home/worker/workspace
+ : ARTIFACTS_DIR /home/worker/artifacts
+ : PUSH_TO_CHANNEL ''
+++ dirname ./runme.sh
++ cd .
++ pwd
+ SCRIPT_DIRECTORY=/scripts
+ TARGET=target.snap
+ TARGET_FULL_PATH=/home/worker/artifacts/target.snap
+ SOURCE_DEST=/home/worker/workspace/source
+ mkdir -p /home/worker/artifacts
+ rm -rf /home/worker/workspace/source
+ mkdir -p /home/worker/workspace/source
+ CURL='curl --location --retry 10 --retry-delay 10'
+ curl --location --retry 10 --retry-delay 10 -o /home/worker/workspace/firefox.tar.bz2 https://net-mozaws-prod-delivery-firefox.s3.amazonaws.com/pub/firefox/candidates/78.7.0esr-candidates/build1/linux-x86_64/en-US/firefox-78.7.0esr.tar.bz2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 75 67.7M   75 50.9M    0     0  61.5M      0  0:00:01 --:--:--  0:00:01 61.4M
100 67.7M  100 67.7M    0     0  67.2M      0  0:00:01  0:00:01 --:--:-- 67.2M
+ tar -C /home/worker/workspace/source -xf /home/worker/workspace/firefox.tar.bz2 --strip-components=1
+ DISTRIBUTION_DIR=/home/worker/workspace/source/distribution
+ [[ firefox == \f\i\r\e\f\o\x ]]
+ PARTNER_CONFIG_DIR=/home/worker/workspace/partner_config
+ git clone https://github.com/mozilla-partners/canonical.git /home/worker/workspace/partner_config
Cloning into '/home/worker/workspace/partner_config'...
remote: Enumerating objects: 145, done.
Receiving objects:   0% (1/145)   
<...>
8%
100% [Working]
Fetched 176 kB in 0s (0 B/s)
Pulling firefox 
'cleanup' has dependencies that need to be staged: firefox
Skipping pull firefox (already ran)
Building firefox 
Staging firefox 
Pulling cleanup 
Pulling gnome-3-34-extension 
Skipping build firefox (already ran)
Building cleanup 
Building gnome-3-34-extension 
make -j16
mkdir -p x86_64-linux-gnu
gcc -Wall -O2 -o x86_64-linux-gnu/bindtextdomain.so -fPIC -shared ./../src/bindtextdomain.c -ldl
make install DESTDIR=/home/worker/workspace/parts/gnome-3-34-extension/install
install -d /home/worker/workspace/parts/gnome-3-34-extension/install/gnome-platform
install -d /home/worker/workspace/parts/gnome-3-34-extension/install/data-dir
install -d /home/worker/workspace/parts/gnome-3-34-extension/install/data-dir/icons
install -d /home/worker/workspace/parts/gnome-3-34-extension/install/data-dir/sounds
install -d /home/worker/workspace/parts/gnome-3-34-extension/install/data-dir/themes
install -D -m755 desktop-launch "/home/worker/workspace/parts/gnome-3-34-extension/install/snap/command-chain"/desktop-launch
install -D -m644 x86_64-linux-gnu/bindtextdomain.so "/home/worker/workspace/parts/gnome-3-34-extension/install/lib"/x86_64-linux-gnu/bindtextdomain.so
install -D -m755 hooks-configure-desktop "/home/worker/workspace/parts/gnome-3-34-extension/install/snap/command-chain"/hooks-configure-desktop
Skipping stage firefox (already ran)
Staging cleanup 
Staging gnome-3-34-extension 
Priming firefox 
This part is missing libraries that cannot be satisfied with any available stage-packages known to snapcraft:
- libGLU.so.1
- libgdk-x11-2.0.so.0
- libglut.so.3
- libgtk-x11-2.0.so.0
- libslang.so.2
These dependencies can be satisfied via additional parts or content sharing. Consider validating configured filesets if this dependency was built.
Priming cleanup 
+ cd /snap/core18/current
+ find . -type f,l -exec rm -f /home/worker/workspace/prime/{} ;
+ cd /snap/gnome-3-34-1804/current
+ find . -type f,l -exec rm -f /home/worker/workspace/prime/{} ;
Priming gnome-3-34-extension 
A tool snapcraft depends on could not be found: 'snap'
Recommended resolution:
Ensure that 'snapd' is installed.
[taskcluster 2021-01-18 19:14:13.707Z] === Task Finished ===
[taskcluster 2021-01-18 19:14:13.812Z] Unsuccessful task run with exit code: 2 completed in 295.764 seconds

Perma fail on esr78.

Component: General → Release Automation: Snap
Flags: needinfo?(mtabara)
Product: Firefox Build System → Release Engineering
QA Contact: u504868

Jan 5th was the last time I see that. Is it ok to retrigger the Jan 5th one and see if this is an external (out of source tree) issue?

I'm guessing the docker image rebuild caused bug 1655669 to now affect esr78.

Depends on: 1655669

that seems odd, Bug 1655669 was resolved 6 months ago, this worked 2 weeks ago.

Fixed by uplifting bug 1655669.

We were previously using a docker image from May. The changes in bug 1677914 caused a rebuild of that image last week, bringing in the same upstream changes that caused bug 1655669.

Assignee: nobody → jcristau
Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(mtabara)
Flags: needinfo?(aki)
Resolution: --- → FIXED
Product: Release Engineering → Release Engineering Graveyard
You need to log in before you can comment on or make changes to this bug.