Salsa CI autopkgtest job fails due to /tmp no being writable
Sebastiaan Couwenberg
sebastic at xs4all.nl
Tue Jun 18 05:36:20 BST 2024
The netcd4-python autopkgtest jobs are failing because /tmp is not writable:
======================================================================
ERROR: runTest (test_unlimdim.UnlimdimTestCase.runTest)
testing unlimited dimensions
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.07u71cn4/downtmp/autopkgtest_tmp/build/test/test_unlimdim.py",
line 24, in setUp
f = netCDF4.Dataset(self.file, 'w')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "src/netCDF4/_netCDF4.pyx", line 2470, in
netCDF4._netCDF4.Dataset.__init__
File "src/netCDF4/_netCDF4.pyx", line 2107, in
netCDF4._netCDF4._ensure_nc_success
PermissionError: [Errno 13] Permission denied: '/tmp/tmpf9oihfd5.nc'
https://salsa.debian.org/debian-gis-team/netcdf4-python/-/jobs/5860278
It uses the Python tempfile module which should adhere to TMPDIR, is
that set for Salsa CI jobs?
I know AUTOPKGTEST_TMP is available for autopkgtest jobs, but should
that make regular /tmp unavailable?
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
More information about the Pkg-grass-devel
mailing list