anbox-cloud-tests snap fails due to confinement

Bug #2009765 reported by Samuel Allan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Anbox Cloud
Fix Released
Medium
Simon Fels

Bug Description

The anbox-cloud-tests snap has strict confinement with the home interface. This interface doesn't allow access to hidden (dot) files in the home directory, but anbox-cloud-tests tries to create dotfiles in the home directory, which crashes the tests:

  benchmark failed
  Expected
      <*fs.PathError | 0xc000322450>: {
          Op: "mkdir",
          Path: "/home/ubuntu/.benchmark426547808",
          Err: 0xd,
      }
  to be nil

Either the snap must be modified to allow creation of these directories, or anbox-cloud-tests should be configured/modified to not create files here (through the snap config and/or modifications to the codebase).

Simon Fels (morphis)
Changed in anbox-cloud:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Simon Fels (morphis)
milestone: none → 1.17.1
Simon Fels (morphis)
Changed in anbox-cloud:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.