Page MenuHomeSoftware Heritage

swh-fuse tests are failing on the DENV/tests jenkins job
Closed, MigratedEdits Locked

Description

For the same reasons as T2654 and D4109, the swh-fuse tests are failing on the DENV/tests jobs

14:54:24 swh/fuse/tests/conftest.py:69: FileNotFoundError
14:54:24 ---------------------------- Captured stderr setup -----------------------------
14:54:24 FUSE library version: 3.4.1
14:54:24 fuse: device not found, try 'modprobe fuse' first
14:54:24 ______________________ ERROR at setup of test_ls_rootdir _______________________
14:54:24

https://jenkins.softwareheritage.org/job/DENV/job/tests/187/console

Event Timeline

vsellier renamed this task from swh-fuse tests are failing on the DENV/tests jobs to swh-fuse tests are failing on the DENV/tests jenkins job.Oct 12 2020, 4:06 PM
vsellier triaged this task as High priority.
vsellier created this task.

FWIW, this is a bit trickier than the resolution for T2654 as this job uses docker via the plain "jenkins clouds" integration.

I've done the following:

  • go to Jenkins
  • [left column] Manage Jenkins
  • [main column] Manage Nodes and Clouds
  • [left column] Configure Clouds (https://jenkins.softwareheritage.org/configureClouds/)
  • [main column] Docker > Docker agent templates
  • scroll down to swh-sphinx
  • click on "Container settings"
    • add "/dev/fuse" to Devices
    • tick the "privileged" checkbox
  • save

(I messed up the first time and added /dev/fuse to volumes, so https://jenkins.softwareheritage.org/job/DENV/job/tests/188/console is going to fail).

Job 188 indeed failed. Let's see if 189 is the right one!

olasd claimed this task.
[...]
17:20:25 swh/fuse/tests/test_revision.py ..                                       [100%]
17:20:25 
17:20:25 ============================== 6 passed in 1.79s ===============================

\o/