Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1055848: cfgrib: autopkgtest regression

5 views
Skip to first unread message

Graham Inggs

unread,
Nov 12, 2023, 10:40:04 AM11/12/23
to
Source: cfgrib
Version: 0.9.10.4-2
Severity: serious
User: debi...@lists.debian.org
Usertags: regression

Hi Maintainer

The upload of cfgrib 0.9.10.4-2 is failing its own autopkgtest [1].
I've copied what I hope is the relevant part of the log below.

Regards
Graham


[1] https://ci.debian.net/packages/c/cfgrib/testing/amd64/


80s autopkgtest [21:14:56]: test tryload: [-----------------------
80s Traceback (most recent call last):
80s File "/tmp/autopkgtest-lxc.uvkmlxxf/downtmp/build.Qw6/src/debian/tests/tryload",
line 3, in <module>
80s import cfgrib
80s File "/usr/lib/python3/dist-packages/cfgrib/__init__.py", line
20, in <module>
80s from .cfmessage import COMPUTED_KEYS
80s File "/usr/lib/python3/dist-packages/cfgrib/cfmessage.py", line
29, in <module>
80s from . import abc, messages
80s File "/usr/lib/python3/dist-packages/cfgrib/messages.py", line
28, in <module>
80s import eccodes # type: ignore
80s ^^^^^^^^^^^^^^
80s File "/usr/lib/python3/dist-packages/eccodes/__init__.py", line
13, in <module>
80s from .eccodes import * # noqa
80s ^^^^^^^^^^^^^^^^^^^^^^
80s File "/usr/lib/python3/dist-packages/eccodes/eccodes.py", line
12, in <module>
80s from gribapi import (
80s File "/usr/lib/python3/dist-packages/gribapi/__init__.py", line
13, in <module>
80s from .gribapi import * # noqa
80s ^^^^^^^^^^^^^^^^^^^^^^
80s File "/usr/lib/python3/dist-packages/gribapi/gribapi.py", line
34, in <module>
80s from gribapi.errors import GribInternalError
80s File "/usr/lib/python3/dist-packages/gribapi/errors.py", line
16, in <module>
80s from .bindings import ENC, ffi, lib
80s File "/usr/lib/python3/dist-packages/gribapi/bindings.py", line
35, in <module>
80s raise RuntimeError("Cannot find the ecCodes library")
80s RuntimeError: Cannot find the ecCodes library

Alastair McKinstry

unread,
Dec 12, 2023, 9:20:05 AM12/12/23
to

I cannot reproduce this locally yet - running the tests in a clean
chroot works fine.

However ecmwflibs was failing when I tested it - but worked ok when
rebuilt, so I've added a superficial test for autopkgtest to it, to see
if it breaks on its own in the CI pipeline.

Alastair

On 10/12/2023 18:51, Debian Bug Tracking System wrote:
> Processing control commands:
>
>> retitle -1 cfgrib: test failure - can't find eccodes
> Bug #1055848 [src:cfgrib] cfgrib: autopkgtest regression
> Changed Bug title to 'cfgrib: test failure - can't find eccodes' from 'cfgrib: autopkgtest regression'.
>
--
Alastair McKinstry,
GPG: 82383CE9165B347C787081A2CBE6BB4E5D9AD3A5
e: mcki...@debian.org, im: @alastair:mckinstry.ie

Alastair McKinstry

unread,
Jan 19, 2024, 5:20:06 AMJan 19
to
I've now been able to setup autopkgtest locally based on sbuild.

I get failures in an autopkgtest (sbuild sid) chroot, but not when I do
a clean pbuilder chroot via sid to do "pbuilder login".

Investigating the differences between what should be identical chroots.


Alastair

--
Alastair McKinstry,
GPG: 82383CE9165B347C787081A2CBE6BB4E5D9AD3A5
ph: +353 87 6847928 e: alas...@mckinstry.ie, im: @alastair:mckinstry.ie
0 new messages