Runner v2.276.0 fails to open some stderr/stdout streams
See original GitHub issueDescribe the bug The newest runner version may fail to open some stderr/stdout streams. You can’t typically open() a socket, and it looks like the stderr stream may be getting kept as a socket now.
To Reproduce Run a ubuntu runner with the following yaml
name: CI test
on: push
jobs:
build:
name: test
runs-on: self-hosted
steps:
- name: test tee /dev/stderr
run : |
set -x
set -euo pipefail
seq 0 10 | tee /dev/stderr | xargs echo
It will fail with tee: /dev/stderr: No such device or address
Expected behavior
The stderr stream should open and this should not fail.
Runner Version and Platform
v2.276.0 on Ubuntu.
Other information
Looks like it may be related to the .net upgrade https://github.com/dotnet/runtime/issues/46469
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
How to redirect stdout+stderr to one file while keeping ...
Tweak to suit your needs. 1.Open two windows (shells). 2.Create some test files touch /tmp/foo /tmp/foo1 / ...
Read more >When to use standard error stream in command-line ...
In particular, the question I'm concerned with right now is whether to use stdout or stderr when the user called the program with...
Read more >How to grep standard error stream (stderr)?
This works by first creating a new file descriptor (3) open for output and setting it to the standard error stream ( 3>&2...
Read more >How to Redirect stderr to stdout in Bash
To redirect stderr and stdout, use the 2>&1 or &> constructs. ... By default, both input and error streams are printed on the...
Read more >How to redirect shell command output | Enable Sysadmin
STDERR : The error output from a command/script (file descriptor 2). By default, STDOUT and STDERR are sent to your terminal's screen. In...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is in the process of rolling out and all runners should be upgraded in the next day or so.
Should be fixed for everyone now!