Merge pull request #6779 from gabriel-samfira/skip-flaky-test
Skip flaky test on Windows
This commit is contained in:
commit
626608e272
13
.github/workflows/windows-periodic.yml
vendored
13
.github/workflows/windows-periodic.yml
vendored
@ -195,7 +195,18 @@ jobs:
|
|||||||
|
|
||||||
- name: RunCritest
|
- name: RunCritest
|
||||||
run: |
|
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" <<EOF
|
||||||
|
sleep 5
|
||||||
|
c:/cri-tools/build/bin/critest.exe $SKIP --runtime-endpoint='npipe://./pipe/containerd-containerd' --test-images-file='c:/cri-test-images.yaml' --report-dir='c:/Logs' | tee c:/Logs/critest.log
|
||||||
|
EOF
|
||||||
|
|
||||||
- name: PullLogsFromWinNode
|
- name: PullLogsFromWinNode
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user