Bug#1150381: eodag: autopkgtest failure
Bas Couwenberg
sebastic at debian.org
Fri Oct 9 08:15:26 BST 2026
Source: eodag
Version: 4.9.2+ds-1
Severity: serious
Tags: upstream
Justification: autopkgtest
Dear Maintainer,
Testing migration is blocked by autopkgtest failure:
https://ci.debian.net/packages/e/eodag/testing/amd64/76519662/
Most of these test failures are caused by jsonpath-ng 1.8.0 in testing, they succeed with the newer version from unstable.
One failure remains when jsonpath-ng from unstable is used:
=================================== FAILURES ===================================
_ TestDownloadPluginBase.test_plugins_download_base_prepare_download_dir_permission _
self = <tests.units.test_download_plugins.TestDownloadPluginBase testMethod=test_plugins_download_base_prepare_download_dir_permission>
def test_plugins_download_base_prepare_download_dir_permission(self):
"""Download._prepare_download must check output directory permissions."""
if os.name == "nt":
self.skipTest("windows permissions too complex to set for this test")
plugin = self.get_download_plugin(self.product)
self.product.location = self.product.remote_location = "somewhere"
# read only output dir
outdir = TemporaryDirectory()
os.chmod(outdir.name, stat.S_IREAD)
with self.assertLogs(level="WARNING") as cm:
fs_path, _ = plugin._prepare_download(self.product, output_dir=outdir.name)
> self.assertIn("Unable to create records directory", str(cm.output))
E AssertionError: 'Unable to create records directory' not found in '[]'
../../build.Ejj/real-tree/tests/units/test_download_plugins.py:257: AssertionError
We might want to skip that test on other OSes too.
Kind Regards,
Bas
More information about the Pkg-grass-devel
mailing list