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

Flaky: parallel.test-sqlite #54006

Closed
mhdawson opened this issue Jul 23, 2024 · 3 comments
Closed

Flaky: parallel.test-sqlite #54006

mhdawson opened this issue Jul 23, 2024 · 3 comments
Labels
flaky-test Issues and PRs related to the tests with unstable failures on the CI. ppc Issues and PRs related to the Power architecture.

Comments

@mhdawson
Copy link
Member

Test

parallel.test-sqlite

Platform

Linux PPC64LE

Console output

---
duration_ms: 120147.761
exitcode: -15
severity: fail
stack: |-
  timeout
  TAP version 13
  # Subtest: accessing the node:sqlite module
      # Subtest: cannot be accessed without the node: scheme
      ok 1 - cannot be accessed without the node: scheme
        ---
        duration_ms: 2.857753
...

Build links

Additional information

No response

@mhdawson mhdawson added the flaky-test Issues and PRs related to the tests with unstable failures on the CI. label Jul 23, 2024
@github-actions github-actions bot added the ppc Issues and PRs related to the Power architecture. label Jul 23, 2024
@mhdawson
Copy link
Member Author

It's a bit odd that it says ok 1, but then says fail, I guess we'll see if it recreates.

@richardlau
Copy link
Member

It's a bit odd that it says ok 1, but then says fail, I guess we'll see if it recreates.

duration_ms: 120147.761
exitcode: -15

It's a timeout -- Node.js isn't exiting within the allowed two minutes (120000ms).

@cjihrig
Copy link
Contributor

cjihrig commented Jul 24, 2024

200 iteration stress test - https://ci.nodejs.org/job/node-stress-single-test/518/nodes=rhel8-ppc64le/console

I also ran a 1,000 iteration stress test on my local machine with no failures. The whole 1,000 iteration run took about 30 seconds. So far (~60 iterations in, no failures yet) in the CI stress test I've seen single iteration times ranging from ~8 seconds to ~90 seconds. If nothing else, maybe the large test file could be split up.

EDIT: First CI failure at iteration 72.
EDIT: Iteration 117 took 117,097ms, which is pretty close to the 120,000ms limit. I think splitting up the file is the way to go.

cjihrig added a commit to cjihrig/node that referenced this issue Jul 24, 2024
The original test/parallel/test-sqlite.js test appears to time
out in the CI occasionally. This commit splits the test into
several smaller test files.

Fixes: nodejs#54006
cjihrig added a commit to cjihrig/node that referenced this issue Aug 6, 2024
The original test/parallel/test-sqlite.js test appears to time
out in the CI occasionally. This commit splits the test into
several smaller test files.

Fixes: nodejs#54006
cjihrig added a commit to cjihrig/node that referenced this issue Aug 6, 2024
The original test/parallel/test-sqlite.js test appears to time
out in the CI occasionally. This commit splits the test into
several smaller test files.

Fixes: nodejs#54006
cjihrig added a commit to cjihrig/node that referenced this issue Aug 7, 2024
The original test/parallel/test-sqlite.js test appears to time
out in the CI occasionally. This commit splits the test into
several smaller test files.

Fixes: nodejs#54006
nodejs-github-bot pushed a commit that referenced this issue Aug 12, 2024
The original test/parallel/test-sqlite.js test appears to time
out in the CI occasionally. This commit splits the test into
several smaller test files.

Fixes: #54006
PR-URL: #54014
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
nodejs-github-bot pushed a commit that referenced this issue Aug 12, 2024
PR-URL: #54014
Fixes: #54006
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
targos pushed a commit that referenced this issue Aug 14, 2024
This commit adds statement tracking to the DatabaseSync class.
When a database is closed manually or via garbage collection, it
will force all associated prepared statements to be finalized.
This should mitigate "zombie" connections which can introduce
test flakiness in the CI on Windows.

PR-URL: #54014
Fixes: #54006
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
targos pushed a commit that referenced this issue Aug 14, 2024
The original test/parallel/test-sqlite.js test appears to time
out in the CI occasionally. This commit splits the test into
several smaller test files.

Fixes: #54006
PR-URL: #54014
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
targos pushed a commit that referenced this issue Aug 14, 2024
PR-URL: #54014
Fixes: #54006
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
targos pushed a commit that referenced this issue Aug 14, 2024
This commit adds statement tracking to the DatabaseSync class.
When a database is closed manually or via garbage collection, it
will force all associated prepared statements to be finalized.
This should mitigate "zombie" connections which can introduce
test flakiness in the CI on Windows.

PR-URL: #54014
Fixes: #54006
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
targos pushed a commit that referenced this issue Aug 14, 2024
The original test/parallel/test-sqlite.js test appears to time
out in the CI occasionally. This commit splits the test into
several smaller test files.

Fixes: #54006
PR-URL: #54014
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
targos pushed a commit that referenced this issue Aug 14, 2024
PR-URL: #54014
Fixes: #54006
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky-test Issues and PRs related to the tests with unstable failures on the CI. ppc Issues and PRs related to the Power architecture.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants