Project

General

Profile

Actions

action #113507

closed

[logwarn] fatal: ambiguous argument '(unreadable git hash)..abcdef': unknown revision or path not in the working tree

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

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

0%

Estimated time:

Description

We are getting emails from logwarn (currently as returned emails from MAILER-DAEMON, see #110920 )

log excerpt from o3 /var/log/openqa:

[2022-07-12T13:31:58.429367Z] [info] [pid:13004] Running cmd: timeout 20 git -C /var/lib/openqa/share/tests/opensuse/products/opensuse/needles diff --stat (unreadable git hash)..c9433ae
ebdc06b09182ab933bd110924a05faaee
[2022-07-12T13:31:58.456827Z] [warn] [pid:13004] fatal: ambiguous argument '(unreadable git hash)..c9433aeebdc06b09182ab933bd110924a05faaee': unknown revision or path not in the working
 tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
[2022-07-12T13:31:58.457171Z] [error] [pid:13004] cmd returned 32768

Suggestions


Related issues 1 (0 open1 closed)

Related to openQA Project - action #113030: test distribution directory git revision can be parsed as "UNKNOWN" and openQA investigation fails to show test git log size:MResolvedokurz2022-06-24

Actions
Actions #1

Updated by tinita about 2 years ago

  • Description updated (diff)
Actions #2

Updated by tinita about 2 years ago

  • Status changed from New to Feedback
  • Assignee set to tinita

https://github.com/os-autoinst/os-autoinst/pull/2116 - Ensure the directory in git_rev_parse is absolute (merged)

It occurred to me that the error message about the unsafe git directory only happens when the path given is not absolute:
https://openqa.opensuse.org/tests/2465264/logfile?filename=autoinst-log.txt

When this is deployed on all workers (including the above), there should be no more emails about that.

It's probably good to not ignore that in logwarn.

Actions #3

Updated by livdywan about 2 years ago

  • Related to action #113030: test distribution directory git revision can be parsed as "UNKNOWN" and openQA investigation fails to show test git log size:M added
Actions #4

Updated by okurz about 2 years ago

  • Due date set to 2022-07-22
Actions #5

Updated by mkittler about 2 years ago

  • Status changed from Feedback to Blocked

blocked by #113030

Actions #6

Updated by livdywan about 2 years ago

  • Due date deleted (2022-07-22)
Actions #7

Updated by okurz about 2 years ago

  • Status changed from Blocked to Resolved
Actions

Also available in: Atom PDF