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

jointcal tests fail when optional testdata_jointcal is not present

    Details

    • Templates:
    • Story Points:
      0.5
    • Sprint:
      Alert Production F17 - 10
    • Team:
      Alert Production

      Description

      The most recently merged PR is https://github.com/lsst/jointcal/pull/45

      jointcal from master is not buiding via eups distrib install. I suspect this is because unit tests we introduced that are dependent on the setupOptiona testdata_jointcall product. Test that rely on optional packages should bail out gracefully without failing.

       
      [build]         lsst.afw.image.utils.resetFilters()
          
              # Load or fake the necessary metadata for each CcdImage (using ccd=12)
      >       data_dir = lsst.utils.getPackageDir('testdata_jointcal')
      E       lsst.pex.exceptions.wrappers.NotFoundError: 
      E         File "src/Utils.cc", line 42, in std::string lsst::utils::getPackageDir(const string&)
      E           Package testdata_jointcal not found {0}
      E       lsst::pex::exceptions::NotFoundError: 'Package testdata_jointcal not found'
       
      tests/test_photometryModel.py:26: NotFoundError
      =============== 4 failed, 37 passed, 19 skipped in 6.84 seconds ================
      Global pytest run: failed
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Parejkoj John Parejko
                Reporter:
                jhoblitt Joshua Hoblitt
                Reviewers:
                Joshua Hoblitt
                Watchers:
                John Parejko, Joshua Hoblitt, Kian-Tat Lim, Tim Jenness
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel