llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

Libcxx test case failures on darwin (10.6): tor.pass, eval.pass, sleep_for.pass

Open cmatthew opened this issue 12 years ago • 12 comments

Bugzilla Link 20183
Resolution FIXED
Resolved on May 04, 2017 22:27
Version unspecified
OS MacOS X
CC @mclow

Extended Description

The following tests have been failing on Darwin of a while now:


Failing Tests (3): libc++ :: numerics/rand/rand.device/ctor.pass.cpp libc++ :: numerics/rand/rand.device/eval.pass.cpp libc++ :: thread/thread.threads/thread.thread.this/sleep_for.pass.cpp

The most recent results can be found here:

http://lab.llvm.org:8013/builders/libcxx_clang-x86_64-darwin11-RA?numbuilds=50

cmatthew avatar Jul 01 '14 21:07 cmatthew

All of these bugs were fixed by David Majnemer!

sleep_for.pass.cpp test was fixed by commit r210210. Also I believe ctor.pass.cpp was fixed by commit r210060 and eval.pass.cpp was fixed by r210061.

All of these tests pass against the OS X 10.12 system library but not on 10.11.

llvmbot avatar May 05 '17 05:05 llvmbot

That sounds great. Thanks!

cmatthew avatar Jul 01 '14 22:07 cmatthew

I'm willing to try to figure out what's going on here; but if it's just a problem on 10.6, I'm going to give it a lower priority than other bugs.

mclow avatar Jul 01 '14 22:07 mclow

This bot is very old. Even though it has not been officially supported, the bot has been green and finding occasional bugs.

If this bug is 10.6 specific, the bot could be taken off line.

cmatthew avatar Jul 01 '14 22:07 cmatthew

I have added some logs that might be useful from a failing build.

These bots are running 10.6.

Ah, that's the key.

Doug Gregor wrote (back in 2011, on the cfe-developers list):

Apple only supports libc++ on Mac OS 10.7 ....

And Howard Hinnant wrote (in the same thread in 2011):

Note that Apple never supported libc++ on 10.6, and I am not testing against it.

[ The thread is was titled "libc++ on Mac OS X 10.6" and started on Oct 9, 2011 ]

Why are you running 10.6 on this bot?

mclow avatar Jul 01 '14 22:07 mclow

I have added some logs that might be useful from a failing build.

These bots are running 10.6.

cmatthew avatar Jul 01 '14 22:07 cmatthew

build log

cmatthew avatar Jul 01 '14 22:07 cmatthew

test log

cmatthew avatar Jul 01 '14 22:07 cmatthew

Are you running with a freshly built dylib? These tests were added to test a change to src/random.cpp; code that gets included in the dylib.

If I run the tests with the libc++.dylib that Apple ships as part of 10.9, then (at least the first two tests) will fail.

P.S. For some reason, I cannot connect to lab.llvm.org:8013

mclow avatar Jul 01 '14 22:07 mclow

Interesting; I'm not seeing those failures in my nightly runs. At least the first two appear to be a 10.8/10.9 thing; they pass on 10.8, fail on 10.9.

This is just wrong; please disregard.

mclow avatar Jul 01 '14 22:07 mclow

Interesting; I'm not seeing those failures in my nightly runs. At least the first two appear to be a 10.8/10.9 thing; they pass on 10.8, fail on 10.9.

mclow avatar Jul 01 '14 21:07 mclow

assigned to @mclow

cmatthew avatar Jul 01 '14 21:07 cmatthew