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

jmh normalizes jar timestamps #396

Merged
merged 2 commits into from
Jan 18, 2018
Merged

jmh normalizes jar timestamps #396

merged 2 commits into from
Jan 18, 2018

Conversation

ittaiz
Copy link
Member

@ittaiz ittaiz commented Jan 17, 2018

additionally build_is_identical e2e test spits out differences in specific jar md5 files and not only the change in all of them. Actually useful for debugging reproducibility problems

build_is_identical e2e test spits out differences in md5
@johnynek
Copy link
Member

👍
Great changes!

@ittaiz
Copy link
Member Author

ittaiz commented Jan 17, 2018

@johnynek thanks!
Can you please review again?
I've thought about it again and I think that the better change is to default to normalizing the timestamps so that if someone adds another usage they won't have to cargo-cult this setter. WDYT?

Copy link
Member

@johnynek johnynek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah. that's the right default.

I mean, I'm not even sure we should permit this code to not normalize. That's the whole point here. But we don't have to change it to remove setNormalize for now.

@ittaiz
Copy link
Member Author

ittaiz commented Jan 18, 2018

only mac builds haven't run due to travis ongoing mac issues, I've run locally on a mac and merging

@ittaiz ittaiz merged commit 375b34a into master Jan 18, 2018
@ittaiz ittaiz deleted the jmh_reproduciblity_problem branch April 15, 2018 07:52
jmendiara added a commit to jmendiara/rules_scala that referenced this pull request Jun 20, 2018
Issues referenced for building in MAC (bazelbuild#136, bazelbuild#396 and bazelbuild#398)  are closed/merged

Having the comment `This doesn't currently pass on OS X (see bazelbuild#136 for details)` is not accurate. 

BTW, I cannot confirm it's true, cause in my env have bazel 0.14 and `test_all.sh` is failing
(`bazel test //test/...` is OK)
ittaiz pushed a commit that referenced this pull request Jun 20, 2018
Issues referenced for building in MAC (#136, #396 and #398)  are closed/merged

Having the comment `This doesn't currently pass on OS X (see #136 for details)` is not accurate. 

BTW, I cannot confirm it's true, cause in my env have bazel 0.14 and `test_all.sh` is failing
(`bazel test //test/...` is OK)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants