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

ap_verify CI broken

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: ap_verify
    • Labels:
      None
    • Story Points:
      1
    • Sprint:
      AP S20-1 (December)
    • Team:
      Alert Production

      Description

      Recent Jenkins runs such as scipipe/ap_verify#438 have been failing with the following error:

      ap.verify.pipeline_driver.runApPipe INFO: Pipeline complete
      Traceback (most recent call last):
        File "/opt/lsst/software/stack/stack/miniconda3-4.7.10-4d7b902/Linux64/ap_verify/19.0.0-4-gfb40179+1/bin/ap_verify.py", line 29, in <module>
          result = runApVerify()
        File "/opt/lsst/software/stack/stack/miniconda3-4.7.10-4d7b902/Linux64/ap_verify/19.0.0-4-gfb40179+1/python/lsst/ap/verify/ap_verify.py", line 162, in runApVerify
          computeMetrics(workspace, apPipeResults.parsedCmd.id, args)
        File "/opt/lsst/software/stack/stack/miniconda3-4.7.10-4d7b902/Linux64/ap_verify/19.0.0-4-gfb40179+1/python/lsst/ap/verify/metrics.py", line 102, in computeMetrics
          metricsFile)
        File "/opt/lsst/software/stack/stack/miniconda3-4.7.10-4d7b902/Linux64/ap_verify/19.0.0-4-gfb40179+1/python/lsst/ap/verify/metrics.py", line 136, in _getMetricsConfig
          timingConfig.load(os.path.join(lsst.utils.getPackageDir("ap_verify"), "config", defaultFile))
        File "/opt/lsst/software/stack/stack/miniconda3-4.7.10-4d7b902/Linux64/pex_config/19.0.0+2/python/lsst/pex/config/config.py", line 984, in load
          self.loadFromStream(stream=code, root=root)
        File "/opt/lsst/software/stack/stack/miniconda3-4.7.10-4d7b902/Linux64/pex_config/19.0.0+2/python/lsst/pex/config/config.py", line 1022, in loadFromStream
          exec(stream, {}, local)
        File "/opt/lsst/software/stack/stack/miniconda3-4.7.10-4d7b902/Linux64/ap_verify/19.0.0-4-gfb40179+1/config/default_image_metrics.py", line 44, in <module>
          subConfig.connections.taskName = "apPipe"
        File "/opt/lsst/software/stack/stack/miniconda3-4.7.10-4d7b902/Linux64/pex_config/19.0.0+2/python/lsst/pex/config/config.py", line 1302, in __setattr__
          raise AttributeError("%s has no attribute %s" % (_typeStr(self), attr))
      AttributeError: lsst.pipe.base.config.Connections has no attribute taskName
      

      This bug was most likely introduced by DM-21911, specifically by not testing ap_verify after lsst/verify@e1015bc. Update the ap_verify default configs to match.

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              Assignee:
              krzys Krzysztof Findeisen
              Reporter:
              krzys Krzysztof Findeisen
              Reviewers:
              Chris Morrison [X] (Inactive)
              Watchers:
              Chris Morrison [X] (Inactive), Krzysztof Findeisen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.