From: Ivan Zakharyaschev <imz@altlinux.org> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] the girar: /dev/pts/ -- Read-only file system? Date: Sat, 20 Feb 2016 17:53:00 +0300 (MSK) Message-ID: <alpine.LFD.2.20.1602201746460.21858@imap.altlinux.org> (raw) In-Reply-To: <20160219183510.GA27030@altlinux.org> [-- Attachment #1: Type: text/plain, Size: 2709 bytes --] On Fri, 19 Feb 2016, Dmitry V. Levin wrote: > On Fri, Feb 19, 2016 at 08:45:27PM +0300, Ivan Zakharyaschev wrote: >> ====================================================================== >> ERROR: test_read_pty_output >> (test.test_asyncio.test_events.EPollEventLoopTests) >> ---------------------------------------------------------------------- >> Traceback (most recent call last): >> File "/usr/src/RPM/BUILD/python3-3.5.1/Lib/test/support/__init__.py", >> line 564, in wrapper >> return func(*args, **kw) >> File "/usr/src/RPM/BUILD/python3-3.5.1/Lib/test/support/__init__.py", >> line 519, in wrapper >> return func(*args, **kw) >> File >> "/usr/src/RPM/BUILD/python3-3.5.1/Lib/test/test_asyncio/test_events.py", >> line 1376, in test_read_pty_output >> master, slave = os.openpty() >> PermissionError: [Errno 1] Operation not permitted >> >> Да? > > Это когда-то раньше работало? Прошло с %check под strace загадочным образом. Теперь любопытным можно прочитать список unmets, которые создаст python3-3.5 -- http://git.altlinux.org/tasks/159698/logs/events.5.1.log . Вот diff, который привёл к успешному прохождению -- если ldv@ не менял ничего в сборочнице, загадка остаётся (там какой-то race? Заметьте, strace без -f): $ git --no-pager diff 3.5.1-alt1..3.5.1-alt1.strace diff --git a/python3.spec b/python3.spec index be75bad..6157ad2 100644 --- a/python3.spec +++ b/python3.spec @@ -61,11 +61,12 @@ Summary: Version 3 of the Python programming language aka Python 3000 Name: python3 Version: %{pybasever}.1 -Release: alt1 +Release: alt1.strace License: Python Group: Development/Python3 BuildRequires(pre): rpm-build-python3 >= 0.1.7 +BuildRequires(check): strace BuildPreReq: liblzma-devel # For Bluetooth support # see https://bugzilla.redhat.com/show_bug.cgi?id=879720 @@ -794,7 +795,7 @@ EOF %add_python3_compile_exclude %_libdir/python%pybasever %check -WITHIN_PYTHON_RPM_BUILD= LD_LIBRARY_PATH=`pwd` ./python -m test.regrtest --verbose --findleaks +WITHIN_PYTHON_RPM_BUILD= LD_LIBRARY_PATH=`pwd` strace ./python -m test.regrtest --verbose --findleaks %files %doc LICENSE README @@ -1054,6 +1055,11 @@ WITHIN_PYTHON_RPM_BUILD= LD_LIBRARY_PATH=`pwd` ./python -m test.regrtest --verbo %pylibdir/Tools/scripts/run_tests.py %changelog +* Sat Feb 20 2016 Ivan Zakharyaschev <imz@altlinux.org> 3.5.1-alt1.strace +- strace %%check (for debugging the Girar); + I look for the pieces of the log with the errors like this: + sed -e '/test_read_pty_output/,/ERR/ { p; }; d' log + * Mon Jan 18 2016 Gleb F-Malinovskiy <glebfm@altlinux.org> 3.5.1-alt1 - Updated to 3.5.1. - Synced with Fedora python3-3.5.1-1. -- Best regards, Ivan
next prev parent reply other threads:[~2016-02-20 14:53 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-02-19 11:01 Ivan Zakharyaschev 2016-02-19 11:51 ` Dmitry V. Levin 2016-02-19 17:45 ` Ivan Zakharyaschev 2016-02-19 18:35 ` Dmitry V. Levin 2016-02-19 19:40 ` Ivan Zakharyaschev 2016-02-19 19:46 ` Ivan Zakharyaschev 2016-02-19 21:58 ` Dmitry V. Levin 2016-02-19 22:54 ` Ivan Zakharyaschev 2016-02-20 14:53 ` Ivan Zakharyaschev [this message] 2016-02-20 15:15 ` Ivan Zakharyaschev 2016-02-20 15:21 ` Ivan Zakharyaschev 2016-02-20 15:53 ` Ivan Zakharyaschev 2016-02-19 18:35 ` Michael Shigorin 2016-02-19 20:03 ` Ivan Zakharyaschev 2016-02-19 22:22 ` Ivan Zakharyaschev 2016-02-19 22:24 ` Dmitry V. Levin
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=alpine.LFD.2.20.1602201746460.21858@imap.altlinux.org \ --to=imz@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