ericniebler / range-v3

Range library for C++14/17/20, basis for C++20's std::ranges
Other
4.06k stars 437 forks source link

intermittent failures when running tests #1759

Open KrisThielemans opened 1 year ago

KrisThielemans commented 1 year ago

We have roughly 50% of our GitHub Actions jobs failing the range-v3 tests (using current range-v3 master)

Test project /home/runner/work/SIRF-SuperBuild/SIRF-SuperBuild/build/builds/range-v3/build
        Start   1: range.v3.test.config
  1/257 Test   #1: range.v3.test.config ..............................   Passed    0.00 sec
        Start   2: range.v3.test.constexpr_core
  2/257 Test   #2: range.v3.test.constexpr_core ......................   Passed    0.00 sec
        Start   3: range.v3.test.multiple
  3/257 Test   #3: range.v3.test.multiple ............................   Passed    0.00 sec
        Start   4: range.v3.test.bug474
  4/257 Test   #4: range.v3.test.bug474 ..............................   Passed    0.00 sec
        Start   5: range.v3.test.bug566
  5/257 Test   #5: range.v3.test.bug566 ..............................   Passed    0.00 sec
        Start   6: range.v3.test.bug1322
  6/257 Test   #6: range.v3.test.bug1322 .............................   Passed    0.00 sec
        Start   7: range.v3.test.bug1335
  7/257 Test   #7: range.v3.test.bug1335 .............................   Passed    0.00 sec
        Start   8: range.v3.test.bug1633
  8/257 Test   #8: range.v3.test.bug1633 .............................   Passed    0.00 sec
        Start   9: range.v3.test.bug1729
  9/257 Test   #9: range.v3.test.bug1729 .............................   Passed    0.00 sec
        Start  10: range.v3.test.act.concepts
 10/257 Test  #10: range.v3.test.act.concepts ........................   Passed    0.00 sec
        Start  11: range.v3.test.act.adjacent_remove_if
 11/257 Test  #11: range.v3.test.act.adjacent_remove_if ..............***Exception: Illegal  0.17 sec

        Start  12: range.v3.test.act.drop
 12/257 Test  #12: range.v3.test.act.drop ............................***Exception: Illegal  0.12 sec

        Start  13: range.v3.test.act.drop_while
 13/257 Test  #13: range.v3.test.act.drop_while ......................***Exception: Illegal  0.12 sec

        Start  14: range.v3.test.act.insert
 14/257 Test  #14: range.v3.test.act.insert ..........................***Exception: Illegal  0.13 sec

        Start  15: range.v3.test.act.join
 15/257 Test  #15: range.v3.test.act.join ............................***Exception: Illegal  0.13 sec

        Start  16: range.v3.test.act.push_front
 16/257 Test  #16: range.v3.test.act.push_front ......................***Exception: Illegal  0.12 sec
  etc

Example job: https://github.com/SyneRBI/SIRF-SuperBuild/actions/runs/3684701551/jobs/6234749247#step:10:882. (The previous run all tests passed). There is unfortunately going on much more in that job, so I've tried to cut it down in another branch, but this is hard to do with intermittent failures. In essence though, I cannot see how the "other stuff" affects the range-v3 tests, but what could matter is the following:

Anyone any ideas?