Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-8285

post-qa 1.2.0 validation issues in SQUASH deployment

    Details

    • Type: Story
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Address post-qa issues in the DM-8195 deployment:

      {'regex': (<function is_regex at 0x22e4b90>, <class 'sre_constants.error'>), 'hostname': (<function is_host_name at 0x22c45f0>, ()), 'uri': (<function is_uri at 0x22c4668>, <type 'exceptions.ValueError'>), 'ipv6': (<function is_ipv6 at 0x22c4578>, <class 'socket.error'>), 'host-name': (<function is_host_name at 0x22c45f0>, ()), 'ipv4': (<function is_ipv4 at 0x22c4500>, ()), 'ip-address': (<function is_ipv4 at 0x22c4500>, ()), 'time': (<function is_time at 0x22e4aa0>, <type 'exceptions.ValueError'>), 'date': (<function is_date at 0x22e4b18>, <type 'exceptions.ValueError'>), 'email': (<function is_email at 0x22c4488>, ()), 'date-time': (<function is_date at 0x22e4c08>, ())}
      Traceback (most recent call last):
        File "/home/jenkins-slave/workspace/validate_drp/dataset/cfht/label/centos-7/python/py2/post-qa/venv/bin/post-qa", line 9, in <module>
          load_entry_point('post-qa==1.2.0', 'console_scripts', 'post-qa')()
        File "/home/jenkins-slave/workspace/validate_drp/dataset/cfht/label/centos-7/python/py2/post-qa/venv/lib/python2.7/site-packages/postqa/cli.py", line 25, in run_post_qa
          job_json = build_job_json(args.qa_json_path, args.lsstsw_dirname)
        File "/home/jenkins-slave/workspace/validate_drp/dataset/cfht/label/centos-7/python/py2/post-qa/venv/lib/python2.7/site-packages/postqa/cli.py", line 92, in build_job_json
          validate(job_json)
        File "/home/jenkins-slave/workspace/validate_drp/dataset/cfht/label/centos-7/python/py2/post-qa/venv/lib/python2.7/site-packages/postqa/schemas.py", line 23, in validate
          jsonschema.validate(doc, schema, format_checker=format_checker)
        File "/home/jenkins-slave/workspace/validate_drp/dataset/cfht/label/centos-7/python/py2/post-qa/venv/lib/python2.7/site-packages/jsonschema/validators.py", line 478, in validate
          cls(schema, *args, **kwargs).validate(instance)
        File "/home/jenkins-slave/workspace/validate_drp/dataset/cfht/label/centos-7/python/py2/post-qa/venv/lib/python2.7/site-packages/jsonschema/validators.py", line 123, in validate
          raise error
      jsonschema.exceptions.ValidationError: {u'units': u'milliarcsecond', u'description': u'Median RMS of the astrometric distance distribution for stellar pairs with separation of D arcmin (repeatability)', u'value': 6.712600663440999, u'label': u'AM1'} is not valid under any of the given schemas
       
      Failed validating u'oneOf' in schema[u'properties'][u'measurements'][u'items'][u'properties'][u'value']:
          {u'oneOf': [{u'type': u'number'}, {u'type': u'null'}]}
       
      On instance[u'measurements'][0][u'value']:
          {u'description': u'Median RMS of the astrometric distance distribution for stellar pairs with separation of D arcmin (repeatability)',
           u'label': u'AM1',
           u'units': u'milliarcsecond',
           u'value': 6.712600663440999}
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jsick Jonathan Sick
                Reporter:
                jsick Jonathan Sick
                Watchers:
                Jonathan Sick
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel