Issue #12903 has been updated by Nobuyoshi Nakada. Do you mount with `noatime` option? ---------------------------------------- Bug #12903: TestFile#test_stat fails on FreeBSD 11.0 https://bugs.ruby-lang.org/issues/12903#change-61264 * Author: Shugo Maeda * Status: Open * Priority: Normal * Assignee: * ruby -v: * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- TestFile#test_stat fails on FreeBSD 11.0 as follows: ``` CC = cc LD = ld LDSHARED = cc -shared CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Werror=implicit-int -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -Werror=division-by-zero -Werror=deprecated-declarations -Werror=extra-tokens -std=gnu99 XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE CPPFLAGS = -I/usr/local/include -I. -I.ext/include/x86_64-freebsd11.0 -I./include -I. -I./enc/unicode/9.0.0 DLDFLAGS = -Wl,-soname,showflags -L/usr/local/lib -Wl,-R/usr/local/lib -fstack-protector -pie SOLIBS = -lgmp FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0) Target: x86_64-unknown-freebsd11.0 Thread model: posix InstalledDir: /usr/bin Run options: "--ruby=./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems" --excludes-dir=./test/excludes --name=!/memory_leak/ # Running tests: 1) Failure: TestFile#test_stat [/usr/home/shugo/src/ruby/test/ruby/test_file.rb:374]: Expected |1478303575.3417945 - 1478303569.34175| (6.000044584274292) to be <= 1. Finished tests in 6.200889s, 6.7732 tests/s, 67.4097 assertions/s. 42 tests, 418 assertions, 1 failures, 0 errors, 0 skips ruby -v: ruby 2.4.0dev (2016-11-04 trunk 56558) [x86_64-freebsd11.0] *** Error code 1 Stop. make: stopped in /usr/home/shugo/src/ruby ``` -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>