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_listobs
- Method
- full log
- Duration
- 28 secs
- Status
- Failed (New Failure)
Error Log
2023-03-16 02:59:41 WARN ParallelDataHelper::getPartitionMap::casa Number of subMSs (8) is greater than available scan,ddi pairs (6), setting nsubms to 6 ../home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:315: ResourceWarning: unclosed file <_io.TextIOWrapper name='listobs.txt' mode='r' encoding='UTF-8'> self.assertTrue('Antennas' in open('listobs.txt').read(), msg='Antennas section does not exist in MS') ResourceWarning: Enable tracemalloc to get the object allocation traceback /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:323: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertFalse('WARN' in open('testlog.log').read(), msg='Proper inputs raised warnings') ResourceWarning: Enable tracemalloc to get the object allocation traceback 2023-03-16 02:59:50 WARN listobs::ms::msselect Antenna Expression: No match found for token(s) "abc" /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:326: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue('Antenna Expression: No match found for token(s)' in open('testlog.log').read(), ResourceWarning: Enable tracemalloc to get the object allocation traceback 2023-03-16 02:59:50 WARN listobs::ms::msselect No match found for the antenna specificion [ID(s): [3]] /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:329: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue('No match found for the antenna specificion [ID(s): [3]]' in open('testlog.log').read(), ResourceWarning: Enable tracemalloc to get the object allocation traceback 2023-03-16 02:59:50 WARN listobs::ms::msselect RecordRep::get_pointer - incorrect data type String used for field baseline with type unknown /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:333: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue('incorrect data type' in open('testlog.log').read(), ResourceWarning: Enable tracemalloc to get the object allocation traceback .2023-03-16 02:59:51 WARN listobs::ms::msselect Antenna Expression: No match found for token(s) "abc" 2023-03-16 02:59:51 WARN listobs::ms::msselect No match found for the antenna specificion [ID(s): [3]] 2023-03-16 02:59:51 WARN listobs::ms::msselect RecordRep::get_pointer - incorrect data type String used for field baseline with type unknown .2023-03-16 02:59:51 WARN listobs::ms::msselect Antenna Expression: No match found for token(s) "abc" 2023-03-16 02:59:51 WARN listobs::ms::msselect No match found for the antenna specificion [ID(s): [3]] 2023-03-16 02:59:51 WARN listobs::ms::msselect RecordRep::get_pointer - incorrect data type String used for field baseline with type unknown .2023-03-16 02:59:51 WARN listobs::ms::msselect Antenna Expression: No match found for token(s) "abc" 2023-03-16 02:59:51 WARN listobs::ms::msselect No match found for the antenna specificion [ID(s): [3]] 2023-03-16 02:59:51 WARN listobs::ms::msselect RecordRep::get_pointer - incorrect data type String used for field baseline with type unknown ..2023-03-16 02:59:51 WARN listobs::ms::msselect Array Expression: Parse error at or near 'a' 2023-03-16 02:59:51 WARN listobs::ms::msselect+ (near char. 1 in string "abc") /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:439: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue('Parse error' in open('testlog.log').read(), ResourceWarning: Enable tracemalloc to get the object allocation traceback 2023-03-16 02:59:51 WARN listobs::ms::msselect MSSelectionNullSelection : The selected table has zero rows. /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:442: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue('The selected table has zero rows' in open('testlog.log').read(), ResourceWarning: Enable tracemalloc to get the object allocation traceback /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:445: ResourceWarning: unclosed file <_io.TextIOWrapper name='listobs.txt' mode='r' encoding='UTF-8'> self.assertTrue('ArrayID' in open('listobs.txt').read(), msg='There is no Array information for a MS') ResourceWarning: Enable tracemalloc to get the object allocation traceback .2023-03-16 02:59:51 WARN listobs::ms::msselect Array Expression: Parse error at or near 'a' 2023-03-16 02:59:51 WARN listobs::ms::msselect+ (near char. 1 in string "abc") 2023-03-16 02:59:52 WARN listobs::ms::msselect MSSelectionNullSelection : The selected table has zero rows. .2023-03-16 02:59:52 WARN listobs::ms::msselect Array Expression: Parse error at or near 'a' 2023-03-16 02:59:52 WARN listobs::ms::msselect+ (near char. 1 in string "abc") 2023-03-16 02:59:52 WARN listobs::ms::msselect MSSelectionNullSelection : The selected table has zero rows. .2023-03-16 02:59:52 WARN listobs::ms::msselect Array Expression: Parse error at or near 'a' 2023-03-16 02:59:52 WARN listobs::ms::msselect+ (near char. 1 in string "abc") 2023-03-16 02:59:52 WARN listobs::ms::msselect MSSelectionNullSelection : The selected table has zero rows. ./home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:498: ResourceWarning: unclosed file <_io.TextIOWrapper name='listobs.txt' mode='r' encoding='UTF-8'> self.assertTrue('Average Interval' in open('listobs.txt').read(), ResourceWarning: Enable tracemalloc to get the object allocation traceback ..../home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:297: ResourceWarning: unclosed file <_io.TextIOWrapper name='listobs.txt' mode='r' encoding='UTF-8'> self.assertTrue('Corrs' in open('listobs.txt').read(), msg='Corrs does not exist in a MS') ResourceWarning: Enable tracemalloc to get the object allocation traceback /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:305: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertFalse('WARN' in open('testlog.log').read(), msg='not accepting proper input for correlation in a MS') ResourceWarning: Enable tracemalloc to get the object allocation traceback 2023-03-16 02:59:52 WARN listobs::ms::msselect RecordRep::get_pointer - incorrect data type String used for field polarization with type unknown /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:308: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue('incorrect data type' in open('testlog.log').read(), ResourceWarning: Enable tracemalloc to get the object allocation traceback 2023-03-16 02:59:52 WARN listobs::ms::msselect Poln. expression error: No match for polarization ID(s) (named RR) 2023-03-16 02:59:52 WARN listobs::ms::msselect+ (near char. 0 in string "RR") /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:311: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue('named RR' in open('testlog.log').read(), msg='No warning for using a absent correlation') ResourceWarning: Enable tracemalloc to get the object allocation traceback .2023-03-16 02:59:53 WARN listobs::ms::msselect RecordRep::get_pointer - incorrect data type String used for field polarization with type unknown 2023-03-16 02:59:53 WARN listobs::ms::msselect Poln. expression error: No match for polarization ID(s) (named RR) 2023-03-16 02:59:53 WARN listobs::ms::msselect+ (near char. 0 in string "RR") .2023-03-16 02:59:53 WARN listobs::ms::msselect RecordRep::get_pointer - incorrect data type String used for field polarization with type unknown 2023-03-16 02:59:53 WARN listobs::ms::msselect Poln. expression error: No match for polarization ID(s) (named RR) 2023-03-16 02:59:53 WARN listobs::ms::msselect+ (near char. 0 in string "RR") .2023-03-16 02:59:53 WARN listobs::ms::msselect RecordRep::get_pointer - incorrect data type String used for field polarization with type unknown 2023-03-16 02:59:53 WARN listobs::ms::msselect Poln. expression error: No match for polarization ID(s) (named RR) 2023-03-16 02:59:53 WARN listobs::ms::msselect+ (near char. 0 in string "RR") ../home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:256: ResourceWarning: unclosed file <_io.TextIOWrapper name='listobs.txt' mode='r' encoding='UTF-8'> self.assertTrue('FldId' in open('listobs.txt').read(), msg='Field Id does not exist in a MS') ResourceWarning: Enable tracemalloc to get the object allocation traceback /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:262: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertFalse('WARN' in open('testlog.log').read(), msg='not accepting proper input for field in a MS') ResourceWarning: Enable tracemalloc to get the object allocation traceback 2023-03-16 02:59:53 WARN listobs::ms::msselect Field Expression: No match found for name "0-2" 2023-03-16 02:59:53 WARN listobs::ms::msselect+ (near char. 3 in string "0-2") /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:265: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue('No match found for name "0-2"' in open('testlog.log').read(), ResourceWarning: Enable tracemalloc to get the object allocation traceback 2023-03-16 02:59:54 WARN listobs::ms::msselect Field Expression: No match found for name "abc" 2023-03-16 02:59:54 WARN listobs::ms::msselect+ (near char. 3 in string "abc") /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:268: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue('No match found for name "abc"' in open('testlog.log').read(), ResourceWarning: Enable tracemalloc to get the object allocation traceback .2023-03-16 02:59:54 WARN listobs::ms::msselect Field Expression: No match found for name "0-2" 2023-03-16 02:59:54 WARN listobs::ms::msselect+ (near char. 3 in string "0-2") 2023-03-16 02:59:54 WARN listobs::ms::msselect Field Expression: No match found for name "abc" 2023-03-16 02:59:54 WARN listobs::ms::msselect+ (near char. 3 in string "abc") .2023-03-16 02:59:54 WARN listobs::ms::msselect Field Expression: No match found for name "0-2" 2023-03-16 02:59:54 WARN listobs::ms::msselect+ (near char. 3 in string "0-2") 2023-03-16 02:59:54 WARN listobs::ms::msselect Field Expression: No match found for name "abc" 2023-03-16 02:59:54 WARN listobs::ms::msselect+ (near char. 3 in string "abc") .2023-03-16 02:59:54 WARN listobs::ms::msselect Field Expression: No match found for name "0-2" 2023-03-16 02:59:54 WARN listobs::ms::msselect+ (near char. 3 in string "0-2") 2023-03-16 02:59:54 WARN listobs::ms::msselect Field Expression: No match found for name "abc" 2023-03-16 02:59:54 WARN listobs::ms::msselect+ (near char. 3 in string "abc") ......./home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:412: ResourceWarning: unclosed file <_io.TextIOWrapper name='listobs.txt' mode='r' encoding='UTF-8'> self.assertTrue('ScanIntent' in open('listobs.txt').read(), msg='There is no ScanIntent information for a MS') ResourceWarning: Enable tracemalloc to get the object allocation traceback /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:417: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertFalse('WARN' in open('testlog.log').read(), ResourceWarning: Enable tracemalloc to get the object allocation traceback 2023-03-16 02:59:55 WARN listobs::ms::msselect RecordRep::get_pointer - incorrect data type String used for field scanintent with type unknown /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:421: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue('incorrect data type' in open('testlog.log').read(), msg='Incorrect data type list accepted') ResourceWarning: Enable tracemalloc to get the object allocation traceback 2023-03-16 02:59:55 WARN listobs::ms::msselect State Expression: No match found for "abc" 2023-03-16 02:59:55 WARN listobs::ms::msselect+ State Expression: Partial or no match for State ID list [] /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:423: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue('No match found for "abc"' in open('testlog.log').read(), ResourceWarning: Enable tracemalloc to get the object allocation traceback .2023-03-16 02:59:56 WARN listobs::ms::msselect RecordRep::get_pointer - incorrect data type String used for field scanintent with type unknown 2023-03-16 02:59:56 WARN listobs::ms::msselect State Expression: No match found for "abc" 2023-03-16 02:59:56 WARN listobs::ms::msselect+ State Expression: Partial or no match for State ID list [] .2023-03-16 02:59:56 WARN listobs::ms::msselect RecordRep::get_pointer - incorrect data type String used for field scanintent with type unknown 2023-03-16 02:59:56 WARN listobs::ms::msselect State Expression: No match found for "abc" 2023-03-16 02:59:56 WARN listobs::ms::msselect+ State Expression: Partial or no match for State ID list [] .2023-03-16 02:59:56 WARN listobs::ms::msselect RecordRep::get_pointer - incorrect data type String used for field scanintent with type unknown 2023-03-16 02:59:56 WARN listobs::ms::msselect State Expression: No match found for "abc" 2023-03-16 02:59:56 WARN listobs::ms::msselect+ State Expression: Partial or no match for State ID list [] ./home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:507: ResourceWarning: unclosed file <_io.TextIOWrapper name='listobs1.txt' mode='r' encoding='UTF-8'> self.assertTrue('nUnflRows' in open('listobs1.txt').read()) ResourceWarning: Enable tracemalloc to get the object allocation traceback /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:510: ResourceWarning: unclosed file <_io.TextIOWrapper name='listobs2.txt' mode='r' encoding='UTF-8'> self.assertFalse('nUnflRows' in open('listobs2.txt').read()) ResourceWarning: Enable tracemalloc to get the object allocation traceback ...../home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:221: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue('listobs' in open('testlog.log').read(), msg='logfile not populated by listobs command on a MS') ResourceWarning: Enable tracemalloc to get the object allocation traceback ........../home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:226: ResourceWarning: unclosed file <_io.TextIOWrapper name='listobs.txt' mode='r' encoding='UTF-8'> self.assertFalse('Amp' in open('listobs.txt').read()) ResourceWarning: Enable tracemalloc to get the object allocation traceback ....2023-03-16 02:59:59 WARN listobs::ms::msselect Scan Expression: Parse error at or near 'a' 2023-03-16 02:59:59 WARN listobs::ms::msselect+ (near char. 1 in string "abc") /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:459: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue('Parse error' in open('testlog.log').read(), msg='Listobs fails to identify improper string') ResourceWarning: Enable tracemalloc to get the object allocation traceback 2023-03-16 02:59:59 WARN listobs::ms::msselect MSSelectionNullSelection : The selected table has zero rows. /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:461: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue(('The selected table has zero rows') in open('testlog.log').read(), ResourceWarning: Enable tracemalloc to get the object allocation traceback /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:465: ResourceWarning: unclosed file <_io.TextIOWrapper name='listobs.txt' mode='r' encoding='UTF-8'> self.assertTrue('ObservationID' in open('listobs.txt').read(), msg='There is no Observation information') ResourceWarning: Enable tracemalloc to get the object allocation traceback .2023-03-16 02:59:59 WARN listobs::ms::msselect Scan Expression: Parse error at or near 'a' 2023-03-16 02:59:59 WARN listobs::ms::msselect+ (near char. 1 in string "abc") 2023-03-16 02:59:59 WARN listobs::ms::msselect MSSelectionNullSelection : The selected table has zero rows. .2023-03-16 02:59:59 WARN listobs::ms::msselect Scan Expression: Parse error at or near 'a' 2023-03-16 02:59:59 WARN listobs::ms::msselect+ (near char. 1 in string "abc") 2023-03-16 02:59:59 WARN listobs::ms::msselect MSSelectionNullSelection : The selected table has zero rows. .2023-03-16 03:00:00 WARN listobs::ms::msselect Scan Expression: Parse error at or near 'a' 2023-03-16 03:00:00 WARN listobs::ms::msselect+ (near char. 1 in string "abc") 2023-03-16 03:00:00 WARN listobs::ms::msselect MSSelectionNullSelection : The selected table has zero rows. .2023-03-16 03:00:00 SEVERE listobs::ms::summary Exception Reported: Exception: File: CAS-5203.log already exists; delete it, choose another name, or set overwrite=true.. 2023-03-16 03:00:00 SEVERE listobs::ms::summary+ ... thrown by casac::record* casac::ms::summary(bool, const string&, bool, double, bool, bool) at File: src/tools/ms/ms_cmpt.cc, line: 798 2023-03-16 03:00:00 SEVERE listobs::::casa Task listobs raised an exception of class RuntimeError with the following message: Exception: File: CAS-5203.log already exists; delete it, choose another name, or set overwrite=true.. 2023-03-16 03:00:00 SEVERE listobs::::casa+ ... thrown by casac::record* casac::ms::summary(bool, const string&, bool, double, bool, bool) at File: src/tools/ms/ms_cmpt.cc, line: 798 2023-03-16 03:00:00 SEVERE listobs::ms::summary Exception Reported: Exception: File: CAS-5203.log already exists; delete it, choose another name, or set overwrite=true.. 2023-03-16 03:00:00 SEVERE listobs::ms::summary+ ... thrown by casac::record* casac::ms::summary(bool, const string&, bool, double, bool, bool) at File: src/tools/ms/ms_cmpt.cc, line: 798 2023-03-16 03:00:00 SEVERE listobs::::casa Task listobs raised an exception of class RuntimeError with the following message: Exception: File: CAS-5203.log already exists; delete it, choose another name, or set overwrite=true.. 2023-03-16 03:00:00 SEVERE listobs::::casa+ ... thrown by casac::record* casac::ms::summary(bool, const string&, bool, double, bool, bool) at File: src/tools/ms/ms_cmpt.cc, line: 798 .2023-03-16 03:00:00 SEVERE listobs::ms::summary Exception Reported: Exception: File: listobs.txt already exists; delete it, choose another name, or set overwrite=true.. 2023-03-16 03:00:00 SEVERE listobs::ms::summary+ ... thrown by casac::record* casac::ms::summary(bool, const string&, bool, double, bool, bool) at File: src/tools/ms/ms_cmpt.cc, line: 798 2023-03-16 03:00:00 SEVERE listobs::::casa Task listobs raised an exception of class RuntimeError with the following message: Exception: File: listobs.txt already exists; delete it, choose another name, or set overwrite=true.. 2023-03-16 03:00:00 SEVERE listobs::::casa+ ... thrown by casac::record* casac::ms::summary(bool, const string&, bool, double, bool, bool) at File: src/tools/ms/ms_cmpt.cc, line: 798 2023-03-16 03:00:00 SEVERE listobs::ms::summary Exception Reported: Exception: File: listobs.txt already exists; delete it, choose another name, or set overwrite=true.. 2023-03-16 03:00:00 SEVERE listobs::ms::summary+ ... thrown by casac::record* casac::ms::summary(bool, const string&, bool, double, bool, bool) at File: src/tools/ms/ms_cmpt.cc, line: 798 2023-03-16 03:00:00 SEVERE listobs::::casa Task listobs raised an exception of class RuntimeError with the following message: Exception: File: listobs.txt already exists; delete it, choose another name, or set overwrite=true.. 2023-03-16 03:00:00 SEVERE listobs::::casa+ ... thrown by casac::record* casac::ms::summary(bool, const string&, bool, double, bool, bool) at File: src/tools/ms/ms_cmpt.cc, line: 798 .2023-03-16 03:00:00 SEVERE listobs::ms::summary Exception Reported: Exception: File: listobs.txt already exists; delete it, choose another name, or set overwrite=true.. 2023-03-16 03:00:00 SEVERE listobs::ms::summary+ ... thrown by casac::record* casac::ms::summary(bool, const string&, bool, double, bool, bool) at File: src/tools/ms/ms_cmpt.cc, line: 798 2023-03-16 03:00:00 SEVERE listobs::::casa Task listobs raised an exception of class RuntimeError with the following message: Exception: File: listobs.txt already exists; delete it, choose another name, or set overwrite=true.. 2023-03-16 03:00:00 SEVERE listobs::::casa+ ... thrown by casac::record* casac::ms::summary(bool, const string&, bool, double, bool, bool) at File: src/tools/ms/ms_cmpt.cc, line: 798 2023-03-16 03:00:00 SEVERE listobs::ms::summary Exception Reported: Exception: File: listobs.txt already exists; delete it, choose another name, or set overwrite=true.. 2023-03-16 03:00:00 SEVERE listobs::ms::summary+ ... thrown by casac::record* casac::ms::summary(bool, const string&, bool, double, bool, bool) at File: src/tools/ms/ms_cmpt.cc, line: 798 2023-03-16 03:00:00 SEVERE listobs::::casa Task listobs raised an exception of class RuntimeError with the following message: Exception: File: listobs.txt already exists; delete it, choose another name, or set overwrite=true.. 2023-03-16 03:00:00 SEVERE listobs::::casa+ ... thrown by casac::record* casac::ms::summary(bool, const string&, bool, double, bool, bool) at File: src/tools/ms/ms_cmpt.cc, line: 798 .2023-03-16 03:00:00 SEVERE listobs::ms::summary Exception Reported: Exception: File: listobs.txt already exists; delete it, choose another name, or set overwrite=true.. 2023-03-16 03:00:00 SEVERE listobs::ms::summary+ ... thrown by casac::record* casac::ms::summary(bool, const string&, bool, double, bool, bool) at File: src/tools/ms/ms_cmpt.cc, line: 798 2023-03-16 03:00:00 SEVERE listobs::::casa Task listobs raised an exception of class RuntimeError with the following message: Exception: File: listobs.txt already exists; delete it, choose another name, or set overwrite=true.. 2023-03-16 03:00:00 SEVERE listobs::::casa+ ... thrown by casac::record* casac::ms::summary(bool, const string&, bool, double, bool, bool) at File: src/tools/ms/ms_cmpt.cc, line: 798 2023-03-16 03:00:00 SEVERE listobs::ms::summary Exception Reported: Exception: File: listobs.txt already exists; delete it, choose another name, or set overwrite=true.. 2023-03-16 03:00:00 SEVERE listobs::ms::summary+ ... thrown by casac::record* casac::ms::summary(bool, const string&, bool, double, bool, bool) at File: src/tools/ms/ms_cmpt.cc, line: 798 2023-03-16 03:00:00 SEVERE listobs::::casa Task listobs raised an exception of class RuntimeError with the following message: Exception: File: listobs.txt already exists; delete it, choose another name, or set overwrite=true.. 2023-03-16 03:00:00 SEVERE listobs::::casa+ ... thrown by casac::record* casac::ms::summary(bool, const string&, bool, double, bool, bool) at File: src/tools/ms/ms_cmpt.cc, line: 798 .2023-03-16 03:00:01 SEVERE listobs::ms::summary Exception Reported: Exception: File: listobs.txt already exists; delete it, choose another name, or set overwrite=true.. 2023-03-16 03:00:01 SEVERE listobs::ms::summary+ ... thrown by casac::record* casac::ms::summary(bool, const string&, bool, double, bool, bool) at File: src/tools/ms/ms_cmpt.cc, line: 798 2023-03-16 03:00:01 SEVERE listobs::::casa Task listobs raised an exception of class RuntimeError with the following message: Exception: File: listobs.txt already exists; delete it, choose another name, or set overwrite=true.. 2023-03-16 03:00:01 SEVERE listobs::::casa+ ... thrown by casac::record* casac::ms::summary(bool, const string&, bool, double, bool, bool) at File: src/tools/ms/ms_cmpt.cc, line: 798 2023-03-16 03:00:01 SEVERE listobs::ms::summary Exception Reported: Exception: File: listobs.txt already exists; delete it, choose another name, or set overwrite=true.. 2023-03-16 03:00:01 SEVERE listobs::ms::summary+ ... thrown by casac::record* casac::ms::summary(bool, const string&, bool, double, bool, bool) at File: src/tools/ms/ms_cmpt.cc, line: 798 2023-03-16 03:00:01 SEVERE listobs::::casa Task listobs raised an exception of class RuntimeError with the following message: Exception: File: listobs.txt already exists; delete it, choose another name, or set overwrite=true.. 2023-03-16 03:00:01 SEVERE listobs::::casa+ ... thrown by casac::record* casac::ms::summary(bool, const string&, bool, double, bool, bool) at File: src/tools/ms/ms_cmpt.cc, line: 798 ./home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:231: ResourceWarning: unclosed file <_io.TextIOWrapper name='listobs.txt' mode='r' encoding='UTF-8'> self.assertTrue('Scan' in open('listobs.txt').read(), msg='scan does not exist in output') ResourceWarning: Enable tracemalloc to get the object allocation traceback /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:245: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertFalse('WARN' in open('testlog.log').read(), msg='A warning is raised for multiple scans') ResourceWarning: Enable tracemalloc to get the object allocation traceback 2023-03-16 03:00:01 WARN listobs::ms::msselect RecordRep::get_pointer - incorrect data type String used for field scan with type unknown /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:247: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue('incorrect data type' in open('testlog.log').read(), msg='fails to label incorrect data type') ResourceWarning: Enable tracemalloc to get the object allocation traceback 2023-03-16 03:00:01 WARN listobs::ms::msselect Scan Expression: Parse error at or near 'a' 2023-03-16 03:00:01 WARN listobs::ms::msselect+ (near char. 1 in string "abc") /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:249: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue('Parse error' in open('testlog.log').read(), msg='fails to recognize improper string') ResourceWarning: Enable tracemalloc to get the object allocation traceback .2023-03-16 03:00:01 WARN listobs::ms::msselect RecordRep::get_pointer - incorrect data type String used for field scan with type unknown 2023-03-16 03:00:01 WARN listobs::ms::msselect Scan Expression: Parse error at or near 'a' 2023-03-16 03:00:01 WARN listobs::ms::msselect+ (near char. 1 in string "abc") ..2023-03-16 03:00:01 WARN listobs::ms::msselect RecordRep::get_pointer - incorrect data type String used for field scan with type unknown 2023-03-16 03:00:01 WARN listobs::ms::msselect Scan Expression: Parse error at or near 'a' 2023-03-16 03:00:01 WARN listobs::ms::msselect+ (near char. 1 in string "abc") .2023-03-16 03:00:02 WARN listobs::ms::msselect RecordRep::get_pointer - incorrect data type String used for field scan with type unknown 2023-03-16 03:00:02 WARN listobs::ms::msselect Scan Expression: Parse error at or near 'a' 2023-03-16 03:00:02 WARN listobs::ms::msselect+ (near char. 1 in string "abc") ./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): EEEE/home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:277: ResourceWarning: unclosed file <_io.TextIOWrapper name='listobs.txt' mode='r' encoding='UTF-8'> self.assertTrue('SpwID' in open('listobs.txt').read(), msg='Spw does not exist in a MS') ResourceWarning: Enable tracemalloc to get the object allocation traceback /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:283: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertFalse('WARN' in open('testlog.log').read(), msg='not accepting proper input for spw in a MS') ResourceWarning: Enable tracemalloc to get the object allocation traceback 2023-03-16 03:00:02 WARN listobs::ms::msselect Spw Expression: No match found for 3, /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:286: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue('No match found for 3' in open('testlog.log').read(), ResourceWarning: Enable tracemalloc to get the object allocation traceback /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:289: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue('-1' in open('testlog.log').read(), msg='Fails to recognize improper delimiter') ResourceWarning: Enable tracemalloc to get the object allocation traceback 2023-03-16 03:00:03 WARN listobs::ms::msselect Spw Expression: No match found for "abc" /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:291: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue('No match found for "abc"' in open('testlog.log').read(), ResourceWarning: Enable tracemalloc to get the object allocation traceback .2023-03-16 03:00:03 WARN listobs::ms::msselect Spw Expression: No match found for 3, 2023-03-16 03:00:03 WARN listobs::ms::msselect Spw Expression: No match found for "abc" .2023-03-16 03:00:03 WARN listobs::ms::msselect Spw Expression: No match found for 3, 2023-03-16 03:00:03 WARN listobs::ms::msselect Spw Expression: No match found for "abc" .2023-03-16 03:00:04 WARN listobs::ms::msselect Spw Expression: No match found for 3, 2023-03-16 03:00:04 WARN listobs::ms::msselect Spw Expression: No match found for "abc" ./home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:386: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertFalse('WARN' in open('testlog.log').read()) ResourceWarning: Enable tracemalloc to get the object allocation traceback 2023-03-16 03:00:04 WARN listobs::ms::msselect MSSelection time error: Parse error at or near token 'a' 2023-03-16 03:00:04 WARN listobs::ms::msselect+ (near char. 1 in string "abc") /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:389: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue('Parse error at or near ' in open('testlog.log').read()) ResourceWarning: Enable tracemalloc to get the object allocation traceback 2023-03-16 03:00:04 WARN listobs::ms::msselect RecordRep::get_pointer - incorrect data type String used for field time with type unknown /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:391: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue('incorrect data type' in open('testlog.log').read()) ResourceWarning: Enable tracemalloc to get the object allocation traceback 2023-03-16 03:00:04 WARN listobs::ms::msselect MSSelection time error: Parse error at or near token '-' 2023-03-16 03:00:04 WARN listobs::ms::msselect+ (near char. 9 in string "03:00:00-04:00:00") 2023-03-16 03:00:04 WARN listobs::ms::msselect+ [TIP: Did you know we use "~" as the range operator (for a good reason)?] /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:393: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue('near char. 9 in string "03:00:00-04:00:00"' in open('testlog.log').read()) ResourceWarning: Enable tracemalloc to get the object allocation traceback 2023-03-16 03:00:04 WARN listobs::ms::msselect MSSelectionNullSelection : The selected table has zero rows. /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:395: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue('MSSelectionNullSelection' in open('testlog.log').read()) ResourceWarning: Enable tracemalloc to get the object allocation traceback .2023-03-16 03:00:04 WARN listobs::ms::msselect MSSelection time error: Parse error at or near token 'a' 2023-03-16 03:00:04 WARN listobs::ms::msselect+ (near char. 1 in string "abc") 2023-03-16 03:00:04 WARN listobs::ms::msselect RecordRep::get_pointer - incorrect data type String used for field time with type unknown 2023-03-16 03:00:04 WARN listobs::ms::msselect MSSelection time error: Parse error at or near token '-' 2023-03-16 03:00:04 WARN listobs::ms::msselect+ (near char. 9 in string "03:00:00-04:00:00") 2023-03-16 03:00:04 WARN listobs::ms::msselect+ [TIP: Did you know we use "~" as the range operator (for a good reason)?] 2023-03-16 03:00:04 WARN listobs::ms::msselect MSSelectionNullSelection : The selected table has zero rows. .2023-03-16 03:00:04 WARN listobs::ms::msselect MSSelection time error: Parse error at or near token 'a' 2023-03-16 03:00:04 WARN listobs::ms::msselect+ (near char. 1 in string "abc") 2023-03-16 03:00:04 WARN listobs::ms::msselect RecordRep::get_pointer - incorrect data type String used for field time with type unknown 2023-03-16 03:00:04 WARN listobs::ms::msselect MSSelection time error: Parse error at or near token '-' 2023-03-16 03:00:04 WARN listobs::ms::msselect+ (near char. 9 in string "03:00:00-04:00:00") 2023-03-16 03:00:04 WARN listobs::ms::msselect+ [TIP: Did you know we use "~" as the range operator (for a good reason)?] 2023-03-16 03:00:04 WARN listobs::ms::msselect MSSelectionNullSelection : The selected table has zero rows. .2023-03-16 03:00:05 WARN listobs::ms::msselect MSSelection time error: Parse error at or near token 'a' 2023-03-16 03:00:05 WARN listobs::ms::msselect+ (near char. 1 in string "abc") 2023-03-16 03:00:05 WARN listobs::ms::msselect RecordRep::get_pointer - incorrect data type String used for field time with type unknown 2023-03-16 03:00:05 WARN listobs::ms::msselect MSSelection time error: Parse error at or near token '-' 2023-03-16 03:00:05 WARN listobs::ms::msselect+ (near char. 9 in string "03:00:00-04:00:00") 2023-03-16 03:00:05 WARN listobs::ms::msselect+ [TIP: Did you know we use "~" as the range operator (for a good reason)?] 2023-03-16 03:00:05 WARN listobs::ms::msselect MSSelectionNullSelection : The selected table has zero rows. ./home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:364: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertFalse('WARN' in open('testlog.log').read(), msg='Warnings are raised for valid inputs') ResourceWarning: Enable tracemalloc to get the object allocation traceback 2023-03-16 03:00:05 WARN listobs::ms::msselect RecordRep::get_pointer - incorrect data type String used for field uvdist with type unknown /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:367: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue('incorrect data type' in open('testlog.log').read(), ResourceWarning: Enable tracemalloc to get the object allocation traceback 2023-03-16 03:00:05 WARN listobs::ms::msselect UV Distribution Expression: Parse error at or near '-' 2023-03-16 03:00:05 WARN listobs::ms::msselect+ (near char. 2 in string "0-100") 2023-03-16 03:00:05 WARN listobs::ms::msselect+ [TIP: Did you know we use "~" as the range operator (for a good reason)?] /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:370: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue('near char. 2 in string "0-100"' in open('testlog.log').read(), ResourceWarning: Enable tracemalloc to get the object allocation traceback 2023-03-16 03:00:05 WARN listobs::ms::msselect UV Distribution Expression: Parse error at or near 'a' 2023-03-16 03:00:05 WARN listobs::ms::msselect+ (near char. 1 in string "abc") /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:373: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue('near char. 1 in string "abc"' in open('testlog.log').read(), ResourceWarning: Enable tracemalloc to get the object allocation traceback .2023-03-16 03:00:05 WARN listobs::ms::msselect RecordRep::get_pointer - incorrect data type String used for field uvdist with type unknown 2023-03-16 03:00:06 WARN listobs::ms::msselect UV Distribution Expression: Parse error at or near '-' 2023-03-16 03:00:06 WARN listobs::ms::msselect+ (near char. 2 in string "0-100") 2023-03-16 03:00:06 WARN listobs::ms::msselect+ [TIP: Did you know we use "~" as the range operator (for a good reason)?] 2023-03-16 03:00:06 WARN listobs::ms::msselect UV Distribution Expression: Parse error at or near 'a' 2023-03-16 03:00:06 WARN listobs::ms::msselect+ (near char. 1 in string "abc") .2023-03-16 03:00:06 WARN listobs::ms::msselect RecordRep::get_pointer - incorrect data type String used for field uvdist with type unknown 2023-03-16 03:00:06 WARN listobs::ms::msselect UV Distribution Expression: Parse error at or near '-' 2023-03-16 03:00:06 WARN listobs::ms::msselect+ (near char. 2 in string "0-100") 2023-03-16 03:00:06 WARN listobs::ms::msselect+ [TIP: Did you know we use "~" as the range operator (for a good reason)?] 2023-03-16 03:00:06 WARN listobs::ms::msselect UV Distribution Expression: Parse error at or near 'a' 2023-03-16 03:00:06 WARN listobs::ms::msselect+ (near char. 1 in string "abc") .2023-03-16 03:00:06 WARN listobs::ms::msselect RecordRep::get_pointer - incorrect data type String used for field uvdist with type unknown 2023-03-16 03:00:06 WARN listobs::ms::msselect UV Distribution Expression: Parse error at or near '-' 2023-03-16 03:00:06 WARN listobs::ms::msselect+ (near char. 2 in string "0-100") 2023-03-16 03:00:06 WARN listobs::ms::msselect+ [TIP: Did you know we use "~" as the range operator (for a good reason)?] 2023-03-16 03:00:06 WARN listobs::ms::msselect UV Distribution Expression: Parse error at or near 'a' 2023-03-16 03:00:06 WARN listobs::ms::msselect+ (near char. 1 in string "abc") ../home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:471: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue(all(x in open('testlog.log').read() for x in nonverb), ResourceWarning: Enable tracemalloc to get the object allocation traceback /home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py:475: ResourceWarning: unclosed file <_io.TextIOWrapper name='testlog.log' mode='r' encoding='UTF-8'> self.assertTrue(all(x in open('testlog.log').read() for x in items)) ResourceWarning: Enable tracemalloc to get the object allocation traceback ..... ====================================================================== ERROR: test_selectdataMMS (__main__.test_listobs) Listobs test: Check to see if the selectdata parameter functions with a MMS ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py", line 758, in test_selectdataMMS self.selectcheck(multiMesSet) File "/home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py", line 344, in selectcheck listobs(vis=dataset, selectdata=1) File "/home/casatest/venv/lib/python3.9/site-packages/casatasks/listobs.py", line 155, 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 ====================================================================== ERROR: test_selectdataMS (__main__.test_listobs) Listobs test: Check to see if the selectdata parameter functions with a MS ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py", line 754, in test_selectdataMS self.selectcheck(mesSet) File "/home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py", line 344, in selectcheck listobs(vis=dataset, selectdata=1) File "/home/casatest/venv/lib/python3.9/site-packages/casatasks/listobs.py", line 155, 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 ====================================================================== ERROR: test_selectdataTimeAvgMMS (__main__.test_listobs) Listobs test: Check to see if the selectdata parameter functions with a time-averaged MMS ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py", line 766, in test_selectdataTimeAvgMMS self.selectcheck(timeavg_mms) File "/home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py", line 344, in selectcheck listobs(vis=dataset, selectdata=1) File "/home/casatest/venv/lib/python3.9/site-packages/casatasks/listobs.py", line 155, 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 ====================================================================== ERROR: test_selectdataTimeAvgMS (__main__.test_listobs) Listobs test: Check to see if the selectdata parameter functions with a time-averaged MS ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py", line 762, in test_selectdataTimeAvgMS self.selectcheck(timeavg_ms) File "/home/casatest/casa6/casatasks/tests/tasks/test_task_listobs.py", line 344, in selectcheck listobs(vis=dataset, selectdata=1) File "/home/casatest/venv/lib/python3.9/site-packages/casatasks/listobs.py", line 155, 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 89 tests in 17.769s FAILED (errors=4)