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

EOF Error on podman machine start (Mac M1) #20815

Closed
cevich opened this issue Nov 28, 2023 · 1 comment
Closed

EOF Error on podman machine start (Mac M1) #20815

cevich opened this issue Nov 28, 2023 · 1 comment
Labels
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. machine macos MacOS (OSX) related

Comments

@cevich
Copy link
Member

cevich commented Nov 28, 2023

Issue Description

While testing rollout of new podman-machine CI for the Mac M1, a rare (<1%) test failure was observed. 99% of other experimental-ci runs (of basic tests) executed at/around the same time passed.

Steps to reproduce the issue

Steps to reproduce the issue

  1. Unknown 😞

Describe the results you received

Cirrus Log

------------------------------
run basic podman commands
/Users/MacM1-6-worker/ci/task-5689431747723264/pkg/machine/e2e/basic_test.go:15
  Basic ops
  /Users/MacM1-6-worker/ci/task-5689431747723264/pkg/machine/e2e/basic_test.go:28
  > Enter [BeforeEach] run basic podman commands - /Users/MacM1-6-worker/ci/task-5689431747723264/pkg/machine/e2e/basic_test.go:21 @ 11/27/23 17:52:24.248
  < Exit [BeforeEach] run basic podman commands - /Users/MacM1-6-worker/ci/task-5689431747723264/pkg/machine/e2e/basic_test.go:21 @ 11/27/23 17:55:07.007 (2m42.76s)
  > Enter [It] Basic ops - /Users/MacM1-6-worker/ci/task-5689431747723264/pkg/machine/e2e/basic_test.go:28 @ 11/27/23 17:55:07.007
  /Users/MacM1-6-worker/ci/task-5689431747723264/bin/darwin/podman machine init --image-path /private/tmp/ci/podman_test2852998336/fedora-coreos-38.20230925.dev.0-applehv.aarch64.raw.gz --now c475cf10e0e5
  Machine init complete
  Starting machine "c475cf10e0e5"
  Error: EOF
  [FAILED] Expected
      <int>: 125
  to match exit code:
      <int>: 0
  In [It] at: /Users/MacM1-6-worker/ci/task-5689431747723264/pkg/machine/e2e/basic_test.go:35 @ 11/27/23 17:59:45.116
  Full Stack Trace
    github.com/containers/podman/v4/pkg/machine/e2e_test.glob..func1.3()
    	/Users/MacM1-6-worker/ci/task-5689431747723264/pkg/machine/e2e/basic_test.go:35 +0x1c0
  < Exit [It] Basic ops - /Users/MacM1-6-worker/ci/task-5689431747723264/pkg/machine/e2e/basic_test.go:28 @ 11/27/23 17:59:45.116 (4m38.109s)
  > Enter [AfterEach] run basic podman commands - /Users/MacM1-6-worker/ci/task-5689431747723264/pkg/machine/e2e/basic_test.go:24 @ 11/27/23 17:59:45.116
  /Users/MacM1-6-worker/ci/task-5689431747723264/bin/darwin/podman machine rm --force c475cf10e0e5
  < Exit [AfterEach] run basic podman commands - /Users/MacM1-6-worker/ci/task-5689431747723264/pkg/machine/e2e/basic_test.go:24 @ 11/27/23 17:59:45.372 (256ms)
• [FAILED] [441.125 seconds]
run basic podman commands
/Users/MacM1-6-worker/ci/task-5689431747723264/pkg/machine/e2e/basic_test.go:15
  [It] Basic ops
  /Users/MacM1-6-worker/ci/task-5689431747723264/pkg/machine/e2e/basic_test.go:28
------------------------------

Subsequent test (there's only one) in this run passed.

Describe the results you expected

All basic tests should always pass.

podman info output

N/A

Podman-remote & tests built from d1236f46fc5cb29e8da296c3662f8ce869865030

Podman in a container

No

Privileged Or Rootless

Rootless

Upstream Latest Release

Yes

Additional environment details

Mac OS 14
MACHINE_TEST_TIMEOUT=500
vfkit version: 0.5.0
Image: https://fedorapeople.org/groups/podman/testing/applehv/arm64/fedora-coreos-38.20230925.dev.0-applehv.aarch64.raw.gz

Additional information

Chatted with @ashley-cui about this, she said "My hunch is a garbled machine config file due to a race somewhere". So this could be a high-value/high-appreciation fix, but with potentially incredibly difficult debugging required.

@cevich cevich added the kind/bug Categorizes issue or PR as related to a bug. label Nov 28, 2023
@Luap99 Luap99 added macos MacOS (OSX) related machine labels Nov 28, 2023
@Luap99
Copy link
Member

Luap99 commented Apr 4, 2024

I am going to assume this works on main

@Luap99 Luap99 closed this as completed Apr 4, 2024
@stale-locking-app stale-locking-app bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Jul 4, 2024
@stale-locking-app stale-locking-app bot locked as resolved and limited conversation to collaborators Jul 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
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. machine macos MacOS (OSX) related
Projects
None yet
Development

No branches or pull requests

2 participants