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

ValueError: Only one node is allowed to produce forcedSource

    XMLWordPrintable

    Details

    • Story Points:
      2
    • Team:
      Data Release Production
    • Urgent?:
      No

      Description

      As encountered in PREOPS-707, the quantum graph generation for DC2 tract=3828^3829 step4's writeForcedSourceTable failed:

      File "/opt/lsst/software/stack_w_2021_40/stack/miniconda3-py38_4.9.2-0.7.0/Linux64/pipe_base/22.0.1-25-g96539fe+64e601228d/python/lsst
      /pipe/base/graph/_implDetails.py", line 78, in addProducer
          raise ValueError(f"Only one node is allowed to produce {key}, "
      ValueError: Only one node is allowed to produce forcedSource@{instrument: 'LSSTCam-imSim', detector: 172, visit: 266117, ...}, sc=DataFrame], the current producer is QuantumNode(quantum=Quantum(taskName=lsst.pipe.tasks.postprocess.WriteForcedSourceTableTask, dataId={instrument: 'LSSTCam-imSim', skymap: 'DC2', detector: 172, tract: 3828, visit: 266117, ...}), taskDef=TaskDef(WriteForcedSourceTableTask, label=writeForcedSourceTable), nodeId=NodeId(number=59960, buildId='1633714767.4772997-29875'))
      

      To reproduce the error on data-int.lsst.cloud RSP:

      pipetask qgraph -b s3://butler-us-central1-panda-dev/dc2/butler-external.yaml -p "${OBS_LSST_DIR}/pipelines/imsim/DRP.yaml#step4" -i 2.2i/runs/test-med-1/w_2021_40/PREOPS-707 -d "instrument='LSSTCam-imSim' and skymap='DC2'"  
      

      It appears to happen when forced_src data of a detector exist for more than one tract.

        Attachments

          Activity

          Hide
          yusra Yusra AlSayyad added a comment -

          Nate, would you have time to review this?

          Sending to you because it relates to your earlier choice of making forcedPhotCcdTask ultimately run per-detector per-tract. The first transform step of merging the forcedPhotCcd and forcedPhotDiff output catalogs are now per-tract as well. Downstream processing is happy with this.

          Jenkins passed here:
          https://ci.lsst.codes/job/stack-os-matrix/35196/display/redirect

          And I'm running a full step4 and step5 with the 2 ticket branches that affect those steps (this one and DM-32238) here:

          /project/yusra/DM-32238/submit/u/yusra/DC2/DM-32238-32124

          Show
          yusra Yusra AlSayyad added a comment - Nate, would you have time to review this? Sending to you because it relates to your earlier choice of making forcedPhotCcdTask ultimately run per-detector per-tract. The first transform step of merging the forcedPhotCcd and forcedPhotDiff output catalogs are now per-tract as well. Downstream processing is happy with this. Jenkins passed here: https://ci.lsst.codes/job/stack-os-matrix/35196/display/redirect And I'm running a full step4 and step5 with the 2 ticket branches that affect those steps (this one and DM-32238 ) here: /project/yusra/ DM-32238 /submit/u/yusra/DC2/ DM-32238 -32124
          Hide
          yusra Yusra AlSayyad added a comment -

          Hey Nate Lust, think you'll have time to get to this on Monday?
          I am aiming to merge before w_2021_44 gets tagged next Wednesday.

          Show
          yusra Yusra AlSayyad added a comment - Hey Nate Lust , think you'll have time to get to this on Monday? I am aiming to merge before w_2021_44 gets tagged next Wednesday.
          Hide
          nlust Nate Lust added a comment -

          That all looks reasonable

          Show
          nlust Nate Lust added a comment - That all looks reasonable

            People

            Assignee:
            yusra Yusra AlSayyad
            Reporter:
            hchiang2 Hsin-Fang Chiang
            Reviewers:
            Nate Lust
            Watchers:
            Hsin-Fang Chiang, Nate Lust, Yusra AlSayyad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.