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

Jenkins unable to use d_latest EUPS tag to build pipelines.lsst.io

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: dm_dev_guide, jenkins
    • Labels:
      None
    • Team:
      SQuaRE
    • Urgent?:
      No

      Description

      I tried to build pipelines.lsst.io following the instructions at https://developer.lsst.io/stack/building-pipelines-lsst-io-with-documenteer-job.html, specifying d_latest as the EUPS tag. That fails:

      Ignoring unsupported tags in VRO: d_latest
      setup: Unsupported tag(s): d_latest
      + eval false
      ++ false
      script returned exit code 1
      

      (https://ci.lsst.codes/blue/organizations/jenkins/sqre%2Finfra%2Fdocumenteer/detail/documenteer/806/pipeline/)

      When I gave it the tag d_2020_03_10, it passed (https://ci.lsst.codes/blue/organizations/jenkins/sqre%2Finfra%2Fdocumenteer/detail/documenteer/807/pipeline/).

      Please either make d_latest work as expected, or change the documentation to avoid giving the impression that it'll work.

        Attachments

          Activity

          Hide
          jsick Jonathan Sick added a comment -

          I'll approach it as a documentation change because improving the Jenkins job won't be worth it as I'd like to drop/re-write this Jenkins job entirely.

          Show
          jsick Jonathan Sick added a comment - I'll approach it as a documentation change because improving the Jenkins job won't be worth it as I'd like to drop/re-write this Jenkins job entirely.
          Hide
          ktl Kian-Tat Lim added a comment -

          I think the fix may be as simple as changing https://github.com/lsst-dm/jenkins-dm-jobs/blob/master/pipelines/sqre/infra/documenteer.groovy#L77 to use "current" instead of the entered tag (which is already used to select the container, and which does not necessarily exist as an eups tag in the container's stack).

          Show
          ktl Kian-Tat Lim added a comment - I think the fix may be as simple as changing https://github.com/lsst-dm/jenkins-dm-jobs/blob/master/pipelines/sqre/infra/documenteer.groovy#L77 to use "current" instead of the entered tag (which is already used to select the container, and which does not necessarily exist as an eups tag in the container's stack).
          Hide
          ktl Kian-Tat Lim added a comment -

          I don't know of a way to test a branch in Jenkins, so I'm just coding this blind, but I think it should work properly for the reason given in the PR.

          Show
          ktl Kian-Tat Lim added a comment - I don't know of a way to test a branch in Jenkins, so I'm just coding this blind, but I think it should work properly for the reason given in the PR.
          Hide
          jsick Jonathan Sick added a comment -

          Seems like it should work. Thanks for doing this, Kian-Tat Lim.

          Show
          jsick Jonathan Sick added a comment - Seems like it should work. Thanks for doing this, Kian-Tat Lim .
          Hide
          ktl Kian-Tat Lim added a comment -
          Show
          ktl Kian-Tat Lim added a comment - I tested it (without publishing) in https://ci.lsst.codes/blue/organizations/jenkins/sqre%2Finfra%2Fdocumenteer/detail/documenteer/810/pipeline/57 and it seems to work properly.
          Hide
          jsick Jonathan Sick added a comment -

          That's great. Thank you.

          Show
          jsick Jonathan Sick added a comment - That's great. Thank you.
          Hide
          swinbank John Swinbank added a comment -

          Thank you both!

          Show
          swinbank John Swinbank added a comment - Thank you both!

            People

            Assignee:
            ktl Kian-Tat Lim
            Reporter:
            swinbank John Swinbank
            Reviewers:
            Jonathan Sick
            Watchers:
            John Swinbank, Jonathan Sick, Kian-Tat Lim
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.