Project

General

Profile

Actions

action #158023

closed

salt-states-openqa pipeline invalid arguments to state.highstate on monitor.qe.nue2.suse.org

Added by livdywan about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
Start date:
2024-03-26
Due date:
% Done:

0%

Estimated time:

Description

Observation

https://gitlab.suse.de/openqa/salt-states-openqa/-/jobs/2425817 and also https://gitlab.suse.de/openqa/salt-pillars-openqa/-/jobs/2422794

monitor.qe.nue2.suse.org:
    Passed invalid arguments to state.highstate: expected str, bytes or os.PathLike object, not list

Suggestions


Related issues 3 (0 open3 closed)

Related to openQA Infrastructure - action #156304: [salt-pillars] Pipeline failed / Passed invalid arguments to state.highstateRejectedokurz2024-02-29

Actions
Related to openQA Infrastructure - action #95140: regression: salt state fails on one worker with "Passed invalid arguments to state.highstate: expected str, bytes or os.PathLike object, not list" size:MResolvedokurz2021-07-06

Actions
Related to openQA Infrastructure - action #158041: grenache needs upgrade to 15.5Resolvedokurz2024-03-262024-04-09

Actions
Actions #1

Updated by livdywan about 1 month ago

  • Description updated (diff)
Actions #2

Updated by okurz about 1 month ago

  • Related to action #156304: [salt-pillars] Pipeline failed / Passed invalid arguments to state.highstate added
Actions #3

Updated by okurz about 1 month ago

  • Related to action #95140: regression: salt state fails on one worker with "Passed invalid arguments to state.highstate: expected str, bytes or os.PathLike object, not list" size:M added
Actions #4

Updated by okurz about 1 month ago

  • Assignee set to okurz

In the past we just accepted that we need to manually retry and have not found a better way.

Actions #5

Updated by okurz about 1 month ago

  • Status changed from New to Blocked

First we need to get grenache #158041 and openqaworker-arm-1 #157816 back

Actions #6

Updated by okurz about 1 month ago

Actions #8

Updated by okurz about 1 month ago

  • Status changed from Blocked to In Progress

I can reproduce the problem in https://gitlab.suse.de/openqa/salt-states-openqa/-/jobs/2428083#L1075

Apparently the problem was a stuck process on monitor.qe.nue2.suse.org:

root      7403  0.0  0.1 1383888 23216 ?       Sl   Mar25   0:45      \_ /usr/bin/python3 /usr/bin/salt-minion
root     17455  0.0  0.0  40468  6556 ?        S    Mar25   0:00      |   \_ systemctl start dehydrated

I terminated that process and salt continued. I realized this because I ran salt --state-output=changes 'monitor*' state.test and found:

monitor.qe.nue2.suse.org:
    Data failed to compile:
----------
    The function "state.highstate" is running as PID 7403 and was started at 2024, Mar 25 08:37:35.942378 with jid 20240325083735942378
----------
    The function "state.highstate" is running as PID 15299 and was started at 2024, Mar 26 12:49:36.904865 with jid 20240326124936904865

After some time waiting until the system settled the multiple salt calls I could call salt --state-output=changes 'monitor*' state.test again.

So salt-states-openqa is fine again. If that happens again I suggest to look for stuck processes.

I will research a bit if that is something we can improve.

Actions #9

Updated by okurz about 1 month ago

  • Status changed from In Progress to Resolved

Again haven't found anything. Except for getting in contact with salt developers I don't see a magic solution falling from the sky.

Actions

Also available in: Atom PDF