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

flake: remote: podman cp dir from host to container #8972

Closed
edsantiago opened this issue Jan 14, 2021 · 15 comments
Closed

flake: remote: podman cp dir from host to container #8972

edsantiago opened this issue Jan 14, 2021 · 15 comments
Assignees
Labels
flakes Flakes from Continuous Integration kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. remote Problem is in podman-remote

Comments

@edsantiago
Copy link
Member

podman-remote cp tests are flaking; so far only on ubuntu-2004. Symptom is:

# podman-remote --url unix:/tmp/podman.RlDd0r exec cpcontainer cat /usr//hostfile0
#/vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
#|     FAIL: copy contents of dir to usr/ (cp -> ctr:/usr/)
#| expected: 'random-0-C2gGRg2DgJ'
#|   actual: ''
#\^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Instances to date:

sys: podman cp dir from host to container

Also seen in nightly cron

Test context:

run_podman exec cpcontainer cat $dest_fullname/hostfile0

@edsantiago edsantiago added flakes Flakes from Continuous Integration kind/bug Categorizes issue or PR as related to a bug. remote Problem is in podman-remote labels Jan 14, 2021
@vrothberg
Copy link
Member

vrothberg commented Jan 14, 2021

Thanks, @edsantiago! Do you know how long it's happening already? (i.e., when it started to occur)

@edsantiago
Copy link
Member Author

The first comment shows all instances known to my cirrus-flake-summarize script. It shows the first instance on 2020-12-22.

@vrothberg
Copy link
Member

I will take a look at it once #8281 is fixed.

@vrothberg
Copy link
Member

Looking at the failure, I am under the impression that remote exec is the flaky.

The file seems to be copied since we're not getting an ENOENT from the container. So it seems like remote exec is missing the output.

@vrothberg
Copy link
Member

The listed flakes have on thing in common: sys remote ubuntu-2004 root host

@edsantiago
Copy link
Member Author

Well, now that you mention it, I searched my flake logs for anything that happens only on ubuntu 2004:

sys: podman cp into a subdirectory matching GraphRoot

sys: podman cp into container: weird symlink expansion

@edsantiago
Copy link
Member Author

Here's one with a similar symptom, but it's f33 and not remote??

sys: podman exec - with keep-id

@vrothberg
Copy link
Member

It's smelling a like a race with conmon. A tough cookie without an easy reproducer.

I'll skip this one for now in hope to get a better reproducer or for it to magically disappear.

@vrothberg
Copy link
Member

My hopes are high the flake has been fixed with the latest conmon v2.0.26 (currently in testing for F3{2,3}).

@github-actions
Copy link

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

@rhatdan
Copy link
Member

rhatdan commented Mar 11, 2021

@edsantiago Can you confirm/deny @vrothberg decision, IE Can we close this issue?

@edsantiago
Copy link
Member Author

@vrothberg's comment was on Feb 8. I see one instance since then:

sys: podman cp dir from host to container

...but that was conmon-2.0.22~1-amd64. Unfortunately this is one of those flakes that appears in multiple tests, so I can't know if it's still present unless I go through all flake logs. But I will close for now, and reopen if I see it again.

@edsantiago
Copy link
Member Author

It's not dead. (remote ubuntu 2110 root):

# # podman-remote --url unix:/tmp/podman_tmp_52Zm exec cpcontainer cat /srv/subdir/hostfile0
# #/vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
# #|     FAIL: copy to workdir/subdir (cp -> ctr:subdir)
# #| expected: 'random-0-BpQsfwQPb8'
# #|   actual: ''
# #\^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

It's the old ubuntu, which we no longer test, so I'm not going to reopen this issue.

@edsantiago
Copy link
Member Author

Reopening, because we just saw this on 36-aarch64:

@edsantiago
Copy link
Member Author

Looks like this is another Ubuntu-only error.

@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 5, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
flakes Flakes from Continuous Integration kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. remote Problem is in podman-remote
Projects
None yet
Development

No branches or pull requests

3 participants