ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Q: [python3] posix_fadvise не работает в hasher`е?
Date: Fri, 15 Feb 2013 00:05:31 +0400
Message-ID: <20130214200531.GA20459@altlinux.org> (raw)
In-Reply-To: <511D1BBA.70400@solin.spb.ru>

[-- Attachment #1: Type: text/plain, Size: 2880 bytes --]

On Thu, Feb 14, 2013 at 09:15:38PM +0400, Aleksey Avdeev wrote:
> 14.02.2013 20:38, Dmitry V. Levin пишет:
> > On Thu, Feb 14, 2013 at 04:00:18PM +0400, Aleksey Avdeev wrote:
> >> 14.02.2013 13:11, Sergey Vlasov пишет:
> >>> On Wed, Feb 13, 2013 at 07:49:51PM +0400, Aleksey Avdeev wrote:
> >>>>   Собирая, на people, python3 (см.
> >>>> <http://git.altlinux.org/people/solo/packages/?p=python3.git;a=commit;h=645f68819c3b7c89b0683b9aa8f93c3e375eb287>)
> >>>> наткнулся на странное поведение теста posix_fadvise (см. man posix_fadvise):
> >>>>
> >>>>   При выполнении теста в hasher`е, он возвращает ошибку (и при сборке, и
> >>>> при ручном запуске):
> >>>>
> >>>> ======================================================================
> >>>> ERROR: test_posix_fadvise (test.test_posix.PosixTester)
> >>>> ----------------------------------------------------------------------
> >>>> Traceback (most recent call last):
> >>>>   File "/usr/src/RPM/BUILD/python3-3.3.0/Lib/test/test_posix.py", line
> >>>> 234, in test_posix_fadvise
> >>>>     posix.posix_fadvise(fd, 0, 0, posix.POSIX_FADV_WILLNEED)
> >>>> OSError: [Errno 22] Invalid argument
> >>>
> >>> А chroot при этом находится на tmpfs?  Тогда результат будет зависеть
> >>> от версии ядра - в некоторых версиях posix_fadvise() при использовании
> >>> с файлами на tmpfs возвращает ошибку EINVAL вместо того, чтобы молча
> >>> ничего не делать.
> >>
> >>   Да, на tmpfs.
> >>
> >>> Сломали, похоже, в районе 3.1:
> >>>
> >>>   http://comments.gmane.org/gmane.linux.suse.kernel/3182
> >>>
> >>> Починили якобы в 3.6:
> >>>
> >>>   http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=3d3727cdb07ff17ddc3c551ef8d03d37b60a0372
> >>>
> >>> (и тоже из-за обваливающихся тестов, правда, там Ruby лазил в /tmp,
> >>> где tmpfs можно найти со значительно большей вероятностью, чем в
> >>> каталоге сборки).
> >>
> >>   Проверил, оно действительно не работает в на tmpfs (без hasher`а).
> >> Спасибо.
> >>
> >>   Отключаю тест с комментарием (см.
> >> <http://git.altlinux.org/people/solo/packages/?p=python3.git;a=commit;h=8405904cd5307a518ce59d50735b586222a777e5>):
> >> under some kernels not working on tmpfs, see
> >> http://comments.gmane.org/gmane.linux.suse.kernel/3182
> > 
> > На Сизифе этот тест должен работать.
> 
>   А на сборочнице (git.alt) он работать будет?

Должен работать, по определению.

> (Если да -- готов включить, хотя это и услознит сборку на people.)

На people этот тест не работает?

> > Просьба без острой необходимости тесты не отключать.
> 
>   Это понятно.
> 
>   Сейчас в пакете отключены только те тесты, которые:
> 
> 1. Были отключены в python3-3.2.3-alt3.
> 
> 2. То что отключили в федоре, при переходе на 3.3.0.
> 
>   Мне проверить работу всех отключённых тестов?

Если не трудно.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2013-02-14 20:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-13 15:49 Aleksey Avdeev
2013-02-13 15:57 ` Paul Wolneykien
2013-02-13 16:11   ` Aleksey Avdeev
2013-02-13 16:14     ` Paul Wolneykien
2013-02-13 16:55       ` Aleksey Avdeev
2013-02-14  9:11 ` Sergey Vlasov
2013-02-14 12:00   ` Aleksey Avdeev
2013-02-14 16:38     ` Dmitry V. Levin
2013-02-14 17:15       ` Aleksey Avdeev
2013-02-14 20:05         ` Dmitry V. Levin [this message]
2013-02-14 21:30           ` Aleksey Avdeev
2013-02-17  0:11             ` Aleksey Avdeev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130214200531.GA20459@altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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