Skip to content

Conversation

maflcko
Copy link
Member

@maflcko maflcko commented Feb 25, 2020

This should be a workaround to fix #18174 in the short run and buy us more time to investigate the issue while ci runs are green again 🙏

@maflcko maflcko changed the title test: Work around scheduler_tests intermittent failures (take 2) [WIP] test: Work around scheduler_tests intermittent failures (take 2) Feb 25, 2020
@fanquake fanquake added the Tests label Feb 25, 2020
@DrahtBot
Copy link
Contributor

DrahtBot commented Feb 25, 2020

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

No conflicts as of last run.

@fanquake
Copy link
Member

fanquake commented Feb 25, 2020

This is still failing on the Win64 and Linux x86_64 (no wallet) jobs:

test/scheduler_tests.cpp(157): Entering test case "mockforward"
test/scheduler_tests.cpp(187): error: in "scheduler_tests/mockforward": check num_tasks == 1ul has failed [3 != 1]
test/scheduler_tests.cpp(190): error: in "scheduler_tests/mockforward": check counter == 2 has failed [0 != 2]
test/scheduler_tests.cpp(196): error: in "scheduler_tests/mockforward": check delta > 2*60 && delta < 3*60 has failed
test/scheduler_tests.cpp(157): Leaving test case "mockforward"; testing time: 7640us

@maflcko maflcko force-pushed the 2002-testSchedulerWorkaround branch from fa02a3c to fab9336 Compare February 26, 2020 14:28
@maflcko maflcko changed the title [WIP] test: Work around scheduler_tests intermittent failures (take 2) test: Work around scheduler_tests intermittent failures (take 2) Feb 26, 2020
@maflcko maflcko changed the title test: Work around scheduler_tests intermittent failures (take 2) test: Work around scheduler_tests intermittent failures Feb 26, 2020
@maflcko maflcko force-pushed the 2002-testSchedulerWorkaround branch 4 times, most recently from 6dc8f53 to 3164f16 Compare February 26, 2020 16:06
#include <tinyformat.h>

void SleepFor(const std::chrono::microseconds& n) { std::this_thread::sleep_for(n); }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this newly added function is not used in this PR.

@maflcko maflcko force-pushed the 2002-testSchedulerWorkaround branch from 3164f16 to 0c46a7e Compare February 26, 2020 17:02
@maflcko maflcko changed the title test: Work around scheduler_tests intermittent failures [WIP] test: Work around scheduler_tests intermittent failures Feb 26, 2020
@maflcko maflcko force-pushed the 2002-testSchedulerWorkaround branch from 0c46a7e to af57e7d Compare February 26, 2020 17:08
@maflcko maflcko force-pushed the 2002-testSchedulerWorkaround branch from af57e7d to fab2527 Compare February 26, 2020 17:19
@maflcko maflcko changed the title [WIP] test: Work around scheduler_tests intermittent failures test: Disable mockforward scheduler unit test for now Feb 26, 2020
@laanwj
Copy link
Member

laanwj commented Feb 26, 2020

ACK fab2527

Copy link
Member

@fanquake fanquake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK fab2527 - be good to get Travis back.

@fanquake fanquake merged commit 4502ed7 into bitcoin:master Feb 27, 2020
@maflcko maflcko deleted the 2002-testSchedulerWorkaround branch February 27, 2020 04:06
@jonasschnelli
Copy link
Contributor

Looks like this merge has fixed the constant fails on https://bitcoinbuilds.org

sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Feb 27, 2020
…r now

fab2527 test: Disable mockforward scheduler unit test for now (MarcoFalke)

Pull request description:

  This should be a workaround to fix bitcoin#18174 in the short run and buy us more time to investigate the issue while ci runs are green again 🙏

ACKs for top commit:
  fanquake:
    ACK fab2527 - be good to get Travis back.
  laanwj:
    ACK fab2527

Tree-SHA512: 027e86b3dfec203a464e5bf528e9933c208c36633c2d4bfcdbc10da1799637a5d6ea0a63af33a4174fb1ad7115df631a4cb838f56e31f4cbd15498e1e9fdf9cc
sidhujag pushed a commit to syscoin-core/syscoin that referenced this pull request Nov 10, 2020
…r now

fab2527 test: Disable mockforward scheduler unit test for now (MarcoFalke)

Pull request description:

  This should be a workaround to fix bitcoin#18174 in the short run and buy us more time to investigate the issue while ci runs are green again 🙏

ACKs for top commit:
  fanquake:
    ACK fab2527 - be good to get Travis back.
  laanwj:
    ACK fab2527

Tree-SHA512: 027e86b3dfec203a464e5bf528e9933c208c36633c2d4bfcdbc10da1799637a5d6ea0a63af33a4174fb1ad7115df631a4cb838f56e31f4cbd15498e1e9fdf9cc
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Feb 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants