Files
podman/pkg/machine/e2e
Ashley Cui bcfd9f3403 New machines should show Never as LastUp
After creating a podman machine, and before starting it, the LastUp value for podman machine ls should display Never. Previously, the LastUp value was the same as creation time. This also changes the LastUp value for inspect to ZeroTime instead of creation time.

Signed-off-by: Ashley Cui <acui@redhat.com>
2023-09-28 14:16:26 -04:00
..
2023-08-17 15:00:35 -04:00
2023-02-11 18:23:24 +01:00
2023-09-25 19:53:35 -05:00
2023-09-27 12:10:08 -05:00
2023-09-26 07:26:44 -05:00
2023-05-02 11:27:35 +02:00
2023-09-25 16:48:35 -04:00
2023-09-26 15:51:33 -04:00
2023-09-25 16:22:37 -05:00
2023-09-25 19:53:35 -05:00
2023-09-26 07:00:45 -05:00
2023-08-17 15:04:18 -04:00
2023-09-26 09:27:51 -05: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. ./winmake localmachine

Note: To run specfic test files, add the test files to the end of the winmake command:

./winmake localmachine "basic_test.go start_test.go"

WSL

  1. Open a powershell as a regular user
  2. Build and copy win-sshproxy into bin/
  3. ./winmake localmachine

Note: To run specfic test files, add the test files to the end of the winmake command:

./winmake localmachine "basic_test.go start_test.go"

MacOS

Apple Hypervisor

  1. make podman-remote
  2. make .install.ginkgo
  3. export TMPDIR=/Users/<yourname>
  4. export CONTAINERS_MACHINE_PROVIDER="applehv"
  5. export MACHINE_IMAGE="https://fedorapeople.org/groups/podman/testing/applehv/arm64/fedora-coreos-38.20230925.dev.0-applehv.aarch64.raw.gz"
  6. ./test/tools/build/ginkgo -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