Skip a File.atime test randomly failing on Travis ppc64le.#4546
Skip a File.atime test randomly failing on Travis ppc64le.#4546junaruga merged 1 commit intoruby:masterfrom
File.atime test randomly failing on Travis ppc64le.#4546Conversation
|
The |
| # https://bugs.ruby-lang.org/issues/17926 | ||
| if ENV.key?('TRAVIS') && ENV['TRAVIS_CPU_ARCH'] == 'ppc64le' | ||
| skip '[ruby-core:17926] A random failure on Travis ppc64le' | ||
| end |
There was a problem hiding this comment.
It would be better to use platform_is_not below the platform_is :linux, :windows do above.
I guess it's an issue of linux-ppc64le (utimes(2) seems to ignore microseconds), not something specific to TravisCI.
There was a problem hiding this comment.
@eregon oh thanks! But I have observed this failure on only Travis' ppc64le. I have not observed it on RubyCI's "ppc64le (Ubuntu)" server on https://rubyci.org/. I wanted to show the situation.
There was a problem hiding this comment.
I did not want to hide the failure unnecessarily on other environments.
There was a problem hiding this comment.
I see. IMHO it doesn't matter too much, it's OK to platform_is_not when some subset of the runs don't work, especially for exotic platforms. Probably it's something to do with the OS/kernel version in this case, and that's probably too much trouble to guard to be worth it.
Skip the test for now to pass the ppc64le.
See https://bugs.ruby-lang.org/issues/17926.
I checked it is skipped intentionally on my local like this.