containers / podman-desktop-e2e

Podman desktop e2e tests
Apache License 2.0
3 stars 9 forks source link

Podman Desktop E2E Podman Installation using GOAX does not find running Podman Desktop #232

Closed odockal closed 1 month ago

odockal commented 1 month ago

When looking at the remote machine, there seems to be podman desktop started (it is visible) but goax cannot find some component perhaps?

Log from the run:

    Directory: C:\Users\rhqp\pd-e2e

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d----           9/26/2024  9:33 AM                pd-e2e-results
Windows Subsystem for Linux has no installed distributions.

Use 'wsl.exe --list --online' to list available distributions
and 'wsl.exe --install <Distro>' to install.

Distributions can also be installed by visiting the Microsoft Store:
https://aka.ms/wslstore
Error code: Wsl/WSL_E_DEFAULT_DISTRO_NOT_FOUND
Installing WSL, setting default version 2
For information on key differences with WSL 2 please visit https://aka.ms/wsl2
The operation completed successfully. 
The operation completed successfully. 
Get-Process: C:\Users\rhqp\pd-e2e\run.ps1:46
Line |
  46 |  $pp=Get-Process "Podman Desktop"
     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find a process with the name "Podman Desktop". Verify the process name and call the cmdlet again.
Running Suite: E2EPodman suite - C:\Users\rhqp
==============================================
Random Seed: 1727343411 - will randomize all specs

Will run 2 of 2 specs
------------------------------
[BeforeSuite] 
D:/a/podman-desktop-e2e/podman-desktop-e2e/test/e2e/e2e_podman/suite_test.go:84
time="2024-09-26T09:37:26Z" level=info msg="found value pattern for element %v&{0x7ff85235c340}"
time="2024-09-26T09:37:26Z" level=info msg="found interface dispatcher for value pattern"
Move-Item: C:\Users\rhqp\pd-e2e\run.ps1:60
Line |
  60 |  mv junit_report.xml "$targetFolder\$resultsFolder\$junitResultsFilena .
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find path 'C:\Users\rhqp\junit_report.xml' because it does not exist.
Remove-Item: C:\Users\rhqp\pd-e2e\run.ps1:61
Line |
  61 |  rm junit_report.xml
     |  ~~~~~~~~~~~~~~~~~~~
     | Cannot find path 'C:\Users\rhqp\junit_report.xml' because it does not exist.
Get-Process: C:\Users\rhqp\pd-e2e\run.ps1:66
Line |
  66 |  $pdpid=Get-Process "Podman Desktop" | Select Id -ExpandProperty Id |  .
     |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find a process with the name "Podman Desktop". Verify the process name and call the cmdlet again.
Stop-Process: C:\Users\rhqp\pd-e2e\run.ps1:67
Line |
  67 |  Stop-Process -ID $pdpid -Force
     |                   ~~~~~~
     | Cannot bind argument to parameter 'Id' because it is null.