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

chore: cleanup tests creating crashpad handler in the test runner process #40668

Merged
merged 14 commits into from Dec 12, 2023

Conversation

deepak1556
Copy link
Member

Found while debugging CI failure in #40017 (comment)

Test allows the submitURL option to be omitted when uploadToServer is false was accidentally start the crashpad handler process and it impacted crashpad clients for processes that were created in tests unrelated later down the path.

Release Notes

Notes: no-notes

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Dec 1, 2023
@deepak1556
Copy link
Member Author

Interestingly, all crash related specs for utility process failed only on windows ia32 CI.

@deepak1556
Copy link
Member Author

All the failing tests rely on error handling from the mojo pipe between process to determine the state of the process, and seems these handlers are not invoked in the ia32 case but worked before because exception handlers were registered by crashpad client ?

Also, seems this issue is not new we had a similar occurrence before #34021, render-process-crashed behaves the same so they are related.

@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Dec 2, 2023
@deepak1556 deepak1556 marked this pull request as draft December 4, 2023 16:28
@deepak1556
Copy link
Member Author

Debugging showed that process termination status in the crash scenarios ended up after the test timeout, very likely a delay in https://source.chromium.org/chromium/chromium/src/+/main:base/process/kill_win.cc;l=26-63. Increasing timeout of tests didn't help all failing tests. Also given this does not repro locally, I am going to disable them for win32 ia32 flavor moving forward.

@deepak1556 deepak1556 marked this pull request as ready for review December 6, 2023 02:12
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Dec 6, 2023
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Dec 7, 2023
@deepak1556 deepak1556 merged commit 83f15bd into main Dec 12, 2023
15 of 16 checks passed
@jkleinsc
Copy link
Contributor

/trop run backport-to 27-x-y

@trop
Copy link
Contributor

trop bot commented Jan 18, 2024

The backport process for this PR has been manually initiated - sending your PR to 27-x-y!

@jkleinsc
Copy link
Contributor

/trop run backport-to 28-x-y

@trop
Copy link
Contributor

trop bot commented Jan 18, 2024

The backport process for this PR has been manually initiated - sending your PR to 28-x-y!

trop bot added a commit that referenced this pull request Jan 18, 2024
…cess (#40668)

* chore: cleanup tests creating crashpad handler in the test runner process

* ci: logging

* ci: enable logging

* ci: more logging

* ci: run all tests

* ci: more logging

* ci: increase timeout

* Revert "ci: increase timeout"

This reverts commit 870f744.

* Revert "ci: more logging"

This reverts commit 46837f8.

* Revert "ci: run all tests"

This reverts commit 6a7889c.

* Revert "ci: more logging"

This reverts commit 351473a.

* Revert "ci: enable logging"

This reverts commit 194109e.

* Revert "ci: logging"

This reverts commit 9a3396f.

* chore: disable flaky ia32 tests

Co-authored-by: Robo <hop2deep@gmail.com>
@trop
Copy link
Contributor

trop bot commented Jan 18, 2024

I have automatically backported this PR to "27-x-y", please check out #41050

trop bot added a commit that referenced this pull request Jan 18, 2024
…cess (#40668)

* chore: cleanup tests creating crashpad handler in the test runner process

* ci: logging

* ci: enable logging

* ci: more logging

* ci: run all tests

* ci: more logging

* ci: increase timeout

* Revert "ci: increase timeout"

This reverts commit 870f744.

* Revert "ci: more logging"

This reverts commit 46837f8.

* Revert "ci: run all tests"

This reverts commit 6a7889c.

* Revert "ci: more logging"

This reverts commit 351473a.

* Revert "ci: enable logging"

This reverts commit 194109e.

* Revert "ci: logging"

This reverts commit 9a3396f.

* chore: disable flaky ia32 tests

Co-authored-by: Robo <hop2deep@gmail.com>
@trop
Copy link
Contributor

trop bot commented Jan 18, 2024

I have automatically backported this PR to "28-x-y", please check out #41051

@jkleinsc
Copy link
Contributor

/trop run backport-to 29-x-y

@trop
Copy link
Contributor

trop bot commented Jan 18, 2024

The backport process for this PR has been manually initiated - sending your PR to 29-x-y!

@trop
Copy link
Contributor

trop bot commented Jan 18, 2024

I have automatically backported this PR to "29-x-y", please check out #41053

jkleinsc added a commit that referenced this pull request Jan 19, 2024
…cess (#41049)

chore: cleanup tests creating crashpad handler in the test runner process (#40668)

* chore: cleanup tests creating crashpad handler in the test runner process

* ci: logging

* ci: enable logging

* ci: more logging

* ci: run all tests

* ci: more logging

* ci: increase timeout

* Revert "ci: increase timeout"

This reverts commit 870f744.

* Revert "ci: more logging"

This reverts commit 46837f8.

* Revert "ci: run all tests"

This reverts commit 6a7889c.

* Revert "ci: more logging"

This reverts commit 351473a.

* Revert "ci: enable logging"

This reverts commit 194109e.

* Revert "ci: logging"

This reverts commit 9a3396f.

* chore: disable flaky ia32 tests

(cherry picked from commit 83f15bd)

Co-authored-by: Robo <hop2deep@gmail.com>
@trop trop bot added merged/26-x-y PR was merged to the "26-x-y" branch. and removed in-flight/26-x-y labels Jan 19, 2024
jkleinsc pushed a commit that referenced this pull request Jan 19, 2024
…cess (#41050)

chore: cleanup tests creating crashpad handler in the test runner process (#40668)

* chore: cleanup tests creating crashpad handler in the test runner process

* ci: logging

* ci: enable logging

* ci: more logging

* ci: run all tests

* ci: more logging

* ci: increase timeout

* Revert "ci: increase timeout"

This reverts commit 870f744.

* Revert "ci: more logging"

This reverts commit 46837f8.

* Revert "ci: run all tests"

This reverts commit 6a7889c.

* Revert "ci: more logging"

This reverts commit 351473a.

* Revert "ci: enable logging"

This reverts commit 194109e.

* Revert "ci: logging"

This reverts commit 9a3396f.

* chore: disable flaky ia32 tests

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Robo <hop2deep@gmail.com>
@trop trop bot added merged/27-x-y PR was merged to the "27-x-y" branch. and removed in-flight/27-x-y labels Jan 19, 2024
jkleinsc pushed a commit that referenced this pull request Jan 19, 2024
…cess (#41051)

chore: cleanup tests creating crashpad handler in the test runner process (#40668)

* chore: cleanup tests creating crashpad handler in the test runner process

* ci: logging

* ci: enable logging

* ci: more logging

* ci: run all tests

* ci: more logging

* ci: increase timeout

* Revert "ci: increase timeout"

This reverts commit 870f744.

* Revert "ci: more logging"

This reverts commit 46837f8.

* Revert "ci: run all tests"

This reverts commit 6a7889c.

* Revert "ci: more logging"

This reverts commit 351473a.

* Revert "ci: enable logging"

This reverts commit 194109e.

* Revert "ci: logging"

This reverts commit 9a3396f.

* chore: disable flaky ia32 tests

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Robo <hop2deep@gmail.com>
@trop trop bot added merged/28-x-y PR was merged to the "28-x-y" branch. merged/29-x-y PR was merged to the "29-x-y" branch. and removed in-flight/28-x-y in-flight/29-x-y labels Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged/26-x-y PR was merged to the "26-x-y" branch. merged/27-x-y PR was merged to the "27-x-y" branch. merged/28-x-y PR was merged to the "28-x-y" branch. merged/29-x-y PR was merged to the "29-x-y" branch. no-backport semver/none
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants