Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-20162

[nightly] depending on pipeline execution we sometimes refer to the wrong workspace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.0.0-alpha-1, 2.1.0, 1.5.0, 1.3.3, 1.4.3, 2.0.0, 1.2.7
    • 1.3.2, 1.4.3, 2.0.0, 1.2.7
    • test
    • None

    Description

      we set BASEDIR at the top of our pipeline to point at the component checkout within WORKSPACE.

      but!

      a) at that point WORKSPACE is the workspace for the launching task
      b) sometimes our parallel executions get a task with a different local WORKSPACE to allow for coexisting on the same build host
      c) when this happens our parallel stages are referring to some other absolute path on the host
      d) in most cases we're referring to dev-support files like e.g. the nightly build script or machine info script that are the same across branches so things are fine if we aren't running at the same time as a job that's overwritting them
      e) we also refer to the Dockerfile this way, so weird bugs I'm sure.
      f) we build the source tarball from here, so that's probably broken subtly
      g) sometimes that other directory doesn't exist at all and we fail with confusing messages about stuff not found

      Attachments

        1. HBASE-20162.0.patch
          6 kB
          Sean Busbey

        Issue Links

          Activity

            People

              busbey Sean Busbey
              busbey Sean Busbey
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: