containers / podman

Podman: A tool for managing OCI containers and pods.
https://podman.io
Apache License 2.0
23.7k stars 2.41k forks source link

build with multiple secrets: lstat /something: ENOENT #20485

Open edsantiago opened 1 year ago

edsantiago commented 1 year ago

New flake, seen twice in the last week:

           [It] podman build with multiple secrets from files
...
           # podman-remote [options] build -f build/Containerfile.with-multiple-secret -t multiple-secret-test --secret id=mysecret,src=build/secret.txt --secret id=mysecret2,src=build/anothersecret.txt build/
           time="2023-10-25T12:40:40-05:00" level=error msg="1 error occurred:\n\t* lstat /var/tmp/go/src/github.com/containers/podman/test/e2e/build/podman-build-secret4082747894: no such file or directory\n\n\n"
           Error: Post "http://d/v4.8.0/libpod/build?dockerfile=%5B%22Containerfile.with-multiple-secret%22%5D&forcerm=1&httpproxy=1&identitylabel=1&idmappingoptions=%7B%22HostUIDMapping%22%3Atrue%2C%22HostGIDMapping%22%3Atrue%2C%22UIDMap%22%3A%5B%5D%2C%22GIDMap%22%3A%5B%5D%2C%22AutoUserNs%22%3Afalse%2C%22AutoUserNsOpts%22%3A%7B%22Size%22%3A0%2C%22InitialSize%22%3A0%2C%22PasswdFile%22%3A%22%22%2C%22GroupFile%22%3A%22%22%2C%22AdditionalUIDMappings%22%3Anull%2C%22AdditionalGIDMappings%22%3Anull%7D%7D&isolation=1&jobs=1&layers=1&networkmode=0&nsoptions=%5B%7B%22Name%22%3A%22user%22%2C%22Host%22%3Atrue%2C%22Path%22%3A%22%22%7D%5D&omithistory=0&output=multiple-secret-test&outputformat=application%2Fvnd.oci.image.manifest.v1%2Bjson&pullpolicy=missing&rm=1&seccomp=%2Fusr%2Fshare%2Fcontainers%2Fseccomp.json&secrets=%5B%22id%3Dmysecret%2Csrc%3Dpodman-build-secret3756736365%22%2C%22id%3Dmysecret2%2Csrc%3Dpodman-build-secret2749390315%22%5D&shmsize=67108864&t=multiple-secret-test": io: read/write on closed pipe

(I'm assuming the real error is lstat/ENOENT, not the io/pipe one. I may be wrong).

Seen in: int remote debian-13+fedora-39β root host sqlite

github-actions[bot] commented 11 months ago

A friendly reminder that this issue had no activity for 30 days.

flouthoc commented 11 months ago

I'll check this, thanks for reporting.

edsantiago commented 11 months ago

Full list to date:

Seen in: int remote debian-13+fedora-39β root host sqlite

edsantiago commented 7 months ago

ping

x x x x x x
int(3) remote(3) rawhide(3) root(3) host(3) sqlite(3)