confidential-containers / cloud-api-adaptor

Ability to create Kata pods using cloud provider APIs aka the peer-pods approach
Apache License 2.0
48 stars 88 forks source link

The adaptor forwarder unit test fails intermittently #56

Open wainersm opened 2 years ago

wainersm commented 2 years ago

The TestStartStop test of pkg/adaptor/forwarder has failed intermittently.

Below is an execution of the test that failed:

=== RUN   TestStartStop
2022/06/13 18:14:07 [helper/forwarder] Listening on /tmp/TestStartStop3183885216/001/test.sock
2022/06/13 18:14:07 [helper/forwarder] Upgrade is done.
2022/06/13 18:14:07 [helper/forwarder] Ready to copy shim to server.
2022/06/13 18:14:07 [helper/forwarder] Ready to copy server to shim.
    forwarder_test.go:127: expect "hello", got "h"
2022/06/13 18:14:07 [helper/forwarder] error copying connection from agent to server: read tcp 127.0.0.1:53848->127.0.0.1:43911: read: connection reset by peer
--- FAIL: TestStartStop (0.00s)

More information on https://github.com/confidential-containers/cloud-api-adaptor/pull/54#discussion_r896017001.

ariel-adam commented 2 years ago

@wainersm is this issue still relevant or can be closed? If it's still relevant to what release do you think we should map it to (mid-November, end-December, mid-February etc...)?