Project

General

Profile

Actions

action #123445

closed

[tools] ShellCheck test in os-autoinst fails in CI ( on Tumbleweed )

Added by osukup almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2023-01-20
Due date:
% Done:

0%

Estimated time:

Description

In tumbleweed was released new version of ShellCheck catching new problems in scripts leading to fail in our CI:

test 4
    Start 4: test-local-shellcheck
4: Test command: /opt/tools/check-shellcheck "/usr/bin/shellcheck"
4: Working Directory: /opt
4: Test timeout computed to be: 10000000
4: 
4: In tools/container_run_ci line 33:
4:     -h | --help ) usage 0; shift ;;
4:                            ^----^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
4: 
4: 
4: In tools/invoke-tests line 28:
4:     -h | --help               ) usage;                     shift   ;;
4:                                                            ^------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
4: 
4: 
4: In tools/tidy line 37:
4:     -h | --help ) usage; shift ;;
4:                          ^----^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
4: 
4: For more information:
4:   https://www.shellcheck.net/wiki/SC2317 -- Command appears to be unreachable...
4/7 Test #4: test-local-shellcheck ............***Failed    0.18 sec

Acceptance criteria

AC1: CI passes

Actions

Also available in: Atom PDF