Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestAntctl failed on windows testbed #4659

Closed
XinShuYang opened this issue Feb 27, 2023 · 1 comment · Fixed by #4663
Closed

TestAntctl failed on windows testbed #4659

XinShuYang opened this issue Feb 27, 2023 · 1 comment · Fixed by #4663
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@XinShuYang
Copy link
Contributor

XinShuYang commented Feb 27, 2023

Describe the bug
TestAntctl/testAntctlControllerRemoteAccess failed on all windows testbeds.
=== RUN TestAntctl/testAntctlControllerRemoteAccess/~/antctl_-v_supportbundle

SIGQUIT: quit
PC=0x472321 m=0 sigcode=0
...
goroutine 620 [chan receive, 48 minutes]:
runtime.gopark(0xc000080800?, 0xc0009a9ba8?, 0x2e?, 0xe2?, 0x446e51?)
/usr/local/go/src/runtime/proc.go:363 +0xd6 fp=0xc00074fa60 sp=0xc00074fa40 pc=0x43ebb6
runtime.chanrecv(0xc0006edaa0, 0xc00074fb58, 0x1)
/usr/local/go/src/runtime/chan.go:583 +0x49b fp=0xc00074faf0 sp=0xc00074fa60 pc=0x408bdb
runtime.chanrecv1(0xc0009803f0?, 0x208f1d1?)
/usr/local/go/src/runtime/chan.go:442 +0x18 fp=0xc00074fb18 sp=0xc00074faf0 pc=0x4086d8
golang.org/x/crypto/ssh.(*Session).Wait(0xc0009803f0)
/var/lib/jenkins/go/pkg/mod/golang.org/x/crypto@v0.5.0/ssh/session.go:403 +0x3d fp=0xc00074fb78 sp=0xc00074fb18 pc=0x1558fbd
golang.org/x/crypto/ssh.(*Session).Run(0x208e92b?, {0xc000743300?, 0xc0006707f8?})
/var/lib/jenkins/go/pkg/mod/golang.org/x/crypto@v0.5.0/ssh/session.go:314 +0x3e fp=0xc00074fba8 sp=0xc00074fb78 pc=0x1558c9e
antrea.io/antrea/test/e2e/providers/exec.RunSSHCommand({0xc0006707f8?, 0xc000551f10?}, 0xb?, {0xc000743300, 0x19}, 0xd0?, {0x0, 0x0}, 0x0)
/var/lib/jenkins/workspace/antrea-windows-e2e-for-pull-request/test/e2e/providers/exec/ssh.go:58 +0x506 fp=0xc00074fd68 sp=0xc00074fba8 pc=0x1562f46
antrea.io/antrea/test/e2e/providers.(*RemoteProvider).RunCommandOnNode(0xc000985948?, {0xc000551f10?, 0x2e06928?}, {0xc000743300, 0x19})
/var/lib/jenkins/workspace/antrea-windows-e2e-for-pull-request/test/e2e/providers/remote.go:59 +0x68 fp=0xc00074fdc0 sp=0xc00074fd68 pc=0x156c068
antrea.io/antrea/test/e2e.(*TestData).RunCommandOnNode(0x0?, {0xc000551f10?, 0x2e06928?}, {0xc000743300?, 0xc000598f28?})
/var/lib/jenkins/workspace/antrea-windows-e2e-for-pull-request/test/e2e/framework.go:422 +0x2b fp=0xc00074fdf8 sp=0xc00074fdc0 pc=0x1a4134b
antrea.io/antrea/test/e2e.testAntctlControllerRemoteAccess.func1(0xc000a4d380)
/var/lib/jenkins/workspace/antrea-windows-e2e-for-pull-request/test/e2e/antctl_test.go:197 +0x6f fp=0xc00074ff70 sp=0xc00074fdf8 pc=0x1a673cf
testing.tRunner(0xc000a4d380, 0xc00062ff20)
/usr/local/go/src/testing/testing.go:1446 +0x10b fp=0xc00074ffc0 sp=0xc00074ff70 pc=0x528d8b
testing.(*T).Run.func1()
/usr/local/go/src/testing/testing.go:1493 +0x2a fp=0xc00074ffe0 sp=0xc00074ffc0 pc=0x529c2a
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00074ffe8 sp=0xc00074ffe0 pc=0x470401
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:1493 +0x35f
...
*** Test killed with quit: ran too long (51m0s).
FAIL antrea.io/antrea/test/e2e 3060.173s

To Reproduce
Run TestAntctl/testAntctlControllerRemoteAccess on windows testbed

Expected
Test case passed.

Actual behavior
Test case failed.

Versions:
main branch 20230227
The first failed case was reported from windows CI pipeline on 20230221

Additional context

@XinShuYang XinShuYang added the kind/bug Categorizes issue or PR as related to a bug. label Feb 27, 2023
@luolanzone
Copy link
Contributor

@Atish-iaf shuyang and wenying did a few troubleshooting, it's should be related with PR #4611, please take a look at this bug and fix it as earlier as possible.

Atish-iaf added a commit to Atish-iaf/antrea that referenced this issue Feb 28, 2023
TestAntctl/testAntctlControllerRemoteAccess failed
on all windows testbed because it cannot get
output of `antctl get memberlist` while collecting
supportbundle from outside on windows testbed.

Fixes antrea-io#4659

Signed-off-by: Kumar Atish <atish.iaf@gmail.com>
Atish-iaf added a commit to Atish-iaf/antrea that referenced this issue Mar 2, 2023
TestAntctl/testAntctlControllerRemoteAccess failed
on all windows testbed because it cannot get
output of `antctl get memberlist` while collecting
supportbundle from outside on windows testbed as
memberlist is not running.

