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

newinstall fails when miniconda path not supplied by user, but already exists

    XMLWordPrintable

    Details

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

      Description

      Jobs that use newinstall are failing when the miniconda already exists.

      Previously, when a miniconda path already existed, even if a user was prompted to install it or it was assumed to install it via the -b option, an installation was not attempted and it was assumed to use that miniconda installation.

      Changes from DM-24972 assumed that the miniconda path does not exist if a user asks to install it, either by typing "yes" interactively or using batch mode.

        Attachments

          Activity

          Hide
          bvan Brian Van Klaveren added a comment -

          To make this more confusing, the tarballs jobs seem like the should be clearing out the directory before running bash newinstall.sh -cb, but that seems like that is not the case.

          Show
          bvan Brian Van Klaveren added a comment - To make this more confusing, the tarballs jobs seem like the should be clearing out the directory before running bash newinstall.sh -cb , but that seems like that is not the case.
          Hide
          bvan Brian Van Klaveren added a comment -

          The new changes do the following:

          By default, assume we are not installing.
          If a user did not specify the path, use the default generated path.
          If the generated path does not exist, mark the path for installation by setting do_install = true

          If do_install == false, verify the path (auto-generated or user-supplied) has conda installed by checking for the conda command. If the command does not exist, newinstall will fail.

          Show
          bvan Brian Van Klaveren added a comment - The new changes do the following: By default, assume we are not installing. If a user did not specify the path, use the default generated path. If the generated path does not exist, mark the path for installation by setting do_install = true If do_install == false, verify the path (auto-generated or user-supplied) has conda installed by checking for the conda command. If the command does not exist, newinstall will fail.
          Hide
          ktl Kian-Tat Lim added a comment -

          Looks good to me.

          Show
          ktl Kian-Tat Lim added a comment - Looks good to me.

            People

            Assignee:
            bvan Brian Van Klaveren
            Reporter:
            bvan Brian Van Klaveren
            Reviewers:
            Kian-Tat Lim
            Watchers:
            Brian Van Klaveren, Kian-Tat Lim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.