Project

General

Profile

Actions

action #161393

closed

openQA Project (public) - coordination #112862: [saga][epic] Future ideas for easy multi-machine handling: MM-tests as first-class citizens

openQA Project (public) - coordination #111929: [epic] Stable multi-machine tests covering multiple physical workers

gitlab CI jobs do not execute salt-lint and do not fail on missing "find" executable

Added by okurz 7 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Regressions/Crashes
Start date:
2024-06-03
Due date:
% Done:

0%

Estimated time:

Description

Observation

https://gitlab.suse.de/pdostal/salt-pillars-openqa/-/jobs/2661772#L24
states

$ salt-lint -v $(if command -v git >/dev/null; then git ls-files "*.sls"; else find -name '*.sls'; fi)
/usr/bin/bash: line 149: find: command not found

so does not find "find" but then succeeds because the problem in the command evaluation is ignored so we never call salt-lint

Acceptance criteria

  • AC1: salt-lint CI jobs succeed again consistently
  • AC2: the CI jobs fail if find or another necessary application do not exist

Suggestions

  • Improve the command to fail if a necessary command does not exist. Possibly we can simplify to just rely on git (or find)
  • Ensure that salt-lint CI jobs succeed again consistently

Related issues 1 (0 open1 closed)

Copied to openQA Infrastructure (public) - action #161396: gitlab CI jobs do not fail on invalid YAML size:SResolvedybonatakis2024-06-03

Actions
Actions #1

Updated by okurz 7 months ago

  • Copied to action #161396: gitlab CI jobs do not fail on invalid YAML size:S added
Actions #2

Updated by okurz 7 months ago

  • Target version changed from Ready to Tools - Next
Actions #3

Updated by okurz 7 months ago

  • Description updated (diff)
Actions #4

Updated by okurz 7 months ago

  • Parent task set to #111929
Actions #6

Updated by ybonatakis 6 months ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF