rancher-sandbox / rancher-desktop

Container Management and Kubernetes on the Desktop
https://rancherdesktop.io
Apache License 2.0
6.02k stars 285 forks source link

bats tests "verify nginx after upgrade" fails #3241

Open adamkpickering opened 2 years ago

adamkpickering commented 2 years ago

Actual Behavior

When running the bats tests, the test "verify nginx after upgrade" fails.

Steps to Reproduce

Be on 0e1ff66e. Run ./bats-core/bin/bats tests/k8s/wordpress.bats.

Result

The following error text is printed:

 ✗ verify nginx after upgrade
   (from function `assert_success' in file tests/k8s/../helpers/../../bats-assert/src/assert_success.bash, line 42,
    from function `verify_nginx' in file tests/k8s/wordpress.bats, line 36,
    in test file tests/k8s/wordpress.bats, line 78)
     `verify_nginx' failed

   -- command failed --
   status : 7
   output (4 lines):
       % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                      Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
     curl: (7) Failed to connect to localhost port 8585: Connection refused
   --

Expected Behavior

Test should pass.

Additional Information

No response

Rancher Desktop Version

0.release1.6.1666158112.a4d0b4c-8.1

Rancher Desktop K8s Version

1.22.7

Which container engine are you using?

containerd (nerdctl)

What operating system are you using?

Other Linux

Operating System / Build Version

openSUSE Leap 15.3

What CPU architecture are you using?

x64

Linux only: what package format did you use to install Rancher Desktop?

rpm

Windows User Only

No response

adamkpickering commented 2 years ago

This issue also occurs when running the same bats tests against 1.5.1.