Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sort directories visited by for_recursive_glob to make the results co…
…nsistent on different file systems.
- Loading branch information
ff113e8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think, if you remove the lsort here, the build will pass (I could see that with PR12).
ff113e8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was added specifically to make the tests pass. What specifically is it making fail?
ff113e8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you reproduce this issue on any other machine ?
ff113e8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What specifically is the failure mode that adding the lsort creates for you, on what platform?
You can simply copy and paste the errors.
ff113e8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We only saw the problem on linux containers using tmpfs where
readdir
did not automatically return sorted results.ff113e8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I couldn't observe any failures on my machine (adding/removing lsort had no effects on test results on my machine :) )
ff113e8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then why do you want to remove it?
ff113e8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because it caused errors on the ci.
ff113e8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What errors does it cause you on the ci? That is the failure mdoe I am asking about.
ff113e8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://travis-ci.org/github/flightaware/tclx/jobs/686627674
That was the checkin when I added the lsort command. After removing the lsort, the build has succeded:
https://travis-ci.org/github/flightaware/tclx/builds/686631489
ff113e8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have seen the
---- errorInfo: User CPU time does not appear to be accumulating
failure before. It appears to be due to github's tests being run on a potato. Repeat attempts eventually succeeded.ff113e8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
profile.test doesn't even call glob.