test_bitcoin hangs in test case "manythreads" #6711

issue MarcoFalke opened this issue on September 22, 2015
  1. MarcoFalke commented at 2:25 PM on September 22, 2015: member

    I think this sometimes happens in travis. I can reproduce locally as follows:

    $ for i in {0..1000}; do echo "Test run: $i"; src/test/test_bitcoin --log_level=ALL --run_test=scheduler_tests;done
    

    Output:

    [...]
    Test run: 7
    Running 1 test case...
    Entering test suite "Bitcoin Test Suite"
    Entering test suite "scheduler_tests"
    Entering test case "manythreads"
    test/scheduler_tests.cpp(70): info: check nTasks == 0 passed
    test/scheduler_tests.cpp(82): info: check nTasks == 100 passed
    test/scheduler_tests.cpp(83): info: check first < last passed
    test/scheduler_tests.cpp(84): info: check last > now passed
    test/scheduler_tests.cpp(113): info: check counter[i] != 0 passed
    test/scheduler_tests.cpp(113): info: check counter[i] != 0 passed
    test/scheduler_tests.cpp(113): info: check counter[i] != 0 passed
    test/scheduler_tests.cpp(113): info: check counter[i] != 0 passed
    test/scheduler_tests.cpp(113): info: check counter[i] != 0 passed
    test/scheduler_tests.cpp(113): info: check counter[i] != 0 passed
    test/scheduler_tests.cpp(113): info: check counter[i] != 0 passed
    test/scheduler_tests.cpp(113): info: check counter[i] != 0 passed
    test/scheduler_tests.cpp(113): info: check counter[i] != 0 passed
    test/scheduler_tests.cpp(113): info: check counter[i] != 0 passed
    test/scheduler_tests.cpp(116): info: check counterSum == 200 passed
    Leaving test case "manythreads"; testing time: 4653mks
    Leaving test suite "scheduler_tests"
    Leaving test suite "Bitcoin Test Suite"
    
    *** No errors detected
    Test run: 8
    Running 1 test case...
    Entering test suite "Bitcoin Test Suite"
    Entering test suite "scheduler_tests"
    Entering test case "manythreads"
    test/scheduler_tests.cpp(70): info: check nTasks == 0 passed
    test/scheduler_tests.cpp(82): info: check nTasks == 100 passed
    test/scheduler_tests.cpp(83): info: check first < last passed
    test/scheduler_tests.cpp(84): info: check last > now passed
    ^C
    
    
  2. laanwj commented at 5:49 PM on September 22, 2015: member

    Unfortunately, this is a known issue. Duplicate of #6540

  3. laanwj closed this on Sep 22, 2015

  4. MarcoFalke locked this on Sep 8, 2021
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 06:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me