ninja-build / ninja

a small build system with a focus on speed
https://ninja-build.org/
Apache License 2.0
11.23k stars 1.6k forks source link

Non-deterministic continuous integration failure #1794

Open jonesmz opened 4 years ago

jonesmz commented 4 years ago
Traceback (most recent call last):

  File "./misc/output_test.py", line 83, in test_issue_1214

AssertionError: '[0/1] echo a\x1b[K' != '[1/1] echo a\x1b[K\n\x1b[31mred\x1b[0m\n'

- [0/1] echo a

+ [1/1] echo a

red

As seen here: https://github.com/ninja-build/ninja/pull/1785

jhasse commented 4 years ago

How could this be? Maybe Ninja exits without flushing the stdout buffer?