Skip to content

Stats output dir filename issues #12257

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

Merged
merged 2 commits into from
Oct 4, 2017

Conversation

graydon
Copy link
Contributor

@graydon graydon commented Oct 4, 2017

Principal fix here is to only use the basename of a path when mangling input names into stats-dir
output filenames, so that we are much less likely to hit a path-name limit and drop a stats output
on the floor (this was happening in practice in CI).

Secondary fix is just a harmless-but-silly typo I noticed while in there.

This was causing cases of very long input pathnames to be mangled into
stats filenames greater than 255 characters long, which in turn meant
stats files were not being written in some cases.
@graydon
Copy link
Contributor Author

graydon commented Oct 4, 2017

@swift-ci please test and merge

@graydon
Copy link
Contributor Author

graydon commented Oct 4, 2017

@swift-ci please test Linux platform

@swift-ci
Copy link
Contributor

swift-ci commented Oct 4, 2017

Build failed
Swift Test Linux Platform
Git Sha - 0e5b982

@graydon
Copy link
Contributor Author

graydon commented Oct 4, 2017

@swift-ci please clean test Linux platform

@graydon graydon merged commit f991bcb into swiftlang:master Oct 4, 2017
@graydon graydon requested a review from jrose-apple October 4, 2017 21:02
Copy link
Contributor

@jrose-apple jrose-apple left a comment

Choose a reason for hiding this comment

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

LGTM, saw you're adding a test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants