Project

General

Profile

Actions

action #123649

closed

Error message in gru logs: Could not chdir back to start dir '' size:M

Added by tinita almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2023-01-25
Due date:
2023-02-09
% Done:

0%

Estimated time:

Description

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: gru logs don't contain these 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] …"

Related issues 1 (1 open0 closed)

Related to openQA Project (public) - action #123175: o3 fails to download images resulting in zero sized disk images/isosNew2023-01-16

Actions
Actions

Also available in: Atom PDF