Build: #2 failed

Job: Test Tasks RHEL7 failed

Stages & jobs

  1. Default Stage

  2. Publish

  3. Create Upload Plan Branch

Full log: Test case result

The below summarizes the result of the test "Full log" in build 2 of CASA - Casa 6 Dev Test Full - CAS-14008 - Test Tasks RHEL7. View test case history
Description
Full log
Test class
test_task_clearcal
Method
full log
Duration
11 secs
Status
Failed (New Failure)

Error Log

2023-01-11 17:04:53	WARN	calibrater::setvi(bool,bool)	Forcing use of OLD VisibilityIterator.
.2023-01-11 17:04:54	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.  (This may have returned Python scalars in past versions.
  if isinstance(value,bool) or isinstance(value,numpy.bool):
E2023-01-11 17:04:55	WARN	calibrater::setvi(bool,bool)	Forcing use of OLD VisibilityIterator.
.2023-01-11 17:04:56	WARN	calibrater::setvi(bool,bool)	Forcing use of OLD VisibilityIterator.
2023-01-11 17:04:56	WARN	clearcal::calibrater::setvi(bool,bool)	Forcing use of OLD VisibilityIterator.
.2023-01-11 17:04:57	WARN	calibrater::setvi(bool,bool)	Forcing use of OLD VisibilityIterator.
.2023-01-11 17:04:58	WARN	calibrater::setvi(bool,bool)	Forcing use of OLD VisibilityIterator.
2023-01-11 17:04:59	WARN	clearcal::calibrater::setvi(bool,bool)	Forcing use of OLD VisibilityIterator.
.2023-01-11 17:05:00	WARN	calibrater::setvi(bool,bool)	Forcing use of OLD VisibilityIterator.
2023-01-11 17:05:00	WARN	clearcal::calibrater::setvi(bool,bool)	Forcing use of OLD VisibilityIterator.
2023-01-11 17:05:00	SEVERE	clearcal::Calibrater::selectvis (file src/code/synthesis/MeasurementComponents/Calibrater.cc, line 4178)	Caught exception: Spw Expression: No match found for 100, 
2023-01-11 17:05:00	SEVERE	clearcal::::	Exception Reported: Error in data selection specification: Spw Expression: No match found for 100, 
2023-01-11 17:05:00	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-01-11 17:05:00	WARN	clearcal::calibrater::setvi(bool,bool)	Forcing use of OLD VisibilityIterator.
.2023-01-11 17:05:01	WARN	calibrater::setvi(bool,bool)	Forcing use of OLD VisibilityIterator.
2023-01-11 17:05:02	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-01-11 17:05:02	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 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'bool'

----------------------------------------------------------------------
Ran 8 tests in 9.357s

FAILED (errors=1)