Build: #1 failed
Job: Test Tasks RHEL7 failed
Full log: Test case result
The below summarizes the result of the test "Full log" in build 1 of CASA - Casa 6 Dev Test Full - CAS-13906 - Test Tasks RHEL7.
- Description
- Full log
- Test class
- test_task_clearcal
- Method
- full log
- Duration
- 12 secs
- Status
- Failed (New Failure)
Error Log
2023-02-08 20:55:31 WARN calibrater::setvi(bool,bool) Forcing use of OLD VisibilityIterator. .2023-02-08 20:55:32 WARN calibrater::setvi(bool,bool) Forcing use of OLD VisibilityIterator. /usr/local/lib/python3.8/site-packages/casatools/typecheck.py:93: FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar. if isinstance(value,bool) or isinstance(value,numpy.bool): E2023-02-08 20:55:33 WARN calibrater::setvi(bool,bool) Forcing use of OLD VisibilityIterator. .2023-02-08 20:55:34 WARN calibrater::setvi(bool,bool) Forcing use of OLD VisibilityIterator. 2023-02-08 20:55:34 WARN clearcal::calibrater::setvi(bool,bool) Forcing use of OLD VisibilityIterator. .2023-02-08 20:55:35 WARN calibrater::setvi(bool,bool) Forcing use of OLD VisibilityIterator. .2023-02-08 20:55:36 WARN calibrater::setvi(bool,bool) Forcing use of OLD VisibilityIterator. 2023-02-08 20:55:37 WARN clearcal::calibrater::setvi(bool,bool) Forcing use of OLD VisibilityIterator. .2023-02-08 20:55:38 WARN calibrater::setvi(bool,bool) Forcing use of OLD VisibilityIterator. 2023-02-08 20:55:38 WARN clearcal::calibrater::setvi(bool,bool) Forcing use of OLD VisibilityIterator. 2023-02-08 20:55:38 SEVERE clearcal::Calibrater::selectvis (file src/code/synthesis/MeasurementComponents/Calibrater.cc, line 3969) Caught exception: Spw Expression: No match found for 100, 2023-02-08 20:55:38 SEVERE clearcal:::: Exception Reported: Error in data selection specification: Spw Expression: No match found for 100, 2023-02-08 20:55:38 SEVERE clearcal::::casa Task clearcal raised an exception of class RuntimeError with the following message: Error in data selection specification: Spw Expression: No match found for 100, 2023-02-08 20:55:38 WARN clearcal::calibrater::setvi(bool,bool) Forcing use of OLD VisibilityIterator. .2023-02-08 20:55:39 WARN calibrater::setvi(bool,bool) Forcing use of OLD VisibilityIterator. 2023-02-08 20:55:40 SEVERE clearcal::ms::open Exception Reported: Table file /home/casatest/casa6/casatasks/tests/work/test_task_clearcal/fake.ms/table.dat does not exist 2023-02-08 20:55:40 SEVERE clearcal::::casa Task clearcal raised an exception of class RuntimeError with the following message: Table file /home/casatest/casa6/casatasks/tests/work/test_task_clearcal/fake.ms/table.dat does not exist /home/casatest/casa6/casatasks/tests/tasks/test_task_clearcal.py:85: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertFalse('SEVERE' in open('testlog.log').read()) ResourceWarning: Enable tracemalloc to get the object allocation traceback . ====================================================================== ERROR: test_addmodel (__main__.clearcal_test) test add model: Check that the addmodel parameter must be set to True for the MODEL_DATA column to be added ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_clearcal.py", line 210, in test_addmodel clearcal(clearMS, addmodel=2) File "/usr/local/lib/python3.8/site-packages/casatasks/clearcal.py", line 103, in __call__ assert _pc.validate(doc,schema), create_error_string(_pc.errors) File "/usr/local/lib/python3.8/site-packages/casatools/__cerberus__/validator.py", line 828, in validate self.__validate_definitions(definitions, field) File "/usr/local/lib/python3.8/site-packages/casatools/__cerberus__/validator.py", line 892, in __validate_definitions result = validate_rule(rule) File "/usr/local/lib/python3.8/site-packages/casatools/__cerberus__/validator.py", line 874, in validate_rule return validator(definitions.get(rule, None), field, value) File "/usr/local/lib/python3.8/site-packages/casatools/__cerberus__/validator.py", line 1214, in _validate_type if not any(self.__get_rule_handler('validate_type', x)(value) File "/usr/local/lib/python3.8/site-packages/casatools/__cerberus__/validator.py", line 1214, in <genexpr> if not any(self.__get_rule_handler('validate_type', x)(value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 93, in _validate_type_cBool if isinstance(value,bool) or isinstance(value,numpy.bool): File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 305, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'bool'. `np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations ---------------------------------------------------------------------- Ran 8 tests in 10.818s FAILED (errors=1)