Uploaded image for project: 'Coin'
  1. Coin
  2. COIN-341

Remove occurences of "../../ci-working-dir"

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P4: Low
    • None
    • None
    • Agent, Tests, WebServer
    • None
    • 955eb7a76da4cc0ffb53a2508b10272b00f28b68 (qtqa/tqtc-coin-ci/master)

    Description

      When I was running tests, they failed in an obscure way because they couldn't write to /home/tmp/ci-working-dir. It turns out this was because a chain of events starting at workspace.go:RootWorkingDirectory()

      	dir = filepath.Join(folderPath, "..", "..", "ci-working-dir")
      

      This escapes the temporary directory created by tests under /tmp and creates problems. There are many occurrences of "../../ci-working-dir" in both python and go code. We could replace all of them with a temporary directory under /tmp or /var/tmp or even at $HOME/ci-working-dir, or even require a command-line option.

      Attachments

        For Gerrit Dashboard: COIN-341
        # Subject Branch Project Status CR V

        Activity

          People

            aakeskimo Aapo Keskimölö
            jimis Dimitrios Apostolou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes