From: shibata.hiroshi@... Date: 2014-10-03T09:52:29+00:00 Subject: [ruby-core:65385] [ruby-trunk - Bug #10313] [Closed] Randomly build failure on Travis container. Issue #10313 has been updated by Hiroshi SHIBATA. Status changed from Open to Closed % Done changed from 0 to 100 Applied in changeset r47771. ---------- * test/ruby/test_io.rb (TestIO#test_advise): added workaround of fadvise(2) with tmpfs and old linux kernel. [ruby-core:65355][Bug #10313] ---------------------------------------- Bug #10313: Randomly build failure on Travis container. https://bugs.ruby-lang.org/issues/10313#change-49184 * Author: Hiroshi SHIBATA * Status: Closed * Priority: Normal * Assignee: * Category: * Target version: * ruby -v: 2.2.0 * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- We tested ruby trunk every commits, but it failed randomly with linux container on travis. build log is here: https://s3.amazonaws.com/archive.travis-ci.org/jobs/36822816/log.txt It's caused by fadvice(2). it details is following: ``` # make test-all TestIO#test_advise: Errno::EINVAL: Invalid argument - /tmp/test_io20141001-24823-10d6utc (0, 0, willneed) # make test-rubyspec IO#advise supports the willneed advice type ERROR Errno::EINVAL: Invalid argument - (0, 0, willneed) ``` Is there workaround this? -- https://bugs.ruby-lang.org/