Closed Bug 1576244 Opened 5 years ago Closed 5 years ago

`ValueError: zstandard Python package not available` on releng-hardware

Categories

(Infrastructure & Operations :: RelOps: Posix OS, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nalexander, Unassigned)

References

Details

I want to use modern features of our fetch tasks, namely repackaging (see Bug https://bugzilla.mozilla.org/show_bug.cgi?id=1571589). Right now, repackaging produces only .tar.zst. That means that consumers need to have Python's zstandard installed... and the Linux 64 releng-hardware devices don't appear to have it. See https://treeherder.mozilla.org/#/jobs?repo=try&revision=51843fba863369122e2638215aa0816ce5064b39&selectedJob=263229365.

Can we get it added quickly, or should I grow repackaging for additional output types?

Component: Raptor → Operations and Service Requests
Product: Testing → Taskcluster
Version: Version 3 → unspecified
Component: Operations and Service Requests → RelOps: Posix OS
Product: Taskcluster → Infrastructure & Operations

In fact, this is universal: zstandard isn't available on Linux, macOS, Win 10, or the Android bitbar hosts :(

Summary: `ValueError: zstandard Python package not available` on Linux 64 releng-hardware → `ValueError: zstandard Python package not available` on releng-hardware
See Also: → 1576698

How can we make this happen?

Flags: needinfo?(rthijssen)

on ec2 windows workers, zstandard was installed in bug 1569899 by running these commands during ami creation:

C:\mozilla-build\python3\python3.exe -m pip install --upgrade pip==19.2.1
C:\mozilla-build\python3\python3.exe -m pip install --upgrade zstandard==0.11.1

:markco has bug 1570711 open for the installation on windows hardware via puppet.

maybe :dividehex, :aerickson &/or :dhouse can advise on what needs to happen on osx, android & linux

Depends on: 1570711
Flags: needinfo?(rthijssen)
Flags: needinfo?(jwatkins)
Flags: needinfo?(dhouse)
Flags: needinfo?(aerickson)

I'll make a bug for myself for android-hw (the bitbar images). Wander handles the android-em packet.net images.

We should have a requirements.txt or equivalent checked into the tree that contains the list of python dependencies we'd like pre-installed on all workers (subject to taskcluster/releng/relops approval). Whenever we build images we could reference that.

Flags: needinfo?(aerickson) → needinfo?(wcosta)
Depends on: 1578815

(In reply to Andrew Erickson [:aerickson] from comment #4)

I'll make a bug for myself for android-hw (the bitbar images). Wander handles the android-em packet.net images.

We should have a requirements.txt or equivalent checked into the tree that contains the list of python dependencies we'd like pre-installed on all workers (subject to taskcluster/releng/relops approval). Whenever we build images we could reference that.

In Packet, we have only Python 2.7, should I install Python 3?

Flags: needinfo?(wcosta) → needinfo?(aerickson)

(In reply to Wander Lairson Costa [:wcosta] from comment #5)

In Packet, we have only Python 2.7, should I install Python 3?

If it's easy, I'd definitely say yes. I think RelOps considers python3 a requirement in images now.

Flags: needinfo?(aerickson)
No longer blocks: 1566174
Flags: needinfo?(wcosta)

macos 10.14 now has zstandard 1.3.8 (as of yesterday): https://bugzilla.mozilla.org/show_bug.cgi?id=1580502

Depends on: 1580502

It is done for packet machines!

Flags: needinfo?(wcosta)
Flags: needinfo?(jwatkins)

I'm seeing this issue on linux machines (causing a perma-fail) and it seems to be an intermittent for windows hardware: https://treeherder.mozilla.org/#/jobs?repo=try&tier=1%2C2%2C3&revision=f4fd6bdf922f00fba33e9e147ce3d127171e001b&selectedJob=272641844

Flags: needinfo?(dhouse)

status update:

[x] android-bitbar
[x] linux-packet
[x] linux
[x] mac
[x] windows

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.