Project

General

Profile

Actions

Bug #17926

open

spec/ruby/core/file/atime_spec.rb: a random failing test on Travis ppc64le

Added by jaruga (Jun Aruga) about 2 years ago. Updated about 2 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:104101]

Description

I just observed the following test failing randomly on Travis ppc64le at the fd65ef2a5aa8629676d1edb6410e4d4cf60b8045. When running this commit on my forked repo, the test passed.

https://travis-ci.com/github/ruby/ruby/jobs/509310540#L2255

$ $SETARCH make -s test-spec MSPECOPT=-ff
...
1)
File.atime returns the last access time for the named file with microseconds FAILED
Expected 0 == 123456
to be truthy but was false
/home/travis/build/ruby/ruby/spec/ruby/core/file/atime_spec.rb:25:in `block (3 levels) in <top (required)>'
/home/travis/build/ruby/ruby/spec/ruby/core/file/atime_spec.rb:3:in `<top (required)>'

Updated by jaruga (Jun Aruga) about 2 years ago

The failure happened on Travis ppc64le again yesterday.
https://travis-ci.com/github/ruby/ruby/jobs/510153529#L2250

Updated by jaruga (Jun Aruga) about 2 years ago

I am trying to skip the test on Travis ppc64le for now.
https://github.com/ruby/ruby/pull/4546

Updated by jaruga (Jun Aruga) about 2 years ago

Note that this failure was observed 4 days ago, at the build no #43628 - job number 509310540 first as far as I know. Since then, the failure rate is 4/35 = 11% so far.
https://www.travis-ci.com/github/ruby/ruby/builds

Updated by jaruga (Jun Aruga) about 2 years ago

Note that this failure was observed 4 days ago, at the build no #43628 - job number 509310540 first as far as I know. Since then, the failure rate is 4/35 = 11% so far.

Ah. No. The 11% is not correct. Skipping the 4 builds after my PR to skip the failure in the past builds, the failure rate is 4/31 = 12% in the term.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0