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_deconvolve
- Method
- full log
- Duration
- 13 mins
- Status
- Failed (New Failure)
Error Log
2023-02-08 21:02:30 WARN ::casa casampi not available - not testing MPIEnvironment stuff Unexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/export/home/cbt-el7-10/docker/overlay2/l/NOALA4LPGXB2YU7EUJJM2JXIB4:/export/home/cbt-el7-10/docker/overlay2/l/7Y4XFKGTEEL5FY4IEDWDPOL3L2:/export/home/cbt-el7-10/docker/overlay2/l/PBKGI4VTKNDANHHDRH46HX5E3T:/export/home/cbt-el7-10/docker/overlay2/l/L7PG5C3G7TXPRM6PBI26DXLAW3:/export/home/cbt-el7-10/docker/overlay2/l/KPCOHKFO3P6K4W2HQIKGE4Z4JJ:/export/home/cbt-el7-10/docker/overlay2/l/7PLHMHY4VXFBRB3SYDZBZJH73P:/export/home/cbt-el7-10/docker/overlay2/l/CPZBGSKGYKVBNUV4' Unexpected end of /proc/mounts line `O7T32ZAJGV:/export/home/cbt-el7-10/docker/overlay2/l/2LDYEDWN5RFZ4XI7MDMCOCOCME:/export/home/cbt-el7-10/docker/overlay2/l/I62R36ZJIWLQWUB6ZJ33QW5WNK:/export/home/cbt-el7-10/docker/overlay2/l/AP56TKJ53OKFCWUTGSQRDDF2DT:/export/home/cbt-el7-10/docker/overlay2/l/B5VGQBYMMTF6Q2GLECYPGANL6F:/export/home/cbt-el7-10/docker/overlay2/l/33RPELTWHVFBN4NGLGOGYU6BF7:/export/home/cbt-el7-10/docker/overlay2/l/AHCEG2E3RV4NIP3GTJICHVKMJE:/export/home/cbt-el7-10/docker/overlay2/l/OCQFHEEXL5UEXFPYTSYDD77NMM:/export/home/cbt-' Unexpected end of /proc/mounts line `el7-10/docker/overlay2/l/LW6OP7N4ZVASKFVQBH32XGW7FM:/export/home/cbt-el7-10/docker/overlay2/l/MPGBRRGYPRPZGQ7OGQPQ6ZDA4O:/export/home/cbt-el7-10/docker/overlay2/l/LPNX6PGNS5PGIPRRVNO5Q237WR:/export/home/cbt-el7-10/docker/overlay2/l/I7A2UA3TP2EHIW5BY7BJNK35QB:/export/home/cbt-el7-10/docker/overlay2/l/RZ3DSDHNFVQYSMGH3DIETAVN6V:/export/home/cbt-el7-10/docker/overlay2/l/HTGJ577CRMOWU7KO65XO2MBBIZ:/export/home/cbt-el7-10/docker/overlay2/l/YJIZAZ3DQNQFYKOBVKYUTYSCCK:/export/home/cbt-el7-10/docker/overlay2/l/2MW' Unexpected end of /proc/mounts line `WA7NNUHBWCUM76VGBHPOZJZ:/export/home/cbt-el7-10/docker/overlay2/l/DTAHL4Z4HF4T4C25SBWYZDF43K:/export/home/cbt-el7-10/docker/overlay2/l/HEJ2ONVVNSLG75TIPIOVAGJVP2:/export/home/cbt-el7-10/docker/overlay2/l/MZWETYVXDVOVQMJYG6IQD75563:/export/home/cbt-el7-10/docker/overlay2/l/6KAM4XPO4FR7LRLEX3O3K224H2:/export/home/cbt-el7-10/docker/overlay2/l/V3GRO5TDG5GRH3FO35M2IFTFRM:/export/home/cbt-el7-10/docker/overlay2/l/MS552CNHRMLKIP3YQNKTI7WDI2:/export/home/cbt-el7-10/docker/overlay2/l/UDT33352MIBOXBZV7IJ2LGHA4D:/exp' /home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py:2890: SyntaxWarning: "is" with a literal. Did you mean "=="? if deconvolver is 'mtmfs': ...2023-02-08 21:03:22 WARN SIImageStore::getPSFGaussian (file src/code/synthesis/ImagerObjects/SIImageStore.cc, line 2038) PSF is blank for[C5:P0] [C6:P0] [C7:P0] [C8:P0] [C9:P0] .2023-02-08 21:03:37 WARN SIImageStore::getPSFGaussian (file src/code/synthesis/ImagerObjects/SIImageStore.cc, line 2038) PSF is blank for[C5:P0] [C6:P0] [C7:P0] [C8:P0] [C9:P0] .2023-02-08 21:03:53 WARN SIImageStore::getPSFGaussian (file src/code/synthesis/ImagerObjects/SIImageStore.cc, line 2038) PSF is blank for[C1:P0] [C4:P0] [C5:P0] [C6:P0] [C7:P0] ...2023-02-08 21:04:38 WARN SIImageStore::getPSFGaussian (file src/code/synthesis/ImagerObjects/SIImageStore.cc, line 2038) PSF is blank for[C5:P0] [C6:P0] [C7:P0] [C8:P0] [C9:P0] .The frame in start:BARY Override frame=TOPO The frame in start:BARY Override frame=TOPO 2023-02-08 21:04:55 WARN SIImageStore::getPSFGaussian (file src/code/synthesis/ImagerObjects/SIImageStore.cc, line 2038) PSF is blank for[C5:P0] [C6:P0] [C7:P0] [C8:P0] [C9:P0] The frame in start:BARY Override frame=TOPO ....2023-02-08 21:06:02 WARN SIImageStore::getPSFGaussian (file src/code/synthesis/ImagerObjects/SIImageStore.cc, line 2038) PSF is blank for[C5:P0] [C6:P0] [C7:P0] [C8:P0] [C9:P0] .2023-02-08 21:06:18 WARN SIImageStore::getPSFGaussian (file src/code/synthesis/ImagerObjects/SIImageStore.cc, line 2038) PSF is blank for[C6:P0] [C7:P0] ....2023-02-08 21:07:18 WARN SIImageStore::getPSFGaussian (file src/code/synthesis/ImagerObjects/SIImageStore.cc, line 2038) PSF is blank for[C0:P0] [C1:P0] [C2:P0] [C3:P0] [C4:P0] [C5:P0] ...2023-02-08 21:08:04 WARN SIImageStore::getPSFGaussian (file src/code/synthesis/ImagerObjects/SIImageStore.cc, line 2038) PSF is blank for[C0:P0] [C1:P0] ...2023-02-08 21:08:46 WARN SynthesisParamsImage::buildCoordinateSystem (file src/code/synthesis/ImagerObjects/SynthesisUtilMethods.cc, line 2459) No rest frequency info, using the center of the selected spw(s):1.475e+09 Hz. Velocity labelling may not be correct. .2023-02-08 21:09:17 SEVERE deconvolve::deconvolve::casa Exception from deconvolve : Error in running Minor Cycle : Cannot open existing image : tst.model : There is a shape mismatch between existing images ([1, 100, 100, 1]) and current parameters ([100, 100, 1, 1]). If you are attempting to restart a run with a new image shape, please change imagename and supply the old model or mask as inputs (via the startmodel or mask parameters) so that they can be regridded to the new shape before continuing. 2023-02-08 21:09:17 SEVERE deconvolve::::casa Task deconvolve raised an exception of class RuntimeError with the following message: Exception from deconvolve : Error in running Minor Cycle : Cannot open existing image : tst.model : There is a shape mismatch between existing images ([1, 100, 100, 1]) and current parameters ([100, 100, 1, 1]). If you are attempting to restart a run with a new image shape, please change imagename and supply the old model or mask as inputs (via the startmodel or mask parameters) so that they can be regridded to the new shape before continuing. .2023-02-08 21:09:19 SEVERE deconvolve::deconvolve::casa Exception from deconvolve : Cannot open existing image : tst.pb : There is a shape mismatch between existing images ([1, 100, 100, 1]) and current parameters ([100, 100, 1, 1]). If you are attempting to restart a run with a new image shape, please change imagename and supply the old model or mask as inputs (via the startmodel or mask parameters) so that they can be regridded to the new shape before continuing. 2023-02-08 21:09:19 SEVERE deconvolve::::casa Task deconvolve raised an exception of class RuntimeError with the following message: Exception from deconvolve : Cannot open existing image : tst.pb : There is a shape mismatch between existing images ([1, 100, 100, 1]) and current parameters ([100, 100, 1, 1]). If you are attempting to restart a run with a new image shape, please change imagename and supply the old model or mask as inputs (via the startmodel or mask parameters) so that they can be regridded to the new shape before continuing. .2023-02-08 21:09:22 SEVERE deconvolve::deconvolve::casa Exception from deconvolve : Error initializing the Minor Cycle for tst : Cannot open existing image : tst.mask : There is a shape mismatch between existing images ([100, 100, 1, 1]) and current parameters ([1, 100, 100, 1]). If you are attempting to restart a run with a new image shape, please change imagename and supply the old model or mask as inputs (via the startmodel or mask parameters) so that they can be regridded to the new shape before continuing. 2023-02-08 21:09:22 SEVERE deconvolve::::casa Task deconvolve raised an exception of class RuntimeError with the following message: Exception from deconvolve : Error initializing the Minor Cycle for tst : Cannot open existing image : tst.mask : There is a shape mismatch between existing images ([100, 100, 1, 1]) and current parameters ([1, 100, 100, 1]). If you are attempting to restart a run with a new image shape, please change imagename and supply the old model or mask as inputs (via the startmodel or mask parameters) so that they can be regridded to the new shape before continuing. .2023-02-08 21:09:25 SEVERE deconvolve::deconvolve::casa Exception from deconvolve : Error initializing the Minor Cycle for tst : Cannot open existing image : tst.mask : There is a coordinate system mismatch between existing images on disk and current parameters (The pixel axes differ for coordinate number 0). If you are attempting to restart a run, please change imagename and supply the old model or mask as inputs (via the startmodel or mask parameters) so that they can be regridded to the new coordinate system before continuing. 2023-02-08 21:09:25 SEVERE deconvolve::::casa Task deconvolve raised an exception of class RuntimeError with the following message: Exception from deconvolve : Error initializing the Minor Cycle for tst : Cannot open existing image : tst.mask : There is a coordinate system mismatch between existing images on disk and current parameters (The pixel axes differ for coordinate number 0). If you are attempting to restart a run, please change imagename and supply the old model or mask as inputs (via the startmodel or mask parameters) so that they can be regridded to the new coordinate system before continuing. ..2023-02-08 21:09:28 SEVERE deconvolve::deconvolve::casa Exception from deconvolve : Internal Error: missing one or more of the required images: ['tst.psf'] 2023-02-08 21:09:28 SEVERE deconvolve::::casa Task deconvolve raised an exception of class RuntimeError with the following message: Exception from deconvolve : Internal Error: missing one or more of the required images: ['tst.psf'] .2023-02-08 21:09:28 SEVERE deconvolve::deconvolve::casa Exception from deconvolve : Internal Error: missing one or more of the required images: ['tst.residual'] 2023-02-08 21:09:28 SEVERE deconvolve::::casa Task deconvolve raised an exception of class RuntimeError with the following message: Exception from deconvolve : Internal Error: missing one or more of the required images: ['tst.residual'] ..2023-02-08 21:09:33 SEVERE deconvolve::deconvolve::casa Exception from deconvolve : Error in running Minor Cycle : Cannot open existing image : tst.model : There is a shape mismatch between existing images ([2, 2, 1, 1]) and current parameters ([100, 100, 1, 1]). If you are attempting to restart a run with a new image shape, please change imagename and supply the old model or mask as inputs (via the startmodel or mask parameters) so that they can be regridded to the new shape before continuing. 2023-02-08 21:09:33 SEVERE deconvolve::::casa Task deconvolve raised an exception of class RuntimeError with the following message: Exception from deconvolve : Error in running Minor Cycle : Cannot open existing image : tst.model : There is a shape mismatch between existing images ([2, 2, 1, 1]) and current parameters ([100, 100, 1, 1]). If you are attempting to restart a run with a new image shape, please change imagename and supply the old model or mask as inputs (via the startmodel or mask parameters) so that they can be regridded to the new shape before continuing. .2023-02-08 21:09:41 SEVERE deconvolve::deconvolve::casa Exception from deconvolve : Cannot open existing image : tst.pb : There is a shape mismatch between existing images ([2, 2, 1, 1]) and current parameters ([100, 100, 1, 1]). If you are attempting to restart a run with a new image shape, please change imagename and supply the old model or mask as inputs (via the startmodel or mask parameters) so that they can be regridded to the new shape before continuing. 2023-02-08 21:09:41 SEVERE deconvolve::::casa Task deconvolve raised an exception of class RuntimeError with the following message: Exception from deconvolve : Cannot open existing image : tst.pb : There is a shape mismatch between existing images ([2, 2, 1, 1]) and current parameters ([100, 100, 1, 1]). If you are attempting to restart a run with a new image shape, please change imagename and supply the old model or mask as inputs (via the startmodel or mask parameters) so that they can be regridded to the new shape before continuing. .2023-02-08 21:09:45 SEVERE deconvolve::deconvolve::casa Exception from deconvolve : Error initializing the Minor Cycle for tst : Cannot open existing image : tst.mask : There is a shape mismatch between existing images ([100, 100, 1, 1]) and current parameters ([2, 2, 1, 1]). If you are attempting to restart a run with a new image shape, please change imagename and supply the old model or mask as inputs (via the startmodel or mask parameters) so that they can be regridded to the new shape before continuing. 2023-02-08 21:09:45 SEVERE deconvolve::::casa Task deconvolve raised an exception of class RuntimeError with the following message: Exception from deconvolve : Error initializing the Minor Cycle for tst : Cannot open existing image : tst.mask : There is a shape mismatch between existing images ([100, 100, 1, 1]) and current parameters ([2, 2, 1, 1]). If you are attempting to restart a run with a new image shape, please change imagename and supply the old model or mask as inputs (via the startmodel or mask parameters) so that they can be regridded to the new shape before continuing. .2023-02-08 21:09:48 SEVERE deconvolve::deconvolve::casa Exception from deconvolve : Error initializing the Minor Cycle for tst : Cannot open existing image : tst.mask : There is a coordinate system mismatch between existing images on disk and current parameters (The DirectionCoordinates have differing LinearXform components). If you are attempting to restart a run, please change imagename and supply the old model or mask as inputs (via the startmodel or mask parameters) so that they can be regridded to the new coordinate system before continuing. 2023-02-08 21:09:48 SEVERE deconvolve::::casa Task deconvolve raised an exception of class RuntimeError with the following message: Exception from deconvolve : Error initializing the Minor Cycle for tst : Cannot open existing image : tst.mask : There is a coordinate system mismatch between existing images on disk and current parameters (The DirectionCoordinates have differing LinearXform components). If you are attempting to restart a run, please change imagename and supply the old model or mask as inputs (via the startmodel or mask parameters) so that they can be regridded to the new coordinate system before continuing. .2023-02-08 21:09:50 SEVERE deconvolve::deconvolve::casa Exception from deconvolve : Error initializing the Minor Cycle for tst : Error in setting starting model for deconvolution: Error in regridding input model image to target coordsys : ImageRegrid error : LatticeIterInterface::ok - Navigator Lattice and Data Lattice have different shapes 2023-02-08 21:09:50 SEVERE deconvolve::::casa Task deconvolve raised an exception of class RuntimeError with the following message: Exception from deconvolve : Error initializing the Minor Cycle for tst : Error in setting starting model for deconvolution: Error in regridding input model image to target coordsys : ImageRegrid error : LatticeIterInterface::ok - Navigator Lattice and Data Lattice have different shapes .s.2023-02-08 21:09:57 SEVERE deconvolve::deconvolve::casa Exception from deconvolve : Internal Error: parameter startmodel set to "doesnotexists.model" but that file does not exist 2023-02-08 21:09:57 SEVERE deconvolve::::casa Task deconvolve raised an exception of class RuntimeError with the following message: Exception from deconvolve : Internal Error: parameter startmodel set to "doesnotexists.model" but that file does not exist .s2023-02-08 21:10:00 SEVERE deconvolve::deconvolve::casa Exception from deconvolve : Internal Error: imagename.model already exists! Either parameter startmodel must not be set ('') or imagename.model (tst.model) must not exist. 2023-02-08 21:10:00 SEVERE deconvolve::deconvolve::casa+ Either unset startmodel or remove tst.model to continue 2023-02-08 21:10:00 SEVERE deconvolve::::casa Task deconvolve raised an exception of class RuntimeError with the following message: Exception from deconvolve : Internal Error: imagename.model already exists! Either parameter startmodel must not be set ('') or imagename.model (tst.model) must not exist. 2023-02-08 21:10:00 SEVERE deconvolve::::casa+ Either unset startmodel or remove tst.model to continue ../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): EEEEEEEEEEE2023-02-08 21:10:36 SEVERE deconvolve::deconvolve::casa Exception from deconvolve : Internal Error: 'mask' parameter specified as a filename 'tst.mask.txt', but no such file exists 2023-02-08 21:10:36 SEVERE deconvolve::::casa Task deconvolve raised an exception of class RuntimeError with the following message: Exception from deconvolve : Internal Error: 'mask' parameter specified as a filename 'tst.mask.txt', but no such file exists .EE2023-02-08 21:11:13 WARN SDMaskHandler::autoMaskByMultiThreshold (file src/code/synthesis/ImagerObjects/SDMaskHandler.cc, line 2228) Faint regions may not be included in the final mask. Consider decreasing cutthreshold. ..s.....E.......s2023-02-08 21:11:57 SEVERE deconvolve::deconvolve::casa Exception from deconvolve : The parameter nsigma>0 (1.5) requires a .pb image to be available. 2023-02-08 21:11:57 SEVERE deconvolve::::casa Task deconvolve raised an exception of class RuntimeError with the following message: Exception from deconvolve : The parameter nsigma>0 (1.5) requires a .pb image to be available. .s.2023-02-08 21:12:00 WARN SIImageStore::rescaleResolution (file src/code/synthesis/ImagerObjects/SIImageStore.cc, line 1592) Cannot convolve to new beam for Channel : 0 : Source may be only (slightly) resolved in one direction .2023-02-08 21:12:02 WARN SDMaskHandler::autoMaskByMultiThreshold (file src/code/synthesis/ImagerObjects/SDMaskHandler.cc, line 3069) No regions found by automasking 2023-02-08 21:12:02 WARN SDMaskHandler::autoMaskByMultiThreshold (file src/code/synthesis/ImagerObjects/SDMaskHandler.cc, line 3069) Used sidelobe threshold to mask, but no emission was found.Try decreasing your sidelobethreshold parameter if you want to capture emission in these channels. 2023-02-08 21:12:02 WARN SIImageStore::restore (file src/code/synthesis/ImagerObjects/SIImageStore.cc, line 2247) Restoring with an empty model image. Only residuals will be processed to form the output restored image. ....2023-02-08 21:12:14 SEVERE deconvolve::deconvolve::casa Exception from deconvolve : Need PB/Sensitivity/Weight image before a PB-based mask can be made for tst 2023-02-08 21:12:14 SEVERE deconvolve::::casa Task deconvolve raised an exception of class RuntimeError with the following message: Exception from deconvolve : Need PB/Sensitivity/Weight image before a PB-based mask can be made for tst .. 0%....10....20....30....40....50....60....70....80....90....100% ssssssssssssssssssssEEEssEE 0%....10....20....30....40....50....60....70....80....90....100% EEEEEEEEEsEEsE....s. 0%....10....20....30....40....50....60....70....80....90....100% 0%....10....20....30....40....50....60....70....80....90....100% ...E.s ====================================================================== ERROR: test_iterbot_mfs_4 (__main__.test_iterbot) [iterbot] test_iterbot_mfs_4 ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 1052, in test_iterbot_mfs_4 results = deconvolve(imagename=self.img, deconvolver='clark', niter=14, gain=0.15, interactive=0) File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_iterbot_mfs_5 (__main__.test_iterbot) [iterbot] test_iterbot_mfs_5 ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 1065, in test_iterbot_mfs_5 results = deconvolve(imagename=self.img, deconvolver='clark', niter=10, threshold='0.5Jy', gain=0.15, interactive=0) File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_iterbot_threshold_num (__main__.test_iterbot) [iterbot] test_iterbot_threshold_num ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 1090, in test_iterbot_threshold_num results = deconvolve(imagename=self.img, threshold=2e-3, niter=2000, interactive=0) File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_iterbot_threshold_str (__main__.test_iterbot) [iterbot] test_iterbot_threshold_str ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 1078, in test_iterbot_threshold_str results = deconvolve(imagename=self.img, threshold='2mJy', niter=2000, interactive=0) File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_mask_1 (__main__.test_mask) [mask] test_mask_1 ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 1756, in test_mask_1 deconvolve(imagename=self.img, niter=10, deconvolver='hogbom', interactive=0, usemask='user', mask=self.img+'.mask.txt') File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_mask_2 (__main__.test_mask) [mask] test_mask_2 ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 1776, in test_mask_2 self.prepData('refim_point.ms', delold=False, tclean_args={'imsize':100,'cell':'8.0arcsec','deconvolver':'hogbom','specmode':'cube','interactive':0,'usemask':'user','mask':self.img+'.mask.txt'}) File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 866, in prepData tclean_args = type(self).staticPrepData(self.imgsrc+'.ms', tclean_args, self.parallel) File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 835, in staticPrepData tclean(**tclean_args) File "/usr/local/lib/python3.8/site-packages/casatasks/tclean.py", line 1748, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_mask_autobox_multithresh (__main__.test_mask) [mask] test_mask_autobox_multithresh ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 1871, in test_mask_autobox_multithresh self.prepData('refim_twochan.ms', tclean_args={'imsize':100,'cell':'8.0arcsec','deconvolver':'hogbom','interactive':0,'usemask':'auto-multithresh'}) File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 866, in prepData tclean_args = type(self).staticPrepData(self.imgsrc+'.ms', tclean_args, self.parallel) File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 835, in staticPrepData tclean(**tclean_args) File "/usr/local/lib/python3.8/site-packages/casatasks/tclean.py", line 1748, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_mask_autobox_multithresh_newnoise (__main__.test_mask) [mask] test_mask_autobox_multithresh_newnoise ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 1882, in test_mask_autobox_multithresh_newnoise self.prepData('refim_twochan.ms', tclean_args={'imsize':100,'cell':'8.0arcsec','deconvolver':'hogbom','interactive':0,'usemask':'auto-multithresh','fastnoise':False}) File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 866, in prepData tclean_args = type(self).staticPrepData(self.imgsrc+'.ms', tclean_args, self.parallel) File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 835, in staticPrepData tclean(**tclean_args) File "/usr/local/lib/python3.8/site-packages/casatasks/tclean.py", line 1748, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_mask_autobox_multithresh_with_nsigma (__main__.test_mask) [mask] test_mask_autobox_multithresh_with_nsigma ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 1893, in test_mask_autobox_multithresh_with_nsigma self.prepData('refim_twochan.ms', tclean_args={'imsize':100,'cell':'8.0arcsec','deconvolver':'hogbom','interactive':0,'usemask':'auto-multithresh'}) File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 866, in prepData tclean_args = type(self).staticPrepData(self.imgsrc+'.ms', tclean_args, self.parallel) File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 835, in staticPrepData tclean(**tclean_args) File "/usr/local/lib/python3.8/site-packages/casatasks/tclean.py", line 1748, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_mask_autobox_multithresh_with_nsigma_newnoise (__main__.test_mask) [mask] test_mask_autobox_multithresh_with_nsigma_newnoise ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 1904, in test_mask_autobox_multithresh_with_nsigma_newnoise self.prepData('refim_twochan.ms', tclean_args={'imsize':100,'cell':'8.0arcsec','deconvolver':'hogbom','interactive':0,'usemask':'auto-multithresh'}) File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 866, in prepData tclean_args = type(self).staticPrepData(self.imgsrc+'.ms', tclean_args, self.parallel) File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 835, in staticPrepData tclean(**tclean_args) File "/usr/local/lib/python3.8/site-packages/casatasks/tclean.py", line 1748, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_mask_autobox_multithresh_with_prune (__main__.test_mask) [mask] test_mask_autobox_multithresh_with_prune ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 1915, in test_mask_autobox_multithresh_with_prune self.prepData('refim_twochan.ms', tclean_args={'imsize':1000,'cell':'8.0arcsec','deconvolver':'hogbom','interactive':0,'usemask':'auto-multithresh'}) File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 866, in prepData tclean_args = type(self).staticPrepData(self.imgsrc+'.ms', tclean_args, self.parallel) File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 835, in staticPrepData tclean(**tclean_args) File "/usr/local/lib/python3.8/site-packages/casatasks/tclean.py", line 1748, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_mask_pbmask0 (__main__.test_mask) [mask] test_mask_pbmask0 ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 1828, in test_mask_pbmask0 ret = deconvolve(imagename=self.img, niter=10, deconvolver='hogbom', interactive=0, usemask='pb') File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_mask_pbmask995 (__main__.test_mask) [mask] test_mask_pbmask995 ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 1853, in test_mask_pbmask995 ret = deconvolve(imagename=self.img, niter=10, deconvolver='hogbom', interactive=0, usemask='pb', pbmask=0.995) File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_minimages_interactive (__main__.test_minimages) [minimages] test_minimages_interactive ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 3366, in test_minimages_interactive deconvolve(imagename=self.img, niter=10, interactive=0)#=False, File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_multirun_clarkclark (__main__.test_multirun) [multirun] test_multirun_clarkclark ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 1966, in test_multirun_clarkclark results1 = deconvolve(imagename=self.img, deconvolver='clark', niter=400, threshold='1mJy', gain=0.03, interactive=0) File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_multirun_clarkstokesclarkstokes (__main__.test_multirun) [multirun] test_multirun_clarkstokesclarkstokes ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 1994, in test_multirun_clarkstokesclarkstokes results1 = deconvolve(imagename=self.img, deconvolver='clarkstokes', niter=400, threshold='1mJy', gain=0.01, interactive=0) File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_multirun_hogbomhogbom (__main__.test_multirun) [multirun] test_multirun_hogbomhogbom ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 1938, in test_multirun_hogbomhogbom results1 = deconvolve(imagename=self.img, deconvolver='hogbom', niter=399, threshold='1mJy', interactive=0) File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_multirun_multiscalehog (__main__.test_multirun) [multirun] test_multirun_multiscalehog ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 2147, in test_multirun_multiscalehog results1 = deconvolve(imagename=self.img, niter=10, deconvolver='multiscale', scales=[0,20,40,100], interactive=0, restoration=False, threshold='1mJy') File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_multirun_multiscalemultiscale (__main__.test_multirun) " [multirun] test_multirun_multiscalemultiscale ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 2021, in test_multirun_multiscalemultiscale results1 = deconvolve(imagename=self.img, deconvolver='multiscale', scales=[10,20,40,100], niter=400, threshold='1mJy', interactive=0) File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_multirun_norestore_restore (__main__.test_multirun) [multirun] test_multirun_norestore_restore ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 2162, in test_multirun_norestore_restore results1 = deconvolve(imagename=self.img, niter=10, restoration=False,interactive=0) File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_niterparms_gain_1 (__main__.test_niterparms) [niterparms] test_niterparms_gain_1 ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 3111, in test_niterparms_gain_1 report = self.helper_deconvolve_check_iterdone('gain', param_val=0.2, expected_iter=14, extra_params={'threshold':0.1}) File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 3099, in helper_deconvolve_check_iterdone results = deconvolve(imagename=self.img, deconvolver='clark', interactive=0, restoration=False, **da) File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_niterparms_gain_2 (__main__.test_niterparms) [niterparms] test_niterparms_gain_2 ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 3122, in test_niterparms_gain_2 report = self.helper_deconvolve_check_iterdone('gain', param_val=0.3, expected_iter=9, extra_params={'threshold':0.1}) File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 3099, in helper_deconvolve_check_iterdone results = deconvolve(imagename=self.img, deconvolver='clark', interactive=0, restoration=False, **da) File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_niterparms_nsigma_1 (__main__.test_niterparms) [niterparms] test_niterparms_nsigma_1 ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 3182, in test_niterparms_nsigma_1 report = self.helper_deconvolve_check_iterdone('nsigma', param_val=3, expected_iter=60, extra_params={'threshold': 0.001}) File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 3099, in helper_deconvolve_check_iterdone results = deconvolve(imagename=self.img, deconvolver='clark', interactive=0, restoration=False, **da) File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_niterparms_nsigma_2 (__main__.test_niterparms) [niterparms] test_niterparms_nsigma_2 ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 3194, in test_niterparms_nsigma_2 report = self.helper_deconvolve_check_iterdone('nsigma', param_val=1.5, expected_iter=79, extra_params={'threshold': 0.001}) File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 3099, in helper_deconvolve_check_iterdone results = deconvolve(imagename=self.img, deconvolver='clark', interactive=0, restoration=False, **da) File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_niterparms_threshold_1 (__main__.test_niterparms) [niterparms] test_niterparms_threshold_1 ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 3133, in test_niterparms_threshold_1 report = self.helper_deconvolve_check_iterdone('threshold', param_val=0.22, expected_iter=16) File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 3099, in helper_deconvolve_check_iterdone results = deconvolve(imagename=self.img, deconvolver='clark', interactive=0, restoration=False, **da) File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_niterparms_threshold_2 (__main__.test_niterparms) [niterparms] test_niterparms_threshold_2 ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 3144, in test_niterparms_threshold_2 report = self.helper_deconvolve_check_iterdone('threshold', param_val=0.18, expected_iter=19) File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 3099, in helper_deconvolve_check_iterdone results = deconvolve(imagename=self.img, deconvolver='clark', interactive=0, restoration=False, **da) File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_niterparms_threshold_3 (__main__.test_niterparms) [niterparms] test_niterparms_threshold_3 ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 3155, in test_niterparms_threshold_3 report = self.helper_deconvolve_check_iterdone('threshold', param_val=0.01, expected_iter=112) File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 3099, in helper_deconvolve_check_iterdone results = deconvolve(imagename=self.img, deconvolver='clark', interactive=0, restoration=False, **da) File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_niterparms_unset (__main__.test_niterparms) [niterparms] test_niterparms_unset ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 3170, in test_niterparms_unset report = self.helper_deconvolve_check_iterdone(expected_iter=300, extra_params={'gain':0.15}) File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 3099, in helper_deconvolve_check_iterdone results = deconvolve(imagename=self.img, deconvolver='clark', interactive=0, restoration=False, **da) File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_onefield_clark (__main__.test_onefield) [onefield] test_onefield_clark ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 941, in test_onefield_clark results = deconvolve(imagename=self.img, niter=10, deconvolver='clark', interactive=0) File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_onefield_hogbom (__main__.test_onefield) [onefield] test_onefield_hogbom ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 929, in test_onefield_hogbom results = deconvolve(imagename=self.img, niter=10, deconvolver='hogbom', interactive=0) File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_onefield_multiscale (__main__.test_onefield) [onefield] test_onefield_multiscale ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 953, in test_onefield_multiscale results = deconvolve(imagename=self.img, niter=10, deconvolver='multiscale', scales=[0,20,40,100], interactive=0) File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 ====================================================================== ERROR: test_restoration_onlyrestore (__main__.test_restoration) [restoration] test_restoration_onlyrestore ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/casatest/casa6/casatasks/tests/tasks/test_task_deconvolve.py", line 3037, in test_restoration_onlyrestore results = deconvolve(imagename=self.img, niter=10, restoration=False,interactive=0) File "/usr/local/lib/python3.8/site-packages/casatasks/deconvolve.py", line 454, 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/typecheck.py", line 56, in _validate_anyof valids, _errors = self.__validate_anyof('anyof', definitions, field, value) File "/usr/local/lib/python3.8/site-packages/casatools/typecheck.py", line 44, in __validate_anyof if validator(self.document, update=self.update, normalize=True): 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 138 tests in 794.600s FAILED (errors=32, skipped=31)