Skip to content

[tycho-5.0.x] Fix flapping TestPGPSigning by making assertions flexible to external p2 repository variations - #6550

Closed
akurtakov wants to merge 1 commit into
eclipse-tycho:tycho-5.0.xfrom
akurtakov:backport-pgp-flaky-fix-5.0.x
Closed

akurtakov wants to merge 1 commit into
eclipse-tycho:tycho-5.0.xfrom
akurtakov:backport-pgp-flaky-fix-5.0.x

Conversation

@akurtakov

Copy link
Copy Markdown
Member

Backport of #5482 (9e6268e) from main.

TestPGPSigning.testSigningBinaries fails intermittently on this branch (e.g. on Windows in #6548) because the signed/unsigned state of the Eclipse bundles fetched from the remote p2 repository varies. The fix from main relaxes the assertions accordingly.

… p2 repository variations (eclipse-tycho#5482)

* Make TestPGPSigning more robust to handle missing source bundles

Co-authored-by: laeubi <1331477+laeubi@users.noreply.github.com>

* Fix flapping TestPGPSigning by making assertions more flexible

Co-authored-by: laeubi <1331477+laeubi@users.noreply.github.com>

* Improve comments based on code review feedback

Co-authored-by: laeubi <1331477+laeubi@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: laeubi <1331477+laeubi@users.noreply.github.com>
(cherry picked from commit 9e6268e)
@laeubi

laeubi commented Nov 20, 2026

Copy link
Copy Markdown
Member

because the signed/unsigned state of the Eclipse bundles fetched from the remote p2 repository varies

This sounds a bit suspicious, how was this measured?

@akurtakov

Copy link
Copy Markdown
Member Author

@laeubi It's your commit (9e6268e) this is backporting due to constant failures like seen in https://github.com/eclipse-tycho/tycho/actions/runs/44418994618/job/135206675787

@github-actions

Copy link
Copy Markdown

Test Results

1 086 files  ±0  1 086 suites  ±0   5h 26m 22s ⏱️ + 28m 36s
1 421 tests ±0  1 400 ✅ +1  21 💤 ±0  0 ❌ ±0 
4 263 runs  ±0  4 196 ✅ +1  67 💤 ±0  0 ❌ ±0 

Results for commit 2373883. ± Comparison against base commit b9560d0.

@laeubi

laeubi commented Nov 20, 2026

Copy link
Copy Markdown
Member

@laeubi It's your commit (9e6268e) this is backporting due to constant failures like seen in https://github.com/eclipse-tycho/tycho/actions/runs/44418994618/job/135206675787

Thanks, I first though this was a new problem here.

@akurtakov

Copy link
Copy Markdown
Member Author

Actually, I'm making this one a draft as #6553 might be the real fix which would make this one not needed.

@akurtakov
akurtakov marked this pull request as draft November 20, 2026 09:59
@akurtakov

Copy link
Copy Markdown
Member Author

Closing in favor of #6554

@akurtakov akurtakov closed this Nov 23, 2026
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