New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SR-31] Test Driver/Dependencies/bindings-build-record.swift fails on OS X #42654
Comments
Yikes. Is your filesystem customized in any way, or just using the settings OS X installs with? (There's a longstanding issue with the same test on Linux, which is why it's disabled there right now. That's tracked internally as rdar://problem/21515673.) |
Comment by Alex Lew (JIRA) I get the exact same error, and it's my only test failure. I don't believe my filesystem is configured in any special way – what sort of settings would I be looking for? |
I guess that is timezone issue. // RUN: echo '{version: "'$(%swiftc_driver_plain -version | head -n1)'", inputs: {"./main.swift": [443865900, 0], "./other.swift": [443865900, 0], "./yet-another.swift": [443865900, 0]}, build_time: [443865901, 0]}' > %t/main~buildrecord.swiftdeps llvm::sys::TimeValue(443865900, 0) is 2014/01/24 8:05 UTC that is 2014/01/24 0:05 in PST. |
Oh, bindings-build-record.swift touches them: // RUN: touch -t 201401240005 %t/* The test is not timezone portable. |
THANK YOU for this![]( I'm embarrassed to have made this mistake. Will fix) |
`touch -r` is sometimes useful if you can get some other file with a reference timestamp. llbuild uses this for a couple similar tests. |
Fixed in 24032f9. |
Back to Tyler to verify. |
👍 |
Comment by Tyler Mandry (JIRA) Sorry for the delay. Would be happy to verify, but now I can't build swift: SR-241. I tried on both master and the commit you mentioned. |
Comment by Tyler Mandry (JIRA) Okay, this appears to work now. Got: Testing Time: 703.44s
Expected Passes : 2355
Expected Failures : 5
Unsupported Tests : 34 |
Great! Feel free to Close the bug, then. |
Environment
OS X 10.11.1
swift commit e0e5257
Other output before failure:
Additional Detail from JIRA
md5: b4c33156e31acff4d5ce4cbd74d5feb8
Issue Description:
I consistently get the following test failure when building from master (using
The text was updated successfully, but these errors were encountered: