Build: #53 failed
Job: Test ManyLinux 2.28 Python 3.12 failed
uid a002 xef72bb x9d29 renorm restore procedure hifa image regression: Test case result
The below summarizes the result of the test " uid a002 xef72bb x9d29 renorm restore procedure hifa image regression" in build 53 of PIPESPECS - Test Pipeline main with Casa 6.7.4 - Test ManyLinux 2.28 Python 3.12.
- Description
- uid a002 xef72bb x9d29 renorm restore procedure hifa image regression
- Test class
- tests.regression.fast.alma_if_fast_test
- Method
- test_uid___A002_Xef72bb_X9d29__renorm_restore_procedure_hifa_image__regression
- Duration
- 12 mins
- Status
- Failed (Existing Failure)
Error Log
Failed: pipeline_manifest.xml is not present under the products directory
@pytest.mark.seven
def test_uid___A002_Xef72bb_X9d29__renorm_restore_procedure_hifa_image__regression():
"""Restore renorm from Cycle 8 (with current pipeline)
Recipe name: procedure_hifa_image
Dataset: uid___A002_Xef72bb_X9d29
"""
ref_directory = 'pl-regressiontest/uid___A002_Xef72bb_X9d29'
pt = PipelineTester(
visname=['uid___A002_Xef72bb_X9d29'],
recipe='procedure_hifa_image.xml',
input_dir=ref_directory,
expectedoutput_dir=ref_directory,
)
# copy files into products folder for restore
if not pt.compare_only:
input_products = casa_tools.utils.resolve(f'{ref_directory}/products')
shutil.copytree(input_products, f'{pt.output_dir}/rawdata')
> pt.run()
tests/regression/fast/alma_if_fast_test.py:50:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/testing_utils.py:356: in run
self.__do_sanity_checks(context)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <tests.testing_utils.PipelineTester object at 0x7f89e0975340>
context = <Context(name='pipeline-procedure_hifa_image')>
def __do_sanity_checks(self, context: Context):
"""
Do the following sanity-checks on the pipeline run
1. rawdata, working, products directories are present
2. Non-existence of errorexit-*.txt in working directory
3. *pipeline_manifest.xml is present under the products directory (regression mode only)
4. No weblog rendering failures
Args:
context: Pipeline context object from the current run.
"""
# 1. rawdata, working, products directories are present
# The rawdata directory is only present for PPR runs
missing_directories = regression.missing_directories(context, include_rawdata=self.ppr)
if len(missing_directories) > 0:
msg = f"The following directories are missing from the pipeline run: {', '.join(missing_directories)}"
LOG.warning(msg)
pytest.fail(msg)
# 2. Non-existence of errorexit-*.txt in working directory
if regression.errorexit_present(context):
msg = "errorexit-*.txt is present in working directory"
LOG.warning(msg)
pytest.fail(msg)
# 3. *pipeline_manifest.xml is present under the products directory; regression mode only
if self.mode == 'regression':
if not regression.manifest_present(context):
msg = "pipeline_manifest.xml is not present under the products directory"
LOG.warning(msg)
> pytest.fail(msg)
E Failed: pipeline_manifest.xml is not present under the products directory
tests/testing_utils.py:498: Failed