Skip to content
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

Mac bot occationally fails on 3 time::tests #2160

Closed
lht opened this issue Apr 8, 2012 · 4 comments
Closed

Mac bot occationally fails on 3 time::tests #2160

lht opened this issue Apr 8, 2012 · 4 comments
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc
Milestone

Comments

@lht
Copy link
Contributor

lht commented Apr 8, 2012

test test::tests::filter_for_ignored_option ... ok
ust: upcall fail 'explicit failure', /Users/administrator/src/rustbot/workspace-try-i386-unknown-darwin/src/src/libstd/test.rs:451
test test::tests::first_free_arg_should_be_a_filter ... ok
test test::tests::ignored_tests_result_in_ignored ... ok
rust: upcall fail 'Assertion local.tm_hour == 15i32 failed', /Users/administrator/src/rustbot/workspace-try-i386-unknown-darwin/src/src/libstd/time.rs:898
test test::tests::do_not_run_ignored_tests ... ok
test test::tests::parse_ignored_flag ... ok
test test::tests::sort_tests ... ok
test time::tests::test_at_utc ... ok
rust: upcall fail 'Assertion local.ctime() == "Fri Feb 13 15:31:30 2009" failed', /Users/administrator/src/rustbot/workspace-try-i386-unknown-darwin/src/src/libstd/time.rs:1096
test test::tests::test_should_fail ... ok
test time::tests::test_at ... FAILED
test test::tests::test_should_fail_but_succeeds ... ok
rust: upcall fail 'Assertion local.strftime("%c") == "Fri Feb 13 15:31:30 2009" failed', /Users/administrator/src/rustbot/workspace-try-i386-unknown-darwin/src/src/libstd/time.rs:1113
test time::tests::test_conversions ... ok
test time::tests::test_get_time ... ok
test time::tests::test_to_timespec ... ok
test time::tests::test_ctime ... FAILED
test time::tests::test_strftime ... FAILED
test time::tests::test_strptime ... ok

...

failures:
    time::tests::test_at
    time::tests::test_ctime
    time::tests::test_strftime

Observed twice. Both fixed with a second run.

http://bot.rust-lang.org/logs/2012/03/08/2012-04-08T13:42:45Z-9fb619fa-f48a-4d10-9f85-0ab4bd088281.html
http://bot.rust-lang.org/logs/2012/03/08/2012-04-08T13:42:45Z-9fb619fa-f48a-4d10-9f85-0ab4bd088281.html

@brson
Copy link
Contributor

brson commented Apr 8, 2012

@erickt may know what's going on

@erickt
Copy link
Contributor

erickt commented Apr 11, 2012

Had some time to poke at this today. The problem is that every once in a while on i386 osx, the explicit timezone that I'm setting doesn't seem to stick, and we're defaulting back to UTC time. I'm not sure exactly why this is happening, but I suspect threads are involved.

@ghost ghost assigned erickt Apr 12, 2012
@tedhorst
Copy link
Contributor

So it seems related to #1333. I see in os.rs that the setenv tests are ignored because they fail on mac.

@brson
Copy link
Contributor

brson commented May 1, 2012

Should be fixed by 46cc11e

@brson brson closed this as completed May 1, 2012
@lht lht unassigned erickt Jun 16, 2014
Kobzol pushed a commit to Kobzol/rust that referenced this issue Dec 29, 2024
Kobzol pushed a commit to Kobzol/rust that referenced this issue Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc
Projects
None yet
Development

No branches or pull requests

4 participants