Opened 7 months ago

Closed 6 months ago

#30547 closed task (fixed)

Install python cryptography for stem's Jenkins jobs

Reported by: teor Owned by: weasel
Priority: Medium Milestone:
Component: Internal Services/Service - jenkins Version:
Severity: Normal Keywords:
Cc: atagar Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

What do I need to do to get the python cryptography library installed for the stem jobs in Jenkins?
https://trac.torproject.org/projects/tor/ticket/28909#comment:1

If we run "make test-stem" in Tor's Jenkins jobs, we'll also want cryptography installed for them.

Child Tickets

Change History (3)

comment:1 Changed 6 months ago by weasel

There are two (well, three, but two that might matter here) jobs related to stem: stem-ci-linux and stem-tor-ci.

See
https://gitweb.torproject.org/project/jenkins/tools.git/tree/slaves/linux/stem-ci-linux/build
and
https://gitweb.torproject.org/project/jenkins/tools.git/tree/slaves/linux/stem-tor-ci/build
for the build scripts.

The list of Debian packages we install on top of a minbase for each are at
https://gitweb.torproject.org/project/jenkins/tools.git/tree/slaves/linux/stem-ci-linux/etc/build-depends
and
https://gitweb.torproject.org/project/jenkins/tools.git/tree/slaves/linux/stem-tor-ci/etc/build-depends

So, once we know which package(s) you want, we can just add them there.

comment:2 in reply to:  1 Changed 6 months ago by teor

Replying to weasel:

There are two (well, three, but two that might matter here) jobs related to stem: stem-ci-linux and stem-tor-ci.

We would like the package added to both.

So, once we know which package(s) you want, we can just add them there.

The library is called "cryptography", installed using "pip install cryptography" or "apt get python3-cryptography".
It's also compatible with python 2, if we are still using legacy python.

comment:3 Changed 6 months ago by weasel

Resolution: fixed
Status: newclosed

It seems the current build scripts use python2, so I added python-cryptography.

Note: See TracTickets for help on using tickets.