Skip to content

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

Closed
@lht

Description

@lht
Contributor
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

Activity

brson

brson commented on Apr 8, 2012

@brson
Contributor

@erickt may know what's going on

erickt

erickt commented on Apr 11, 2012

@erickt
Contributor

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 assigned on Apr 12, 2012
tedhorst

tedhorst commented on Apr 14, 2012

@tedhorst
Contributor

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

brson

brson commented on May 1, 2012

@brson
Contributor

Should be fixed by 46cc11e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustc

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @lht@erickt@tedhorst@brson

        Issue actions

          Mac bot occationally fails on 3 time::tests · Issue #2160 · rust-lang/rust