Fixes antrea-io#4659

Signed-off-by: Kumar Atish <atish.iaf@gmail.com>
Atish-iaf added a commit to Atish-iaf/antrea that referenced this issue Mar 2, 2023
TestAntctl/testAntctlControllerRemoteAccess failed
on all windows testbed because it cannot get
output of `antctl get memberlist` while collecting
supportbundle from outside on windows testbed as
memberlist is not running.

Fixes antrea-io#4659

Signed-off-by: Kumar Atish <atish.iaf@gmail.com>
Atish-iaf added a commit to Atish-iaf/antrea that referenced this issue Mar 5, 2023
TestAntctl/testAntctlControllerRemoteAccess failed
on all windows testbed because it cannot get
output of `antctl get memberlist` while collecting
supportbundle from outside on windows testbed as
memberlist is not running.

Fixes antrea-io#4659

Signed-off-by: Kumar Atish <atish.iaf@gmail.com>
Atish-iaf added a commit to Atish-iaf/antrea that referenced this issue Mar 6, 2023
TestAntctl/testAntctlControllerRemoteAccess failed
on all windows testbed because it cannot get
output of `antctl get memberlist` while collecting
supportbundle from outside on windows testbed as
memberlist is not running.

Fixes antrea-io#4659

Signed-off-by: Kumar Atish <atish.iaf@gmail.com>
Atish-iaf added a commit to Atish-iaf/antrea that referenced this issue Mar 7, 2023
TestAntctl/testAntctlControllerRemoteAccess failed
on all windows testbed because it cannot get
output of `antctl get memberlist` while collecting
supportbundle from outside on windows testbed as
memberlist is not running.

Fixes antrea-io#4659

Signed-off-by: Kumar Atish <atish.iaf@gmail.com>
Atish-iaf added a commit to Atish-iaf/antrea that referenced this issue Mar 8, 2023
TestAntctl/testAntctlControllerRemoteAccess failed
on all windows testbed because it cannot get
output of `antctl get memberlist` while collecting
supportbundle from outside on windows testbed as
memberlist is not running.

This PR handles the above case and writes no data to
file when memberlist is not running.

Fixes antrea-io#4659

Signed-off-by: Kumar Atish <atish.iaf@gmail.com>
Atish-iaf added a commit to Atish-iaf/antrea that referenced this issue Mar 8, 2023
TestAntctl/testAntctlControllerRemoteAccess failed
on all windows testbed because it cannot get
output of `antctl get memberlist` while collecting
supportbundle from outside on windows testbed as
memberlist is not running.

This PR handles the above case as success and writes output
to file that memberlist is not running.

Fixes antrea-io#4659

Signed-off-by: Kumar Atish <atish.iaf@gmail.com>
Atish-iaf added a commit to Atish-iaf/antrea that referenced this issue Mar 8, 2023
TestAntctl/testAntctlControllerRemoteAccess failed
on all windows testbed because it cannot get
output of `antctl get memberlist` while collecting
supportbundle from outside on windows testbed as
memberlist is not running.

This PR handles the above case as success and writes output
to file that memberlist is not running.

Fixes antrea-io#4659

Signed-off-by: Kumar Atish <atish.iaf@gmail.com>
Atish-iaf added a commit to Atish-iaf/antrea that referenced this issue Mar 9, 2023
TestAntctl/testAntctlControllerRemoteAccess failed
on all windows testbed because it cannot get
output of `antctl get memberlist` while collecting
supportbundle from outside on windows testbed as
memberlist is not running.

This PR handles the above case as success on linux
and writes output to file that memberlist is not running.

On Windows, don't collect memberlist as it never runs on Windows.

Fixes antrea-io#4659

Signed-off-by: Kumar Atish <atish.iaf@gmail.com>
Atish-iaf added a commit to Atish-iaf/antrea that referenced this issue Mar 9, 2023
TestAntctl/testAntctlControllerRemoteAccess failed
on all windows testbed because it cannot get
output of `antctl get memberlist` while collecting
supportbundle from outside on windows testbed as
memberlist is not running.

This PR handles the above case as success on linux
and writes output to file that memberlist is not running.

On Windows, don't collect memberlist as it never runs on Windows.

Fixes antrea-io#4659

Signed-off-by: Kumar Atish <atish.iaf@gmail.com>
@tnqn tnqn closed this as completed in #4663 Mar 9, 2023
tnqn pushed a commit that referenced this issue Mar 9, 2023
TestAntctl/testAntctlControllerRemoteAccess failed
on all windows testbed because it cannot get
output of `antctl get memberlist` while collecting
supportbundle from outside on windows testbed as
memberlist is not running.

This PR handles the above case as success on linux
and writes output to file that memberlist is not running.

On Windows, don't collect memberlist as it never runs on Windows.

Fixes #4659

Signed-off-by: Kumar Atish <atish.iaf@gmail.com>
jainpulkit22 pushed a commit to urharshitha/antrea that referenced this issue Apr 28, 2023
TestAntctl/testAntctlControllerRemoteAccess failed
on all windows testbed because it cannot get
output of `antctl get memberlist` while collecting
supportbundle from outside on windows testbed as
memberlist is not running.

This PR handles the above case as success on linux
and writes output to file that memberlist is not running.

On Windows, don't collect memberlist as it never runs on Windows.

Fixes antrea-io#4659

Signed-off-by: Kumar Atish <atish.iaf@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants