Skip to content

machine wsl test update connection test consitently failing #27469

@Luap99

Description

@Luap99

#27405 should not have been merged, nobody checked that WSL was passing and the new update connection test fails all the time now.

It failed on the PR and now it fails on all other PRs/main as well (if wsl doesn't flake with the timeout problem first that is of course)
https://api.cirrus-ci.com/v1/task/5100015871328256/logs/main.log

https://cirrus-ci.com/task/5370410906157056
https://api.cirrus-ci.com/v1/task/5370410906157056/logs/main.log

podman machine start
C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/start_test.go:18
  machine start with --update-connection
  C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/start_test.go:224
  > Enter [BeforeEach] TOP-LEVEL - C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/machine_test.go:210 @ 11/07/25 13:31:44.647
  < Exit [BeforeEach] TOP-LEVEL - C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/machine_test.go:210 @ 11/07/25 13:31:44.648 (1ms)
  > Enter [It] machine start with --update-connection - C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/start_test.go:224 @ 11/07/25 13:31:44.648
  C:\Users\Administrator\AppData\Local\cirrus-ci-build\repo\bin\windows\podman.exe system connection add --default=true --identity ~/.ssh/id_rsa QA ssh://[email protected]:2222/run/podman/podman.sock
  C:\Users\Administrator\AppData\Local\cirrus-ci-build\repo\bin\windows\podman.exe system connection list --format json
  [
      {
          "Name": "QA",
          "URI": "ssh://[email protected]:2222/run/podman/podman.sock",
          "Identity": "~/.ssh/id_rsa",
          "Default": true,
          "ReadWrite": true
      }
  ]
  C:\Users\Administrator\AppData\Local\cirrus-ci-build\repo\bin\windows\podman.exe machine init --disk-size 11 --image Z:\podman-machine.x86_64.wsl.tar ab9eba6f62ed
  Importing operating system into WSL (this may take a few minutes on a new WSL install)...
  The operation completed successfully. 
  Configuring system...
  Machine init complete
  To start your machine run:

  	podman machine start ab9eba6f62ed

  C:\Users\Administrator\AppData\Local\cirrus-ci-build\repo\bin\windows\podman.exe machine start ab9eba6f62ed --update-connection=false
  Starting machine "ab9eba6f62ed"
  your 131072x1 screen size is bogus. expect trouble

  This machine is currently configured in rootless mode. If your containers
  require root permissions (e.g. ports < 1024), or if you run into compatibility
  issues with non-podman clients, you can switch using the following command:

  	podman machine set --rootful ab9eba6f62ed

  API forwarding listening on: npipe:////./pipe/docker_engine

  Docker API clients default to this address. You do not need to set DOCKER_HOST.
  Machine "ab9eba6f62ed" started successfully
  C:\Users\Administrator\AppData\Local\cirrus-ci-build\repo\bin\windows\podman.exe system connection list --format json
  [
      {
          "Name": "QA",
          "URI": "ssh://[email protected]:2222/run/podman/podman.sock",
          "Identity": "~/.ssh/id_rsa",
          "Default": true,
          "ReadWrite": true
      },
      {
          "Name": "ab9eba6f62ed",
          "URI": "ssh://[email protected]:50582/run/user/1000/podman/podman.sock",
          "Identity": "Z:\\podman_test1775724043\\.local\\share\\containers\\podman\\machine\\machine",
          "IsMachine": true,
          "Default": false,
          "ReadWrite": true
      },
      {
          "Name": "ab9eba6f62ed-root",
          "URI": "ssh://[email protected]:50582/run/podman/podman.sock",
          "Identity": "Z:\\podman_test1775724043\\.local\\share\\containers\\podman\\machine\\machine",
          "IsMachine": true,
          "Default": false,
          "ReadWrite": true
      }
  ]
  C:\Users\Administrator\AppData\Local\cirrus-ci-build\repo\bin\windows\podman.exe machine stop ab9eba6f62ed
  Machine "ab9eba6f62ed" stopped successfully
  C:\Users\Administrator\AppData\Local\cirrus-ci-build\repo\bin\windows\podman.exe machine start ab9eba6f62ed --update-connection=true
  Starting machine "ab9eba6f62ed"
  your 131072x1 screen size is bogus. expect trouble

  This machine is currently configured in rootless mode. If your containers
  require root permissions (e.g. ports < 1024), or if you run into compatibility
  issues with non-podman clients, you can switch using the following command:

  	podman machine set --rootful ab9eba6f62ed

  API forwarding listening on: npipe:////./pipe/docker_engine

  Docker API clients default to this address. You do not need to set DOCKER_HOST.
  Machine "ab9eba6f62ed" started successfully
  C:\Users\Administrator\AppData\Local\cirrus-ci-build\repo\bin\windows\podman.exe system connection list --format json
  [
      {
          "Name": "QA",
          "URI": "ssh://[email protected]:2222/run/podman/podman.sock",
          "Identity": "~/.ssh/id_rsa",
          "Default": true,
          "ReadWrite": true
      },
      {
          "Name": "ab9eba6f62ed",
          "URI": "ssh://[email protected]:50582/run/user/1000/podman/podman.sock",
          "Identity": "Z:\\podman_test1775724043\\.local\\share\\containers\\podman\\machine\\machine",
          "IsMachine": true,
          "Default": false,
          "ReadWrite": true
      },
      {
          "Name": "ab9eba6f62ed-root",
          "URI": "ssh://[email protected]:50582/run/podman/podman.sock",
          "Identity": "Z:\\podman_test1775724043\\.local\\share\\containers\\podman\\machine\\machine",
          "IsMachine": true,
          "Default": false,
          "ReadWrite": true
      }
  ]
  [FAILED] Expected
      <bool>: false
  to be true
  In [It] at: C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/start_test.go:266 @ 11/07/25 13:32:10.503

  Full Stack Trace
    github.com/containers/podman/v6/pkg/machine/e2e_test.init.func21.7()
    	C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/start_test.go:266 +0x9a9
  < Exit [It] machine start with --update-connection - C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/start_test.go:224 @ 11/07/25 13:32:10.503 (25.854s)
  > Enter [AfterEach] TOP-LEVEL - C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/machine_test.go:84 @ 11/07/25 13:32:10.503
  < Exit [AfterEach] TOP-LEVEL - C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/machine_test.go:84 @ 11/07/25 13:32:10.504 (1ms)
  > Enter [DeferCleanup (Each)] podman machine start - C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/config_init_test.go:91 @ 11/07/25 13:32:10.504
  C:\Users\Administrator\AppData\Local\cirrus-ci-build\repo\bin\windows\podman.exe machine rm --force ab9eba6f62ed
  The operation completed successfully. 
  < Exit [DeferCleanup (Each)] podman machine start - C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/config_init_test.go:91 @ 11/07/25 13:32:12.266 (1.762s)
  > Enter [DeferCleanup (Each)] TOP-LEVEL - C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/machine_test.go:212 @ 11/07/25 13:32:12.266
  < Exit [DeferCleanup (Each)] TOP-LEVEL - C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/machine_test.go:212 @ 11/07/25 13:32:12.269 (3ms)
+ [FAILED] [27.620 seconds]
C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/start_test.go:18
  machine init --now with --update-connection
  C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/start_test.go:268
  > Enter [BeforeEach] TOP-LEVEL - C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/machine_test.go:210 @ 11/07/25 13:32:12.269
  < Exit [BeforeEach] TOP-LEVEL - C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/machine_test.go:210 @ 11/07/25 13:32:12.269 (1ms)
  > Enter [It] machine init --now with --update-connection - C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/start_test.go:268 @ 11/07/25 13:32:12.269
  C:\Users\Administrator\AppData\Local\cirrus-ci-build\repo\bin\windows\podman.exe system connection add --default=true --identity ~/.ssh/id_rsa QA ssh://[email protected]:2222/run/podman/podman.sock
  C:\Users\Administrator\AppData\Local\cirrus-ci-build\repo\bin\windows\podman.exe system connection list --format json
  [
      {
          "Name": "QA",
          "URI": "ssh://[email protected]:2222/run/podman/podman.sock",
          "Identity": "~/.ssh/id_rsa",
          "Default": true,
          "ReadWrite": true
      }
  ]
  C:\Users\Administrator\AppData\Local\cirrus-ci-build\repo\bin\windows\podman.exe machine init --disk-size 11 --image Z:\podman-machine.x86_64.wsl.tar --now --update-connection=false f987a0a06290
  Importing operating system into WSL (this may take a few minutes on a new WSL install)...
  The operation completed successfully. 
  Configuring system...
  Machine init complete
  Starting machine "f987a0a06290"
  your 131072x1 screen size is bogus. expect trouble

  This machine is currently configured in rootless mode. If your containers
  require root permissions (e.g. ports < 1024), or if you run into compatibility
  issues with non-podman clients, you can switch using the following command:

  	podman machine set --rootful f987a0a06290

  API forwarding listening on: npipe:////./pipe/docker_engine

  Docker API clients default to this address. You do not need to set DOCKER_HOST.
  Machine "f987a0a06290" started successfully
  C:\Users\Administrator\AppData\Local\cirrus-ci-build\repo\bin\windows\podman.exe system connection list --format json
  [
      {
          "Name": "QA",
          "URI": "ssh://[email protected]:2222/run/podman/podman.sock",
          "Identity": "~/.ssh/id_rsa",
          "Default": true,
          "ReadWrite": true
      },
      {
          "Name": "f987a0a06290",
          "URI": "ssh://[email protected]:50667/run/user/1000/podman/podman.sock",
          "Identity": "Z:\\podman_test158682891\\.local\\share\\containers\\podman\\machine\\machine",
          "IsMachine": true,
          "Default": false,
          "ReadWrite": true
      },
      {
          "Name": "f987a0a06290-root",
          "URI": "ssh://[email protected]:50667/run/podman/podman.sock",
          "Identity": "Z:\\podman_test158682891\\.local\\share\\containers\\podman\\machine\\machine",
          "IsMachine": true,
          "Default": false,
          "ReadWrite": true
      }
  ]
  C:\Users\Administrator\AppData\Local\cirrus-ci-build\repo\bin\windows\podman.exe machine stop f987a0a06290
  Machine "f987a0a06290" stopped successfully
  C:\Users\Administrator\AppData\Local\cirrus-ci-build\repo\bin\windows\podman.exe machine init --disk-size 11 --image Z:\podman-machine.x86_64.wsl.tar --now --update-connection=true 626cb09e4d8f
  Importing operating system into WSL (this may take a few minutes on a new WSL install)...
  The operation completed successfully. 
  Configuring system...
  Machine init complete
  Starting machine "626cb09e4d8f"
  your 131072x1 screen size is bogus. expect trouble

  This machine is currently configured in rootless mode. If your containers
  require root permissions (e.g. ports < 1024), or if you run into compatibility
  issues with non-podman clients, you can switch using the following command:

  	podman machine set --rootful 626cb09e4d8f

  API forwarding listening on: npipe:////./pipe/docker_engine

  Docker API clients default to this address. You do not need to set DOCKER_HOST.
  Machine "626cb09e4d8f" started successfully
  C:\Users\Administrator\AppData\Local\cirrus-ci-build\repo\bin\windows\podman.exe system connection list --format json
  [
      {
          "Name": "626cb09e4d8f",
          "URI": "ssh://[email protected]:50710/run/user/1000/podman/podman.sock",
          "Identity": "Z:\\podman_test158682891\\.local\\share\\containers\\podman\\machine\\machine",
          "IsMachine": true,
          "Default": false,
          "ReadWrite": true
      },
      {
          "Name": "626cb09e4d8f-root",
          "URI": "ssh://[email protected]:50710/run/podman/podman.sock",
          "Identity": "Z:\\podman_test158682891\\.local\\share\\containers\\podman\\machine\\machine",
          "IsMachine": true,
          "Default": false,
          "ReadWrite": true
      },
      {
          "Name": "QA",
          "URI": "ssh://[email protected]:2222/run/podman/podman.sock",
          "Identity": "~/.ssh/id_rsa",
          "Default": true,
          "ReadWrite": true
      },
      {
          "Name": "f987a0a06290",
          "URI": "ssh://[email protected]:50667/run/user/1000/podman/podman.sock",
          "Identity": "Z:\\podman_test158682891\\.local\\share\\containers\\podman\\machine\\machine",
          "IsMachine": true,
          "Default": false,
          "ReadWrite": true
      },
      {
          "Name": "f987a0a06290-root",
          "URI": "ssh://[email protected]:50667/run/podman/podman.sock",
          "Identity": "Z:\\podman_test158682891\\.local\\share\\containers\\podman\\machine\\machine",
          "IsMachine": true,
          "Default": false,
          "ReadWrite": true
      }
  ]
  [FAILED] Expected
      <bool>: false
  to be true
  In [It] at: C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/start_test.go:304 @ 11/07/25 13:32:47.381

  Full Stack Trace
    github.com/containers/podman/v6/pkg/machine/e2e_test.init.func21.8()
    	C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/start_test.go:304 +0x8e9
  < Exit [It] machine init --now with --update-connection - C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/start_test.go:268 @ 11/07/25 13:32:47.381 (35.109s)
  > Enter [AfterEach] TOP-LEVEL - C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/machine_test.go:84 @ 11/07/25 13:32:47.381
  < Exit [AfterEach] TOP-LEVEL - C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/machine_test.go:84 @ 11/07/25 13:32:47.382 (1ms)
  > Enter [DeferCleanup (Each)] podman machine start - C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/config_init_test.go:91 @ 11/07/25 13:32:47.382
  C:\Users\Administrator\AppData\Local\cirrus-ci-build\repo\bin\windows\podman.exe machine rm --force 626cb09e4d8f
  The operation completed successfully. 
  < Exit [DeferCleanup (Each)] podman machine start - C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/config_init_test.go:91 @ 11/07/25 13:32:49.161 (1.779s)
  > Enter [DeferCleanup (Each)] podman machine start - C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/config_init_test.go:91 @ 11/07/25 13:32:49.161
  C:\Users\Administrator\AppData\Local\cirrus-ci-build\repo\bin\windows\podman.exe machine rm --force f987a0a06290
  The operation completed successfully. 
  < Exit [DeferCleanup (Each)] podman machine start - C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/config_init_test.go:91 @ 11/07/25 13:32:49.491 (330ms)
  > Enter [DeferCleanup (Each)] TOP-LEVEL - C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/machine_test.go:212 @ 11/07/25 13:32:49.491
  < Exit [DeferCleanup (Each)] TOP-LEVEL - C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo/pkg/machine/e2e/machine_test.go:212 @ 11/07/25 13:32:49.493 (3ms)
+ [FAILED] [37.222 seconds]

Metadata

Metadata

Assignees

No one assigned

    Labels

    CIkind/bugCategorizes issue or PR as related to a bug.machinewindowsissue/bug on Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions