Build casatools on different Python Platforms.
Build: #4 failed
Job: Test 3.9 failed
Full log: Test case result
The below summarizes the result of the test "Full log" in build 4 of CASA - Casa 6 Casatools variants - release-6.5.4 - Test 3.9.
- Description
- Full log
- Test class
- test_task_clearcal
- Method
- full log
- Duration
- 9 secs
- Status
- Failed (New Failure)
Error Log
2023-03-16 02:46:36 WARN calibrater::setvi(bool,bool) Forcing use of OLD VisibilityIterator. .2023-03-16 02:46:37 WARN calibrater::setvi(bool,bool) Forcing use of OLD VisibilityIterator. /home/casatest/venv/lib/python3.9/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-03-16 02:46:37 WARN calibrater::setvi(bool,bool) Forcing use of OLD VisibilityIterator. .2023-03-16 02:46:38 WARN calibrater::setvi(bool,bool) Forcing use of OLD VisibilityIterator. 2023-03-16 02:46:38 WARN clearcal::calibrater::setvi(bool,bool) Forcing use of OLD VisibilityIterator. .2023-03-16 02:46:38 WARN calibrater::setvi(bool,bool) Forcing use of OLD VisibilityIterator. .2023-03-16 02:46:39 WARN calibrater::setvi(bool,bool) Forcing use of OLD VisibilityIterator. 2023-03-16 02:46:39 WARN clearcal::calibrater::setvi(bool,bool) Forcing use of OLD VisibilityIterator. .2023-03-16 02:46:40 WARN calibrater::setvi(bool,bool) Forcing use of OLD VisibilityIterator. 2023-03-16 02:46:40 WARN clearcal::calibrater::setvi(bool,bool) Forcing use of OLD VisibilityIterator. 2023-03-16 02:46:40 SEVERE clearcal::Calibrater::selectvis (file src/code/synthesis/MeasurementComponents/Calibrater.cc, line 4178) Caught exception: Spw Expression: No match found for 100, 2023-03-16 02:46:40 SEVERE clearcal:::: Exception Reported: Error in data selection specification: Spw Expression: No match found for 100, 2023-03-16 02:46:40 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-03-16 02:46:40 WARN clearcal::calibrater::setvi(bool,bool) Forcing use of OLD VisibilityIterator. .2023-03-16 02:46:41 WARN calibrater::setvi(bool,bool) Forcing use of OLD VisibilityIterator. /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 2023-03-16 02:46:41 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-03-16 02:46:41 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 . ====================================================================== 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 "/home/casatest/venv/lib/python3.9/site-packages/casatasks/clearcal.py", line 103, in __call__ assert _pc.validate(doc,schema), create_error_string(_pc.errors) File "/home/casatest/venv/lib/python3.9/site-packages/casatools/__cerberus__/validator.py", line 828, in validate self.__validate_definitions(definitions, field) File "/home/casatest/venv/lib/python3.9/site-packages/casatools/__cerberus__/validator.py", line 892, in __validate_definitions result = validate_rule(rule) File "/home/casatest/venv/lib/python3.9/site-packages/casatools/__cerberus__/validator.py", line 874, in validate_rule return validator(definitions.get(rule, None), field, value) File "/home/casatest/venv/lib/python3.9/site-packages/casatools/__cerberus__/validator.py", line 1214, in _validate_type if not any(self.__get_rule_handler('validate_type', x)(value) File "/home/casatest/venv/lib/python3.9/site-packages/casatools/__cerberus__/validator.py", line 1214, in <genexpr> if not any(self.__get_rule_handler('validate_type', x)(value) File "/home/casatest/venv/lib/python3.9/site-packages/casatools/typecheck.py", line 93, in _validate_type_cBool if isinstance(value,bool) or isinstance(value,numpy.bool): File "/home/casatest/venv/lib/python3.9/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 7.799s FAILED (errors=1)