Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: pipe_base
-
Labels:
-
Story Points:1
-
Epic Link:
-
Team:Data Release Production
-
Urgent?:No
Description
It looks like DM-38780 is the prime suspect for the error that occurred in this verify_drp_metrics run.
The error seems to have been a KeyError:
Traceback (most recent call last):
|
File "/opt/lsst/software/stack/stack/miniconda3-py38_4.9.2-6.0.0/Linux64/daf_butler/g87c2bcf78e+1bb61f183b/python/lsst/daf/butler/registry/interfaces/_database.py", line 465, in temporary_table
|
yield table
|
File "/opt/lsst/software/stack/stack/miniconda3-py38_4.9.2-6.0.0/Linux64/daf_butler/g87c2bcf78e+1bb61f183b/python/lsst/daf/butler/registry/queries/_query.py", line 168, in open_context
|
yield
|
File "/opt/lsst/software/stack/stack/miniconda3-py38_4.9.2-6.0.0/Linux64/daf_butler/g87c2bcf78e+1bb61f183b/python/lsst/daf/butler/registry/queries/_results.py", line 119, in materialize
|
yield DataCoordinateQueryResults(self._query.materialized())
|
File "/opt/lsst/software/stack/stack/miniconda3-py38_4.9.2-6.0.0/Linux64/pipe_base/gdf2caccafc+f05c588fde/python/lsst/pipe/base/graphBuilder.py", line 908, in connectDataIds
|
yield commonDataIds
|
File "/opt/lsst/software/stack/stack/miniconda3-py38_4.9.2-6.0.0/Linux64/pipe_base/gdf2caccafc+f05c588fde/python/lsst/pipe/base/graphBuilder.py", line 1540, in makeGraph
|
scaffolding.resolveDatasetRefs(
|
File "/opt/lsst/software/stack/stack/miniconda3-py38_4.9.2-6.0.0/Linux64/pipe_base/gdf2caccafc+f05c588fde/python/lsst/pipe/base/graphBuilder.py", line 1099, in resolveDatasetRefs
|
refs[resolvedRef.dataId].ref = (
|
KeyError: {instrument: 'HSC', detector: 47, visit: 322, ...}
|
that triggered a database locking error while trying to clean up a temporary table in the context manager responding to the KeyError exception.
Attachments
Issue Links
- relates to
-
DM-38780 Modify graph builder so that it no longer uses unresolved refs
- Done
Jim's ticket
DM-38948is likely going to fix it.