Skip to content

json-job-dispatch-1.1.2 test fail regression #48713

Closed
@Mark-Simulacrum

Description

@Mark-Simulacrum
Member

json-job-dispatch 1.1.2 fails tests on beta

Mar 01 17:33:46.483 INFO blam! ---- test::test_fail stdout ----
Mar 01 17:33:46.483 INFO blam! 	[INFO] setting up a director in /target/debug/deps/test_fail.yDJkCNo3lhQv
Mar 01 17:33:46.483 INFO blam! [DEBUG] adding handler 'accept'
Mar 01 17:33:46.483 INFO blam! [DEBUG] adding handler 'defer'
Mar 01 17:33:46.483 INFO blam! [DEBUG] adding handler 'reject'
Mar 01 17:33:46.483 INFO blam! [DEBUG] adding handler 'fail'
Mar 01 17:33:46.483 INFO blam! [DEBUG] adding handler 'restart'
Mar 01 17:33:46.483 INFO blam! [DEBUG] adding handler 'done'
Mar 01 17:33:46.483 INFO blam! [DEBUG] adding handler 'error'
Mar 01 17:33:46.484 INFO blam! [DEBUG] failed /target/debug/deps/test_fail.yDJkCNo3lhQv/0-fail.json: Custom { kind: Other, error: StringError("fail") }
Mar 01 17:33:46.484 INFO blam! [INFO] completed via 1-done.json
Mar 01 17:33:46.484 INFO blam! thread 'test::test_fail' panicked at 'assertion failed: `(left == right)`
Mar 01 17:33:46.484 INFO blam!   left: `["Custom { kind: Other, error: StringError(\"fail\") }\n"]`,
Mar 01 17:33:46.484 INFO blam!  right: `["Error { repr: Custom(Custom { kind: Other, error: StringError(\"fail\") }) }\n"]`', src/test.rs:116:5

full log: http://cargobomb-reports.s3.amazonaws.com/stable-1.24.0-beta-1.25.0-beta.2/beta-2018-02-20/reg/json-job-dispatch-1.1.2/log.txt

cc @bradking

Activity

added this to the 1.25 milestone on Mar 4, 2018
bradking

bradking commented on Mar 5, 2018

@bradking
Contributor
mathstuf

mathstuf commented on Mar 5, 2018

@mathstuf
Contributor

We're testing against the Debug output of io::Error when output via a Box<Error>. Did this change somewhere?

mathstuf

mathstuf commented on Mar 5, 2018

@mathstuf
Contributor

And should it be considered stable? I'm guessing we're also not robust against running under various values of RUST_BACKTRACE.

mathstuf

mathstuf commented on Mar 5, 2018

@mathstuf
Contributor

I'm seeing 52e074e from #47120.

mathstuf

mathstuf commented on Mar 5, 2018

@mathstuf
Contributor

Fixed in json-job-dispatch in this merge request.

dtolnay

dtolnay commented on Mar 10, 2018

@dtolnay
Member

Debug impls are intended for debugging so we make no guarantees about what they look like. This has been fixed in json-job-dispatch so I think we can close.

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

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @bradking@mathstuf@dtolnay@Mark-Simulacrum

        Issue actions

          json-job-dispatch-1.1.2 test fail regression · Issue #48713 · rust-lang/rust