From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 20 Feb 2016 17:53:00 +0300 (MSK) From: Ivan Zakharyaschev To: ALT Linux Team development discussions In-Reply-To: <20160219183510.GA27030@altlinux.org> Message-ID: References: <20160219115111.GA23725@altlinux.org> <20160219183510.GA27030@altlinux.org> User-Agent: Alpine 2.20 (LFD 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="1807885841-1982558120-1455979980=:21858" Subject: Re: [devel] the girar: /dev/pts/ -- Read-only file system? X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2016 14:53:00 -0000 Archived-At: List-Archive: List-Post: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1807885841-1982558120-1455979980=:21858 Content-Type: text/plain; charset=koi8-r; format=flowed Content-Transfer-Encoding: 8BIT 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 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 3.5.1-alt1 - Updated to 3.5.1. - Synced with Fedora python3-3.5.1-1. -- Best regards, Ivan --1807885841-1982558120-1455979980=:21858--