Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip a test that attempts to remove the current directory on Solaris #3423

Merged

Conversation

mame
Copy link
Contributor

@mame mame commented Mar 24, 2020

https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11s/ruby-master/log/20200324T072504Z.fail.html.gz

  1) Error:
TestGemBundlerVersionFinder#test_deleted_directory:
Errno::EINVAL: Invalid argument @ dir_s_rmdir - /home/rubyci/chkbuild/tmp/build/20200324T072504Z/tmp/some_dir20200324-15590-996kcf
    /export/home/rubyci/chkbuild-tmp/tmp/build/20200324T072504Z/ruby/lib/fileutils.rb:1460:in `rmdir'
    /export/home/rubyci/chkbuild-tmp/tmp/build/20200324T072504Z/ruby/lib/fileutils.rb:1460:in `block in remove_dir1'
    /export/home/rubyci/chkbuild-tmp/tmp/build/20200324T072504Z/ruby/lib/fileutils.rb:1471:in `platform_support'
    /export/home/rubyci/chkbuild-tmp/tmp/build/20200324T072504Z/ruby/lib/fileutils.rb:1459:in `remove_dir1'
    /export/home/rubyci/chkbuild-tmp/tmp/build/20200324T072504Z/ruby/lib/fileutils.rb:1452:in `remove'
    /export/home/rubyci/chkbuild-tmp/tmp/build/20200324T072504Z/ruby/lib/fileutils.rb:780:in `block in remove_entry'
    /export/home/rubyci/chkbuild-tmp/tmp/build/20200324T072504Z/ruby/lib/fileutils.rb:1509:in `postorder_traverse'
    /export/home/rubyci/chkbuild-tmp/tmp/build/20200324T072504Z/ruby/lib/fileutils.rb:778:in `remove_entry'
    /export/home/rubyci/chkbuild-tmp/tmp/build/20200324T072504Z/ruby/lib/tmpdir.rb:97:in `mktmpdir'
    /export/home/rubyci/chkbuild-tmp/tmp/build/20200324T072504Z/ruby/test/rubygems/test_gem_bundler_version_finder.rb:88:in `test_deleted_directory'

The operation that attempts to remove the current wokring directory seems to be prohibited on Solaris.

mame@Ruby-S11:~$ uname -a
SunOS Ruby-S11 5.11 11.4.10.3.0 sun4v sparc sun4v
mame@Ruby-S11:~$ mkdir foo
mame@Ruby-S11:~$ cd foo
mame@Ruby-S11:~/foo$ rmdir ~/foo
rmdir: directory "/export/home/users/mame/foo": Can't remove current directory or ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants