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

Jenkins nightly-release fails in run-publish due to conda env name

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: jenkins
    • Labels:
      None
    • Team:
      Architecture
    • Urgent?:
      No

      Description

      The jenkins_wrapper.sh script in lsst-sqre/ci-scripts was changed to make the conda environment name explicitly contain its git hash. This allows Jenkins run-rebuild pipelines to run safely even while preserving state from run to run.

      Unfortunately, the nightly-release pipeline uses run-rebuild but also activates the same conda environment again in run-publish in order to eups distrib create packages. The name of the environment in run-publish is the default used by setup.sh, or lsst-scipipe without git hash.

      We need to ensure that the run-publish activation embedded in https://github.com/lsst-dm/jenkins-dm-jobs/blob/master/pipelines/release/run_publish.groovy#L87 uses the correct conda environment name, either by setting the LSST_CONDA_ENV_NAME variable or passing an argument.

        Attachments

          Activity

          Hide
          gcomoretto Gabriele Comoretto [X] (Inactive) added a comment -

          Kian-Tat Lim you already reviewed the PR.

          Ready to go or somebody else should look into this change?

          Show
          gcomoretto Gabriele Comoretto [X] (Inactive) added a comment - Kian-Tat Lim you already reviewed the PR. Ready to go or somebody else should look into this change?
          Hide
          ktl Kian-Tat Lim added a comment -

          This looks OK.  I was trying to confirm that the current workspace has the necessary environment definition saved, but they have all been cleaned up.

          Show
          ktl Kian-Tat Lim added a comment - This looks OK.  I was trying to confirm that the current workspace has the necessary environment definition saved, but they have all been cleaned up.

            People

            Assignee:
            gcomoretto Gabriele Comoretto [X] (Inactive)
            Reporter:
            ktl Kian-Tat Lim
            Reviewers:
            Kian-Tat Lim
            Watchers:
            Gabriele Comoretto [X] (Inactive), Kian-Tat Lim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.