action #123649
Updated by okurz almost 2 years ago
## Observation I found these error messages in the gru journal on o3: ``` Jan 24 11:08:40 ariel openqa-gru[19289]: Could not chdir back to start dir '': No such file or directory' at /usr/share/openqa/script/../lib/OpenQA/Downloader.pm line 102. Jan 24 11:14:21 ariel openqa-gru[16615]: Could not chdir back to start dir '': No such file or directory' at /usr/share/openqa/script/../lib/OpenQA/Downloader.pm line 102. Jan 24 11:16:33 ariel openqa-gru[17881]: Could not chdir back to start dir '': No such file or directory' at /usr/share/openqa/script/../lib/OpenQA/Downloader.pm line 102. Jan 24 11:16:34 ariel openqa-gru[16571]: Could not chdir back to start dir '': No such file or directory' at /usr/share/openqa/script/../lib/OpenQA/Downloader.pm line 102. Jan 24 11:19:07 ariel openqa-gru[16544]: Could not chdir back to start dir '': No such file or directory' at /usr/share/openqa/script/../lib/OpenQA/Downloader.pm line 102. Jan 24 11:24:12 ariel openqa-gru[20153]: Could not chdir back to start dir '': No such file or directory' at /usr/share/openqa/script/../lib/OpenQA/Downloader.pm line 102. Jan 24 11:30:32 ariel openqa-gru[27467]: Could not chdir back to start dir '': No such file or directory' at /usr/share/openqa/script/../lib/OpenQA/Downloader.pm line 102. Jan 24 11:30:43 ariel openqa-gru[25253]: Could not chdir back to start dir '': No such file or directory' at /usr/share/openqa/script/../lib/OpenQA/Downloader.pm line 102. ``` ## Acceptance criteria * **AC1:** **AC1**: gru logs don't contain these unknown error messages ## Suggestions * Try changing the working directory before invoking code from Archive::Extract * As desired artifically trigger the problem as mentioned in #123649#note-15 * Check comments for reproducing the issue in production * Could it be multi-processes trying to access working with the same directories? * Could it be a system owned tmpfile cleanup? * Optional: Consider ensuring we have a proper log level reported, e.g. "[error] …"