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

sync: update CI config files #86

Merged
merged 9 commits into from
Oct 28, 2021
Merged

sync: update CI config files #86

merged 9 commits into from
Oct 28, 2021

Conversation

web3-bot
Copy link
Collaborator

@web3-bot web3-bot commented Aug 17, 2021

Syncing to commit protocol/.github@7b4d1b6.

@web3-bot web3-bot force-pushed the web3-bot/sync branch 2 times, most recently from 04b1a29 to 14b0123 Compare October 17, 2021 15:40
@BigLep BigLep requested a review from a team October 24, 2021 04:37
@marten-seemann
Copy link
Contributor

Tests seem to fail with race detector.

@iand
Copy link
Contributor

iand commented Oct 26, 2021

Tests seem to fail with race detector.

Ran tests on Linux with no race failures.

CI failures are of form pubsub_test.go:151: [ValueStore 1] vssolve failed: routing: not found. That test has a 1 second sleep in it so it's possible it's a flake. Will look at whether it can be made deterministic or increase that wait time (:cry:)

update: lowering the sleep below 1 second reproduces the not found error on my machine

@marten-seemann
Copy link
Contributor

Is that something that could be solved by using require.Eventually with a sufficiently high timeout value?

@iand
Copy link
Contributor

iand commented Oct 27, 2021

32 bit tests are timing out. I'll investigate cause.

@iand
Copy link
Contributor

iand commented Oct 27, 2021

Swapping order of 32/64 bit tests shows that it's not related to the architecture. Whichever tests get run second seem to timeout after 10 minutes so maybe there is some external state that is not cleared properly when first architecture's tests finish.

@marten-seemann
Copy link
Contributor

How's that possible? Do we write any files on disk?
All memory state should be cleared when go test finishes, right?

@iand
Copy link
Contributor

iand commented Oct 27, 2021

Yeah all process state should be gone. But maybe the vm is holding sockets or something? I am not entirely sure.

@iand
Copy link
Contributor

iand commented Oct 27, 2021

It's strange that it's always the same two matrix combinations that fail: Go Test / ubuntu (go 1.17.x) (push) and Go Test / ubuntu (go 1.16.x) (pull_request) whereas the similar combinations Go Test / ubuntu (go 1.16.x) (push) and Go Test / ubuntu (go 1.17.x) (pull_request) pass just fine.

@marten-seemann
Copy link
Contributor

push builds the current branch, pull_request builds a (fake) merge commit. As this branch is rebased on top of master, I'd expect them to be equivalent.
Are we able to gain any insight from the stack trace that's printed on timeout?

@iand
Copy link
Contributor

iand commented Oct 27, 2021

Haven't spotted anything in the stack trace that points to a specific cause.

@iand
Copy link
Contributor

iand commented Oct 27, 2021

Adding a sleep in the github action appears to have made some improvement 😢

@iand
Copy link
Contributor

iand commented Oct 28, 2021

Reverted all my experiments on this branch. I suggest we merge it and then fix the tests in the repo itself. It could be timing issue during teardown of first test suite or setup of following test. Since it only occurs on ubuntu it possibly suggests something related to the linux network stack. /cc @marten-seemann

@github-actions github-actions bot merged commit fc7777e into master Oct 28, 2021
@github-actions github-actions bot deleted the web3-bot/sync branch October 28, 2021 20:43
@aschmahmann aschmahmann mentioned this pull request Dec 1, 2021
80 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants