diff --git a/.github/workflows/windows-periodic.yml b/.github/workflows/windows-periodic.yml index a0ca32923..f16a19440 100644 --- a/.github/workflows/windows-periodic.yml +++ b/.github/workflows/windows-periodic.yml @@ -195,7 +195,18 @@ jobs: - name: RunCritest run: | - ssh -i $HOME/.ssh/id_rsa ${{ env.SSH_OPTS }} azureuser@${{ env.VM_PUB_IP }} "powershell.exe -command { Start-Process -FilePath C:\containerd\bin\containerd.exe -NoNewWindow -RedirectStandardError true -PassThru ; get-process | sls containerd ; start-sleep 5 ; c:\cri-tools\build\bin\critest.exe --runtime-endpoint=\"npipe:\\\\.\\pipe\\containerd-containerd\" --test-images-file='c:\cri-test-images.yaml' --report-dir='c:\Logs' }" + # This test is exceedingly flaky only on ws2022 so skip for now to keep CI happy. + # Info: https://github.com/containerd/containerd/issues/6652 + SKIP="" + if [ '${{ matrix.win_ver }}' == 'ltsc2022' ];then + SKIP='-ginkgo.skip="runtime should support exec with tty=true and stdin=true"' + fi + + ssh -i $HOME/.ssh/id_rsa ${{ env.SSH_OPTS }} azureuser@${{ env.VM_PUB_IP }} "powershell.exe -command { C:\containerd\bin\containerd.exe --log-level=debug --log-file=C:/logs/containerd.log --service-name containerd --register-service ; Set-Service containerd -StartupType Automatic; Start-Service containerd }" + ssh -i $HOME/.ssh/id_rsa ${{ env.SSH_OPTS }} azureuser@${{ env.VM_PUB_IP }} "sh.exe -s" <