Coverage job fails
Summary
Coverage job fails reporting errors related to the DB read/writes and an AssirtionError in MACOBAC computations
Steps to reproduce
Trigger coverage test job
What is the expected correct behavior?
The tests must pass
Relevant logs and/or screenshots
=========================== short test summary info ============================
FAILED calibpipe/tests/unittests/atmosphere/test_molecular_atmosphere_calibrator.py::TestMolecularAtmosphereCalibrator::test_calculate_co2 - AssertionError: assert 420.00333333333333 == 419.3125
+ where 420.00333333333333 = <Quantity 420.00333333 ppm>.value
+ where <Quantity 420.00333333 ppm> = calibpipe.atmosphere.atmosphere_containers.MacobacContainer:\n co2_concentration: 12 months average CO2 background concentration\n with default nan ppm [ppm]\n estimation_date: Date of MACOBAC estimation with default None\n with type <class 'datetime.date'>\n version: Atmopsheric model version with default None.co2_concentration
FAILED calibpipe/tests/unittests/utils/test_observatory.py::TestObservatory::test_db_table_read_simple - ZeroDivisionError: float division by zero
FAILED calibpipe/tests/unittests/utils/test_observatory.py::TestObservatory::test_db_table_read_conditional - ZeroDivisionError: float division by zero
======= 3 failed, 30 passed, 1 xfailed, 4 warnings in 911.13s (0:15:11) ========
Full log: https://gitlab.cta-observatory.org/cta-computing/dpps/calibrationpipeline/calibpipe/-/jobs/142637
Environment
- Version used:
- Operation System: