Project

General

Profile

action #110389

Updated by livdywan about 2 years ago

We see the following errors on o3: 
 ``` 
 # /var/log/openqa 
 [2022-04-27T08:03:21.764619Z] [warn] [pid:560] fatal: ambiguous argument 
 '9c5e43f22d8ec3817bd5084239ebc1ba5e17e962..UNKNOWN': unknown revision or path not in the working tree. 
 Use '--' to separate paths from revisions, like this: 
 'git <command> [<revision>...] -- [<file>...]' 
 [2022-04-27T08:03:21.799496Z] [warn] [pid:560] fatal: ambiguous argument 
 '9c5e43f22d8ec3817bd5084239ebc1ba5e17e962..UNKNOWN': unknown revision or path not in the working tree. 
 Use '--' to separate paths from revisions, like this: 
 'git <command> [<revision>...] -- [<file>...]' 

 ``` 
 More context for the last one: 
 ``` 
 [2022-04-27T08:03:21.738956Z] [info] [pid:560] Running cmd: git -C /var/lib/openqa/share/tests/opensuse log --stat --pretty=oneline --abbrev-commit --no-merges 9c5e43f22d8ec3817bd5084239ebc1ba5e17e962..UNKNOWN 
 [2022-04-27T08:03:21.764619Z] [warn] [pid:560] fatal: ambiguous argument '9c5e43f22d8ec3817bd5084239ebc1ba5e17e962..UNKNOWN': unknown revision or path not in the working tree. 
 Use '--' to separate paths from revisions, like this: 
 'git <command> [<revision>...] -- [<file>...]' 
 [2022-04-27T08:03:21.764973Z] [error] [pid:560] cmd returned 32768 
 [2022-04-27T08:03:21.765349Z] [info] [pid:560] Running cmd: timeout 20 git -C /var/lib/openqa/share/tests/opensuse diff --stat 9c5e43f22d8ec3817bd5084239ebc1ba5e17e962..UNKNOWN 
 [2022-04-27T08:03:21.799496Z] [warn] [pid:560] fatal: ambiguous argument '9c5e43f22d8ec3817bd5084239ebc1ba5e17e962..UNKNOWN': unknown revision or path not in the working tree. 
 Use '--' to separate paths from revisions, like this: 
 'git <command> [<revision>...] -- [<file>...]' 
 [2022-04-27T08:03:21.799656Z] [error] [pid:560] cmd returned 32768 
 ``` 

 ## Acceptance criteria 
 * **AC1**: Investigation results doesn't throw any errors (or log any messages) if git logs are invalid 

 ## Suggestions 
 * See #10392

Back