Skip to content

[Bug]: Integration tests - container machine startup flakes - XPC timeouts. #2003

Description

@jglogan

I have done the following

  • I have searched the existing issues
  • If possible, I've reproduced the issue using the 'main' branch of this project

Steps to reproduce

Occurs primarily when running tests in CI. I don't see it very often with local runs:

rm -rf ./test-logs ./test-temp ; make APP_ROOT=./test-data LOG_ROOT=./test-logs PRESERVE_KERNELS=true all test integration

Problem description

We see errors like this:

✘ Test testCreate() recorded an issue at TestCLIMachineCommand.swift:27:6: Caught error: .nonZeroExit(1, "Warning! Running debug build. Performance may be degraded.\n[0/3] [0s]\n[1/3] Fetching image [0s]\n[2/3] Unpacking image [0s]\n[2/3] Unpacking image [1s]\n[2/3] Unpacking image [2s]\n[2/3] Unpacking image [3s]\n[2/3] Unpacking image [4s]\n[2/3] Unpacking image [5s]\n[2/3] Unpacking image [6s]\n[2/3] Unpacking image [7s]\n[2/3] Unpacking image [8s]\n[2/3] Unpacking image [9s]\n[2/3] Unpacking image [10s]\n[2/3] Unpacking image [11s]\n[2/3] Unpacking image [12s]\nError: failed to create container machine (cause: \"internalError: \"XPC timeout for request to com.apple.container.core.machine-apiserver/createMachine\"\")")
━ Test testCreateNameLongestValid() recorded a known issue at TestCLIMachineCommand.swift:45:29: Caught error: .nonZeroExit(1, "Warning! Running debug build. Performance may be degraded.\nError: failed to boot container machine (cause: \"internalError: \"XPC timeout for request to com.apple.container.core.machine-apiserver/bootMachine\"\")")

At present we have testCreateNameLongestValid marked to xfail, but when testCreate fails, the build errors out.

Environment

- OS: 26
- Xcode: 26
- Container: main

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions