[Bug]: Container related commands failed with interrupted: "XPC connection error: Connection interrupted
I have done the following
- [x] I have searched the existing issues
- [x] If possible, I've reproduced the issue using the 'main' branch of this project
Steps to reproduce
- Initialize a container list command with Application.ContainerList()
- Run command with try await command.run()
Current behavior
Getting internalError: "failed to list containers" (cause: "interrupted: "XPC connection error: Connection interrupted"")
PS:
- I have also tried to call ClientContainer.list() directly, but the same error occurs.
- Other container commands such as container create failed with the same error.
- I use the same approach for listing images and I am indeed getting all the images as expected.
Expected behavior
List containers successfully.
Environment
- OS: Version 26.1 Beta (25B5042k)
- Xcode: Version 26.1 beta
- Container: Main branch, commit: 69fd948
Relevant log output
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Does container system logs provide any additional information about the error?
Does
container system logsprovide any additional information about the error?
Not really, below is what I got for the log.
Filtering the log data using "subsystem ==[cd] "com.apple.container""
Timestamp Thread Type Activity PID TTL
--------------------------------------------------------------------------------------------------------------------
Log - Default: 0, Info: 0, Debug: 0, Error: 0, Fault: 0
Activity - Create: 0, Transition: 0, Actions: 0
I realized that I haven't rebuilt container executables with the newest source which might be what is causing the problem. However, when I run
BUILD_CONFIGURATION=release make all test integration
BUILD_CONFIGURATION=release make install
I ended up hanging at checking if APIServer is alive forever.
If I killed process and run make install, and try to start the system with container system start,
I will end up waiting for Verifying apiserver is running....