Project

General

Profile

action #110389

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

Added by tinita about 2 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Concrete Bugs
Target version:
Start date:
Due date:
2022-05-17
% Done:

0%

Estimated time:
Difficulty:

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

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

History

#1 Updated by tinita about 2 months ago

  • Copied from action #110260: o3 logreports - /var/lib/openqa/share/tests/obs/needles is not a git directory size:M added

#2 Updated by tinita about 2 months ago

  • Start date deleted (2022-02-03)

#3 Updated by tinita about 2 months ago

  • Copied to action #110392: o3 logreports - Can't open file "/var/lib/openqa/testresults/.../vars.json" size:M added

#4 Updated by cdywan about 2 months ago

  • Subject changed from o3 logreports - fatal: ambiguous argument: unknown revision or path not in the working tree to o3 logreports - fatal: ambiguous argument: unknown revision or path not in the working tree size:M
  • Description updated (diff)
  • Status changed from New to Workable

#5 Updated by cdywan about 2 months ago

  • Copied to deleted (action #110392: o3 logreports - Can't open file "/var/lib/openqa/testresults/.../vars.json" size:M)

#6 Updated by cdywan about 2 months ago

  • Blocked by action #110392: o3 logreports - Can't open file "/var/lib/openqa/testresults/.../vars.json" size:M added

#7 Updated by cdywan about 2 months ago

  • Status changed from Workable to Blocked

#8 Updated by okurz about 2 months ago

  • Assignee set to cdywan

please use "Blocked" only with assignee so that we know who tracks the blocker.

#9 Updated by tinita about 2 months ago

  • Status changed from Blocked to In Progress
  • Assignee changed from cdywan to tinita

#10 Updated by tinita about 2 months ago

https://github.com/os-autoinst/openQA/pull/4633 Deal with unknown git revision

#12 Updated by openqa_review about 2 months ago

  • Due date set to 2022-05-17

Setting due date based on mean cycle time of SUSE QE Tools

#13 Updated by cdywan about 2 months ago

  • Blocked by deleted (action #110392: o3 logreports - Can't open file "/var/lib/openqa/testresults/.../vars.json" size:M)

#14 Updated by tinita about 2 months ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF