* [devel] hasher and ruby tests @ 2011-08-11 8:32 Anton Gorlov 2011-08-11 10:50 ` Anton Gorlov 0 siblings, 1 reply; 2+ messages in thread From: Anton Gorlov @ 2011-08-11 8:32 UTC (permalink / raw) To: ALT Devel discussion list Как бы победить -в хашере не проходит 1 из тестов с диагнозом + /usr/bin/testrb -Iext test/test_io_extra.rb Loaded suite TC_IO_Extra Started .....F.F........ 1) Failure: test_directio_set(TC_IO_Extra) [/usr/src/RPM/BUILD/io-extra-1.2.2/test/test_io_extra.rb:47]: Exception raised: Class: <Errno::EINVAL> Message: <"Invalid argument - fcntl"> ---Backtrace--- /usr/src/RPM/BUILD/io-extra-1.2.2/test/test_io_extra.rb:47:in `directio=' /usr/src/RPM/BUILD/io-extra-1.2.2/test/test_io_extra.rb:47:in `block in test_directio_set' /usr/src/RPM/BUILD/io-extra-1.2.2/test/test_io_extra.rb:47:in `test_directio_set' --------------- 2) Failure: test_open_direct(TC_IO_Extra) [/usr/src/RPM/BUILD/io-extra-1.2.2/test/test_io_extra.rb:31]: Exception raised: Class: <Errno::EINVAL> Message: <"Invalid argument - delete_this.txt"> Какое-то ограничение в хашернице? без хашера тест успешно проходит ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [devel] hasher and ruby tests 2011-08-11 8:32 [devel] hasher and ruby tests Anton Gorlov @ 2011-08-11 10:50 ` Anton Gorlov 0 siblings, 0 replies; 2+ messages in thread From: Anton Gorlov @ 2011-08-11 10:50 UTC (permalink / raw) To: ALT Linux Team development discussions 11.08.2011 12:32, Anton Gorlov пишет: > Как бы победить -в хашере не проходит 1 из тестов с диагнозом > + /usr/bin/testrb -Iext test/test_io_extra.rb > Loaded suite TC_IO_Extra > Started > .....F.F........ > > 1) Failure: > test_directio_set(TC_IO_Extra) > [/usr/src/RPM/BUILD/io-extra-1.2.2/test/test_io_extra.rb:47]: > Exception raised: > Class: <Errno::EINVAL> > Message: <"Invalid argument - fcntl"> strace вот что показывает интересного == ioctl(2, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 fcntl(3, F_GETFD) = 0 fcntl(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffb93e2ea0) = -1 ENOTTY (Inappropriate ioctl for device) fcntl(4, F_GETFD) = -1 EBADF (Bad file descriptor) fcntl(5, F_GETFD) = -1 EBADF (Bad file descriptor) fcntl(6, F_GETFD) = -1 EBADF (Bad file descriptor) fcntl(7, F_GETFD) = -1 EBADF (Bad file descriptor) fcntl(8, F_GETFD) = -1 EBADF (Bad file descriptor) fcntl(9, F_GETFD) = -1 EBADF (Bad file descriptor) fcntl(10, F_GETFD) = -1 EBADF (Bad file descriptor) fcntl(11, F_GETFD) = -1 EBADF (Bad file descriptor) === и кучка ругани на футексы == set_robust_list(0x7f1ca60259e0, 0x18) = 0 futex(0x7f1ca5f11b64, FUTEX_CMP_REQUEUE_PRIVATE, 1, 2147483647, 0x7f1ca5f11b20, 2) = 0 futex(0x7f1ca5f11b20, FUTEX_WAKE_PRIVATE, 1) = 0 futex(0x7f1ca5f11b64, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 3, {1313058528, 824704000}, ffffffff) = -1 ETIMEDOUT (Connection timed out) futex(0x7f1ca5f11b20, FUTEX_WAKE_PRIVATE, 1) = 0 futex(0x7f1ca5f11b64, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 5, {1313058528, 834802000}, ffffffff) = -1 ETIMEDOUT (Connection timed out) есть подозрение что ему нужно directio на диск.. но возможно ли такое в хашере? ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-11 10:50 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-08-11 8:32 [devel] hasher and ruby tests Anton Gorlov 2011-08-11 10:50 ` Anton Gorlov
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git