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 - action #110260: o3 logreports - /var/lib/openqa/share/tests/obs/needles is not a git directory size:MResolvedkraih2022-02-03

Actions
Actions #1

Updated by tinita over 2 years ago

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

Updated by tinita over 2 years ago

  • Start date deleted (2022-02-03)
Actions #3

Updated by tinita over 2 years ago

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

Updated by livdywan over 2 years 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
Actions #5

Updated by livdywan over 2 years ago

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

Updated by livdywan over 2 years ago

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

Updated by livdywan over 2 years ago

  • Status changed from Workable to Blocked
Actions #8

Updated by okurz over 2 years ago

  • Assignee set to livdywan

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

Actions #9

Updated by tinita over 2 years ago

  • Status changed from Blocked to In Progress
  • Assignee changed from livdywan to tinita
Actions #10

Updated by tinita over 2 years ago

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

Actions #12

Updated by openqa_review over 2 years ago

  • Due date set to 2022-05-17

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

Actions #13

Updated by livdywan over 2 years ago

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

Updated by tinita over 2 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF