spiegel_podman/pkg/machine/e2e
Brent Baude c66aa3b7bb fixes for pkg/machine/e2e on hyperv
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>
2023-09-21 16:14:57 -05:00
..
basic_test.go Various updates for hyperv and machine e2e tests 2023-09-21 08:52:02 -05:00
config_basic_test.go enable linter for pkg/machine/e2e 2022-07-21 18:04:10 +02:00
config_info_test.go enable linter for pkg/machine/e2e 2022-07-21 18:04:10 +02:00
config_init_test.go Update machine init/set tests 2023-08-25 11:28:07 -04:00
config_inspect_test.go enable linter for pkg/machine/e2e 2022-07-21 18:04:10 +02:00
config_linux_test.go Various updates for hyperv and machine e2e tests 2023-09-21 08:52:02 -05:00
config_list_test.go enable linter for pkg/machine/e2e 2022-07-21 18:04:10 +02:00
config_os_apply_test.go Introduce podman machine os apply 2023-02-15 14:48:12 -05:00
config_rm_test.go Update machine rm tests 2023-08-17 15:00:35 -04:00
config_set_test.go Update machine init/set tests 2023-08-25 11:28:07 -04:00
config_ssh_test.go Fix typos 2023-02-11 18:23:24 +01:00
config_start_test.go Add --quiet and --no-info flags to podman machine start 2022-11-11 16:14:20 -05:00
config_stop_test.go enable linter for pkg/machine/e2e 2022-07-21 18:04:10 +02:00
config_test.go Plumbing to run machine tests with hyperv 2023-09-14 15:57:35 -05:00
config_unix_test.go Enable machine e2e tests for WSL 2023-09-19 17:16:45 -05:00
config_windows_test.go Various updates for hyperv and machine e2e tests 2023-09-21 08:52:02 -05:00
info_test.go update to ginkgo v2 2023-05-02 11:27:35 +02:00
init_test.go fixes for pkg/machine/e2e on hyperv 2023-09-21 16:14:57 -05:00
inspect_test.go make lint: re-enable ginkgolinter 2023-06-19 15:09:34 +02:00
list_test.go Update machine list test 2023-08-17 15:05:48 -04:00
machine_test.go fixes for pkg/machine/e2e on hyperv 2023-09-21 16:14:57 -05:00
os_test.go update to ginkgo v2 2023-05-02 11:27:35 +02:00
proxy_test.go fix ignition config creation 2023-06-05 18:03:14 +03:00
README.md Various updates for hyperv and machine e2e tests 2023-09-21 08:52:02 -05:00
rm_test.go Update machine rm tests 2023-08-17 15:00:35 -04:00
set_test.go Update machine init/set tests 2023-08-25 11:28:07 -04:00
ssh_test.go update to ginkgo v2 2023-05-02 11:27:35 +02:00
start_test.go Update machine start tests 2023-08-17 15:04:18 -04:00
stop_test.go update to ginkgo v2 2023-05-02 11:27:35 +02:00

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

  1. Open a powershell as admin
  2. $env:CONTAINERS_MACHINE_PROVIDER="hyperv"
  3. $env:MACHINE_IMAGE="https://fedorapeople.org/groups/podman/testing/hyperv/fedora-coreos-38.20230830.dev.0-hyperv.x86_64.vhdx.zip"
  4. ./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

  1. Open a powershell as a regular user
  2. Build and copy win-sshproxy into bin/
  3. ./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