Show
added a comment - I have merged my branch that adds back MySQL-python and retested from master. The error message from before is gone, however, validate_drp was failing due to the API rejecting the call. It appears that a new version of post-qa ( 1.2.0 was tagged/released. I have tried testing with that. It appears to be missing a dep on functools32 . After installing that package manually, post-qa is failing with a json validation error.
{ '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 }
Jonathan Sick are there unmerged changes to validate_drp needed for the new version of post-qa ?
I'm seeing a new error from the bokeh daemon when bringing up a clean test env, this is after running python manage.py loaddata initial_data
The KPMs page is also blank.