Project

General

Profile

Actions

action #110389

closed

o3 logreports - fatal: ambiguous argument: unknown revision or path not in the working tree size:M

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

Status:
Resolved
Priority:
High
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
Due date:
2022-05-17
% Done:

0%

Estimated time:

Description

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

Related issues 1 (0 open1 closed)

Copied from openQA Project (public) - action #110260: o3 logreports - /var/lib/openqa/share/tests/obs/needles is not a git directory size:MResolvedkraih2022-02-03

Actions
Actions

Also available in: Atom PDF