Skip to content

test/e2e/upstream-proxy.feature is flaky #3464

@johnjbarton

Description

@johnjbarton
Contributor

Seems to fail more than pass.

The failure call stack points to https://github.com/nodejs/node/blob/master/lib/_http_client.js#L435
indicating that socket was closed before a response was sent but without an error on the request.

Activity

johnjbarton

johnjbarton commented on Apr 9, 2020

@johnjbarton
ContributorAuthor

The fail can be reproduced on some runs with just the single cucumber test running:
https://travis-ci.org/github/karma-runner/karma/jobs/673177446

Looks like the test is complete, the socket is still polling then the fail:

e2e/support/proxy match/__proxy__/__karma__/base/behind-proxy/test.js?d2eabc69ad6afb1becc3629a3e8aa460e8ea9d7f,__karma__/base/behind-proxy/test.js?d2eabc69ad6afb1becc3629a3e8aa460e8ea9d7f
e2e/support/proxy match/__proxy__/__karma__/socket.io/?EIO=3&transport=polling&t=N5WuCKI&sid=MZ-5KzqDoTQByb1KAAAA,__karma__/socket.io/?EIO=3&transport=polling&t=N5WuCKI&sid=MZ-5KzqDoTQByb1KAAAA
e2e/support/proxy match/__proxy__/__karma__/socket.io/?EIO=3&transport=polling&t=N5WuCKU&sid=MZ-5KzqDoTQByb1KAAAA,__karma__/socket.io/?EIO=3&transport=polling&t=N5WuCKU&sid=MZ-5KzqDoTQByb1KAAAA
e2e/support/proxy match/__proxy__/__karma__/socket.io/?EIO=3&transport=polling&t=N5WuCKe&sid=MZ-5KzqDoTQByb1KAAAA,__karma__/socket.io/?EIO=3&transport=polling&t=N5WuCKe&sid=MZ-5KzqDoTQByb1KAAAA
e2e/support/proxy match/__proxy__/__karma__/socket.io/?EIO=3&transport=polling&t=N5WuCKr&sid=MZ-5KzqDoTQByb1KAAAA,__karma__/socket.io/?EIO=3&transport=polling&t=N5WuCKr&sid=MZ-5KzqDoTQByb1KAAAA
F-e2e/support/proxy stop
e2e/support/proxy close
.
added a commit that references this issue on Apr 9, 2020
904a080
added 2 commits that reference this issue on Apr 13, 2020
e4a4dc0
17a8d42
added a commit that references this issue on Apr 16, 2020
karmarunnerbot

karmarunnerbot commented on Apr 16, 2020

@karmarunnerbot
Member

🎉 This issue has been resolved in version 5.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

12 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
test/e2e/upstream-proxy.feature is flaky · Issue #3464 · karma-runner/karma