-
Notifications
You must be signed in to change notification settings - Fork 303
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
Downgrade pty to v1.1.19 #2791
Downgrade pty to v1.1.19 #2791
Conversation
1.1.20 and 1.1.21 appear to have a bug where occasionally, running processes under the pty will return a fork/exec: operation not permitted error
I get "open /dev/pts/0: permission denied" with buildkite-agent-3.59.0, |
I just started getting |
Just checking @danktec, $ docker run --rm -it --entrypoint sh buildkite/agent:latest
/ # which buildkite-agent
/usr/local/bin/buildkite-agent
/ # stat $(which buildkite-agent)
File: /usr/local/bin/buildkite-agent
Size: 44301452 Blocks: 86528 IO Block: 4096 regular file
Device: f5h/245d Inode: 571703 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2024-08-08 02:50:50.000000000 +0000
Modify: 2024-08-08 02:50:50.000000000 +0000
Change: 2024-08-08 05:43:06.593159640 +0000 |
@DrJosh9000 I did ensure all permissions were correct in all the places. The only thing i can point to potentially is having a bad git-clone hook in the cfg file. PS: I was running the agent via the apt installer on Ubuntu. (Agent runs on the host, then it calls docker on the same host, (trying to avoid other DinD issues)) |
Thanks @danktec , just have to make sure we aren't missing something. If you (or anyone) suspects pty problems, and are particularly motivated to help debug: part of the process of blaming pty for the bug was running the agent under |
Description
1.1.20 and 1.1.21 appear to have a bug where occasionally, running processes under the pty will return a fork/exec: operation not permitted error
fixes #2790
Context
#2790
Coda escalations 1 and 2
Testing
go test ./...
). Buildkite employees may check this if the pipeline has run automatically.go fmt ./...
)