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

Docker executor does not propagate stderr output #611

Closed
x4204 opened this issue Jul 14, 2024 · 0 comments · Fixed by #615
Closed

Docker executor does not propagate stderr output #611

x4204 opened this issue Jul 14, 2024 · 0 comments · Fixed by #615
Labels
enhancement New feature to be implemented

Comments

@x4204
Copy link
Contributor

x4204 commented Jul 14, 2024

Output from stderr does not appear in step logs

Example DAG:

steps:
  - name: 'run'
    command: ['run']
    executor:
      type: 'docker'
      config:
        image: 'ubuntu:24.04'
        host:
          AutoRemove: true
          Binds:
            - '/tmp/run:/usr/bin/run'

Script /tmp/run:

#!/bin/sh

echo '<message to stdout>'
echo '<message to stderr>' 1>&2

Expectation

Stderr output appears in step logs:
image

Actual

Stderr output does not appear in step logs:
image

@yohamta yohamta added the enhancement New feature to be implemented label Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature to be implemented
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants