From: Vit Ondruch Date: 2011-08-04T20:23:12+09:00 Subject: [ruby-core:38788] [Ruby 1.9 - Bug #5135] Ruby 1.9.3-preview1 tests fails in Fedora Rawhide Issue #5135 has been updated by Vit Ondruch. Vit Ondruch wrote: > Motohiro KOSAKI wrote: > > And, below is rest comments. > > > > > 28) Failure: > > > test_noctty(TestIO_Console) [/builddir/build/BUILD/ruby-1.9.3-preview1/test/io/console/test_io_console.rb:183]: > > > <["nil"]> expected but was > > > <["#"]>. > > > > Please confirm two points. 1) does your system have /dev/tty? 2) Does your SELinux policy disallow to access it? > > mock-chroot> ls -lZ /dev/tty > crw-rw-rw-. root tty unconfined_u:object_r:mock_var_lib_t:s0 /dev/tty > > > > 29) Failure: > > > test_jobs_status(TestParallel::TestParallel) [/builddir/build/BUILD/ruby-1.9.3-preview1/test/testunit/test_parallel.rb:174]: > > > 30) Failure: > > > test_no_retry_option(TestParallel::TestParallel) [/builddir/build/BUILD/ruby-1.9.3-preview1/test/testunit/test_parallel.rb:168]: > > > 31) Failure: > > > test_should_retry_failed_on_workers(TestParallel::TestParallel) [/builddir/build/BUILD/ruby-1.9.3- 32) Failure: > > > 32) Failure: > > > test_should_run_all_without_any_leaks(TestParallel::TestParallel) [/builddir/build/BUILD/ruby-1.9.3-> > > > preview1/test/testunit/test_parallel.rb:155]: > > > > This four failure has already been fixed. see [Bug #5132] > > Great! I'll test them later. > > > > DB->del: attempt to modify a read-only database > > > > This is DB4 false positive warnings. Our test case intentionally try to modiry read-only database and check error code. > > And DB4 makes annoying warnings everytimes. We don't have any idea to fix it. > > > > Because of, ext/dbm support following dbm families. > > db, db1, db2, db3, db4, db5, dbm, gdbm, qdbm, > > > > Therefore we can only use common api sets in them. IOW, db4 specific hack is hard to be merged. > > Do you have any idea? > > I'll try to contact Fedora DB4 maintainer. May be he will have some idea ... Anyway that is just annoying notification, not test failure. I was suggested by Jindrich Novy, the Fedora db4 maintainer, to implement own error handler, something along the lines: dbp->set_errcall(dbp, my_error_handler); void my_error_handler(const char *error_prefix, char *msg) {} i.e. all errors will be suppressed. ---------------------------------------- Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide http://redmine.ruby-lang.org/issues/5135 Author: Vit Ondruch Status: Feedback Priority: Normal Assignee: Motohiro KOSAKI Category: Target version: 1.9.3 ruby -v: - It would be nice if all test are green before release. https://gist.github.com/1118196 -- http://redmine.ruby-lang.org