Skip to content

Run pathname specs from ruby/spec in CI and fix them #195

Run pathname specs from ruby/spec in CI and fix them

Run pathname specs from ruby/spec in CI and fix them #195

Triggered via pull request August 23, 2025 12:27
Status Failure
Total duration 54s
Artifacts

test.yml

on: pull_request
ruby-versions  /  Generate Ruby versions
5s
ruby-versions / Generate Ruby versions
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 17 notices
build (jruby-head / ubuntu-latest)
Process completed with exit code 1.
Error: test/pathname/test_pathname.rb#L439
TypeError: no implicit conversion of nil into String org/jruby/RubyFile.java:858:in 'realpath' /home/runner/work/pathname/pathname/lib/pathname.rb:987:in 'realpath' /home/runner/work/pathname/pathname/test/pathname/test_pathname.rb:373:in 'realpath' /home/runner/work/pathname/pathname/test/pathname/test_pathname.rb:439:in 'block in test_realdirpath' /home/runner/.rubies/jruby-head/lib/ruby/stdlib/tmpdir.rb:96:in 'mktmpdir' /home/runner/work/pathname/pathname/test/pathname/test_pathname.rb:438:in 'test_realdirpath' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch'
build (mingw / windows-latest)
Process completed with exit code 1.
Error: test/pathname/test_pathname.rb#L1057
NotImplementedError: lutime() function is unimplemented on this machine D:/a/pathname/pathname/lib/pathname.rb:960:in 'File.lutime' D:/a/pathname/pathname/lib/pathname.rb:960:in 'Pathname#lutime' D:/a/pathname/pathname/test/pathname/test_pathname.rb:1057:in 'block in TestPathname#test_lutime' D:/a/pathname/pathname/test/pathname/test_pathname.rb:340:in 'block (2 levels) in TestPathname#with_tmpchdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:339:in 'Dir.chdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:339:in 'block in TestPathname#with_tmpchdir' D:/ruby-mingw/lib/ruby/3.5.0+3/tmpdir.rb:105:in 'Dir.mktmpdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:337:in 'TestPathname#with_tmpchdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:1050:in 'TestPathname#test_lutime'
build (3.4 / windows-latest)
Process completed with exit code 1.
Error: test/pathname/test_pathname.rb#L1057
NotImplementedError: lutime() function is unimplemented on this machine D:/a/pathname/pathname/lib/pathname.rb:960:in 'File.lutime' D:/a/pathname/pathname/lib/pathname.rb:960:in 'Pathname#lutime' D:/a/pathname/pathname/test/pathname/test_pathname.rb:1057:in 'block in TestPathname#test_lutime' D:/a/pathname/pathname/test/pathname/test_pathname.rb:340:in 'block (2 levels) in TestPathname#with_tmpchdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:339:in 'Dir.chdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:339:in 'block in TestPathname#with_tmpchdir' C:/hostedtoolcache/windows/Ruby/3.4.5/x64/lib/ruby/3.4.0/tmpdir.rb:105:in 'Dir.mktmpdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:337:in 'TestPathname#with_tmpchdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:1050:in 'TestPathname#test_lutime'
build (jruby / ubuntu-latest)
Process completed with exit code 1.
Error: test/pathname/test_pathname.rb#L439
TypeError: no implicit conversion of nil into String org/jruby/RubyFile.java:858:in 'realpath' /home/runner/work/pathname/pathname/lib/pathname.rb:987:in 'realpath' /home/runner/work/pathname/pathname/test/pathname/test_pathname.rb:373:in 'realpath' /home/runner/work/pathname/pathname/test/pathname/test_pathname.rb:439:in 'block in test_realdirpath' /home/runner/.rubies/jruby-10.0.2.0/lib/ruby/stdlib/tmpdir.rb:96:in 'mktmpdir' /home/runner/work/pathname/pathname/test/pathname/test_pathname.rb:438:in 'test_realdirpath' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch'
build (3.3 / windows-latest)
Process completed with exit code 1.
Error: test/pathname/test_pathname.rb#L1057
NotImplementedError: lutime() function is unimplemented on this machine D:/a/pathname/pathname/lib/pathname.rb:960:in `lutime' D:/a/pathname/pathname/lib/pathname.rb:960:in `lutime' D:/a/pathname/pathname/test/pathname/test_pathname.rb:1057:in `block in test_lutime' D:/a/pathname/pathname/test/pathname/test_pathname.rb:340:in `block (2 levels) in with_tmpchdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:339:in `chdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:339:in `block in with_tmpchdir' C:/hostedtoolcache/windows/Ruby/3.3.9/x64/lib/ruby/3.3.0/tmpdir.rb:99:in `mktmpdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:337:in `with_tmpchdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:1050:in `test_lutime'
build (3.2 / windows-latest)
Process completed with exit code 1.
Error: test/pathname/test_pathname.rb#L1057
NotImplementedError: lutime() function is unimplemented on this machine D:/a/pathname/pathname/lib/pathname.rb:960:in `lutime' D:/a/pathname/pathname/lib/pathname.rb:960:in `lutime' D:/a/pathname/pathname/test/pathname/test_pathname.rb:1057:in `block in test_lutime' D:/a/pathname/pathname/test/pathname/test_pathname.rb:340:in `block (2 levels) in with_tmpchdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:339:in `chdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:339:in `block in with_tmpchdir' C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/3.2.0/tmpdir.rb:94:in `mktmpdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:337:in `with_tmpchdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:1050:in `test_lutime'
build (mswin / windows-latest)
Process completed with exit code 1.
Error: test/pathname/test_pathname.rb#L1057
NotImplementedError: lutime() function is unimplemented on this machine D:/a/pathname/pathname/lib/pathname.rb:960:in 'File.lutime' D:/a/pathname/pathname/lib/pathname.rb:960:in 'Pathname#lutime' D:/a/pathname/pathname/test/pathname/test_pathname.rb:1057:in 'block in TestPathname#test_lutime' D:/a/pathname/pathname/test/pathname/test_pathname.rb:340:in 'block (2 levels) in TestPathname#with_tmpchdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:339:in 'Dir.chdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:339:in 'block in TestPathname#with_tmpchdir' D:/ruby-mswin/lib/ruby/3.5.0+3/tmpdir.rb:105:in 'Dir.mktmpdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:337:in 'TestPathname#with_tmpchdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:1050:in 'TestPathname#test_lutime'
build (3.2 / macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
build (3.2 / macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
build (3.3 / macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
build (3.3 / macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
build (3.4 / macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
build (3.4 / macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
build (head / macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
build (head / macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
build (truffleruby-head / macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
build (truffleruby-head / macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
build (truffleruby / macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
build (truffleruby / macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
build (mingw / windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
build (3.4 / windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
build (3.3 / windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
build (3.2 / windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
build (mswin / windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677