Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Extra data in job results #65400

Closed
dwoz opened this issue Oct 13, 2023 · 1 comment
Closed

[BUG] Extra data in job results #65400

dwoz opened this issue Oct 13, 2023 · 1 comment
Assignees
Labels
Bug broken, incorrect, or confusing behavior

Comments

@dwoz
Copy link
Contributor

dwoz commented Oct 13, 2023

Description
3006.3 will return extra data in job results

salt -c etc/master1 -C 'minion0001 or minion0002' state.sls test_state --log-level=info
minion0002:
----------
          ID: echos hi
    Function: cmd.run
      Result: False
     Comment: Command "echos hi" run
     Started: 13:46:50.714332
    Duration: 38.685 ms
     Changes:   
              ----------
              pid:
                  883892
              retcode:
                  127
              stderr:
                  /bin/bash: line 1: echos: command not found
              stdout:

Summary for minion0002
------------
Succeeded: 0 (changed=1)
Failed:    1
------------
Total states run:     1
Total run time:  38.685 ms
minion0002:
    Error: cmd.run
minion0001:
----------
          ID: echos hi
    Function: cmd.run
      Result: False
     Comment: Command "echos hi" run
     Started: 13:46:50.760755
    Duration: 3.71 ms
     Changes:   
              ----------
              pid:
                  883900
              retcode:
                  127
              stderr:
                  /bin/bash: line 1: echos: command not found
              stdout:

Summary for minion0001
------------
Succeeded: 0 (changed=1)
Failed:    1
------------
Total states run:     1
Total run time:   3.710 ms
ERROR: Minions returned with non-zero exit code

Notice this in the middle of the results

minion0002:
    Error: cmd.run
@dwoz dwoz added Bug broken, incorrect, or confusing behavior needs-triage and removed needs-triage labels Oct 13, 2023
@dwoz dwoz self-assigned this Oct 13, 2023
@dwoz dwoz changed the title [BUG] [BUG] Extra data in job results Oct 13, 2023
@OrangeDog
Copy link
Contributor

Is that in the stderr perhaps, not the stdout? In which case not an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug broken, incorrect, or confusing behavior
Projects
None yet
Development

No branches or pull requests

2 participants