You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$TMPDIR must be less than 21 characters.
NG:export TMPDIR=/tmp/0123456789/012345
OK:export TMPDIR=/tmp/0123456789/01234
Steps to reproduce the issue
Steps to reproduce the issue
Preconfiguration
% git clone https://github.com/containers/podman.git
% cd podman
% make podman-remote
NG case
% echo $TMPDIR
/var/folders/1c/_h1nw8g90fqfvqt7y1swj5x40000gn/T/
% make localmachine FOCUS="simple init with start"
...
Will run 1 of 51 specs
------------------------------
[BeforeSuite]
/Users/shtanaka/tmp/podman/pkg/machine/e2e/machine_test.go:48
> Enter [BeforeSuite] TOP-LEVEL - /Users/shtanaka/tmp/podman/pkg/machine/e2e/machine_test.go:48 @ 04/12/24 15:48:37.843
Looking up Podman Machine image at quay.io/podman/machine-os:5.1 to create VM
Extracting compressed file: podman-machine-daily.aarch64.applehv.raw: done
< Exit [BeforeSuite] TOP-LEVEL - /Users/shtanaka/tmp/podman/pkg/machine/e2e/machine_test.go:48 @ 04/12/24 15:48:47.366 (9.523s)
[BeforeSuite] PASSED [9.523 seconds]
------------------------------
...
/Users/shtanaka/tmp/podman/bin/darwin/podman machine start 98180c6921ef
Starting machine "98180c6921ef"
time="2024-04-12T15:49:03+09:00" level=error msg="listen unix /var/folders/1c/_h1nw8g90fqfvqt7y1swj5x40000gn/T/podman_test1945429264/.podman/98180c6921ef-ignition.sock: bind: invalid argument"
Error: vfkit exited unexpectedly with exit code 1
[FAILED] Expected
<int>: 125
to match exit code:
<int>: 0
In [It] at: /Users/shtanaka/tmp/podman/pkg/machine/e2e/init_test.go:117 @ 04/12/24 15:49:04.522
Full Stack Trace
github.com/containers/podman/v5/pkg/machine/e2e_test.init.func3.5()
/Users/shtanaka/tmp/podman/pkg/machine/e2e/init_test.go:117 +0x4ac
< Exit [It] simple init with start - /Users/shtanaka/tmp/podman/pkg/machine/e2e/init_test.go:101 @ 04/12/24 15:49:04.522 (9.175s)
> Enter [AfterEach] podman machine init - /Users/shtanaka/tmp/podman/pkg/machine/e2e/init_test.go:29 @ 04/12/24 15:49:04.522
/Users/shtanaka/tmp/podman/bin/darwin/podman machine rm --force 98180c6921ef
< Exit [AfterEach] podman machine init - /Users/shtanaka/tmp/podman/pkg/machine/e2e/init_test.go:29 @ 04/12/24 15:49:04.836 (314ms)
• [FAILED] [17.469 seconds]
...
OK case
% export TMPDIR=/private/tmp
% make localmachine FOCUS="simple init with start"
...
Will run 1 of 51 specs
------------------------------
[BeforeSuite]
/Users/shtanaka/tmp/podman/pkg/machine/e2e/machine_test.go:48
> Enter [BeforeSuite] TOP-LEVEL - /Users/shtanaka/tmp/podman/pkg/machine/e2e/machine_test.go:48 @ 04/12/24 16:19:33.171
Looking up Podman Machine image at quay.io/podman/machine-os:5.1 to create VM
Extracting compressed file: podman-machine-daily.aarch64.applehv.raw: done
< Exit [BeforeSuite] TOP-LEVEL - /Users/shtanaka/tmp/podman/pkg/machine/e2e/machine_test.go:48 @ 04/12/24 16:19:42.757 (9.587s)
[BeforeSuite] PASSED [9.587 seconds]
------------------------------
...
/Users/shtanaka/tmp/podman/bin/darwin/podman machine start 4e742298ce23
Starting machine "4e742298ce23"
This machine is currently configured in rootless mode. If your containers
require root permissions (e.g. ports < 1024), or if you run into compatibility
issues with non-podman clients, you can switch using the following command:
podman machine set --rootful 4e742298ce23
time="2024-04-12T16:20:29+09:00" level=warning msg="API socket failed ping test"
API forwarding listening on: /var/run/docker.sock
Docker API clients default to this address. You do not need to set DOCKER_HOST.
Machine "4e742298ce23" started successfully
...
< Exit [It] simple init with start - /Users/shtanaka/tmp/podman/pkg/machine/e2e/init_test.go:101 @ 04/12/24 16:20:30.418 (40.404s)
> Enter [AfterEach] podman machine init - /Users/shtanaka/tmp/podman/pkg/machine/e2e/init_test.go:29 @ 04/12/24 16:20:30.418
/Users/shtanaka/tmp/podman/bin/darwin/podman machine rm --force 4e742298ce23
< Exit [AfterEach] podman machine init - /Users/shtanaka/tmp/podman/pkg/machine/e2e/init_test.go:29 @ 04/12/24 16:20:31.954 (1.537s)
• [49.196 seconds]
Describe the results you received
Summarizing 1 Failure:
[FAIL] podman machine init [It] simple init with start
/Users/shtanaka/tmp/podman/pkg/machine/e2e/init_test.go:117
Ran 1 of 51 Specs in 26.994 seconds
FAIL! -- 0 Passed | 1 Failed | 0 Pending | 50 Skipped
--- FAIL: TestMachine (27.00s)
FAIL
Describe the results you expected
Ran 1 of 51 Specs in 58.784 seconds
SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 50 Skipped
PASS
podman info output
% ./bin/darwin/podman info host:
arch: arm64buildahVersion: 1.35.0cgroupControllers:
- cpu
- io
- memory
- pidscgroupManager: systemdcgroupVersion: v2conmon:
package: conmon-2.1.10-1.fc39.aarch64path: /usr/bin/conmonversion: 'conmon version 2.1.10, commit: 'cpuUtilization:
idlePercent: 99.88systemPercent: 0.06userPercent: 0.06cpus: 5databaseBackend: sqlitedistribution:
distribution: fedoravariant: coreosversion: "39"eventLogger: journaldfreeLocks: 2048hostname: localhost.localdomainidMappings:
gidmap:
- container_id: 0host_id: 1000size: 1
- container_id: 1host_id: 100000size: 1000000uidmap:
- container_id: 0host_id: 501size: 1
- container_id: 1host_id: 100000size: 1000000kernel: 6.7.7-200.fc39.aarch64linkmode: dynamiclogDriver: journaldmemFree: 1551302656memTotal: 2047864832networkBackend: netavarknetworkBackendInfo:
backend: netavarkdns:
package: aardvark-dns-1.10.0-1.20240312103946045036.main.18.g8377c0a.fc39.aarch64path: /usr/libexec/podman/aardvark-dnsversion: aardvark-dns 1.11.0-devpackage: netavark-1.10.1-1.20240319111419242122.main.46.gcc3f35d.fc39.aarch64path: /usr/libexec/podman/netavarkversion: netavark 1.11.0-devociRuntime:
name: crunpackage: crun-1.14.4-1.20240302220834691516.main.10.g64ee22c.fc39.aarch64path: /usr/bin/crunversion: |- crun version UNKNOWN commit: feb70bc2ab11944a6443e4f5d2eb96a22f186b80 rundir: /run/user/501/crun spec: 1.0.0 +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +LIBKRUN +WASM:wasmedge +YAJLos: linuxpasta:
executable: /usr/bin/pastapackage: passt-0^20240220.g1e6f92b-1.fc39.aarch64version: | pasta 0^20240220.g1e6f92b-1.fc39.aarch64-pasta Copyright Red Hat GNU General Public License, version 2 or later <https://www.gnu.org/licenses/old-licenses/gpl-2.0.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.remoteSocket:
exists: truepath: /run/user/501/podman/podman.sockrootlessNetworkCmd: ""security:
apparmorEnabled: falsecapabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOTrootless: trueseccompEnabled: trueseccompProfilePath: /usr/share/containers/seccomp.jsonselinuxEnabled: trueserviceIsRemote: trueslirp4netns:
executable: /usr/bin/slirp4netnspackage: slirp4netns-1.2.2-1.fc39.aarch64version: |- slirp4netns version 1.2.2 commit: 0ee2d87523e906518d34a6b423271e4826f71faf libslirp: 4.7.0 SLIRP_CONFIG_VERSION_MAX: 4 libseccomp: 2.5.3swapFree: 0swapTotal: 0uptime: 0h 21m 19.00svariant: v8plugins:
authorization: nulllog:
- k8s-file
- none
- passthrough
- journaldnetwork:
- bridge
- macvlan
- ipvlanvolume:
- localregistries:
search:
- docker.iostore:
configFile: /var/home/core/.config/containers/storage.confcontainerStore:
number: 0paused: 0running: 0stopped: 0graphDriverName: overlaygraphOptions: {}graphRoot: /var/home/core/.local/share/containers/storagegraphRootAllocated: 106769133568graphRootUsed: 2960076800graphStatus:
Backing Filesystem: xfsNative Overlay Diff: "true"Supports d_type: "true"Supports shifting: "false"Supports volatile: "true"Using metacopy: "false"imageCopyTmpDir: /var/tmpimageStore:
number: 0runRoot: /run/user/501/containerstransientStore: falsevolumePath: /var/home/core/.local/share/containers/storage/volumesversion:
APIVersion: 5.0.0-dev-8a643c243Built: 1710720000BuiltTime: Mon Mar 18 09:00:00 2024GitCommit: ""GoVersion: go1.21.8Os: linuxOsArch: linux/arm64Version: 5.0.0-dev-8a643c243
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
% ./bin/darwin/podman version
Client: Podman Engine
Version: 5.1.0-dev
API Version: 5.1.0-dev
Go Version: go1.22.2
Git Commit: e1ec17a569d828c367764abe1e5641f75cf8bc26-dirty
Built: Fri Apr 12 21:09:54 2024
OS/Arch: darwin/arm64
Server: Podman Engine
Version: 5.0.0-dev-8a643c243
API Version: 5.0.0-dev-8a643c243
Go Version: go1.21.8
Built: Mon Mar 18 09:00:00 2024
OS/Arch: linux/arm64
% sw_vers
ProductName: macOS
ProductVersion: 14.4.1
BuildVersion: 23E224
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered:
The error is because /var/folders/1c/_h1nw8g90fqfvqt7y1swj5x40000gn/T/podman_test680956715/Library/Application Support/vfkit/net-18158-692222049.sock exceeds the maximum length of a Unix socket path, which is 100 characters. Try setting TMPDIR to /tmp.
Issue Description
The default $TMPDIR in macOS is set to a random value as follows.
/var/folders/1c/_h1nw8g90fqfvqt7y1swj5x40000gn/T/
When I run a localmachine test in this state, I get the following error.
$TMPDIR
must be less than 21 characters.NG:
export TMPDIR=/tmp/0123456789/012345
OK:
export TMPDIR=/tmp/0123456789/01234
Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
Describe the results you expected
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: