Closed brancomat closed 1 month ago
It looks like there are some syntax errors in the regular expression here:
a missing )
and missing ?
's after parentheses!?
It looks like there are some syntax errors in the regular expression here: Indeed, you're right (I couldn't reproduce this issue so it was hard to test the fix).
I've abstracted the bit of regexp in question and made it reusable. I hope that this time, if I didn't spell it right, at least it can be fixed in a single place
now, different errors: https://simc.arpae.it/moncic-ci/arkimet/last/master/fedora40/build.log
apparently there's also an issue with moncic-ci not downloading the latest master, tracked by @spanezz somewhere around https://github.com/ARPA-SIMC/moncic-ci/blob/main/moncic/build/arpa.py#L88
Now a different error (again) on Fedora 40 only:
2024-10-18 15:43:56 INFO system.fedora40 stdout: Scan a well-known grib file, with no padding between messages ... ok
2024-10-18 15:43:56 INFO system.fedora40 stdout: test_cosmo_nudging (tests.test_scan_grib.TestScanGrib.test_cosmo_nudging)
2024-10-18 15:43:56 INFO system.fedora40 stdout: Check scanning COSMO nudging timeranges ... ecCodes Version: 2.38.0
2024-10-18 15:43:56 INFO system.fedora40 stdout: Definition files path: /usr/share/eccodes-simc/definitions:/usr/share/eccodes/definitions
2024-10-18 15:43:56 INFO system.fedora40 stdout: ECCODES ERROR : Parser include: Could not resolve 'grib2/template.3.shape_of_the_earth.def' (included in /usr/share/eccodes-simc/definitions/grib2/local/200/template.3.32768.def)
2024-10-18 15:43:56 INFO system.fedora40 stdout: ecCodes assertion failed: `0' in /builddir/build/BUILD/eccodes-2.38.0-Source/src/grib_context.cc:220
2024-10-18 15:43:56 INFO system.fedora40 stdout: Fatal Python error: Aborted
The tests on Fedora 38 (eccodes v2.33.0) ran successfully. I suspect that eccodes v2.38.0 searches for grib2/template.3.shape_of_the_earth.def
in eccodes-simc
definitions only:
# Fedora 38
$ rpm -qi eccodes | grep -i version
Version : 2.33.0
$ grep -R template.3.shape_of_the_earth.def /usr/share/eccodes-simc/definitions/grib2/local/200/template.3.32768.def
include "grib2/template.3.shape_of_the_earth.def";
$ find /usr/share/eccodes* -name template.3.shape_of_the_earth.def
/usr/share/eccodes/definitions/grib2/template.3.shape_of_the_earth.def
/usr/share/eccodes/definitions/grib3/template.3.shape_of_the_earth.def
# Fedora 40
$ rpm -qi eccodes | grep -i version
Version : 2.38.0
$ grep -R template.3.shape_of_the_earth.def /usr/share/eccodes-simc/definitions/grib2/local/200/template.3.32768.def
include "grib2/template.3.shape_of_the_earth.def";
$ find /usr/share/eccodes* -name template.3.shape_of_the_earth.def
/usr/share/eccodes/definitions/grib2/templates/template.3.shape_of_the_earth.def
/usr/share/eccodes/definitions/grib3/template.3.shape_of_the_earth.def
After reading the formatted text, I realized that there is an extra directory (templates
): /usr/share/eccodes/definitions/grib2/templates/template.3.shape_of_the_earth.def
The error is now different, but the build is successful on Rocky 8 only, hence I close this issue and open a new one.
I'm a bit puzzled because this is basically issue #331 that was fixed in branch cpp17 that was merged in master that at the market my father bought
Full log: https://simc.arpae.it/moncic-ci/arkimet/202410080827/master/fedora40/build.log
Relevant bits: