Skip to content

Conversation

@AndreiEres
Copy link
Contributor

Fixes #3884 (comment)

After moving regression tests to benchmarks (#3741) we don't need to filter tests anymore.

@AndreiEres AndreiEres requested a review from a team as a code owner March 28, 2024 20:38
@AndreiEres AndreiEres added R0-no-crate-publish-required The change does not require any crates to be re-published. T10-tests This PR/Issue is related to tests. labels Mar 28, 2024
@sandreim
Copy link
Contributor

Thanks @AndreiEres . It it fixes the issue CI should fail and my collation generation fix needs to be merged first in order for this PR to pass.

@sandreim sandreim enabled auto-merge April 2, 2024 06:01
@sandreim
Copy link
Contributor

sandreim commented Apr 2, 2024

The CI pipeline was cancelled due to failure one of the required jobs. Job name: test-linux-stable 1/3 Logs: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5722799

Weird, locally all tests pass, merging master once again....

running 1 test
test tests::scheduler_handles_periodic_unavailable_preimage ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 80 filtered out; finished in 0.00s

@sandreim
Copy link
Contributor

sandreim commented Apr 2, 2024

Not running with debug locally, so never the debug assert never triggers. Running with debug, test fails the same locally:

--- TRY 6 STDERR: pallet-scheduler tests::scheduler_handles_periodic_unavailable_preimage ---
thread 'tests::scheduler_handles_periodic_unavailable_preimage' panicked at /Users/andrei/polkadot-sdk/substrate/frame/preimage/src/lib.rs:556:9:
do_unrequest_preimage failed - counter underflow?

@ggwpez ggwpez mentioned this pull request Apr 2, 2024
Changes:
- fix scheduler tests: Unrequesting can cause an underflow if root
unnoted the preimage in the meantime.
This should normally not happen - but can - and there is a test for it.
 - fix core-fellowship tests that also seem broken :(
 - merge in #3885

---------

Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Co-authored-by: Javier Viola <[email protected]>
Co-authored-by: Serban Iorga <[email protected]>
Co-authored-by: Adrian Catangiu <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
Co-authored-by: Alexandru Vasile <[email protected]>
Co-authored-by: Niklas Adolfsson <[email protected]>
Co-authored-by: Dastan <[email protected]>
Co-authored-by: Liam Aharon <[email protected]>
Co-authored-by: Clara van Staden <[email protected]>
Co-authored-by: Ron <[email protected]>
Co-authored-by: Vincent Geddes <[email protected]>
Co-authored-by: Svyatoslav Nikolsky <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
@paritytech-review-bot paritytech-review-bot bot requested a review from a team April 2, 2024 19:04
@sandreim sandreim added this pull request to the merge queue Apr 2, 2024
Merged via the queue into master with commit 665e365 Apr 2, 2024
@sandreim sandreim deleted the AndreiEres/fix-tests branch April 2, 2024 19:50
Ank4n pushed a commit that referenced this pull request Apr 9, 2024
Fixes
#3884 (comment)

After moving regression tests to benchmarks
(#3741) we don't need to
filter tests anymore.

---------

Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Co-authored-by: Andrei Sandu <[email protected]>
Co-authored-by: Alin Dima <[email protected]>
Co-authored-by: Andrei Sandu <[email protected]>
Co-authored-by: Oliver Tale-Yazdi <[email protected]>
Co-authored-by: Javier Viola <[email protected]>
Co-authored-by: Serban Iorga <[email protected]>
Co-authored-by: Adrian Catangiu <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
Co-authored-by: Alexandru Vasile <[email protected]>
Co-authored-by: Niklas Adolfsson <[email protected]>
Co-authored-by: Dastan <[email protected]>
Co-authored-by: Liam Aharon <[email protected]>
Co-authored-by: Clara van Staden <[email protected]>
Co-authored-by: Ron <[email protected]>
Co-authored-by: Vincent Geddes <[email protected]>
Co-authored-by: Svyatoslav Nikolsky <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
dharjeezy pushed a commit to dharjeezy/polkadot-sdk that referenced this pull request Apr 9, 2024
Fixes
paritytech#3884 (comment)

After moving regression tests to benchmarks
(paritytech#3741) we don't need to
filter tests anymore.

---------

Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Co-authored-by: Andrei Sandu <[email protected]>
Co-authored-by: Alin Dima <[email protected]>
Co-authored-by: Andrei Sandu <[email protected]>
Co-authored-by: Oliver Tale-Yazdi <[email protected]>
Co-authored-by: Javier Viola <[email protected]>
Co-authored-by: Serban Iorga <[email protected]>
Co-authored-by: Adrian Catangiu <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
Co-authored-by: Alexandru Vasile <[email protected]>
Co-authored-by: Niklas Adolfsson <[email protected]>
Co-authored-by: Dastan <[email protected]>
Co-authored-by: Liam Aharon <[email protected]>
Co-authored-by: Clara van Staden <[email protected]>
Co-authored-by: Ron <[email protected]>
Co-authored-by: Vincent Geddes <[email protected]>
Co-authored-by: Svyatoslav Nikolsky <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

R0-no-crate-publish-required The change does not require any crates to be re-published. T10-tests This PR/Issue is related to tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI not running all subsystem tests

9 participants