Build: #171 was successful

Job: Build and Package RHEL6 was successful

Stages & jobs

  1. Default Stage

Build log

The build generated 2,172 lines of output.The output is too long and has been truncated to the last 1,000 lines. Download or view full build log.

16-Oct-2019 12:45:09 adding 'casatasks/private/task_imhistory.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_immath.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_immoments.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_impbcor.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_importasap.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_importasdm.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_importatca.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_importfits.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_importfitsidi.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_importgmrt.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_importmiriad.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_importnro.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_importuvfits.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_importvla.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_impv.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_imrebin.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_imreframe.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_imregrid.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_imsmooth.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_imstat.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_imsubimage.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_imtrans.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_imval.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_initweights.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_listcal.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_listfits.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_listhistory.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_listobs.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_listpartition.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_listsdm.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_listvis.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_logging.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_makemask.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_mstransform.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_partition.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_plotants.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_plotbandpass.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_plotweather.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_polcal.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_polfromgain.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_predictcomp.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_rerefant.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_rmfit.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_rmtables.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_sdbaseline.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_sdcal.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_sdfit.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_sdfixscan.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_sdgaincal.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_sdimaging.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_sdsmooth.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_setjy.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_simalma.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_simanalyze.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_simobserve.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_slsearch.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_smoothcal.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_specfit.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_specflux.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_specsmooth.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_splattotable.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_split.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_spxfit.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_statwt.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_tclean.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_uvcontsub.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_uvmodelfit.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_uvsub.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_virtualconcat.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_vishead.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_visstat.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/task_widebandpbcor.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/update_spw.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/userconfig.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/vishead_util.py'
16-Oct-2019 12:45:09 adding 'casatasks/private/imagerhelpers/__init__.py'
16-Oct-2019 12:45:10 adding 'casatasks/private/imagerhelpers/imager_base.py'
16-Oct-2019 12:45:10 adding 'casatasks/private/imagerhelpers/imager_parallel_continuum.py'
16-Oct-2019 12:45:10 adding 'casatasks/private/imagerhelpers/imager_parallel_cube.py'
16-Oct-2019 12:45:10 adding 'casatasks/private/imagerhelpers/imager_parallel_deconvolver.py'
16-Oct-2019 12:45:10 adding 'casatasks/private/imagerhelpers/input_parameters.py'
16-Oct-2019 12:45:10 adding 'casatasks/private/imagerhelpers/parallel_imager_helper.py'
16-Oct-2019 12:45:10 adding 'casatasks/private/parallel/__init__.py'
16-Oct-2019 12:45:10 adding 'casatasks/private/parallel/parallel_data_helper.py'
16-Oct-2019 12:45:10 adding 'casatasks/private/parallel/parallel_task_helper.py'
16-Oct-2019 12:45:10 adding 'casatasks/private/parallel/rflag_post_proc.py'
16-Oct-2019 12:45:10 adding 'casatasks-2019.167.dist-info/METADATA'
16-Oct-2019 12:45:10 adding 'casatasks-2019.167.dist-info/WHEEL'
16-Oct-2019 12:45:10 adding 'casatasks-2019.167.dist-info/top_level.txt'
16-Oct-2019 12:45:10 adding 'casatasks-2019.167.dist-info/RECORD'
16-Oct-2019 12:45:10 removing build/bdist.linux-x86_64/wheel
16-Oct-2019 12:45:10 Cloning into 'casatasks'...
16-Oct-2019 12:45:11 Cloning into 'casa-build-utils'...
16-Oct-2019 12:45:12 diff --git a/src/scripts/flaghelper.py b/src/scripts/flaghelper.py
16-Oct-2019 12:45:12 index d16f900..64e98eb 100644
16-Oct-2019 12:45:12 --- a/src/scripts/flaghelper.py
16-Oct-2019 12:45:12 +++ b/src/scripts/flaghelper.py
16-Oct-2019 12:45:12 @@ -1969,20 +1969,20 @@ def evaluateFlagParameters(pardict, pars):
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12      """
16-Oct-2019 12:45:12      if is_CASA6:
16-Oct-2019 12:45:12 -        from casatasks import flagdata
16-Oct-2019 12:45:12 +        from casatasks.flagdata import flagdata
16-Oct-2019 12:45:12      else:
16-Oct-2019 12:45:12          from tasks import flagdata
16-Oct-2019 12:45:12 -     
16-Oct-2019 12:45:12 +
16-Oct-2019 12:45:12      # Make a deepcopy of flagdata parameters dictionary for modification
16-Oct-2019 12:45:12      fpars = copy.deepcopy(pars)
16-Oct-2019 12:45:12  
16-Oct-2019 12:45:12      # Get the defaults of each parameter
16-Oct-2019 12:45:12      for par in fpars.keys():
16-Oct-2019 12:45:12          if is_CASA6:
16-Oct-2019 12:45:12 -            fpars[par] = get_task_arg_default(flagdata,par)
16-Oct-2019 12:45:12 +            fpars[par] = get_task_arg_default(flagdata, par)
16-Oct-2019 12:45:12          else:
16-Oct-2019 12:45:12              fpars[par] = flagdata.itsdefault(par)
16-Oct-2019 12:45:12 -     
16-Oct-2019 12:45:12 +
16-Oct-2019 12:45:12      # Define the parameters that don't go in an input list in flagdata
16-Oct-2019 12:45:12      removepars = ['vis','inpfile','flagbackup','tbuff','cmdreason','savepars','outfile',
16-Oct-2019 12:45:12                    'display','action']
16-Oct-2019 12:45:12 diff --git a/src/scripts/simutil.py b/src/scripts/simutil.py
16-Oct-2019 12:45:12 index 2ad2c2d..b60750d 100644
16-Oct-2019 12:45:12 --- a/src/scripts/simutil.py
16-Oct-2019 12:45:12 +++ b/src/scripts/simutil.py
16-Oct-2019 12:45:12 @@ -510,6 +510,8 @@ class simutil:
16-Oct-2019 12:45:12          # haveing eliminated other options, we need to calculate:
16-Oct-2019 12:45:12          epoch, centx, centy = self.direction_splitter()
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 +        pointings = []
16-Oct-2019 12:45:12 +
16-Oct-2019 12:45:12          shorttype=str.upper(maptype[0:3])
16-Oct-2019 12:45:12 #        if not shorttype=="HEX":
16-Oct-2019 12:45:12 #            self.msg("can't calculate map of maptype "+maptype,priority="error")
16-Oct-2019 12:45:12 @@ -1460,8 +1462,9 @@ class simutil:
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12          # where to start plotting?
16-Oct-2019 12:45:12          offset=-0.5
16-Oct-2019 12:45:12 -        if settime < time: offset-=0.5
16-Oct-2019 12:45:12 -        if rise > time: offset+=0.5
16-Oct-2019 12:45:12 +        # this assumes that the values can be compared directly - already assumed in code above
16-Oct-2019 12:45:12 +        if settime['m0']['value'] < time['m0']['value']: offset -= 0.5
16-Oct-2019 12:45:12 +        if rise['m0']['value'] > time['m0']['value']: offset+=0.5
16-Oct-2019 12:45:12          time['m0']['value']+=offset
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12          times=[]
16-Oct-2019 12:45:12 diff --git a/src/tasks/task_simobserve.py b/src/tasks/task_simobserve.py
16-Oct-2019 12:45:12 index 3af91e4..b70f2a2 100644
16-Oct-2019 12:45:12 --- a/src/tasks/task_simobserve.py
16-Oct-2019 12:45:12 +++ b/src/tasks/task_simobserve.py
16-Oct-2019 12:45:12 @@ -6,7 +6,7 @@ import pylab as pl
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 from casatasks.private.casa_transition import is_CASA6
16-Oct-2019 12:45:12 if is_CASA6:
16-Oct-2019 12:45:12 -    from casatools import ctsys, quanta
16-Oct-2019 12:45:12 +    from casatools import ctsys, quanta, imager
16-Oct-2019 12:45:12      from casatasks import casalog
16-Oct-2019 12:45:12      from .simutil import *
16-Oct-2019 12:45:12      from .simutil import is_array_type
16-Oct-2019 12:45:12 @@ -18,6 +18,8 @@ else:
16-Oct-2019 12:45:12      from casa_stack_manip import stack_frame_find
16-Oct-2019 12:45:12      from simutil import is_array_type
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 +    imager = imtool
16-Oct-2019 12:45:12 +
16-Oct-2019 12:45:12 def simobserve(
16-Oct-2019 12:45:12      project=None,
16-Oct-2019 12:45:12      skymodel=None, inbright=None, indirection=None, incell=None,
16-Oct-2019 12:45:12 @@ -137,15 +139,13 @@ def simobserve(
16-Oct-2019 12:45:12                  return False
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 +        # saveinputs is not available in casatasks
16-Oct-2019 12:45:12          if not is_CASA6:
16-Oct-2019 12:45:12              saveinputs = myf['saveinputs']
16-Oct-2019 12:45:12              # something broken in saveinputs
16-Oct-2019 12:45:12              in_params['antennalist']=''+in_params['antennalist']+''
16-Oct-2019 12:45:12              saveinputs('simobserve',fileroot+"/"+project+".simobserve.last",
16-Oct-2019 12:45:12                         myparams=in_params)
16-Oct-2019 12:45:12 -        else:
16-Oct-2019 12:45:12 -            casalog.post("saveinputs not available in casatasks, skipping saving simobserve inputs", priority='WARN')
16-Oct-2019 12:45:12 -
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12          if is_array_type(skymodel):
16-Oct-2019 12:45:12              skymodel = skymodel[0]
16-Oct-2019 12:45:12 @@ -1201,13 +1201,14 @@ def simobserve(
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12                      # show dirty beam from observed uv coverage
16-Oct-2019 12:45:12                      util.nextfig()
16-Oct-2019 12:45:12 -                    im.open(msfile)
16-Oct-2019 12:45:12 +                    imt = imager()
16-Oct-2019 12:45:12 +                    imt.open(msfile)
16-Oct-2019 12:45:12                      # TODO spectral parms
16-Oct-2019 12:45:12                      msg("using default model cell "+str(model_cell[0])+
16-Oct-2019 12:45:12                          " for PSF calculation",origin='simobserve')
16-Oct-2019 12:45:12 -                    im.defineimage(cellx=str(model_cell[0]["value"])+
16-Oct-2019 12:45:12 -                                   str(model_cell[0]["unit"]),
16-Oct-2019 12:45:12 -                                   nx=int(max([minimsize,128])))
16-Oct-2019 12:45:12 +                    imt.defineimage(cellx=str(model_cell[0]["value"])+
16-Oct-2019 12:45:12 +                                    str(model_cell[0]["unit"]),
16-Oct-2019 12:45:12 +                                    nx=int(max([minimsize,128])))
16-Oct-2019 12:45:12                      # TODO trigger im.setoptions(ftmachine="mosaic")
16-Oct-2019 12:45:12                      if os.path.exists(fileroot+"/"+project+".quick.psf"):
16-Oct-2019 12:45:12                          shutil.rmtree(fileroot+"/"+project+".quick.psf")
16-Oct-2019 12:45:12 @@ -1216,13 +1217,13 @@ def simobserve(
16-Oct-2019 12:45:12                      # temporarily(?) suppress that
16-Oct-2019 12:45:12                      if not telescopename in me.obslist():
16-Oct-2019 12:45:12                          casalog.filter("ERROR")                       
16-Oct-2019 12:45:12 -                    im.approximatepsf(psf=fileroot+"/"+project+".quick.psf")
16-Oct-2019 12:45:12 +                    imt.approximatepsf(psf=fileroot+"/"+project+".quick.psf")
16-Oct-2019 12:45:12                      if not telescopename in me.obslist():
16-Oct-2019 12:45:12                          casalog.filter() # set back to default level.
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12                      quickpsf_current = True
16-Oct-2019 12:45:12 -                    beam = im.fitpsf(psf=fileroot+"/"+project+".quick.psf")
16-Oct-2019 12:45:12 -                    im.done()
16-Oct-2019 12:45:12 +                    beam = imt.fitpsf(psf=fileroot+"/"+project+".quick.psf")
16-Oct-2019 12:45:12 +                    imt.done()
16-Oct-2019 12:45:12                      ia.open(fileroot+"/"+project+".quick.psf")
16-Oct-2019 12:45:12                      beamcs = ia.coordsys()
16-Oct-2019 12:45:12                      beam_array = ia.getchunk(axes=[beamcs.findcoordinate("spectral")['pixel'][0],beamcs.findcoordinate("stokes")['pixel'][0]],dropdeg=True)
16-Oct-2019 12:45:12 diff --git a/tests/tasks/test_simobserve.py b/tests/tasks/test_simobserve.py
16-Oct-2019 12:45:12 index 6990daa..623092d 100644
16-Oct-2019 12:45:12 --- a/tests/tasks/test_simobserve.py
16-Oct-2019 12:45:12 +++ b/tests/tasks/test_simobserve.py
16-Oct-2019 12:45:12 @@ -81,7 +81,7 @@ class simobserve_unittest_base(unittest.TestCase):
16-Oct-2019 12:45:12          _ms.open(name)
16-Oct-2019 12:45:12          stats = _ms.statistics(column, compval)
16-Oct-2019 12:45:12          _ms.close()
16-Oct-2019 12:45:12 -        return stats[stats.keys()[0]]
16-Oct-2019 12:45:12 +        return stats[list(stats.keys())[0]]
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12      def _check_imstats(self, name, ref, rtol=None, atol=None):
16-Oct-2019 12:45:12          # ref: a dictionary of reference statistics or reference image name
16-Oct-2019 12:45:12 @@ -277,7 +277,6 @@ class simobserve_sky(simobserve_unittest_base):
16-Oct-2019 12:45:12          #pass
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12      # Tests of skymodel simulations
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"'int' object is not subscriptable. In task_simobserve. - needs to be fixed")
16-Oct-2019 12:45:12      def testSky_skymodel(self):
16-Oct-2019 12:45:12          """Test skymodel simulation: only modify model"""
16-Oct-2019 12:45:12          skymodel = self.inmodel
16-Oct-2019 12:45:12 @@ -304,7 +303,6 @@ class simobserve_sky(simobserve_unittest_base):
16-Oct-2019 12:45:12                      self._get_data_prefix(antennalist,self.project)+".skymodel"
16-Oct-2019 12:45:12          self._check_imstats(currmodel, self.refmodel)
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"'int' object is not subscriptable. In task_simobserve. - needs to be fixed")
16-Oct-2019 12:45:12      def testSky_almaptg(self):
16-Oct-2019 12:45:12          """Test skymodel simulation: only setpointing (maptype='ALMA')"""
16-Oct-2019 12:45:12          skymodel = self.refmodel
16-Oct-2019 12:45:12 @@ -325,7 +323,6 @@ class simobserve_sky(simobserve_unittest_base):
16-Oct-2019 12:45:12          refptg = self.refpref + "alma.alma.out01.ptg.txt"
16-Oct-2019 12:45:12          self._check_ptgfile(currptg, refptg)
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"'int' object is not subscriptable. In task_simobserve. - needs to be fixed")
16-Oct-2019 12:45:12      def testSky_hexptg(self):
16-Oct-2019 12:45:12          """Test skymodel simulation: only setpointing (maptype='hexagonal')"""
16-Oct-2019 12:45:12          skymodel = self.refmodel
16-Oct-2019 12:45:12 @@ -346,7 +343,6 @@ class simobserve_sky(simobserve_unittest_base):
16-Oct-2019 12:45:12          refptg = self.refpref + "hex.aca.i.ptg.txt"
16-Oct-2019 12:45:12          self._check_ptgfile(currptg, refptg)
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Both antennnalist and sdantlist are defined. - needs to be fixed")
16-Oct-2019 12:45:12      def testSky_sqptg(self):
16-Oct-2019 12:45:12          """Test skymodel simulation: only setpointing (maptype='square')"""
16-Oct-2019 12:45:12          skymodel = self.refmodel
16-Oct-2019 12:45:12 @@ -367,7 +363,6 @@ class simobserve_sky(simobserve_unittest_base):
16-Oct-2019 12:45:12          refptg = self.refpref + "square.aca.tp.ptg.txt"
16-Oct-2019 12:45:12          self._check_ptgfile(currptg, refptg)
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"simulator tool assertion error here - needs to be fixed")
16-Oct-2019 12:45:12      def testSky_sdObs(self):
16-Oct-2019 12:45:12          """Test skymodel simulation: only observation (SD)"""
16-Oct-2019 12:45:12          skymodel = self.refmodel
16-Oct-2019 12:45:12 @@ -389,7 +384,6 @@ class simobserve_sky(simobserve_unittest_base):
16-Oct-2019 12:45:12          self._check_msstats(currms,self.refms_sd)
16-Oct-2019 12:45:12          
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"simulator tool assertion error here - needs to be fixed")
16-Oct-2019 12:45:12      def testSky_intObs(self):
16-Oct-2019 12:45:12          """Test skymodel simulation: only observation (INT)"""
16-Oct-2019 12:45:12          skymodel = self.refmodel
16-Oct-2019 12:45:12 @@ -403,7 +397,8 @@ class simobserve_sky(simobserve_unittest_base):
16-Oct-2019 12:45:12                           setpointings=setpointings,ptgfile=ptgfile,
16-Oct-2019 12:45:12                           integration=integration,obsmode=obsmode,
16-Oct-2019 12:45:12                           antennalist=antennalist,totaltime=totaltime,
16-Oct-2019 12:45:12 -                         thermalnoise="",graphics=self.graphics)
16-Oct-2019 12:45:12 +                         thermalnoise="",graphics=self.graphics,
16-Oct-2019 12:45:12 +                         refdate="2014/05/21",t_ground=269.)
16-Oct-2019 12:45:12          self.assertTrue(res)
16-Oct-2019 12:45:12          # compare output MS
16-Oct-2019 12:45:12          currms = self.project + "/" + \
16-Oct-2019 12:45:12 @@ -422,7 +417,6 @@ class simobserve_sky(simobserve_unittest_base):
16-Oct-2019 12:45:12                           obsmode=obsmode,thermalnoise="",
16-Oct-2019 12:45:12                           leakage=leakage,graphics=self.graphics)
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"simulator tool assertion error here - needs to be fixed")
16-Oct-2019 12:45:12      def testSky_sdAll(self):
16-Oct-2019 12:45:12          """Test skymodel simulation: single dish"""
16-Oct-2019 12:45:12          skymodel = self.inmodel
16-Oct-2019 12:45:12 @@ -453,7 +447,6 @@ class simobserve_sky(simobserve_unittest_base):
16-Oct-2019 12:45:12          self._check_ptgfile(currpref+".ptg.txt", self.refpref_sd+".ptg.txt")
16-Oct-2019 12:45:12          self._check_msstats(currpref+".sd.ms",self.refms_sd)
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"simulator tool assertion error here - needs to be fixed")
16-Oct-2019 12:45:12      def testSky_intAll(self):
16-Oct-2019 12:45:12          """Test skymodel simulation: interferometer"""
16-Oct-2019 12:45:12          skymodel = self.inmodel
16-Oct-2019 12:45:12 @@ -475,7 +468,8 @@ class simobserve_sky(simobserve_unittest_base):
16-Oct-2019 12:45:12                           setpointings=True,integration=integration,
16-Oct-2019 12:45:12                           mapsize=mapsize,maptype=maptype,obsmode=obsmode,
16-Oct-2019 12:45:12                           totaltime=totaltime,antennalist=antennalist,
16-Oct-2019 12:45:12 -                         thermalnoise="",graphics=self.graphics)
16-Oct-2019 12:45:12 +                         thermalnoise="",graphics=self.graphics,
16-Oct-2019 12:45:12 +                         refdate="2014/05/21",t_ground=269.)
16-Oct-2019 12:45:12          self.assertTrue(res)
16-Oct-2019 12:45:12          # compare outputs
16-Oct-2019 12:45:12          currpref = self.project + "/" + \
16-Oct-2019 12:45:12 @@ -652,7 +646,6 @@ class simobserve_comp(simobserve_unittest_base):
16-Oct-2019 12:45:12                   self._get_data_prefix(sdantlist,self.project)+".sd.ms"
16-Oct-2019 12:45:12          self._check_msstats(currms,self.refms_sd)
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"simulator tool assertion error here - needs to be fixed")
16-Oct-2019 12:45:12      def testComp_intObs(self):
16-Oct-2019 12:45:12          """Test complist simulation: only observation (INT)"""
16-Oct-2019 12:45:12          complist = self.incomp
16-Oct-2019 12:45:12 @@ -669,7 +662,8 @@ class simobserve_comp(simobserve_unittest_base):
16-Oct-2019 12:45:12                           setpointings=setpointings,ptgfile=ptgfile,
16-Oct-2019 12:45:12                           integration=integration,obsmode=obsmode,
16-Oct-2019 12:45:12                           antennalist=antennalist,totaltime=totaltime,
16-Oct-2019 12:45:12 -                         thermalnoise="",graphics=self.graphics)
16-Oct-2019 12:45:12 +                         thermalnoise="",graphics=self.graphics,
16-Oct-2019 12:45:12 +                         refdate="2014/05/21",t_ground=269.)
16-Oct-2019 12:45:12          self.assertTrue(res)
16-Oct-2019 12:45:12          # compare output MS
16-Oct-2019 12:45:12          currms = self.project + "/" + \
16-Oct-2019 12:45:12 @@ -719,7 +713,6 @@ class simobserve_comp(simobserve_unittest_base):
16-Oct-2019 12:45:12          self._check_ptgfile(currpref+".ptg.txt", self.refpref_sd+".ptg.txt")
16-Oct-2019 12:45:12          self._check_msstats(currpref+".sd.ms",self.refms_sd)
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"simulator tool assertion error here - needs to be fixed")
16-Oct-2019 12:45:12      def testComp_intAll(self):
16-Oct-2019 12:45:12          """Test complist simulation: interferometer"""
16-Oct-2019 12:45:12          complist = self.incomp
16-Oct-2019 12:45:12 @@ -738,7 +731,8 @@ class simobserve_comp(simobserve_unittest_base):
16-Oct-2019 12:45:12                           direction=direction,mapsize=mapsize,maptype=maptype,
16-Oct-2019 12:45:12                           obsmode=obsmode,totaltime=totaltime,
16-Oct-2019 12:45:12                           antennalist=antennalist,thermalnoise="",
16-Oct-2019 12:45:12 -                         graphics=self.graphics)
16-Oct-2019 12:45:12 +                         graphics=self.graphics,
16-Oct-2019 12:45:12 +                         refdate="2014/05/21",t_ground=269.)
16-Oct-2019 12:45:12          self.assertTrue(res)
16-Oct-2019 12:45:12          # compare outputs
16-Oct-2019 12:45:12          currpref = self.project + "/" + \
16-Oct-2019 12:45:12 @@ -747,7 +741,6 @@ class simobserve_comp(simobserve_unittest_base):
16-Oct-2019 12:45:12          self._check_ptgfile(currpref+".ptg.txt", self.refpref_int+".ptg.txt")
16-Oct-2019 12:45:12          self._check_msstats(currpref+".ms",self.refms_int)
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Failed AlwaysAssert sdirections.nelements() == nptg - needs to be fixed.")
16-Oct-2019 12:45:12      def testComp_intNchan(self):
16-Oct-2019 12:45:12          """Test complist simulation: interferometer, but with comp_nchan > 1"""
16-Oct-2019 12:45:12          complist = self.incomp
16-Oct-2019 12:45:12 @@ -766,7 +759,8 @@ class simobserve_comp(simobserve_unittest_base):
16-Oct-2019 12:45:12                           integration=integration,direction=direction,
16-Oct-2019 12:45:12                           mapsize=mapsize,maptype=maptype,obsmode=obsmode,
16-Oct-2019 12:45:12                           totaltime=totaltime,antennalist=antennalist,
16-Oct-2019 12:45:12 -                         thermalnoise="",graphics=self.graphics)
16-Oct-2019 12:45:12 +                         thermalnoise="",graphics=self.graphics,
16-Oct-2019 12:45:12 +                         refdate="2014/05/21",t_ground=269.)
16-Oct-2019 12:45:12          self.assertTrue(res)
16-Oct-2019 12:45:12          # compare outputs
16-Oct-2019 12:45:12          currpref = self.project + "/" + \
16-Oct-2019 12:45:12 @@ -957,7 +951,6 @@ class simobserve_skycomp(simobserve_unittest_base):
16-Oct-2019 12:45:12                   self._get_data_prefix(sdantlist,self.project)+".sd.ms"
16-Oct-2019 12:45:12          self._check_msstats(currms,self.refms_sd,rtol=self.rtol_sdms)
16-Oct-2019 12:45:12          
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"simulator tool assertion error here - needs to be fixed")
16-Oct-2019 12:45:12      def testSC_intObs(self):
16-Oct-2019 12:45:12          """Test skymodel + complist simulation: only observation (INT)"""
16-Oct-2019 12:45:12          skymodel = self.inmodel
16-Oct-2019 12:45:12 @@ -1028,7 +1021,6 @@ class simobserve_skycomp(simobserve_unittest_base):
16-Oct-2019 12:45:12          self._check_ptgfile(currpref+".ptg.txt", self.refpref_sd+".ptg.txt")
16-Oct-2019 12:45:12          self._check_msstats(currpref+".sd.ms",self.refms_sd,rtol=self.rtol_sdms)
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"simulator tool assertion error here - needs to be fixed")
16-Oct-2019 12:45:12      def testSC_intAll(self):
16-Oct-2019 12:45:12          """Test skymodel + complist simulation: interferometer"""
16-Oct-2019 12:45:12          skymodel = self.inmodel
16-Oct-2019 12:45:12 @@ -1109,7 +1101,6 @@ class simobserve_noise(simobserve_unittest_base):
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12      #-----------------------------------------------------------------#
16-Oct-2019 12:45:12      # thermalnoise = "tsys-manual"
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"int object is not subscriptable' in task_simobserve - needs to be fixed")
16-Oct-2019 12:45:12      def testNZ_intMan(self):
16-Oct-2019 12:45:12          """Test INT thermal noise (tsys-manual)"""
16-Oct-2019 12:45:12          project = self.project_int
16-Oct-2019 12:45:12 @@ -1140,7 +1131,6 @@ class simobserve_noise(simobserve_unittest_base):
16-Oct-2019 12:45:12          self.assertTrue(abs((msnoise-ananoise)/ananoise) < 1.e-1, \
16-Oct-2019 12:45:12                          msg=self.anamsg % (msnoise, ananoise))
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Both antennalist and sdantlist are defined. Define one of them. - needs to be fixed")
16-Oct-2019 12:45:12      def testNZ_sdMan(self):
16-Oct-2019 12:45:12          """Test SD thermal noise (tsys-manual): standard parameter set"""
16-Oct-2019 12:45:12          thermalnoise="tsys-manual"
16-Oct-2019 12:45:12 @@ -1166,7 +1156,6 @@ class simobserve_noise(simobserve_unittest_base):
16-Oct-2019 12:45:12          self.assertTrue(abs((msnoise-ananoise)/ananoise) < 1.e-1, \
16-Oct-2019 12:45:12                          msg=self.anamsg % (msnoise, ananoise))
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Both antennalist and sdantlist are defined. Define one of them. - needs to be fixed")
16-Oct-2019 12:45:12      def testNZ_sdMan_tau(self):
16-Oct-2019 12:45:12          """Test SD thermal noise (tsys-manual): tau0=1.5"""
16-Oct-2019 12:45:12          thermalnoise="tsys-manual"
16-Oct-2019 12:45:12 @@ -1193,7 +1182,6 @@ class simobserve_noise(simobserve_unittest_base):
16-Oct-2019 12:45:12          self.assertTrue(abs((msnoise-ananoise)/ananoise) < 1.e-1, \
16-Oct-2019 12:45:12                          msg=self.anamsg % (msnoise, ananoise))
16-Oct-2019 12:45:12          
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"simulator tool assertion error here - needs to be fixed")
16-Oct-2019 12:45:12      def testNZ_sdMan_dnu(self):
16-Oct-2019 12:45:12          """Test SD thermal noise (tsys-manual): inwidth='1MHz'"""
16-Oct-2019 12:45:12          thermalnoise="tsys-manual"
16-Oct-2019 12:45:12 @@ -1222,7 +1210,6 @@ class simobserve_noise(simobserve_unittest_base):
16-Oct-2019 12:45:12          self.assertTrue(abs((msnoise-ananoise)/ananoise) < 1.e-1, \
16-Oct-2019 12:45:12                          msg=self.anamsg % (msnoise, ananoise))
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"simulator tool assertion error here - needs to be fixed")
16-Oct-2019 12:45:12      def testNZ_sdMan_tint(self):
16-Oct-2019 12:45:12          """Test SD thermal noise (tsys-manual): integration='2s'"""
16-Oct-2019 12:45:12          thermalnoise="tsys-manual"
16-Oct-2019 12:45:12 @@ -1252,7 +1239,6 @@ class simobserve_noise(simobserve_unittest_base):
16-Oct-2019 12:45:12          self.assertTrue(abs((msnoise-ananoise)/ananoise) < 1.e-1, \
16-Oct-2019 12:45:12                          msg=self.anamsg % (msnoise, ananoise))
16-Oct-2019 12:45:12          
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"simulator tool assertion error here - needs to be fixed")
16-Oct-2019 12:45:12      def testNZ_sdMan_el(self):
16-Oct-2019 12:45:12          """Test SD thermal noise (tsys-manual): elevation = 60 deg"""
16-Oct-2019 12:45:12          thermalnoise="tsys-manual"
16-Oct-2019 12:45:12 @@ -1315,7 +1301,6 @@ class simobserve_noise(simobserve_unittest_base):
16-Oct-2019 12:45:12          self.assertTrue(abs((msnoise-ananoise)/ananoise) < 1.e-1, \
16-Oct-2019 12:45:12                          msg=self.anamsg % (msnoise, ananoise))
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"noise level differs by my nore than 10% error shown - needs to be fixed")
16-Oct-2019 12:45:12      def testNZ_sdAtm(self):
16-Oct-2019 12:45:12          """Test SD thermal noise (tsys-atm): standard parameter set"""
16-Oct-2019 12:45:12          thermalnoise="tsys-atm"
16-Oct-2019 12:45:12 @@ -1341,7 +1326,6 @@ class simobserve_noise(simobserve_unittest_base):
16-Oct-2019 12:45:12          self.assertTrue(abs((msnoise-ananoise)/ananoise) < 1.e-1, \
16-Oct-2019 12:45:12                          msg=self.anamsg % (msnoise, ananoise))
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"noise level differs by my nore than 10% error shown - needs to be fixed")
16-Oct-2019 12:45:12      def testNZ_sdAtm_pwv(self):
16-Oct-2019 12:45:12          """Test SD thermal noise (tsys-atm): pwv = 2.0"""
16-Oct-2019 12:45:12          thermalnoise="tsys-atm"
16-Oct-2019 12:45:12 @@ -1368,7 +1352,6 @@ class simobserve_noise(simobserve_unittest_base):
16-Oct-2019 12:45:12          self.assertTrue(abs((msnoise-ananoise)/ananoise) < 1.e-1, \
16-Oct-2019 12:45:12                          msg=self.anamsg % (msnoise, ananoise))
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"simulator tool assertion error here - needs to be fixed")
16-Oct-2019 12:45:12      def testNZ_sdAtm_dnu(self):
16-Oct-2019 12:45:12          """Test SD thermal noise (tsys-atm): inwidth='1MHz'"""
16-Oct-2019 12:45:12          thermalnoise="tsys-atm"
16-Oct-2019 12:45:12 @@ -1380,7 +1363,8 @@ class simobserve_noise(simobserve_unittest_base):
16-Oct-2019 12:45:12                           obsmode='sd',sdantlist=self.sdantlist,
16-Oct-2019 12:45:12                           antennalist=self.antennalist,totaltime=self.tottime,
16-Oct-2019 12:45:12                           thermalnoise=thermalnoise,user_pwv=self.pwv,
16-Oct-2019 12:45:12 -                         graphics=self.graphics)
16-Oct-2019 12:45:12 +                         graphics=self.graphics,
16-Oct-2019 12:45:12 +                         refdate="2014/05/21",t_ground=269.)
16-Oct-2019 12:45:12          self.assertTrue(res)
16-Oct-2019 12:45:12          # check for output file
16-Oct-2019 12:45:12          msdict = self._get_ms_names(self.project,self.sdantlist)
16-Oct-2019 12:45:12 @@ -1397,7 +1381,6 @@ class simobserve_noise(simobserve_unittest_base):
16-Oct-2019 12:45:12          self.assertTrue(abs((msnoise-ananoise)/ananoise) < 1.e-1, \
16-Oct-2019 12:45:12                          msg=self.anamsg % (msnoise, ananoise))
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"simulator tool assertion error here - needs to be fixed")
16-Oct-2019 12:45:12      def testNZ_sdAtm_tint(self):
16-Oct-2019 12:45:12          """Test SD thermal noise (tsys-atm): integration = '2s'"""
16-Oct-2019 12:45:12          thermalnoise="tsys-atm"
16-Oct-2019 12:45:12 @@ -1427,7 +1410,6 @@ class simobserve_noise(simobserve_unittest_base):
16-Oct-2019 12:45:12          self.assertTrue(abs((msnoise-ananoise)/ananoise) < 1.e-1, \
16-Oct-2019 12:45:12                          msg=self.anamsg % (msnoise, ananoise))
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"simulator tool assertion error here - needs to be fixed")
16-Oct-2019 12:45:12      def testNZ_sdAtm_el(self):
16-Oct-2019 12:45:12          """Test SD thermal noise (tsys-atm): elevation = 60 deg"""
16-Oct-2019 12:45:12          thermalnoise="tsys-atm"
16-Oct-2019 12:45:12 @@ -1617,6 +1599,11 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12      failmsg = "The task must throw exception"
16-Oct-2019 12:45:12      errmsg = "Unexpected exception was thrown: %s"
16-Oct-2019 12:45:12 +
16-Oct-2019 12:45:12 +    # NOTE: antennalist argument added to make this work in casataks where
16-Oct-2019 12:45:12 +    # the constraints in the xml arguments are not applied (that happens
16-Oct-2019 12:45:12 +    # in casalith). The value used is what that constraint value is for
16-Oct-2019 12:45:12 +    # these cases (obsmode="int", the default obsmode value)
16-Oct-2019 12:45:12      
16-Oct-2019 12:45:12      # Reserved methods of unit tests
16-Oct-2019 12:45:12      def setUp(self):
16-Oct-2019 12:45:12 @@ -1648,11 +1635,10 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12                      shutil.rmtree(self.project)
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12      # Tests on invalid parameter sets
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12      def test_default(self):
16-Oct-2019 12:45:12          """Test Default parameter set. Neigher skymodel nor complist"""
16-Oct-2019 12:45:12          try:
16-Oct-2019 12:45:12 -            res = simobserve()
16-Oct-2019 12:45:12 +            res = simobserve(antennalist="alma.out10.cfg")
16-Oct-2019 12:45:12              self.fail(self.failmsg)
16-Oct-2019 12:45:12          except Exception as e:
16-Oct-2019 12:45:12              pos=str(e).find("At least one of skymodel or complist must be set.")
16-Oct-2019 12:45:12 @@ -1660,12 +1646,11 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12      def test_noProject(self):
16-Oct-2019 12:45:12          """Test no project name"""
16-Oct-2019 12:45:12          project = ''
16-Oct-2019 12:45:12          try:
16-Oct-2019 12:45:12 -            res = simobserve(project=project)
16-Oct-2019 12:45:12 +            res = simobserve(project=project,antennalist="alma.out10.cfg")
16-Oct-2019 12:45:12              self.fail(self.failmsg)
16-Oct-2019 12:45:12          except Exception as e:
16-Oct-2019 12:45:12              pos=str(e).find("No such file or directory: ''")
16-Oct-2019 12:45:12 @@ -1673,24 +1658,22 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)
16-Oct-2019 12:45:12          
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12      def testBad_skymodel(self):
16-Oct-2019 12:45:12          """Test bad skymodel name"""
16-Oct-2019 12:45:12          skymodel=self.badname
16-Oct-2019 12:45:12          try:
16-Oct-2019 12:45:12 -            res = simobserve(project=self.project,skymodel=skymodel)
16-Oct-2019 12:45:12 +            res = simobserve(project=self.project,skymodel=skymodel,antennalist="alma.out10.cfg")
16-Oct-2019 12:45:12              self.fail(self.failmsg)
16-Oct-2019 12:45:12          except Exception as e:
16-Oct-2019 12:45:12              pos=str(e).find("No sky input found")
16-Oct-2019 12:45:12              msg =  self.errmsg % str(e)
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12      def test_notImage(self):
16-Oct-2019 12:45:12          """Test non-image skymodel"""
16-Oct-2019 12:45:12          skymodel=self.incomp
16-Oct-2019 12:45:12          try:
16-Oct-2019 12:45:12 -            res = simobserve(project=self.project,
16-Oct-2019 12:45:12 +            res = simobserve(project=self.project,antennalist="alma.out10.cfg",
16-Oct-2019 12:45:12                               totaltime=self.tottime,mapsize=self.mapsize,
16-Oct-2019 12:45:12                               skymodel=skymodel)
16-Oct-2019 12:45:12              self.fail(self.failmsg)
16-Oct-2019 12:45:12 @@ -1699,45 +1682,46 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12              msg =  self.errmsg % str(e)
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)
16-Oct-2019 12:45:12          
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12      def testBad_inbright(self):
16-Oct-2019 12:45:12          """Test bad inbright"""
16-Oct-2019 12:45:12          inbright=self.badquant
16-Oct-2019 12:45:12          try:
16-Oct-2019 12:45:12              res = simobserve(project=self.project,skymodel=self.inimage,
16-Oct-2019 12:45:12                               totaltime=self.tottime,mapsize=self.mapsize,
16-Oct-2019 12:45:12 -                             inbright=inbright)
16-Oct-2019 12:45:12 +                             inbright=inbright,antennalist="alma.out10.cfg")
16-Oct-2019 12:45:12              self.fail(self.failmsg)
16-Oct-2019 12:45:12          except Exception as e:
16-Oct-2019 12:45:12 -            pos=str(e).find("invalid literal for float(): %s" % inbright)
16-Oct-2019 12:45:12 +            if is_CASA6:
16-Oct-2019 12:45:12 +                pos=str(e).find("could not convert string to float: '%s'" % inbright)
16-Oct-2019 12:45:12 +            else:
16-Oct-2019 12:45:12 +                pos=str(e).find("invalid literal for float(): %s" % inbright)
16-Oct-2019 12:45:12              msg =  self.errmsg % str(e)
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12      def testBad_indirection(self):
16-Oct-2019 12:45:12          """Test bad indirection ('J3000' is defaulted to 'J2000')"""
16-Oct-2019 12:45:12          indirection=self.baddir
16-Oct-2019 12:45:12          res = simobserve(project=self.project,skymodel=self.inimage,
16-Oct-2019 12:45:12                           totaltime=self.tottime,mapsize=self.mapsize,
16-Oct-2019 12:45:12 -                         indirection=indirection,graphics=self.graphics)
16-Oct-2019 12:45:12 +                         indirection=indirection,graphics=self.graphics,
16-Oct-2019 12:45:12 +                         antennalist="alma.out10.cfg")
16-Oct-2019 12:45:12          self.assertTrue(res)
16-Oct-2019 12:45:12          # Need to compare MS with one generated with J2000
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12      def testBad_incell(self):
16-Oct-2019 12:45:12          """Test bad incell"""
16-Oct-2019 12:45:12          incell=self.badquant
16-Oct-2019 12:45:12          try:
16-Oct-2019 12:45:12              res = simobserve(project=self.project,skymodel=self.inimage,
16-Oct-2019 12:45:12                               totaltime=self.tottime,mapsize=self.mapsize,
16-Oct-2019 12:45:12 -                             incell=incell)
16-Oct-2019 12:45:12 +                             incell=incell,
16-Oct-2019 12:45:12 +                             antennalist="alma.out10.cfg")
16-Oct-2019 12:45:12              self.fail(self.failmsg)
16-Oct-2019 12:45:12          except Exception as e:
16-Oct-2019 12:45:12              pos=str(e).find('Error in QuantumHolder::fromString with input string "%s": Illegal input units or format' % incell)
16-Oct-2019 12:45:12              msg =  self.errmsg % str(e)
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12      def testBad_incenter(self):
16-Oct-2019 12:45:12          """Test bad incenter"""
16-Oct-2019 12:45:12          # Negaitve and non-frequency quantity are ignored
16-Oct-2019 12:45:12 @@ -1745,11 +1729,11 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12          res = simobserve(project=self.project,skymodel=self.inimage,
16-Oct-2019 12:45:12                           totaltime=self.tottime,mapsize=self.mapsize,
16-Oct-2019 12:45:12 -                         incenter=incenter,graphics=self.graphics)
16-Oct-2019 12:45:12 +                         incenter=incenter,graphics=self.graphics,
16-Oct-2019 12:45:12 +                         antennalist="alma.out10.cfg")
16-Oct-2019 12:45:12          self.assertTrue(res)
16-Oct-2019 12:45:12          # Need to compare MS with one generated with J2000
16-Oct-2019 12:45:12          
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12      def testBad_inwidth(self):
16-Oct-2019 12:45:12          """Test bad inwidth"""
16-Oct-2019 12:45:12          # Negaitve and non-frequency quantity are ignored
16-Oct-2019 12:45:12 @@ -1757,37 +1741,37 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12          res = simobserve(project=self.project,skymodel=self.inimage,
16-Oct-2019 12:45:12                           totaltime=self.tottime,mapsize=self.mapsize,
16-Oct-2019 12:45:12 -                         inwidth=inwidth,graphics=self.graphics)
16-Oct-2019 12:45:12 +                         inwidth=inwidth,graphics=self.graphics,
16-Oct-2019 12:45:12 +                         antennalist="alma.out10.cfg")
16-Oct-2019 12:45:12          self.assertTrue(res)
16-Oct-2019 12:45:12          # Need to compare MS with one generated with J2000
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12      def testBad_complist(self):
16-Oct-2019 12:45:12          """Test bad complist name"""
16-Oct-2019 12:45:12          complist=self.badname
16-Oct-2019 12:45:12          try:
16-Oct-2019 12:45:12              res = simobserve(project=self.project,complist=complist,
16-Oct-2019 12:45:12 -                             totaltime=self.tottime,mapsize=self.mapsize)
16-Oct-2019 12:45:12 +                             totaltime=self.tottime,mapsize=self.mapsize,
16-Oct-2019 12:45:12 +                             antennalist="alma.out10.cfg")
16-Oct-2019 12:45:12              self.fail(self.failmsg)
16-Oct-2019 12:45:12          except Exception as e:
16-Oct-2019 12:45:12              pos=str(e).find("No sky input found")
16-Oct-2019 12:45:12              msg =  self.errmsg % str(e)
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)
16-Oct-2019 12:45:12          
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12      def test_notComp(self):
16-Oct-2019 12:45:12          """Test non-components list complist"""
16-Oct-2019 12:45:12          complist=self.inimage
16-Oct-2019 12:45:12          try:
16-Oct-2019 12:45:12              res = simobserve(project=self.project,complist=complist,
16-Oct-2019 12:45:12 -                             totaltime=self.tottime,mapsize=self.mapsize)
16-Oct-2019 12:45:12 +                             totaltime=self.tottime,mapsize=self.mapsize,
16-Oct-2019 12:45:12 +                             antennalist="alma.out10.cfg")
16-Oct-2019 12:45:12              self.fail(self.failmsg)
16-Oct-2019 12:45:12          except Exception as e:
16-Oct-2019 12:45:12              pos=str(e).find("%s is non existant or is not a componentlist table" % complist)
16-Oct-2019 12:45:12              msg =  self.errmsg % str(e)
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12      def testBad_compwidth(self):
16-Oct-2019 12:45:12          """Test bad compwidth"""
16-Oct-2019 12:45:12          # not frequency
16-Oct-2019 12:45:12 @@ -1796,14 +1780,14 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12          try:
16-Oct-2019 12:45:12              res = simobserve(project=self.project,complist=self.incomp,
16-Oct-2019 12:45:12                               totaltime=self.tottime,mapsize=self.mapsize,
16-Oct-2019 12:45:12 -                             compwidth=compwidth,comp_nchan=comp_nchan)
16-Oct-2019 12:45:12 +                             compwidth=compwidth,comp_nchan=comp_nchan,
16-Oct-2019 12:45:12 +                             antennalist="alma.out10.cfg")
16-Oct-2019 12:45:12              self.fail(self.failmsg)
16-Oct-2019 12:45:12          except Exception as e:
16-Oct-2019 12:45:12              pos=str(e).find("Quantum::operator- unequal units 'GHz, 'arcsec'")
16-Oct-2019 12:45:12              msg =  self.errmsg % str(e)
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - unexpected comp_nchan keyword - fix this")
16-Oct-2019 12:45:12      def testBad_comp_nchan(self):
16-Oct-2019 12:45:12          """Test bad comp_nchan"""
16-Oct-2019 12:45:12          compwidth="2arcsec"
16-Oct-2019 12:45:12 @@ -1811,14 +1795,17 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12          try:
16-Oct-2019 12:45:12              res = simobserve(project=self.project,complist=self.incomp,
16-Oct-2019 12:45:12                               totaltime=self.tottime,mapsize=self.mapsize,
16-Oct-2019 12:45:12 -                             compwidth=compwidth,comp_nchan=comp_nchan)
16-Oct-2019 12:45:12 +                             compwidth=compwidth,comp_nchan=comp_nchan,
16-Oct-2019 12:45:12 +                             antennalist="alma.out10.cfg")
16-Oct-2019 12:45:12              self.fail(self.failmsg)
16-Oct-2019 12:45:12          except Exception as e:
16-Oct-2019 12:45:12 -            pos=str(e).find("Parameter verification failed")
16-Oct-2019 12:45:12 +            if is_CASA6:
16-Oct-2019 12:45:12 +                pos=str(e).find("must be of cInt type")
16-Oct-2019 12:45:12 +            else:
16-Oct-2019 12:45:12 +                pos=str(e).find("Parameter verification failed")
16-Oct-2019 12:45:12              msg =  self.errmsg % str(e)
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)       
16-Oct-2019 12:45:12          
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12      def testBad_ptgfile(self):
16-Oct-2019 12:45:12          """Test bad ptgfile name"""
16-Oct-2019 12:45:12          setpointings=False
16-Oct-2019 12:45:12 @@ -1826,14 +1813,14 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12          try:
16-Oct-2019 12:45:12              res = simobserve(project=self.project,skymodel=self.inimage,
16-Oct-2019 12:45:12                               totaltime=self.tottime,mapsize=self.mapsize,
16-Oct-2019 12:45:12 -                             setpointings=setpointings,ptgfile=ptgfile)
16-Oct-2019 12:45:12 +                             setpointings=setpointings,ptgfile=ptgfile,
16-Oct-2019 12:45:12 +                             antennalist="alma.out10.cfg")
16-Oct-2019 12:45:12              self.fail(self.failmsg)
16-Oct-2019 12:45:12          except Exception as e:
16-Oct-2019 12:45:12              pos=str(e).find("Can't find pointing file")
16-Oct-2019 12:45:12              msg =  self.errmsg % str(e)
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12      def test_notPtgfile(self):
16-Oct-2019 12:45:12          """Test nonconforming ptgfile"""
16-Oct-2019 12:45:12          # Generate bad file
16-Oct-2019 12:45:12 @@ -1848,39 +1835,39 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12          try:
16-Oct-2019 12:45:12              res = simobserve(project=self.project,skymodel=self.inimage,
16-Oct-2019 12:45:12                               totaltime=self.tottime,mapsize=self.mapsize,
16-Oct-2019 12:45:12 -                             setpointings=setpointings,ptgfile=ptgfile)
16-Oct-2019 12:45:12 +                             setpointings=setpointings,ptgfile=ptgfile,
16-Oct-2019 12:45:12 +                             antennalist="alma.out10.cfg")
16-Oct-2019 12:45:12              self.fail(self.failmsg)
16-Oct-2019 12:45:12          except Exception as e:
16-Oct-2019 12:45:12              pos=str(e).find("No valid lines found in pointing file")
16-Oct-2019 12:45:12              msg =  self.errmsg % str(e)
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12      def testBad_integration(self):
16-Oct-2019 12:45:12          """Test bad integration"""
16-Oct-2019 12:45:12          integration = self.badtime
16-Oct-2019 12:45:12          try:
16-Oct-2019 12:45:12              res = simobserve(project=self.project,skymodel=self.inimage,
16-Oct-2019 12:45:12                               totaltime=self.tottime,mapsize=self.mapsize,
16-Oct-2019 12:45:12 -                             integration=integration)
16-Oct-2019 12:45:12 +                             integration=integration,
16-Oct-2019 12:45:12 +                             antennalist="alma.out10.cfg")
16-Oct-2019 12:45:12              self.fail(self.failmsg)
16-Oct-2019 12:45:12          except Exception as e:
16-Oct-2019 12:45:12              pos=str(e).find('Failed AlwaysAssert qIntTime.getValue("s")>=0')
16-Oct-2019 12:45:12              msg =  self.errmsg % str(e)
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)       
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12      def testBad_direction(self):
16-Oct-2019 12:45:12          """Test bad direction ('J3000' is defaulted to 'J2000')"""
16-Oct-2019 12:45:12          direction = self.baddir
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12          res = simobserve(project=self.project,skymodel=self.inimage,
16-Oct-2019 12:45:12                           totaltime=self.tottime,mapsize=self.mapsize,
16-Oct-2019 12:45:12 -                         direction=direction,graphics=self.graphics)
16-Oct-2019 12:45:12 +                         direction=direction,graphics=self.graphics,
16-Oct-2019 12:45:12 +                         antennalist="alma.out10.cfg")
16-Oct-2019 12:45:12          self.assertTrue(res)
16-Oct-2019 12:45:12          # Need to compare MS with one generated with J2000
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12      def testBad_mapsize(self):
16-Oct-2019 12:45:12          """Test bad mapsize"""
16-Oct-2019 12:45:12          setpointings=True
16-Oct-2019 12:45:12 @@ -1888,14 +1875,15 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12          try:
16-Oct-2019 12:45:12              res = simobserve(project=self.project,skymodel=self.inimage,
16-Oct-2019 12:45:12                               totaltime=self.tottime,
16-Oct-2019 12:45:12 -                             setpointings=setpointings,mapsize=mapsize)
16-Oct-2019 12:45:12 +                             setpointings=setpointings,mapsize=mapsize,
16-Oct-2019 12:45:12 +                             antennalist="alma.out10.cfg")
16-Oct-2019 12:45:12              self.fail(self.failmsg)
16-Oct-2019 12:45:12          except Exception as e:
16-Oct-2019 12:45:12              pos=str(e).find("can't interpret '%s' as a CASA quantity" % self.badquant)
16-Oct-2019 12:45:12              msg =  self.errmsg % str(e)
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)       
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12 +    @unittest.skipIf(is_CASA6,"Allowed maptype values are not checked in casatasks.")
16-Oct-2019 12:45:12      def testBad_maptype(self):
16-Oct-2019 12:45:12          """Test bad maptype"""
16-Oct-2019 12:45:12          maptype = self.badname
16-Oct-2019 12:45:12 @@ -1910,14 +1898,14 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)       
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12      def testBad_spacing(self):
16-Oct-2019 12:45:12          """Test bad pointingspacing"""
16-Oct-2019 12:45:12          pointingspacing = self.badquant
16-Oct-2019 12:45:12          try:
16-Oct-2019 12:45:12              res = simobserve(project=self.project,skymodel=self.inimage,
16-Oct-2019 12:45:12                               totaltime=self.tottime,mapsize=self.mapsize,
16-Oct-2019 12:45:12 -                             pointingspacing=pointingspacing)
16-Oct-2019 12:45:12 +                             pointingspacing=pointingspacing,
16-Oct-2019 12:45:12 +                             antennalist="alma.out10.cfg")
16-Oct-2019 12:45:12              self.fail(self.failmsg)
16-Oct-2019 12:45:12          except Exception as e:
16-Oct-2019 12:45:12              pos=str(e).find("can't interpret '%s' as a CASA quantity" % pointingspacing)
16-Oct-2019 12:45:12 @@ -1925,7 +1913,7 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)       
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Couldn't find simobserve_bad/simobserve_bad.aca.tp.sd.ms")
16-Oct-2019 12:45:12 +    @unittest.skipIf(is_CASA6,"Allowed obsmode types are not checked in casatasks")
16-Oct-2019 12:45:12      def testBad_obsmode(self):
16-Oct-2019 12:45:12          """Test bad obsmode"""
16-Oct-2019 12:45:12          obsmode = self.badname
16-Oct-2019 12:45:12 @@ -1939,7 +1927,6 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12              msg =  self.errmsg % str(e)
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)       
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12      def testBad_antennalist(self):
16-Oct-2019 12:45:12          """Test bad antennalist name"""
16-Oct-2019 12:45:12          antennalist = self.badname
16-Oct-2019 12:45:12 @@ -1953,20 +1940,18 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12              msg =  self.errmsg % str(e)
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)       
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12      def testBad_caldirection(self):
16-Oct-2019 12:45:12          """Test bad caldirection ('J3000' is defaulted to 'J2000')"""
16-Oct-2019 12:45:12          caldirection = self.baddir
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12          res = simobserve(project=self.project,skymodel=self.inimage,
16-Oct-2019 12:45:12                           totaltime=self.tottime,mapsize=self.mapsize,
16-Oct-2019 12:45:12 -                         caldirection=caldirection,graphics=self.graphics)
16-Oct-2019 12:45:12 +                         caldirection=caldirection,graphics=self.graphics,
16-Oct-2019 12:45:12 +                         antennalist="alma.out10.cfg")
16-Oct-2019 12:45:12          self.assertTrue(res)
16-Oct-2019 12:45:12          # Need to compare MS with one generated with J2000
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -        # simobserve so far does not catches this
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12      def testBad_calflux(self):
16-Oct-2019 12:45:12          """Test bad calflux"""
16-Oct-2019 12:45:12          caldirection = "J2000 19h00m00 -23d00m50"
16-Oct-2019 12:45:12 @@ -1974,14 +1959,14 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12          try:
16-Oct-2019 12:45:12              res = simobserve(project=self.project,skymodel=self.inimage,
16-Oct-2019 12:45:12                               totaltime=self.tottime,mapsize=self.mapsize,
16-Oct-2019 12:45:12 -                             caldirection=caldirection,calflux=calflux)
16-Oct-2019 12:45:12 +                             caldirection=caldirection,calflux=calflux,
16-Oct-2019 12:45:12 +                             antennalist="alma.out10.cfg")
16-Oct-2019 12:45:12              self.fail(self.failmsg)
16-Oct-2019 12:45:12          except Exception as e:
16-Oct-2019 12:45:12              pos=str(e).find("can't interpret '%s' as a CASA quantity" % calflux)
16-Oct-2019 12:45:12              msg =  self.errmsg % str(e)
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)       
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12      def testBad_sdantlist(self):
16-Oct-2019 12:45:12          """Test bad sdantlist name"""
16-Oct-2019 12:45:12          obsmode = "sd"
16-Oct-2019 12:45:12 @@ -1999,7 +1984,6 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12      # simobserve automatically defaults a bad ID number to 0.
16-Oct-2019 12:45:12      # therefore testing non-numeric 'sdant' here
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"parameter verification looks different here - fix this")
16-Oct-2019 12:45:12      def testBad_sdant(self):
16-Oct-2019 12:45:12          """Test bad sdant (non-numeric sdant)"""
16-Oct-2019 12:45:12          obsmode = "sd"
16-Oct-2019 12:45:12 @@ -2013,11 +1997,13 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12                               sdant=sdant)
16-Oct-2019 12:45:12              self.fail(self.failmsg)
16-Oct-2019 12:45:12          except Exception as e:
16-Oct-2019 12:45:12 -            pos=str(e).find("Parameter verification failed")
16-Oct-2019 12:45:12 +            if is_CASA6:
16-Oct-2019 12:45:12 +                pos=str(e).find("must be of cInt type")
16-Oct-2019 12:45:12 +            else:
16-Oct-2019 12:45:12 +                pos=str(e).find("Parameter verification failed")
16-Oct-2019 12:45:12              msg =  self.errmsg % str(e)
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)       
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12      def testBad_refdate(self):
16-Oct-2019 12:45:12          """Test bad refdate"""
16-Oct-2019 12:45:12          obsmode = "sd"
16-Oct-2019 12:45:12 @@ -2035,7 +2021,6 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12              msg =  self.errmsg % str(e)
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)       
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12      def testBad_hourangle(self):
16-Oct-2019 12:45:12          """Test bad hourangle"""
16-Oct-2019 12:45:12          obsmode = "sd"
16-Oct-2019 12:45:12 @@ -2054,7 +2039,6 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)       
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12      # casapy crashes for totaltime < 0
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12      def testBad_totaltime(self):
16-Oct-2019 12:45:12          """Test bad totaltime"""
16-Oct-2019 12:45:12          obsmode = "sd"
16-Oct-2019 12:45:12 @@ -2072,7 +2056,7 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12              msg =  self.errmsg % str(e)
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)       
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12 +    @unittest.skipIf(is_CASA6,"Allowed noisetype values are not checked in casatasks.")
16-Oct-2019 12:45:12      def testBad_noisetype(self):
16-Oct-2019 12:45:12          """Test bad thermalnoise type"""
16-Oct-2019 12:45:12          thermalnoise = self.badname
16-Oct-2019 12:45:12 @@ -2086,7 +2070,7 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12              msg =  self.errmsg % str(e)
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)       
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12 +    @unittest.skipIf(is_CASA6,"Allowed user_pwv values are not checked in casatasks")
16-Oct-2019 12:45:12      def testBad_pwv(self):
16-Oct-2019 12:45:12          """Test bad user_pwv"""
16-Oct-2019 12:45:12          thermalnoise = 'tsys-atm'
16-Oct-2019 12:45:12 @@ -2101,7 +2085,7 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12              msg =  self.errmsg % str(e)
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)       
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12 +    @unittest.skipIf(is_CASA6,"Allowed t_ground values are not checked in casatasks")
16-Oct-2019 12:45:12      def testBad_Tground(self):
16-Oct-2019 12:45:12          """Test bad t_ground"""
16-Oct-2019 12:45:12          thermalnoise = 'tsys-atm'
16-Oct-2019 12:45:12 @@ -2116,7 +2100,7 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12              msg =  self.errmsg % str(e)
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)       
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12 +    @unittest.skipIf(is_CASA6,"Allowed t_sky values are not checked in casatasks")
16-Oct-2019 12:45:12      def testBad_Tsky(self):
16-Oct-2019 12:45:12          """Test bad t_sky"""
16-Oct-2019 12:45:12          thermalnoise = 'tsys-manual'
16-Oct-2019 12:45:12 @@ -2131,7 +2115,7 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12              msg =  self.errmsg % str(e)
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)       
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12 +    @unittest.skipIf(is_CASA6,"Allowed tau0 values are not checked in casatasks")
16-Oct-2019 12:45:12      def testBad_tau0(self):
16-Oct-2019 12:45:12          """Test bad tau0"""
16-Oct-2019 12:45:12          thermalnoise = 'tsys-manual'
16-Oct-2019 12:45:12 @@ -2146,7 +2130,7 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12              msg =  self.errmsg % str(e)
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)       
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12 +    @unittest.skipIf(is_CASA6,"Allowed leakage values are not checked in casatasks")
16-Oct-2019 12:45:12      def testBad_leakage(self):
16-Oct-2019 12:45:12          """Test bad leakage"""
16-Oct-2019 12:45:12          leakage = self.badnum
16-Oct-2019 12:45:12 @@ -2160,7 +2144,7 @@ class simobserve_badinputs(simobserve_unittest_base):
16-Oct-2019 12:45:12              msg =  self.errmsg % str(e)
16-Oct-2019 12:45:12              self.assertNotEqual(pos,-1,msg=msg)       
16-Oct-2019 12:45:12      
16-Oct-2019 12:45:12 -    @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this")
16-Oct-2019 12:45:12 +    @unittest.skipIf(is_CASA6,"Allowed graphics values are not checked in casatasks")
16-Oct-2019 12:45:12      def testBad_graphics(self):
16-Oct-2019 12:45:12          """Test bad graphics selection"""
16-Oct-2019 12:45:12          graphics = self.badname
16-Oct-2019 12:45:12 Argument values:
16-Oct-2019 12:45:12 casatasks
16-Oct-2019 12:45:12 /export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-CTB-JOB1/casatasks
16-Oct-2019 12:45:12 master
16-Oct-2019 12:45:12 None
16-Oct-2019 12:45:12 Last Tag: 2019.166
16-Oct-2019 12:45:12 New Tag: 2019.167
16-Oct-2019 12:45:12 Creating a new tag
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 None
16-Oct-2019 12:45:12 Push enabled. Pushing new tag upstream.
16-Oct-2019 12:45:12 To ssh://git@open-bitbucket.nrao.edu:7999/casa/casatasks.git
16-Oct-2019 12:45:12 * [new tag]         2019.167 -> 2019.167
16-Oct-2019 12:45:12
16-Oct-2019 12:45:12 None
16-Oct-2019 12:45:12 Finished task 'Create wheel' with result: Success
16-Oct-2019 12:45:12 Running post build plugin 'Docker Container Cleanup'
16-Oct-2019 12:45:12
Beginning to execute external process for build 'CASA - Casa6 Tasks Wheel Build - Build and Package RHEL6 #171 (CASA-CTB-JOB1-171)'
... running command line:
/bin/docker rm -f task-wheel-container
... in: /export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-CTB-JOB1
16-Oct-2019 12:45:14 task-wheel-container
16-Oct-2019 12:45:14 Running post build plugin 'NCover Results Collector'
16-Oct-2019 12:45:14 Running post build plugin 'Clover Results Collector'
16-Oct-2019 12:45:14 Running post build plugin 'npm Cache Cleanup'
16-Oct-2019 12:45:14 Running post build plugin 'Artifact Copier'
16-Oct-2019 12:45:14 Publishing an artifact: EL6 wheel
16-Oct-2019 12:45:14 Finished publishing of artifact Non required shared artifact: [EL6 wheel], pattern: [*-any.whl] anchored at: [wheeldirectory/] in 255.7 ms
16-Oct-2019 12:45:14 Finalising the build...
16-Oct-2019 12:45:14 Stopping timer.
16-Oct-2019 12:45:14 Build CASA-CTB-JOB1-171 completed.
16-Oct-2019 12:45:14 Running on server: post build plugin 'NCover Results Collector'
16-Oct-2019 12:45:14 Running on server: post build plugin 'Build Hanging Detection Configuration'
16-Oct-2019 12:45:14 Running on server: post build plugin 'Clover Delta Calculator'
16-Oct-2019 12:45:14 Running on server: post build plugin 'Maven Dependencies Postprocessor'
16-Oct-2019 12:45:14 All post build plugins have finished
16-Oct-2019 12:45:14 Generating build results summary...
16-Oct-2019 12:45:14 Saving build results to disk...
16-Oct-2019 12:45:14 Logging substituted variables...
16-Oct-2019 12:45:14 Indexing build results...
16-Oct-2019 12:45:14 Finished building CASA-CTB-JOB1-171.