Skip to content

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

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

Closed
Mark-Simulacrum opened this issue Mar 4, 2018 · 6 comments
Closed

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

Mark-Simulacrum opened this issue Mar 4, 2018 · 6 comments
Labels
regression-from-stable-to-beta Performance or correctness regression from stable to beta.
Milestone

Comments

@Mark-Simulacrum
Copy link
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

@Mark-Simulacrum Mark-Simulacrum added the regression-from-stable-to-beta Performance or correctness regression from stable to beta. label Mar 4, 2018
@Mark-Simulacrum Mark-Simulacrum added this to the 1.25 milestone Mar 4, 2018
@bradking
Copy link
Contributor

bradking commented Mar 5, 2018

Cc: @mathstuf

@mathstuf
Copy link
Contributor

mathstuf commented Mar 5, 2018

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

@mathstuf
Copy link
Contributor

mathstuf commented Mar 5, 2018

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

@mathstuf
Copy link
Contributor

mathstuf commented Mar 5, 2018

I'm seeing 52e074e from #47120.

@mathstuf
Copy link
Contributor

mathstuf commented Mar 5, 2018

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

@dtolnay
Copy link
Member

dtolnay commented Mar 10, 2018

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.

@dtolnay dtolnay closed this as completed Mar 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression-from-stable-to-beta Performance or correctness regression from stable to beta.
Projects
None yet
Development

No branches or pull requests

4 participants