arangodb/release-test-automation

Parameter "--package-dir" needs to use absolute path.

hkernbach opened this issue · 0 comments

Either mark it somewhere that it needs to be absolute, otherwise also enable relative path use. I had no clue why my file couldn't be found. The relative path was correct. using absolute path then fixed it.

Using:
--package-dir ./downloads/ or downloads/ does not work:

    fileobj = GzipFile(name, mode + "b", compresslevel, fileobj)
  File "/usr/local/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/gzip.py", line 174, in __init__
    fileobj = self.myfileobj = builtins.open(filename, mode or 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'downloads/arangodb3e-macos-3.11.0-nightly_x86_64.tar.gz'

It must be a full absolute path, e.g.

/Users/hkernbach/Git/ArangoDB/release-test-automation/downloads