mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-27 02:37:53 +00:00
some problems were found in machine tests on hyperv. in the case of rootful, it is currently not implemented. an issue #20092 has been created for that problem. there also seems to be a timezone issue between ignition and fcos right now. inquiries are in for that but no issue generated for that. this problem is not exclusive to hyperv by any means. both of the above have been skipped or commented out. otherwise, this fixes machine state reporting for consistency. Signed-off-by: Brent Baude <bbaude@redhat.com> |
||
|---|---|---|
| .. | ||
| basic_test.go | ||
| config_basic_test.go | ||
| config_info_test.go | ||
| config_init_test.go | ||
| config_inspect_test.go | ||
| config_linux_test.go | ||
| config_list_test.go | ||
| config_os_apply_test.go | ||
| config_rm_test.go | ||
| config_set_test.go | ||
| config_ssh_test.go | ||
| config_start_test.go | ||
| config_stop_test.go | ||
| config_test.go | ||
| config_unix_test.go | ||
| config_windows_test.go | ||
| info_test.go | ||
| init_test.go | ||
| inspect_test.go | ||
| list_test.go | ||
| machine_test.go | ||
| os_test.go | ||
| proxy_test.go | ||
| README.md | ||
| rm_test.go | ||
| set_test.go | ||
| ssh_test.go | ||
| start_test.go | ||
| stop_test.go | ||
Working README for running the machine tests
Note: you must not have any machines defined before running tests
Linux
QEMU
make localmachine
Microsoft Windows
HyperV
- Open a powershell as admin
- $env:CONTAINERS_MACHINE_PROVIDER="hyperv"
- $env:MACHINE_IMAGE="https://fedorapeople.org/groups/podman/testing/hyperv/fedora-coreos-38.20230830.dev.0-hyperv.x86_64.vhdx.zip"
./test/tools/build/ginkgo.exe -vv --tags "remote exclude_graphdriver_btrfs btrfs_noversion exclude_graphdriver_devicemapper containers_image_openpgp remote" -timeout=90m --trace --no-color pkg/machine/e2e/.
Note: Add --focus-file "basic_test.go" to only run basic test
WSL
- Open a powershell as a regular user
- Build and copy win-sshproxy into bin/
./test/tools/build/ginkgo.exe -vv --tags "remote exclude_graphdriver_btrfs btrfs_noversion exclude_graphdriver_devicemapper containers_image_openpgp remote" -timeout=90m --trace --no-color pkg/machine/e2e/.
Note: Add --focus-file "basic_test.go" to only run basic test